[ --with-tcp-wrappers enable TCP wrappers support],
AC_CHECK_LIB(wrap, hosts_access,
AC_DEFINE(TCPWRAP)
- LIBS="$LIBS -lwrap"
+ AFPD_LIBS="$AFPD_LIBS -lwrap"
AC_MSG_RESULT([enabling TCP wrappers support])
)
)
dnl --------------------- last minute substitutions
AC_SUBST(LIBS)
+AC_SUBST(AFPD_LIBS)
+AC_SUBST(PAPD_LIBS)
+
AC_SUBST(CFLAGS)
AC_SUBST(LDSHAREDFLAGS)
+
AM_CONDITIONAL(SOLARIS_MODULE, test x$solaris_module = xyes)
AM_CONDITIONAL(COMPILE_TIMELORD, test x$compile_timelord = xyes)
AM_CONDITIONAL(USE_DHX, test x$compile_dhx = xyes)