From 8c6dcd7ef690e90a3e897e8f886513750ed2c04d Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Thu, 11 Apr 2019 11:52:26 +0000 Subject: [PATCH] fix --enable-zlib again --- ChangeLog | 4 ++++ configure.ac | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 103df1c9..7084b35d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2019-04-07 14:05 Christos Zoulas + + * PR/75: --enable-zlib, did not work. + 2019-02-27 11:54 Christos Zoulas * Improve regex efficiency (Michael Schroeder) by: diff --git a/configure.ac b/configure.ac index e1fd48ab..1eba8472 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.40.0