diff --git a/Tools/config/ac_compare_version.m4 b/Tools/config/ac_compare_version.m4 index 79e94cc83..0828f4789 100644 --- a/Tools/config/ac_compare_version.m4 +++ b/Tools/config/ac_compare_version.m4 @@ -22,19 +22,19 @@ AC_DEFUN([AC_COMPARE_VERSION], [ isolate_b_regex='\([[0-9]]\+\).*' for ver_part in $nodots_a ; do b_ver_part=`echo "$ver_b" | sed -e 's/'"$isolate_b_regex"'/\1/'` - if test \( "$ver_part" -lt "$b_ver_part" \) -a \( "x$condition" == "xequal" \) ; then + if test \( "$ver_part" -lt "$b_ver_part" \) -a \( "x$condition" = "xequal" \) ; then condition=less - elif test \( "$ver_part" -gt "$b_ver_part" \) -a \( "x$condition" == "xequal" \) ; then + elif test \( "$ver_part" -gt "$b_ver_part" \) -a \( "x$condition" = "xequal" \) ; then condition=greater fi isolate_b_regex='[[0-9]]\+\.'"$isolate_b_regex" done - if test "x$condition" == "xequal" ; then + if test "x$condition" = "xequal" ; then [$4] - elif test "x$condition" == "xless" ; then + elif test "x$condition" = "xless" ; then [$3] - elif test "x$condition" == "xgreater" ; then + elif test "x$condition" = "xgreater" ; then [$5] fi -]) \ No newline at end of file +]) diff --git a/Tools/config/ax_path_generic.m4 b/Tools/config/ax_path_generic.m4 index 351360dac..6960d612a 100644 --- a/Tools/config/ax_path_generic.m4 +++ b/Tools/config/ax_path_generic.m4 @@ -110,19 +110,19 @@ AC_DEFUN([AX_PATH_GENERIC],[ ]) AC_PATH_PROGS(UP[]_CONFIG,[$6 DOWN-config],[no]) - AS_IF([test "$UP[]_CONFIG" == "no"],[ + AS_IF([test "$UP[]_CONFIG" = "no"],[ : $5 ],[ dnl Get the CFLAGS from LIBRARY-config script - AS_IF([test x"$7" == x],[ + AS_IF([test x"$7" = x],[ UP[]_CFLAGS="`$UP[]_CONFIG $DOWN[]_config_args --cflags`" ],[ UP[]_CFLAGS="`$UP[]_CONFIG $DOWN[]_config_args $7`" ]) dnl Get the LIBS from LIBRARY-config script - AS_IF([test x"$8" == x],[ + AS_IF([test x"$8" = x],[ UP[]_LIBS="`$UP[]_CONFIG $DOWN[]_config_args --libs`" ],[ UP[]_LIBS="`$UP[]_CONFIG $DOWN[]_config_args $8`"