mirror of
https://github.com/osmarks/ngircd.git
synced 2025-05-05 08:54:06 +00:00
Fixed ./configure test for TCP Wrappers: now it runs on Mac OS X as well.
This commit is contained in:
parent
a822153309
commit
9dfcc6504e
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
ngIRCd CVSHEAD
|
ngIRCd CVSHEAD
|
||||||
|
- Fixed ./configure test for TCP Wrappers: now it runs on Mac OS X as well.
|
||||||
- Enhanced configure script: now you can pass an (optional) search path
|
- Enhanced configure script: now you can pass an (optional) search path
|
||||||
to all --with-XXX parameters, e. g. "--with-ident=/opt/ident".
|
to all --with-XXX parameters, e. g. "--with-ident=/opt/ident".
|
||||||
- Removed typedefs for the native C datatypes.
|
- Removed typedefs for the native C datatypes.
|
||||||
@ -596,4 +597,4 @@ ngIRCd 0.0.1, 31.12.2001
|
|||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
$Id: ChangeLog,v 1.266 2005/03/20 17:23:36 alex Exp $
|
$Id: ChangeLog,v 1.267 2005/03/21 22:15:15 alex Exp $
|
||||||
|
11
configure.in
11
configure.in
@ -8,7 +8,7 @@
|
|||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
# Please read the file COPYING, README and AUTHORS for more information.
|
# Please read the file COPYING, README and AUTHORS for more information.
|
||||||
#
|
#
|
||||||
# $Id: configure.in,v 1.107 2005/03/20 17:23:36 alex Exp $
|
# $Id: configure.in,v 1.108 2005/03/21 22:15:15 alex Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
# -- Initialisation --
|
# -- Initialisation --
|
||||||
@ -187,13 +187,14 @@ AC_ARG_WITH(tcp-wrappers,
|
|||||||
CPPFLAGS="-I$withval/include $CPPFLAGS"
|
CPPFLAGS="-I$withval/include $CPPFLAGS"
|
||||||
LDFLAGS="-L$withval/lib $LDFLAGS"
|
LDFLAGS="-L$withval/lib $LDFLAGS"
|
||||||
fi
|
fi
|
||||||
AC_CHECK_LIB(wrap, hosts_access)
|
|
||||||
AC_MSG_CHECKING(for hosts_access)
|
AC_MSG_CHECKING(for hosts_access)
|
||||||
|
LIBS="-lwrap $LIBS"
|
||||||
AC_TRY_LINK([
|
AC_TRY_LINK([
|
||||||
#include <tcpd.h>
|
#include <tcpd.h>
|
||||||
|
int allow_severity = 0;
|
||||||
|
int deny_severity = 0;
|
||||||
],[
|
],[
|
||||||
void *ptr;
|
tcpd_warn("link test");
|
||||||
ptr = hosts_access;
|
|
||||||
],[
|
],[
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
AC_DEFINE(TCPWRAP, 1)
|
AC_DEFINE(TCPWRAP, 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user