[syslog-ng]Re: Syslog-ng-1.5.17+"--enable-tcpwrapper"

Balazs Scheidler bazsi@balabit.hu
Thu, 30 May 2002 17:44:47 +0200


On Thu, May 30, 2002 at 06:28:05PM +0300, Sergey Holod wrote:
> ? ?????? ?? ?? 30 ??? 2002 15:38 ?? ????????:
> > On Thu, May 30, 2002 at 12:02:43PM +0300, Sergey Holod wrote:
> > > ? ?????? ?? ?? 30 ??? 2002 11:55 ?? ????????:
> > > > On Thu, May 30, 2002 at 10:21:55AM +0300, Sergey Holod wrote:
> >
> > can you send me your configure output and config.log?
> $./configure --enable-tcp-wrapper

ok, when I fixed the detection of libwrap, I made a mistake, so -lwrap
wasn't added to LIBS.

Try this patch (and regenerate your configure script using autoconf )
diff -u -r1.49 configure.in
--- configure.in	29 May 2002 10:24:42 -0000	1.49
+++ configure.in	30 May 2002 15:43:42 -0000
@@ -190,7 +190,7 @@
 if test "x$enable_tcp_wrapper" = "xyes"; then
 	AC_CHECK_HEADERS(tcpd.h)
 	dnl AC_CHECK_LIB(wrap, hosts_access)
-	if test $blb_cv_c_lwrap = "xyes"; then
+	if test "x$blb_cv_c_lwrap" = "xyes"; then
 		LIBS="$LIBS -lwrap"
 	fi
 fi


-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1