X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=config.m4;h=b54c98ee9373af09a620a01aaa8fd6c2d763783c;hp=74fefdb3ed4ce0fef45a7b84a56c0b6d7eb65c52;hb=8b652242a4ef920f2ab82bfb822596de25bc5a63;hpb=ed5ebb3caac1ac8bf6a4b32eabfb523f23de8576 diff --git a/config.m4 b/config.m4 index 74fefdb..b54c98e 100644 --- a/config.m4 +++ b/config.m4 @@ -3,6 +3,7 @@ PHP_PSI_BUILDDIR=PHP_EXT_BUILDDIR(psi) m4_foreach(incfile, [ [ax_check_sign.m4], + [ax_pthread.m4], [psi.m4], [psi_type.m4], [psi_const.m4], @@ -30,8 +31,10 @@ m4_foreach(incfile, [ [netinet_in.m4], [netinet_tcp.m4], [poll.m4], + [signal.m4], [syslog.m4], [time.m4], + [unistd.m4], [wchar.m4], [wctype.m4]], [ dnl pecl build @@ -44,7 +47,7 @@ PHP_ARG_ENABLE(psi, whether to enable PHP System Interface support, [ --enable-psi Enable PHP System Interface support]) PHP_ARG_ENABLE(psi-posix, whether to pre-define POSIX decls, -[ --ebable-psi-posix PSI: pre-define POSIX decls], [ ], [ ]) +[ --enable-psi-posix=... PSI: pre-define POSIX decls], [ ], [ ]) PHP_ARG_WITH(psi-libjit, where to find libjit, [ --with-psi-libjit=DIR PSI: path to libjit], [ ], [ ]) @@ -54,14 +57,13 @@ PHP_ARG_WITH(psi-libffi, where to find libffi, if test "$PHP_PSI" != no; then PHP_CONFIGURE_PART(Configuring PSI) - + PSI_LEMON PSI_CHECK_LIBJIT PSI_CHECK_LIBFFI AC_FUNC_FNMATCH - AC_HEADER_DIRENT - + PSI_CONFIG_INIT PSI_CHECK_STD_TYPES PSI_CHECK_STDINT @@ -73,6 +75,7 @@ if test "$PHP_PSI" != no; then PSI_CHECK_LOCALE PSI_CHECK_STDIO PSI_CHECK_STDLIB + PSI_CHECK_UNISTD PSI_CHECK_TIME PSI_CHECK_SYS_SELECT PSI_CHECK_SYS_SOCKET @@ -86,6 +89,7 @@ if test "$PHP_PSI" != no; then PSI_CHECK_NETINET_IN PSI_CHECK_NETINET_TCP PSI_CHECK_POLL + PSI_CHECK_SIGNAL PSI_CHECK_SYSLOG PSI_CHECK_WCHAR PSI_CHECK_WCTYPE @@ -98,6 +102,7 @@ if test "$PHP_PSI" != no; then AC_DEFINE_UNQUOTED([PSI_STDINC], [$PSI_STDINC], [Standard includes]) AC_DEFINE_UNQUOTED([PSI_TYPES], [$PSI_TYPES], [Predefined types]) AC_DEFINE_UNQUOTED([PSI_STRUCTS], [$PSI_STRUCTS], [Predefined structs]) + AC_DEFINE_UNQUOTED([PSI_UNIONS], [$PSI_UNIONS], [Predefined structs]) AC_DEFINE_UNQUOTED([PSI_CONSTS], [$PSI_CONSTS], [Predefined constants]) AC_DEFINE_UNQUOTED([PSI_MACROS], [$PSI_MACROS], [Redirected Macros]) AC_DEFINE_UNQUOTED([PSI_REDIRS], [$PSI_REDIRS], [Redirected functions])