From bde7d206193ae4a6cbcd1d031304f26bddd729bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Sat, 17 Mar 2007 20:47:52 +0000 Subject: fail configure when no libsnmp is found svn path=/trunk/externals/iem/snmp/; revision=7499 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 86720f8..eaeb785 100644 --- a/configure.ac +++ b/configure.ac @@ -52,7 +52,7 @@ dnl AC_CHECK_LIB(pthread, main) dnl Replace `main' with a function in -lstk: dnl AC_CHECK_LIB(stk, main, STK=yes) -AC_CHECK_LIB(snmp, snmp_parse_oid) +AC_CHECK_LIB(snmp, snmp_parse_oid,, echo no SNMP library found && exit 1) if test "x$with_pd" != "x"; then if test -d "${with_pd}/src"; then -- cgit v1.2.1