EOF
cat >$PSI_REDIRS <<EOF
/* generated by configure */
+typedef void (*psi_func_ptr)();
static struct psi_func_redir {
const char *name;
- void (*func)(void);
+ psi_func_ptr func;
} psi_func_redirs@<:@@:>@ = {
EOF
cat >$PSI_MACROS </dev/null
AC_DEFUN(PSI_CONFIG_POSIX, [
PSI_CONFIG_POSIX_ENABLED($1, [
PHP_CONFIGURE_PART(Configuring PSI POSIX: $1)
- ifelse([$2],,,AC_CHECK_HEADERS($2))
+ ifelse([$2],,:,[AC_CHECK_HEADERS($2)])
], [
return 0
])