Make the default SNMP build behavior "ifpresent" instead of "yes", so things

work as they should by default on systems without SNMP libraries.

svn path=/trunk/; revision=5502
This commit is contained in:
Gerald Combs 2002-05-18 17:17:12 +00:00
parent 0d33d7280f
commit 5ccb03e19f
1 changed files with 2 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $Id: configure.in,v 1.166 2002/05/18 04:00:34 gerald Exp $ # $Id: configure.in,v 1.167 2002/05/18 17:17:12 gerald Exp $
dnl dnl
dnl Process this file with autoconf 2.13 or later to produce a dnl Process this file with autoconf 2.13 or later to produce a
dnl configure script; 2.12 doesn't generate a "configure" script that dnl configure script; 2.12 doesn't generate a "configure" script that
@ -533,15 +533,11 @@ AC_ARG_WITH(ucdsnmp,
ucdsnmp_dir=$withval ucdsnmp_dir=$withval
fi fi
],[ ],[
#
# For now, we default to *not* using the UCD SNMP library unless
# the user explicitly asks for it, as the current release has
# buffer-overflow vulnerabilities we can't avoid.
# #
# Set "want_ucdsnmp" to "ifpresent" to make the default "use it # Set "want_ucdsnmp" to "ifpresent" to make the default "use it
# if you find it, otherwise don't". # if you find it, otherwise don't".
# #
want_ucdsnmp=yes want_ucdsnmp=ifpresent
ucdsnmp_dir= ucdsnmp_dir=
]) ])