diff --git a/configure.ac b/configure.ac index bd00c4c..972dba0 100644 --- a/configure.ac +++ b/configure.ac @@ -64,7 +64,7 @@ AC_ARG_ENABLE(exec, AS_HELP_STRING([--disable-exec], [disable UNIX fork and execute with pipes]), [have_exec="$enableval"], - [if "$MINGW" = "1"; then have_exec="no"; else have_exec="yes"; fi]) + [if test "$MINGW" = "1"; then have_exec="no"; else have_exec="yes"; fi]) AM_CONDITIONAL(HAVE_EXEC, test "$have_exec" = "yes") AC_ARG_ENABLE(regexp, AS_HELP_STRING([--disable-regexp], @@ -89,7 +89,7 @@ AC_ARG_ENABLE(stacktrace, AS_HELP_STRING([--disable-stacktrace], [disable stack trace, use this if you cannot compile the library on your system otherwise and you still want to use the other parts]), [have_stacktrace="$enableval"], - [if "$MINGW" = "1"; then have_stacktrace="no"; else have_stacktrace="yes"; fi]) + [if test "$MINGW" = "1"; then have_stacktrace="no"; else have_stacktrace="yes"; fi]) AM_CONDITIONAL(HAVE_STACKTRACE, test "$have_stacktrace" = "yes") if test "$have_stacktrace" = "yes"; then # Hack for bug: