diff options
author | jkar8572 <jkar8572> | 2002-04-26 11:59:19 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2002-04-26 11:59:19 +0000 |
commit | 1cb4d5ce16afa8a908371c61146eacc7f3d60e55 (patch) | |
tree | 381ccd71e1d26dddd0f6d6acfe7c9afb9d8f36b6 /configure.in | |
parent | c4eabdfcb0038df34ac842279cd74f22b9aa257d (diff) |
* fixes in manpages (Arkadiusz Miskiewicz)
* fixed detection of libwrap in configure (Arkadiusz Miskiewicz)
* added forgotten ROOTDIR to path to gettext catalogs (Arkadiusz Miskiewicz)
* quotacheck uses newest format supported by kernel when creating new quota files (Jan Kara)
* fixed bug in IO initialization when -F xfs was given (Jan Kara)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 2af1c95..b08fe45 100644 --- a/configure.in +++ b/configure.in @@ -53,7 +53,18 @@ fi AC_SUBST(EXT2LIBS) AC_CHECK_LIB(nsl, main) -AC_CHECK_LIB(wrap, main) +AC_CACHE_VAL(ac_cv_lib_wrap_main, + saved_LIBS="$LIBS" + LIBS="$LIBS -lwrap" + [AC_TRY_LINK([#include <stdio.h> + #include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> + #include <tcpd.h> + struct request_info request; + int deny_severity, allow_severity;],[hosts_access(&request);], + [ac_cv_lib_wrap_main=yes],[ac_cv_lib_wrap_main=no,LIBS="$saved_LIBS="]) + ]) if test ${ac_cv_lib_wrap_main} = yes; then AC_CHECK_HEADER(tcpd.h,, [ |