ITS#9: check for main in -lwrap instead hosts_access.

hosts_access depends on caller declaring some externs and, hence,
can be used for the test.
This commit is contained in:
Kurt Zeilenga 1998-12-17 18:35:12 +00:00
parent c5f299acf8
commit 8854adfc49
2 changed files with 139 additions and 143 deletions

280
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -935,7 +935,7 @@ if test $ol_link_ldbm = no -a $ol_enable_ldbm != no ; then
fi
if test $ol_enable_wrappers = yes ; then
AC_CHECK_LIB(wrap, hosts_access,
AC_CHECK_LIB(wrap, main,
[have_wrappers=yes], [have_wrappers=no])
if test $have_wrappers = yes ; then