]> granicus.if.org Git - file/commitdiff
fix --enable-zlib again
authorChristos Zoulas <christos@zoulas.com>
Thu, 11 Apr 2019 11:52:26 +0000 (11:52 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 11 Apr 2019 11:52:26 +0000 (11:52 +0000)
ChangeLog
configure.ac

index 103df1c95898f693e2aa308efcb1e7d1e22095b0..7084b35d8ee879d0e3deaf7bef6b776a27a98f76 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-04-07  14:05  Christos Zoulas <christos@zoulas.com>
+
+       * PR/75: --enable-zlib, did not work.
+
 2019-02-27  11:54  Christos Zoulas <christos@zoulas.com>
 
        * Improve regex efficiency (Michael Schroeder) by:
index e1fd48ab6113527204244aa19620cc9d635d4a76..1eba8472da14d5175434cb897fecf8874343849f 100644 (file)
@@ -36,12 +36,12 @@ fi], [
 
 AC_MSG_CHECKING(for zlib support)
 AC_ARG_ENABLE([zlib],
-[AS_HELP_STRING([--disable-zlib], [disable zlib compression support @<:@default=auto@:>@])], [], [enable_zlib=yes])
+[AS_HELP_STRING([--disable-zlib], [disable zlib compression support @<:@default=auto@:>@])])
 AC_MSG_RESULT($enable_zlib)
 
 AC_MSG_CHECKING(for libseccomp support)
 AC_ARG_ENABLE([libseccomp],
-[AS_HELP_STRING([--disable-libseccomp], [disable libseccomp sandboxing @<:@default=auto@:>@])], [], [enable_seccomp=yes])
+[AS_HELP_STRING([--disable-libseccomp], [disable libseccomp sandboxing @<:@default=auto@:>@])])
 AC_MSG_RESULT($enable_libseccomp)
 
 AC_MSG_CHECKING(for file formats in man section 5)
@@ -175,7 +175,8 @@ if test "$enable_zlib" = "yes"; then
   if test "$ac_cv_header_zlib_h$ac_cv_lib_z_gzopen" != "yesyes"; then
     AC_MSG_ERROR([zlib support requested but not found])
   fi
-elif  test "$ac_cv_header_zlib_h$ac_cv_lib_z_gzopen" = "yesyes"; then
+fi
+if  test "$ac_cv_header_zlib_h$ac_cv_lib_z_gzopen" = "yesyes"; then
   AC_DEFINE([ZLIBSUPPORT], 1, [Enable zlib compression support])
 fi