Index: configure.in =================================================================== RCS file: /cvsroot/net-snmp/net-snmp/configure.in,v retrieving revision 5.206.2.4 diff -u -p -r5.206.2.4 configure.in --- configure.in 1 May 2006 05:26:53 -0000 5.206.2.4 +++ configure.in 8 May 2006 14:04:55 -0000 @@ -2147,6 +2147,9 @@ AC_MSG_RESULT($DEFAULT_MIBS) AC_MSG_CHECKING([whether we have to build PIC code]) echo " $module_list " | grep " ucd-snmp/dlmod " >/dev/null if test $? -eq 0 ; then + if test "x$enable_shared" = "xno"; then + AC_MSG_ERROR(The ucd-snmp/dlmod module requires that shared libraries be enabled) + fi LIB_CFLAGS="$LIB_CFLAGS $SHLIB_CFLAGS" AC_MSG_RESULT(yes) else