diff options
author | paul <paul> | 2003-11-02 07:29:11 +0000 |
---|---|---|
committer | paul <paul> | 2003-11-02 07:29:11 +0000 |
commit | 597e9851820a8e0535c52d6c6656031d86b14441 (patch) | |
tree | 2d4401c6fc6d36aa702ee4f07703320575de92de /configure.ac | |
parent | a5a511c9108b202640bb4e973cf03217665a5962 (diff) | |
download | quagga-597e9851820a8e0535c52d6c6656031d86b14441.tar.bz2 quagga-597e9851820a8e0535c52d6c6656031d86b14441.tar.xz |
2003-11-02 Paul Jakma <paul@dishone.st>
* configure.ac: FreeBSD has net-snmp in /usr/local.
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 5827447f..18db4939 100755 --- a/configure.ac +++ b/configure.ac @@ -197,7 +197,7 @@ AC_CHECK_HEADERS([string.h stropts.h sys/conf.h sys/ksym.h sys/time.h \ libutil.h limits.h]) AC_CHECK_HEADERS([sys/socket.h netinet/in_systm.h netinet/in.h \ - net/if_dl.hnet/netopt.h inet/nd.h net/route.h \ + net/if_dl.h net/netopt.h inet/nd.h net/route.h \ net/if.h net/if_var.h netinet/in_var.h]) if test "x${enable_ipv6}" = "xyes"; then @@ -792,6 +792,13 @@ dnl AC_CHECK_LIB(snmp, asn_parse_int, HAVE_SNMP=yes) CFLAGS="${CFLAGS} -I/usr/local/include/ucd-snmp" LIBS="${LIBS} -L/usr/local/lib -lsnmp" ;; + /usr/local/include/net-snmp/*) + AC_DEFINE(HAVE_SNMP,,SNMP) + AC_DEFINE(HAVE_NET_SNMP,,SNMP) + AC_DEFINE(UCD_COMPATIBLE,,SNMP) + CFLAGS="${CFLAGS} -I/usr/local/include/net-snmp" + LIBS="${LIBS} -L/usr/local/lib -lnetsnmp" + ;; esac if test "${NEED_CRYPTO}" = "yes"; then LIBS="${LIBS} -lcrypto" |