summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorajs <ajs>2005-01-12 16:52:55 +0000
committerajs <ajs>2005-01-12 16:52:55 +0000
commit50f38e5bfcbb23a8748f82bda379abc914b53e02 (patch)
tree030616c06e534c704375ef3b4fa7804667b6ae14
parent09618085b687e01929e79cfb980832cd6bd09c88 (diff)
downloadquagga-50f38e5bfcbb23a8748f82bda379abc914b53e02.tar.bz2
quagga-50f38e5bfcbb23a8748f82bda379abc914b53e02.tar.xz
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.
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure.ac4
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9d592c12..fdcfd995 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
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
to get gcc to link with -rdynamic for better backtraces.
When the rpm is upgraded, the restart logic now works as follows:
diff --git a/configure.ac b/configure.ac
index d34e004c..ece1e7c5 100755
--- a/configure.ac
+++ b/configure.ac
@@ -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 ----------------------------