From 118241fcf53c0148965bb2aaaffa4dc30b08ba0d Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 15 Jul 2010 09:50:07 -0400 Subject: [PATCH] Use enable_zlib instead of enableval for consistency --HG-- branch : 1.7 --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 3ea79a817..497f54134 100644 --- a/configure.in +++ b/configure.in @@ -2695,14 +2695,14 @@ if test "${with_iologdir-yes}" != "no"; then AC_ARG_ENABLE(zlib, [AS_HELP_STRING([--enable-zlib[[=PATH]]], [Whether to enable or disable zlib])], - [ case "$enableval" in + [ case "$enable_zlib" in yes) AC_DEFINE(HAVE_ZLIB_H) ZLIB="-lz" ;; no) ;; *) AC_DEFINE(HAVE_ZLIB_H) - CPPFLAGS="${CPPFLAGS} -I${enableval}/include" - SUDO_APPEND_LIBPATH(ZLIB, [$enableval/lib]) + CPPFLAGS="${CPPFLAGS} -I${enable_zlib}/include" + SUDO_APPEND_LIBPATH(ZLIB, [$enable_zlib/lib]) ZLIB="${ZLIB} -lz" ;; esac -- 2.40.0