=== modified file 'configure.in' --- configure.in 2008-11-04 16:24:30 +0000 +++ configure.in 2008-11-04 17:16:11 +0000 @@ -70,6 +70,12 @@ esac +AC_ARG_WITH(smi, +[ --with-smi link with libsmi (allows to load MIBs on the fly to decode SNMP packets. [default=yes] + --without-smi don't link with libsmi],, + with_smi=yes) + +if test "x$with_smi" != "xno" ; then AC_CHECK_HEADERS(smi.h) AC_CHECK_LIB(smi, smiInit) if test "$ac_cv_header_smi_h" = yes -a "$ac_cv_lib_smi_smiInit" = yes @@ -111,6 +117,7 @@ libsmi=no] ) fi +fi AC_MSG_CHECKING([whether to enable the possibly-buggy SMB printer]) AC_ARG_ENABLE(smb,