AC_CHECK_HEADERS(termios.h, [have_termios_h="yes"])
#
-# Checking for libraries
-#
-AC_CHECK_LIB(m, ext)
-
-#
# Checks for typedefs, structures, and compiler characteristics.
#
AC_C_CONST
if test "x$withval" = "xno"
then
with_libnetsnmp="no"
- else if "x$withval" = "xyes"
+ else if test "x$withval" = "xyes"
then
with_libnetsnmp="yes"
else
then
PERL_BINDINGS_OPTIONS="$withval"
with_perl_bindings="yes"
+ else
+ PERL_BINDINGS_OPTIONS=""
+ with_perl_bindings="$withval"
fi
],
[