]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
build: change equailty test for old bash
authorJan Engelhardt <jengelh@medozas.de>
Mon, 23 Jun 2008 09:37:08 +0000 (11:37 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 23 Jun 2008 09:37:08 +0000 (11:37 +0200)
Michael used GNU bash, version 1.14.7(1), which apparently does not
seem to know about the double ("==") variant of equality tests.

Reported-by: Michael Teicher <mteicher@gmail.com>
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
configure.ac

index ce26e28ccd950482d00efbc4ad848895c923f31b..2d2f90fd5cf8e800db355350222c519bf4431d37 100644 (file)
@@ -47,10 +47,10 @@ if test "$ac_cv_header_linux_dccp_h" != "yes"; then
 fi;
 AC_SUBST([blacklist_modules])
 
-AM_CONDITIONAL([ENABLE_STATIC], [test "$enable_static" == "yes"])
-AM_CONDITIONAL([ENABLE_SHARED], [test "$enable_shared" == "yes"])
-AM_CONDITIONAL([ENABLE_DEVEL], [test "$enable_devel" == "yes"])
-AM_CONDITIONAL([ENABLE_LIBIPQ], [test "$enable_libipq" == "yes"])
+AM_CONDITIONAL([ENABLE_STATIC], [test "$enable_static" = "yes"])
+AM_CONDITIONAL([ENABLE_SHARED], [test "$enable_shared" = "yes"])
+AM_CONDITIONAL([ENABLE_DEVEL], [test "$enable_devel" = "yes"])
+AM_CONDITIONAL([ENABLE_LIBIPQ], [test "$enable_libipq" = "yes"])
 
 regular_CFLAGS="-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \
        -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \