Re: Trivial configure.ac problem in GNUnet 0.6.4a
Christian Grothoff <[email protected]> Sat, 6 Nov 2004 08:14:41 -0500
| Newsgroups | gmane.network.gnunet.bugs |
|---|---|
| Message-ID | <[email protected]> |
Fixed (in CVS). Thanks! C On Friday 05 November 2004 11:38, Todd Vierling wrote: > On most operating systems, test(1) doesn't support "=="; you need "=". > Diff attached. > > --- configure.ac.orig 2004-09-20 00:35:56.000000000 -0400 > +++ configure.ac > @@ -173,18 +173,18 @@ AC_ARG_WITH(crypto, > [AC_CHECK_HEADERS([openssl/rsa.h openssl/blowfish.h], > openssl=1)])]) > > -if test $openssl == 0 > +if test $openssl = 0 > then > -if test $gcrypt == 0 > +if test $gcrypt = 0 > then > AC_MSG_ERROR([GNUnet needs libgcrypt or OpenSSL]) > fi > fi > > # Given the choice, the preference is libgcrypt > -if test $openssl == 1 > +if test $openssl = 1 > then > -if test $gcrypt == 1 > +if test $gcrypt = 1 > then > openssl=0 > fi > @@ -497,7 +497,7 @@ then > fi > > guile=0 > -if test "$enable_guile" == "yes" > +if test "$enable_guile" = "yes" > then > AC_PATH_PROG([guile_available], [guile]) > if test -z "$guile_available" > @@ -617,12 +617,12 @@ fi > > AC_MSG_NOTICE([NOTICE: Database support is set to GDBM: $gdb, TDB: $tdb, > BDB: $bdb, MySQL: $mysql]) > > -if test $openssl == 1 > +if test $openssl = 1 > then > AC_MSG_NOTICE([NOTICE: Using OpenSSL for cryptographic primitives.]) > fi > > -if test $gcrypt == 1 > +if test $gcrypt = 1 > then > AC_MSG_NOTICE([NOTICE: Using libgcrypt for cryptographic primitives.]) > fi