aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJulien Chaffraix <julien.chaffraix@gmail.com>2010-09-20 22:27:11 -0700
committerDaniel Stenberg <daniel@haxx.se>2010-09-22 23:14:55 +0200
commite4128f90ba03cbad17d2696f6a38272ee504e3ab (patch)
treebb9a1b99ddcf02bcfc3b7b7e637df3fafa89c0e0 /configure.ac
parente991a3536db989f3e2411f0313781edee5cd258d (diff)
configure: Fix the LDAPS disable message
... for example when LDAP is not compiled. Fixed the logic to match the rest of the options' message that is we update the default message only if the option is not disabled after the different checks. Reported by: Guenter Knauf
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 7c170cf20..28a195570 100644
--- a/configure.ac
+++ b/configure.ac
@@ -416,7 +416,6 @@ AC_HELP_STRING([--disable-ldaps],[Disable LDAPS support]),
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_LDAP_SSL, 1, [Use LDAPS implementation])
AC_SUBST(HAVE_LDAP_SSL, [1])
- curl_ldaps_msg="enabled"
fi
;;
esac ],[
@@ -428,7 +427,6 @@ AC_HELP_STRING([--disable-ldaps],[Disable LDAPS support]),
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_LDAP_SSL, 1, [Use LDAPS implementation])
AC_SUBST(HAVE_LDAP_SSL, [1])
- curl_ldaps_msg="enabled"
fi ]
)
@@ -892,6 +890,10 @@ if test x$CURL_DISABLE_LDAP != x1 ; then
fi
fi
+if test x$CURL_DISABLE_LDAPS != x1 ; then
+ curl_ldaps_msg="enabled"
+fi
+
dnl **********************************************************************
dnl Checks for IPv6
dnl **********************************************************************