]> granicus.if.org Git - sudo/commitdiff
Use enable_zlib instead of enableval for consistency
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 15 Jul 2010 13:50:07 +0000 (09:50 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 15 Jul 2010 13:50:07 +0000 (09:50 -0400)
--HG--
branch : 1.7

configure.in

index 3ea79a8174fd703d9ecd4363b87669adcbaf0473..497f54134ebf9a6aa08a3d519819f1d181e98f2e 100644 (file)
@@ -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