configure: Fix build on debian by avoiding bashisms in the test command.

This commit is contained in:
Eric Anholt 2012-02-08 17:46:31 -08:00
parent f02a649a3c
commit 0e8d48b920
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ AC_ARG_ENABLE(tests,
AS_HELP_STRING([--disable-tests],
[do not build unit tests [default=enabled]]),,
enable_tests=yes)
AM_CONDITIONAL(BUILD_TESTS, test x$enable_tests == xyes)
AM_CONDITIONAL(BUILD_TESTS, test x$enable_tests = xyes)
if test "x$GCC" = "xyes"; then
GCC_CFLAGS="-Wall -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden"