[iptables] build: change equailty test for old bash

Patrick McHardy netfilter-cvslog-bounces at lists.netfilter.org
Mon Jun 23 11:50:25 CEST 2008


Gitweb:		http://git.netfilter.org/cgi-bin/gitweb.cgi?p=iptables.git;a=commit;h=ee3228af38ec98c60a3b6f72a9b1c75b5ef53641
commit ee3228af38ec98c60a3b6f72a9b1c75b5ef53641
Author:     Jan Engelhardt <jengelh at medozas.de>
AuthorDate: Mon Jun 23 11:37:08 2008 +0200
Commit:     Patrick McHardy <kaber at trash.net>
CommitDate: Mon Jun 23 11:37:08 2008 +0200

    build: change equailty test for old bash
    
    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 at gmail.com>
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Signed-off-by: Patrick McHardy <kaber at trash.net>
       via  ee3228af38ec98c60a3b6f72a9b1c75b5ef53641 (commit)
      from  eaf831efecf936cab9a30f67284de7def4325545 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ee3228af38ec98c60a3b6f72a9b1c75b5ef53641
Author: Jan Engelhardt <jengelh at medozas.de>
Date:   Mon Jun 23 11:37:08 2008 +0200

    build: change equailty test for old bash
    
    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 at gmail.com>
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Signed-off-by: Patrick McHardy <kaber at trash.net>

-----------------------------------------------------------------------

 configure.ac |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
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 at gmail.com>
Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
Signed-off-by: Patrick McHardy <kaber at trash.net>

diff --git a/configure.ac b/configure.ac
index ce26e28..2d2f90f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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 \



More information about the netfilter-cvslog mailing list