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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12108
f5534014-38df-0310-8fa8-
9805f1628bb7
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(
[
],
# and required the libraries in
# extras as well.
#
+ AC_MSG_RESULT(yes)
SNMP_LIBS="-lsnmp $extras"; break;
found_sprint_realloc_objid=yes
break
# tell them they'll need to specify
# --want-ssl.
#
+ AC_MSG_RESULT(no)
if test "x$want_ssl" = "xno"
then
LIBS="$LIBS -lcrypto"