Permalink
Browse files

fix bashism that snuck into the scripts

  • Loading branch information...
1 parent 1768b14 commit 93ae5cfbcd280d320b93408a60278327dfe865b5 @novas0x2a novas0x2a committed Dec 12, 2009
Showing with 6 additions and 6 deletions.
  1. +2 −2 configure.ac
  2. +1 −1 m4/ax_check_functions.m4
  3. +1 −1 m4/ax_pkg_boost.m4
  4. +2 −2 thirdparty/m4/ac_python_devel.m4
View
@@ -55,7 +55,7 @@ if test -f ./config.options; then
AX_LOG([using config.options << EOF])
AX_LOG([`cat ./config.options`])
AX_LOG([EOF])
- source ./config.options
+ . ./config.options
fi
])
@@ -192,7 +192,7 @@ AM_CONDITIONAL(DIST_REMOVE_MODULES, [test ! -z "$DIST_REMOVE_MODULES"])
AX_PKG_PTHREADS
AX_PKG_BOOST
-if test x"$HAVE_PKG_BOOST" == "xyes"; then
+if test x"$HAVE_PKG_BOOST" = "xyes"; then
AX_PKG_BOOST_CHECK_VERSION([VW_])
AC_MSG_NOTICE([VW will be built using Boost version $BOOST_VERSION])
View
@@ -40,7 +40,7 @@ AC_DEFUN([AX_CHECK_FUNCTIONS],
done
m4_ifval([$3], [
- if test x"$check_function_missing_libs" == x"no"; then
+ if test x"$check_function_missing_libs" = x"no"; then
$3
fi
])
View
@@ -18,7 +18,7 @@ AC_DEFUN([AX_PKG_BOOST],
AC_LANG_ASSERT(C++)
- if test -n "${HAVE_PKG_BOOST}" && test "${HAVE_PKG_BOOST}" != "yes" && test "${HAVE_PKG_BOOST}" != "no" && test x"${HAVE_PKG_BOOST#no:}" == "x$HAVE_PKG_BOOST"; then
+ if test -n "${HAVE_PKG_BOOST}" && test "${HAVE_PKG_BOOST}" != "yes" && test "${HAVE_PKG_BOOST}" != "no" && test x"${HAVE_PKG_BOOST#no:}" = "x$HAVE_PKG_BOOST"; then
PKG_PATHS_BOOST="${HAVE_PKG_BOOST}"
else
PKG_PATHS_BOOST="${PKG_PATHS}"
@@ -79,7 +79,7 @@
AC_DEFUN([AC_PYTHON_DEVEL],[
AC_REQUIRE([AM_PATH_PYTHON])
- if test x"$PYTHON" == x":"; then
+ if test x"$PYTHON" = x":"; then
PYTHON_VERSION=""
m4_default([$2], [AC_MSG_ERROR([No python found])])
else
@@ -121,7 +121,7 @@ AC_DEFUN([AC_PYTHON_DEVEL],[
py_version=`$PYTHON -c "from distutils.sysconfig import *; \
from string import join; \
print join(get_config_vars('VERSION'))"`
- if test "$py_version" == "[None]"; then
+ if test "$py_version" = "[None]"; then
if test -n "$PYTHON_VERSION"; then
py_version=$PYTHON_VERSION
else

0 comments on commit 93ae5cf

Please sign in to comment.