[stunnel-users] Stunnel 4.20 with TCP Wrappers 7.6 problem in configure.ac

lists at d-ra.ath.cx lists at d-ra.ath.cx
Sat Mar 17 13:47:07 CET 2007


Hi,

the following patch makes stunnel 4.20 to operate with TCP wrappers
7.6. I had not tried other versions of stunnel nor TCP wrappers. 

The problem is the missing libnsl, so TCP wrappers will never be
activated in ./configure

Regards 
  Dieter

--- configure.ac.orig	2007-03-17 12:57:32.000000000 +0100
+++ configure.ac	2007-03-17 12:55:19.000000000 +0100
@@ -310,7 +310,7 @@
         AC_MSG_RESULT([no (autodetecting)])
         AC_MSG_CHECKING([for hosts_access in -lwrap])
         saved_LIBS="$LIBS"
-        LIBS="$saved_LIBS -lwrap"
+        LIBS="$saved_LIBS -lwrap -lnsl"
         AC_LINK_IFELSE(
             [AC_LANG_PROGRAM(
                 [[int hosts_access(); int allow_severity, deny_severity;]],



More information about the stunnel-users mailing list