Diff for /embedaddon/php/ext/sockets/config.m4 between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2012/05/29 12:34:42 version 1.1.1.3, 2013/07/22 01:32:01
Line 27  if test "$PHP_SOCKETS" != "no"; then Line 27  if test "$PHP_SOCKETS" != "no"; then
     [AC_DEFINE(MISSING_MSGHDR_MSGFLAGS, 1, [ ])]      [AC_DEFINE(MISSING_MSGHDR_MSGFLAGS, 1, [ ])]
   )    )
   AC_DEFINE([HAVE_SOCKETS], 1, [ ])    AC_DEFINE([HAVE_SOCKETS], 1, [ ])
     
     dnl Check for fied ss_family in sockaddr_storage (missing in AIX until 5.3)
     AC_CACHE_CHECK([for field ss_family in struct sockaddr_storage], ac_cv_ss_family,
     [
       AC_TRY_COMPILE([
   #include <sys/socket.h>
   #include <sys/types.h>
   #include <netdb.h>
     ], [struct sockaddr_storage sa_store; sa_store.ss_family = AF_INET6;],
        ac_cv_ss_family=yes, ac_cv_ss_family=no)
     ])
     
     if test "$ac_cv_ss_family" = yes; then
       AC_DEFINE(HAVE_SA_SS_FAMILY,1,[Whether you have sockaddr_storage.ss_family])
     fi
   
   PHP_NEW_EXTENSION([sockets], [sockets.c multicast.c], [$ext_shared])    PHP_NEW_EXTENSION([sockets], [sockets.c multicast.c], [$ext_shared])
   PHP_INSTALL_HEADERS([ext/sockets/], [php_sockets.h])    PHP_INSTALL_HEADERS([ext/sockets/], [php_sockets.h])

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>