components/php-5_3/tcpwrap/patches/tcpwrap_config.patch
changeset 4987 6a82655eda42
parent 4986 90a869b3f47a
child 4988 4b69c7c7e09b
equal deleted inserted replaced
4986:90a869b3f47a 4987:6a82655eda42
     1 --- tcpwrap-1.1.3/config.m4.ORIG	Tue Jul 15 10:41:11 2008
       
     2 +++ tcpwrap-1.1.3/config.m4	Tue Jul 15 10:41:36 2008
       
     3 @@ -30,15 +30,7 @@
       
     4    LIBNAME=wrap
       
     5    LIBSYMBOL=request_init
       
     6  
       
     7 -  PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL,
       
     8 -  [
       
     9 -    PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $TCPWRAP_DIR/lib, TCPWRAP_SHARED_LIBADD)
       
    10 -    AC_DEFINE(HAVE_TCPWRAPLIB,1,[ ])
       
    11 -  ],[
       
    12 -    AC_MSG_ERROR([wrong tcpwrappers lib version or lib not found])
       
    13 -  ],[
       
    14 -    -L$TCPWRAP_DIR/lib -lm -ldl
       
    15 -  ])
       
    16 +  PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $TCPWRAP_DIR/lib, TCPWRAP_SHARED_LIBADD)
       
    17  
       
    18    AC_CHECK_FUNC(gethostbyname_r, [have_gethostbyname_r=yes], [have_gethostbyname_r=no])
       
    19    if test "$have_gethostbyname_r" = "no"; then