]> git.puffer.fish Git - matthieu/frr.git/commitdiff
2005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
authorajs <ajs>
Wed, 12 Jan 2005 16:52:55 +0000 (16:52 +0000)
committerajs <ajs>
Wed, 12 Jan 2005 16:52:55 +0000 (16:52 +0000)
* configure.ac: If configure is invoked with --enable-snmp, but
  the configure script is unable to find SNMP support on the platform,
  then configure should give an error message and exit.

ChangeLog
configure.ac

index 9d592c12e488ba3be71963ec7ecd5e867a1daee9..fdcfd995bd993daa7fe067a294728ab156abd673 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+       * configure.ac: If configure is invoked with --enable-snmp, but
+         the configure script is unable to find SNMP support on the platform,
+         then configure should give an error message and exit.
+
 2005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
 
        * redhat/quagga.spec.in: Pass --enable-gcc-rdynamic to configure
index 8b69d700f4c3c9208a0f7e14275b2c0ea0937c4a..61a00d955913a6e64db89ca3b201240a4adf6ca5 100755 (executable)
@@ -5,7 +5,7 @@
 ##  Copyright (c) 1996, 97, 98, 99, 2000 Kunihiro Ishiguro <kunihiro@zebra.org>
 ##  Portions Copyright (c) 2003 Paul Jakma <paul@dishone.st>
 ##
-## $Id: configure.ac,v 1.85 2005/01/07 14:17:39 paul Exp $
+## $Id: configure.ac,v 1.86 2005/01/12 16:52:55 ajs Exp $
 AC_PREREQ(2.53)
 
 AC_INIT(Quagga, 0.98.0, [http://bugzilla.quagga.net])
@@ -950,6 +950,10 @@ dnl  AC_CHECK_LIB(snmp, asn_parse_int, HAVE_SNMP=yes)
   fi
 fi
 
+if test "${enable_snmp}" = "yes" -a "${HAVE_SNMP}" != "yes"; then
+  AC_MSG_ERROR([--enable-snmp given, but cannot find support for SNMP])
+fi
+
 dnl ----------------------------
 dnl check sa_len of sockaddr
 dnl ----------------------------