cvs: php4 /sapi/fastcgi config.m4
| From: | Jason Greene | Date: | Tue, 14 May 2002 00:07:52 +0000 |
| Subject: | cvs: php4 /sapi/fastcgi config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11909@lists.php.net to get a copy of this message | ||
jason Mon May 13 20:07:52 2002 EDT
Modified files:
/php4/sapi/fastcgi config.m4
Log:
Fix fastcgi build, may need more work
# Sascha, would you mind looking this over?
Index: php4/sapi/fastcgi/config.m4
diff -u php4/sapi/fastcgi/config.m4:1.5 php4/sapi/fastcgi/config.m4:1.6
--- php4/sapi/fastcgi/config.m4:1.5 Thu Mar 7 09:19:51 2002
+++ php4/sapi/fastcgi/config.m4 Mon May 13 20:07:51 2002
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.5 2002/03/07 14:19:51 sas Exp $
+dnl $Id: config.m4,v 1.6 2002/05/14 00:07:51 jason Exp $
dnl
AC_MSG_CHECKING(for FastCGI support)
@@ -12,10 +12,12 @@
fi
test -f "$FASTCGIPATH/lib/libfcgi.a" || AC_MSG_ERROR(Unable to find libfcgi.a in
$FASTCGIPATH/lib)
test -f "$FASTCGIPATH/include/fastcgi.h" || AC_MSG_ERROR(Unable to find fastcgi.h in
$FASTCGIPATH/include)
+
PHP_SELECT_SAPI(fastcgi, programm, fastcgi.c)
- PHP_LIBS=$FASTCGIPATH/lib/libfcgi.a
+
PHP_ADD_INCLUDE($FASTCGIPATH/include)
- EXT_PROGRAM_LDADD="$EXT_PROGRAM_LDADD $FASTCGIPATH/lib/libfcgi.a"
+ PHP_ADD_LIBRARY_WITH_PATH(fcgi, "$FASTCGIPATH/lib",)
+
INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_PROGRAM \$(bindir)/$SAPI_FASTCGI"
RESULT=yes
PHP_SUBST(FASTCGI_LIBADD)