summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Kitover <rkitover@gmail.com>2018-09-12 03:24:54 -0700
committerJoel Rosdahl <joel@rosdahl.net>2018-10-02 21:27:15 +0200
commit5764aa205267042a103edb46608b3caeaf985008 (patch)
tree407a2b7596454e88a917b245408e0c7162723cac
parentb618a53a8dd1a2def9ca0198d591b93e8cea0b9b (diff)
downloadccache-5764aa205267042a103edb46608b3caeaf985008.tar.gz
Fix configure arg --without-bundled-zlib
If the result of the AC_ARG_WITH check is 'no', assume system zlib.
-rw-r--r--configure.ac9
1 files changed, 7 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index ae2c208b..4d78ed91 100644
--- a/configure.ac
+++ b/configure.ac
@@ -115,8 +115,13 @@ if test x${with_bundled_zlib} = x; then
use_bundled_zlib=yes
fi
else
- AC_MSG_NOTICE(using bundled zlib as requested)
- use_bundled_zlib=yes
+ if test x${with_bundled_zlib} = xno; then
+ AC_MSG_NOTICE(using system zlib as requested)
+ use_bundled_zlib=no
+ else
+ AC_MSG_NOTICE(using bundled zlib as requested)
+ use_bundled_zlib=yes
+ fi
fi
if test x${use_bundled_zlib} = xyes; then