X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=config.m4;h=e2a28dda547a414f0bd58eb6b23f1a4fb6fd2329;hp=817887d199f019606a408143032b3c1bfbc706a6;hb=bd765bd31d30834ca633ffc120e2fce4e49912d7;hpb=5abcb8724ac7046d62203ea643e9ce69f63a6a8a diff --git a/config.m4 b/config.m4 index 817887d..e2a28dd 100644 --- a/config.m4 +++ b/config.m4 @@ -1,6 +1,12 @@ PHP_ARG_ENABLE(psi, whether to enable PHP System Interface support, [ --enable-psi Enable PHP System Interface support]) +PHP_ARG_WITH(psi-libjit, where to find libjit, +[ --with-psi-libjit=DIR PSI: path to libjit], [ ], [ ]) + +PHP_ARG_WITH(psi-libffi, where to find libffi, +[ --with-psi-libffi=DIR PSI: path to libffi], [ ], [ ]) + PHP_PSI_SRCDIR=PHP_EXT_SRCDIR(psi) PHP_PSI_BUILDDIR=PHP_EXT_BUILDDIR(psi) @@ -13,6 +19,7 @@ m4_foreach(incfile, [ [psi_macro.m4], [psi_struct.m4], [errno.m4], + [fcntl.m4], [glob.m4], [locale.m4], [stddef.m4], @@ -27,6 +34,7 @@ m4_foreach(incfile, [ [sys_types.m4], [sys_uio.m4], [sys_utsname.m4], + [ndbm.m4], [netdb.m4], [netinet_in.m4], [netinet_tcp.m4], @@ -57,6 +65,7 @@ if test "$PHP_PSI" != no; then PSI_CHECK_STDDEF PSI_CHECK_SYS_TYPES PSI_CHECK_ERRNO + PSI_CHECK_FCNTL PSI_CHECK_GLOB PSI_CHECK_LOCALE PSI_CHECK_STDIO @@ -69,6 +78,7 @@ if test "$PHP_PSI" != no; then PSI_CHECK_SYS_STAT PSI_CHECK_SYS_UIO PSI_CHECK_SYS_UTSNAME + PSI_CHECK_NDBM PSI_CHECK_NETDB PSI_CHECK_NETINET_IN PSI_CHECK_NETINET_TCP