aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-09-26 22:30:46 +0000
committerGuy Harris <guy@alum.mit.edu>2004-09-26 22:30:46 +0000
commitf62467ec34d401f518fa67bbc702d22bba4f1e3a (patch)
treee7f1def9c02c03bbb75be477ad3f150755d88827 /acinclude.m4
parent5491cfb3df69e8e0c0590cae555dc2793d417377 (diff)
Explicitly indicate when we're doing tests to see if UCD SNMP contains
sprint_realloc_objid(), and the extra libraries we're using with the tests, along the lines of what we do with the Kerberos 5 library. svn path=/trunk/; revision=12108
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 083c2f4627..123de199f6 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -789,6 +789,12 @@ AC_DEFUN([AC_ETHEREAL_UCDSNMP_CHECK],
for extras in "" "-L/usr/kerberos/lib -ldes425" "-lkstat"
do
LIBS="-lsnmp $extras $SOCKET_LIBS $NSL_LIBS $SSL_LIBS"
+ if test -z "$extras"
+ then
+ AC_MSG_CHECKING([whether UCD SNMP includes sprint_realloc_objid])
+ else
+ AC_MSG_CHECKING([whether UCD SNMP includes sprint_realloc_objid (linking with $extras)])
+ fi
AC_TRY_LINK(
[
],
@@ -801,6 +807,7 @@ AC_DEFUN([AC_ETHEREAL_UCDSNMP_CHECK],
# and required the libraries in
# extras as well.
#
+ AC_MSG_RESULT(yes)
SNMP_LIBS="-lsnmp $extras"; break;
found_sprint_realloc_objid=yes
break
@@ -813,6 +820,7 @@ AC_DEFUN([AC_ETHEREAL_UCDSNMP_CHECK],
# tell them they'll need to specify
# --want-ssl.
#
+ AC_MSG_RESULT(no)
if test "x$want_ssl" = "xno"
then
LIBS="$LIBS -lcrypto"