if test "$PHP_PSI" != no; then
PHP_CONFIGURE_PART(Configuring PSI)
-
+
PHP_ARG_ENABLE(psi-posix, whether to pre-define POSIX decls,
[ --enable-psi-posix=... PSI: pre-define POSIX decls], [ ], [ ])
[ --with-psi-libffi=DIR PSI: path to libffi], [ ], [ ])
AC_HEADER_ASSERT dnl # adds --disable-assert to define NDEBUG
-
+
dnl we cannot use AC_USE_SYSTEM_EXTENSIONS here, because we're way too late
dnl in the game, and we're currently only targeting _GNU_SOURCE for now
AC_MSG_CHECKING([for _GNU_SOURCE])
- AC_EGREP_CPP([gnu_source_defined], [
+ AC_EGREP_CPP([gnu_source_not_defined], [
#ifndef _GNU_SOURCE
gnu_source_not_defined
#endif
AC_PATH_PROG(NM, nm)
AC_FUNC_FNMATCH
+ AC_FUNC_MMAP
PSI_CONFIG_INIT
PSI_CHECK_STD_TYPES