X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=m4%2Fpsi.m4;h=e8d8069c35b4f0642a187cf3e0a3d07f05220813;hp=97ea6fec13115ef0391aa843b56904a8b3835bfd;hb=ed5ebb3caac1ac8bf6a4b32eabfb523f23de8576;hpb=b4a3c33fc143fd57288fcfe0878e7a22eeaf61bf diff --git a/m4/psi.m4 b/m4/psi.m4 index 97ea6fe..e8d8069 100644 --- a/m4/psi.m4 +++ b/m4/psi.m4 @@ -99,6 +99,15 @@ EOF done ]) +dnl PSI_CONFIG_POSIX(section, headers) +AC_DEFUN(PSI_CONFIG_POSIX, [ + case "$PHP_PSI_POSIX" in + yes|all) ;; + *) expr "$PHP_PSI_POSIX" : '\b$1\b' >/dev/null || return 0 ;; + esac + ifelse($2,,,AC_CHECK_HEADERS($2)) +]) + dnl PSI_INCLUDES() dnl Expands to a complete list of include statements including dnl AC_INCLUDES_DEFAULT().