AC_ARG_ENABLE(afs,
[ --enable-afs enable AFS support],
if test "$enableval" = "yes"; then
- AC_DEFINE(USE_AFS, 1);
+ AC_DEFINE(USE_AFS, 1)
AC_MSG_RESULT([enabling AFS support])
fi
)
AC_ARG_WITH(tcp-wrappers,
[ --with-tcp-wrappers enable TCP wrappers support],
- AC_CHECK_LIB(wrap, main,
+ AC_CHECK_LIB(wrap, hosts_access,
AC_DEFINE(TCPWRAP)
LIBS="$LIBS -lwrap"
AC_MSG_RESULT([enabling TCP wrappers support])