X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=config.m4;fp=config.m4;h=de400c449e851ed844cdc79b2680c1a455917f59;hp=68d5c9f464f3c0f1814d82ce6baa8fe160795571;hb=5ba86e0c3e64a38bd58c6ea2495b3f46cb7654f7;hpb=a08e0f4ca01c73697e032f26c0c4a007878650b1 diff --git a/config.m4 b/config.m4 index 68d5c9f..de400c4 100644 --- a/config.m4 +++ b/config.m4 @@ -104,6 +104,17 @@ if test "$PHP_PSI" != no; then dnl parallel AC_MSG_CHECKING([for POSIX modules: $PHP_PSI_POSIX]) + PSI_CONFIG_POSIX(signal, signal.h, [ + PSI_CONFIG_POSIX(time, time.h, [ + PSI_CONFIG_POSIX(sys/stat, sys/stat.h) + PSI_CONFIG_POSIX(wchar, wchar.h, [ + PSI_CONFIG_POSIX(wctype, wctype.h) + ]) + ]) + PSI_CONFIG_POSIX(sys/select, sys/select.h) + ]) + PSI_CONFIG_POSIX(poll, poll.h) + PSI_CONFIG_POSIX(syslog, syslog.h) PSI_CONFIG_POSIX(errno, errno.h) PSI_CONFIG_POSIX(fcntl, fcntl.h) PSI_CONFIG_POSIX(glob, glob.h) @@ -111,12 +122,13 @@ if test "$PHP_PSI" != no; then PSI_CONFIG_POSIX(stdio, stdio.h) PSI_CONFIG_POSIX(stdlib, stdlib.h) PSI_CONFIG_POSIX(unistd, unistd.h) - PSI_CONFIG_POSIX(time, time.h) - PSI_CONFIG_POSIX(sys/select, sys/select.h) - PSI_CONFIG_POSIX(sys/socket, sys/socket.h) + PSI_CONFIG_POSIX(sys/socket, sys/socket.h, [ + PSI_CONFIG_POSIX(netinet/in, netinet/in.h) + PSI_CONFIG_POSIX(netdb, netdb.h) + ]) + PSI_CONFIG_POSIX(netinet/tcp, netinet/tcp.h) PSI_CONFIG_POSIX(sys/time, sys/time.h) PSI_CONFIG_POSIX(sys/times, sys/times.h) - PSI_CONFIG_POSIX(sys/stat, sys/stat.h) PSI_CONFIG_POSIX(sys/uio, sys/uio.h) PSI_CONFIG_POSIX(sys/utsname, sys/utsname.h) PSI_CONFIG_POSIX(ndbm, dnl @@ -124,14 +136,6 @@ if test "$PHP_PSI" != no; then relic.h dnl qdbm gdbm-ndbm.h dnl gdbm ) - PSI_CONFIG_POSIX(netdb, netdb.h) - PSI_CONFIG_POSIX(netinet/in, netinet/in.h) - PSI_CONFIG_POSIX(netinet/tcp, netinet/tcp.h) - PSI_CONFIG_POSIX(poll, poll.h) - PSI_CONFIG_POSIX(signal, signal.h) - PSI_CONFIG_POSIX(syslog, syslog.h) - PSI_CONFIG_POSIX(wchar, wchar.h) - PSI_CONFIG_POSIX(wctype, wctype.h) PSI_CONFIG_DONE