diff options
author | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-07-18 20:33:54 +0000 |
---|---|---|
committer | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-07-18 20:33:54 +0000 |
commit | 18736b613de1d236014210776cdf185e2806a866 (patch) | |
tree | 8cc460a62ec006b65bb2ae3fe8986ddc387aaf2c /configure.in | |
parent | bf07db58a46780e9f0a21c411aad2cc1392dcfe8 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11416 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
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 |