diff --git a/apps/Makefile.in b/apps/Makefile.in index e5e1f69..403378e 100644 --- a/apps/Makefile.in +++ b/apps/Makefile.in @@ -93,6 +93,8 @@ MIBLIB = ../agent/libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION) USEAGENTLIBS = $(MIBLIB) $(AGENTLIB) $(USELIBS) MYSQL_LIBS = @MYSQL_LIBS@ MYSQL_INCLUDES = @MYSQL_INCLUDES@ +LIBCRYPTO = @LIBCRYPTO@ +LIBWRAP = @LIBWRAP@ VAL_LIBS = @VAL_LIBS@ LIBS = $(USELIBS) $(VAL_LIBS) @LIBS@ @@ -183,7 +185,7 @@ snmptest$(EXEEXT): snmptest.$(OSUFFIX) $(USELIBS) $(LINK) ${CFLAGS} -o $@ snmptest.$(OSUFFIX) ${LDFLAGS} ${LIBS} snmptrapd$(EXEEXT): $(TRAPD_OBJECTS) $(USETRAPLIBS) $(INSTALLLIBS) - $(LINK) ${CFLAGS} -o $@ $(TRAPD_OBJECTS) $(INSTALLLIBS) ${LDFLAGS} ${TRAPLIBS} + $(LINK) ${CFLAGS} -o $@ $(TRAPD_OBJECTS) $(INSTALLLIBS) ${LDFLAGS} ${TRAPLIBS} $(LIBWRAP) snmptrap$(EXEEXT): snmptrap.$(OSUFFIX) $(USELIBS) $(LINK) ${CFLAGS} -o $@ snmptrap.$(OSUFFIX) ${LDFLAGS} ${LIBS} @@ -200,7 +202,7 @@ snmpset$(EXEEXT): snmpset.$(OSUFFIX) $(USELIBS) $(LINK) ${CFLAGS} -o $@ snmpset.$(OSUFFIX) ${LDFLAGS} ${LIBS} snmpusm$(EXEEXT): snmpusm.$(OSUFFIX) $(USELIBS) - $(LINK) ${CFLAGS} -o $@ snmpusm.$(OSUFFIX) ${LDFLAGS} ${LIBS} + $(LINK) ${CFLAGS} -o $@ snmpusm.$(OSUFFIX) ${LDFLAGS} ${LIBS} $(LIBCRYPTO) snmpvacm$(EXEEXT): snmpvacm.$(OSUFFIX) $(USELIBS) $(LINK) ${CFLAGS} -o $@ snmpvacm.$(OSUFFIX) ${LDFLAGS} ${LIBS} diff --git a/configure.ac b/configure.ac index 1622b7c..00f83df 100644 --- a/configure.ac +++ b/configure.ac @@ -102,6 +102,9 @@ AC_SUBST(DLLIBS) AC_SUBST(PARTIALTARGETFLAGS) AC_SUBST(ac_cv_NETSNMP_SYSTEM_INCLUDE_FILE) +LIBWRAP="$_wraplibs" +AC_SUBST(LIBWRAP) +AC_SUBST(LIBCRYPTO) AC_CONFIG_FILES([Makefile:Makefile.top:Makefile.in:Makefile.rules]) AC_CONFIG_FILES([snmplib/Makefile:Makefile.top:snmplib/Makefile.in:Makefile.rules:snmplib/Makefile.depend])