jani            Sun Jul 22 22:18:42 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/sockets        config.m4 
  Log:
  - Test properly for socketpair inside an extension.
  
http://cvs.php.net/viewvc.cgi/php-src/ext/sockets/config.m4?r1=1.15.4.1&r2=1.15.4.1.2.1&diff_format=u
Index: php-src/ext/sockets/config.m4
diff -u php-src/ext/sockets/config.m4:1.15.4.1 
php-src/ext/sockets/config.m4:1.15.4.1.2.1
--- php-src/ext/sockets/config.m4:1.15.4.1      Fri Sep 23 09:54:31 2005
+++ php-src/ext/sockets/config.m4       Sun Jul 22 22:18:41 2007
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.15.4.1 2005/09/23 09:54:31 hyanantha Exp $
+dnl $Id: config.m4,v 1.15.4.1.2.1 2007/07/22 22:18:41 jani Exp $
 dnl
 
 PHP_ARG_ENABLE(sockets, whether to enable sockets support,
@@ -18,7 +18,7 @@
     AC_DEFINE(HAVE_CMSGHDR,1,[Whether you have struct cmsghdr])
   fi 
 
-  AC_CHECK_FUNCS([hstrerror])
+  AC_CHECK_FUNCS([hstrerror socketpair])
   AC_CHECK_HEADERS([netdb.h netinet/tcp.h sys/un.h errno.h])
   AC_TRY_COMPILE([
 #include <sys/types.h>
@@ -30,7 +30,3 @@
 
   PHP_NEW_EXTENSION([sockets], [sockets.c], [$ext_shared])
 fi
-
-PHP_CHECK_FUNC(socketpair)
-PHP_CHECK_FUNC(gethostbyname2)
-

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to