aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2004-07-18 20:33:54 +0000
committerJörg Mayer <jmayer@loplof.de>2004-07-18 20:33:54 +0000
commitdd99d1eb50d9b9b528169a9e8ce8248d988b53c4 (patch)
tree8cc460a62ec006b65bb2ae3fe8986ddc387aaf2c /configure.in
parent4fdb83056924de6c937b1ce2df9fdfe294683f97 (diff)
- Require --with-ssl=... to be explicitly set to work
around licensing problems - Cause krb5 and snmp to fail, if ssl is required but not configured. svn path=/trunk/; revision=11416
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 648f320af1..4ed2c6d6a8 100644
--- a/configure.in
+++ b/configure.in
@@ -816,6 +816,11 @@ if test "x$NETSNMPCONFIG" != "xno" -a "x$NETSNMPCONFIG" != "x" -a -x "$NETSNMPCO
AC_CHECK_HEADERS(net-snmp/net-snmp-config.h net-snmp/library/default_store.h)
if test "x$ac_cv_header_net_snmp_net_snmp_config_h" = "xyes" -a "x$ac_cv_header_net_snmp_library_default_store_h" = "xyes" ; then
SNMP_LIBS=`$NETSNMPCONFIG --libs`
+ if test "x$SSL_LIBS" = "x" ; then
+ if echo "$SNMP_LIBS" | grep crypto ; then
+ AC_MSG_ERROR(SNMP requires openssl but ssl not enabled)
+ fi
+ fi
AC_DEFINE(HAVE_NET_SNMP, 1, [Define to enable support for NET-SNMP])
have_net_snmp="yes"
else