diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2007-03-17 20:47:52 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2007-03-17 20:47:52 +0000 |
commit | bde7d206193ae4a6cbcd1d031304f26bddd729bc (patch) | |
tree | f2813411822179786a13b5bd6aa061e115bb5c93 /configure.ac | |
parent | d4dc9ad5144104b953b26d47a3682ddc2cb163c1 (diff) |
fail configure when no libsnmp is foundHEADsvn2git-headexternals/iem/snmp
svn path=/trunk/externals/iem/snmp/; revision=7499
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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 |