2003-11-02 Paul Jakma <paul@dishone.st>

        * configure.ac: FreeBSD has net-snmp in /usr/local.
diff --git a/configure.ac b/configure.ac
index 5827447..18db493 100755
--- a/configure.ac
+++ b/configure.ac
@@ -197,7 +197,7 @@
                  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 @@
   	          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"