summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2002-06-16 19:00:45 +0000
committerjkar8572 <jkar8572>2002-06-16 19:00:45 +0000
commit38b37dbcc5ccec3657f2c6e058d276d65bd201d6 (patch)
treedf49efc92d8ee66334214082e73c45fd4bf8edb3 /configure.in
parente20d4e982358a6c66c77a4ddd8bd86139ec2f3cb (diff)
Fixed small bug in configure.in
Some forgotten changes?
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index b08fe45..8e620ba 100644
--- a/configure.in
+++ b/configure.in
@@ -63,7 +63,7 @@ AC_CACHE_VAL(ac_cv_lib_wrap_main,
#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="])
+ [ac_cv_lib_wrap_main=yes],[ac_cv_lib_wrap_main=no,LIBS="$saved_LIBS"])
])
if test ${ac_cv_lib_wrap_main} = yes; then
@@ -71,6 +71,8 @@ if test ${ac_cv_lib_wrap_main} = yes; then
echo 'ERROR: could not find tcpd.h - missing TCP wrappers package'
exit 1
])
+ dnl Do this in case value was cached...
+ LIBS="$LIBS -lwrap"
HOSTS_ACCESS="-DHOSTS_ACCESS"
AC_SUBST(HOSTS_ACCESS)
fi