From b8547bbff05f0bfcf04ce2fc316d726c8b452232 Mon Sep 17 00:00:00 2001 From: foobar Date: Sun, 23 Feb 2003 09:36:47 +0000 Subject: [PATCH] Fixed bug #22356 (Do not add empty -I flags). --- sapi/cgi/config9.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sapi/cgi/config9.m4 b/sapi/cgi/config9.m4 index 4731c382b8..c6c5e665dd 100644 --- a/sapi/cgi/config9.m4 +++ b/sapi/cgi/config9.m4 @@ -135,7 +135,7 @@ if test "$PHP_SAPI" = "default"; then if test "$PHP_ENABLE_FASTCGI" = "yes"; then PHP_FASTCGI=1 PHP_FCGI_FILES="libfcgi/fcgi_stdio.c libfcgi/fcgiapp.c libfcgi/os_unix.c" - PHP_FCGI_INCLUDE="$PHP_LIBFCGI_DIR/include" + PHP_FCGI_INCLUDE="-I$PHP_LIBFCGI_DIR/include" PHP_FCGI_STATIC=1 else PHP_FASTCGI=0 @@ -148,7 +148,7 @@ if test "$PHP_SAPI" = "default"; then AC_MSG_RESULT($PHP_ENABLE_FASTCGI) INSTALL_IT="\$(INSTALL) -m 0755 \$(SAPI_CGI_PATH) \$(INSTALL_ROOT)\$(bindir)/php" - PHP_SELECT_SAPI(cgi, program, $PHP_FCGI_FILES cgi_main.c getopt.c, -I$PHP_FCGI_INCLUDE,'$(SAPI_CGI_PATH)') + PHP_SELECT_SAPI(cgi, program, $PHP_FCGI_FILES cgi_main.c getopt.c, $PHP_FCGI_INCLUDE, '$(SAPI_CGI_PATH)') case $host_alias in *darwin*) -- 2.50.1