impl: add {pre,post}_assert statements
[m6w6/ext-psi] / config.m4
index de400c449e851ed844cdc79b2680c1a455917f59..3ced949809406f3dce2a6c67249a9d7205744daa 100644 (file)
--- a/config.m4
+++ b/config.m4
@@ -16,6 +16,7 @@ m4_foreach(incfile, [
        [psi/psi_decl.m4],
        [psi/psi_macro.m4],
        [psi/psi_composite.m4],
+       [posix/arpa_inet.m4],
        [posix/errno.m4],
        [posix/fcntl.m4],
        [posix/glob.m4],
@@ -60,8 +61,8 @@ if test "$PHP_PSI" != no; then
        [  --enable-psi-maintainer-mode
                           PSI: enable maintainer mode
                            . parallel configure
-                           . source dependencies
-                           . extra decl wrappers], [no], [no])
+                           . make dependencies
+                           . extra debug wrappers], [no], [no])
 
        PHP_ARG_WITH(psi-libjit, where to find libjit,
        [  --with-psi-libjit=DIR   PSI: path to libjit], [ ], [ ])
@@ -102,7 +103,10 @@ if test "$PHP_PSI" != no; then
        PSI_CHECK_STDDEF
        
        dnl parallel
-       AC_MSG_CHECKING([for POSIX modules: $PHP_PSI_POSIX])
+       AC_MSG_CHECKING([for POSIX modules])
+       if ! $PSI_FAST_CONFIG; then
+               AC_MSG_RESULT([$PHP_PSI_POSIX])
+       fi
        
        PSI_CONFIG_POSIX(signal, signal.h, [
                PSI_CONFIG_POSIX(time, time.h, [
@@ -123,7 +127,9 @@ if test "$PHP_PSI" != no; then
        PSI_CONFIG_POSIX(stdlib, stdlib.h)
        PSI_CONFIG_POSIX(unistd, unistd.h)
        PSI_CONFIG_POSIX(sys/socket, sys/socket.h, [
-               PSI_CONFIG_POSIX(netinet/in, netinet/in.h)
+               PSI_CONFIG_POSIX(netinet/in, netinet/in.h, [
+                       PSI_CONFIG_POSIX(arpa/inet, arpa/inet.h)
+               ])
                PSI_CONFIG_POSIX(netdb, netdb.h)
        ])
        PSI_CONFIG_POSIX(netinet/tcp, netinet/tcp.h)