Hi tony, in the FPM config.m4 the command "find" is used to find source file:
PHP_FPM_FILES=`cd $abs_srcdir/sapi/fpm && find fpm/ \( -name *.c -not -name fpm_trace*.c \) -exec printf "{} " \;` But the -not argument is not POSIX compliant and is not recognized on several unix as OpenBSD. This should be replaced by \! which is, of course, recognized by linux also. The attached patch corrects this. ++ Jerome
Index: sapi/fpm/config.m4 =================================================================== --- sapi/fpm/config.m4 (revision 292084) +++ sapi/fpm/config.m4 (working copy) @@ -654,7 +654,7 @@ PHP_SUBST(SAPI_FPM_PATH) mkdir -p sapi/fpm/fpm - PHP_FPM_FILES=`cd $abs_srcdir/sapi/fpm && find fpm/ \( -name *.c -not -name fpm_trace*.c \) -exec printf "{} " \;` + PHP_FPM_FILES=`cd $abs_srcdir/sapi/fpm && find fpm/ \( -name *.c \! -name fpm_trace*.c \) -exec printf "{} " \;` if test "$fpm_trace_type" ; then PHP_FPM_TRACE_FILES=`cd $abs_srcdir/sapi/fpm && find fpm/ \( -name fpm_trace.c -or -name fpm_trace_$fpm_trace_type.c \) -exec printf "{} " \;`
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php