[svn] GnuPG - r4375 - branches/STABLE-BRANCH-1-4

svn author dshaw cvs at cvs.gnupg.org
Fri Dec 8 05:39:56 CET 2006


Author: dshaw
Date: 2006-12-08 05:39:56 +0100 (Fri, 08 Dec 2006)
New Revision: 4375

Modified:
   branches/STABLE-BRANCH-1-4/ChangeLog
   branches/STABLE-BRANCH-1-4/configure.ac
Log:
* configure.ac: AM_CONDITIONAL must not be used inside an if/then.


Modified: branches/STABLE-BRANCH-1-4/ChangeLog
===================================================================
--- branches/STABLE-BRANCH-1-4/ChangeLog	2006-12-07 23:20:20 UTC (rev 4374)
+++ branches/STABLE-BRANCH-1-4/ChangeLog	2006-12-08 04:39:56 UTC (rev 4375)
@@ -1,3 +1,7 @@
+2006-12-07  David Shaw  <dshaw at jabberwocky.com>
+
+	* configure.ac: AM_CONDITIONAL must not be used inside an if/then.
+
 2006-12-07  Werner Koch  <wk at g10code.com>
 
 	* configure.ac: Remove GNUPG_DATADIR for non-W32 systems.

Modified: branches/STABLE-BRANCH-1-4/configure.ac
===================================================================
--- branches/STABLE-BRANCH-1-4/configure.ac	2006-12-07 23:20:20 UTC (rev 4374)
+++ branches/STABLE-BRANCH-1-4/configure.ac	2006-12-08 04:39:56 UTC (rev 4375)
@@ -354,18 +354,18 @@
 	[enable email keyserver interface only]),
       try_mailto=$enableval, try_mailto=no)
     AC_MSG_RESULT($try_mailto)
-    fi
-
-    AC_MSG_CHECKING([whether keyserver exec-path is enabled])
-    AC_ARG_ENABLE(keyserver-path,
-      AC_HELP_STRING([--disable-keyserver-path],
-        [disable the exec-path option for keyserver helpers]),
-      [if test "$enableval" = no ; then
-         disable_keyserver_path=yes
-      fi],enableval=yes)
-    AC_MSG_RESULT($enableval)
   fi
 
+  AC_MSG_CHECKING([whether keyserver exec-path is enabled])
+  AC_ARG_ENABLE(keyserver-path,
+    AC_HELP_STRING([--disable-keyserver-path],
+      [disable the exec-path option for keyserver helpers]),
+    [if test "$enableval" = no ; then
+       disable_keyserver_path=yes
+    fi],enableval=yes)
+  AC_MSG_RESULT($enableval)
+fi
+
 AC_MSG_CHECKING([whether the included zlib is requested])
 AC_ARG_WITH(included-zlib,
     [  --with-included-zlib    use the zlib code included here],
@@ -1197,13 +1197,12 @@
 fi
 
 if test "$use_local_zlib" = yes ; then
-    AM_CONDITIONAL(ENABLE_LOCAL_ZLIB, true)
     AC_CONFIG_LINKS(zlib.h:zlib/zlib.h zconf.h:zlib/zconf.h )
     ZLIBS="../zlib/libzlib.a"
-else
-    AM_CONDITIONAL(ENABLE_LOCAL_ZLIB, false)
 fi
 
+AM_CONDITIONAL(ENABLE_LOCAL_ZLIB, test "$use_local_zlib" = yes)
+
 if test "$use_bzip2" = yes ; then
   _cppflags="${CPPFLAGS}"
   _ldflags="${LDFLAGS}"




More information about the Gnupg-commits mailing list