]> granicus.if.org Git - sudo/commitdiff
Fix a warning when --without-ldap is specified.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 10 Apr 2009 20:59:42 +0000 (20:59 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 10 Apr 2009 20:59:42 +0000 (20:59 +0000)
configure
configure.in

index acba594b2ccb515f78a43ae530f118ef6c3cafc8..421a4e20646dfd2e307f457f591c60feee949d5d 100755 (executable)
--- a/configure
+++ b/configure
@@ -3606,7 +3606,7 @@ fi
 # Check whether --with-ldap was given.
 if test "${with_ldap+set}" = set; then
   withval=$with_ldap; case $with_ldap in
-    no)                with_ldap="";;
+    no)                ;;
     *)         cat >>confdefs.h <<\_ACEOF
 #define HAVE_LDAP 1
 _ACEOF
index e565d9ceb3b60a914f5647309f727d6ce01455e6..07cca6b2d4fe8099d80da4bf6ac83c88caa42a72 100644 (file)
@@ -949,7 +949,7 @@ esac])
 
 AC_ARG_WITH(ldap, [  --with-ldap[[=DIR]]       enable LDAP support],
 [case $with_ldap in
-    no)                with_ldap="";;
+    no)                ;;
     *)         AC_DEFINE(HAVE_LDAP)
                AC_MSG_CHECKING(whether to use sudoers from LDAP)
                AC_MSG_RESULT(yes)