X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=config.m4;h=74fefdb3ed4ce0fef45a7b84a56c0b6d7eb65c52;hp=ade6f45b52f415348c42f4063fcf69bf5e2aece1;hb=ed5ebb3caac1ac8bf6a4b32eabfb523f23de8576;hpb=6a459a08a40a2c243b0211ceb0cb263d29302627 diff --git a/config.m4 b/config.m4 index ade6f45..74fefdb 100644 --- a/config.m4 +++ b/config.m4 @@ -1,12 +1,3 @@ -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) @@ -49,6 +40,18 @@ m4_foreach(incfile, [ sinclude([ext/psi/m4/]incfile) ]) +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], [ ], [ ]) + +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], [ ], [ ]) + if test "$PHP_PSI" != no; then PHP_CONFIGURE_PART(Configuring PSI) @@ -62,8 +65,8 @@ if test "$PHP_PSI" != no; then PSI_CONFIG_INIT PSI_CHECK_STD_TYPES PSI_CHECK_STDINT - PSI_CHECK_STDDEF PSI_CHECK_SYS_TYPES + PSI_CHECK_STDDEF PSI_CHECK_ERRNO PSI_CHECK_FCNTL PSI_CHECK_GLOB