aboutsummaryrefslogtreecommitdiff
path: root/net/quagga/files/patch-configure.ac
blob: ca491c46db73a111348c99574a2a121e643bf2f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- configure.ac.orig	2014-08-25 16:56:53 UTC
+++ configure.ac
@@ -1415,7 +1415,7 @@
 dnl ------------------
 dnl check Net-SNMP library
 dnl ------------------
-if test "${enable_snmp}" != ""; then
+if test "x${enable_snmp}" != "xno"; then
    AC_PATH_TOOL([NETSNMP_CONFIG], [net-snmp-config], [no])
    if test x"$NETSNMP_CONFIG" = x"no"; then
       AC_MSG_ERROR([--enable-snmp given but unable to find net-snmp-config])