]>
Commit | Line | Data |
---|---|---|
faf82f81 | 1 | --- php-4.0.6/sapi/fastcgi/config.m4.wiget Tue Mar 27 22:34:45 2001 |
2 | +++ php-4.0.6/sapi/fastcgi/config.m4 Wed Jul 4 23:14:00 2001 | |
3 | @@ -7,10 +7,15 @@ | |
4 | FASTCGIPATH=$withval | |
5 | fi | |
6 | test -f "$FASTCGIPATH/lib/libfcgi.a" || AC_MSG_ERROR(Unable to find libfcgi.a in $FASTCGIPATH/lib) | |
7 | - test -f "$FASTCGIPATH/include/fastcgi.h" || AC_MSG_ERROR(Unable to find fastcgi.h in $FASTCGIPATH/include) | |
8 | + if test -f "$FASTCGIPATH/include/fastcgi.h" ; then | |
9 | + PHP_ADD_INCLUDE($FASTCGIPATH/include) | |
10 | + elif test -f "$FASTCGIPATH/include/fastcgi/fastcgi.h" ; then | |
11 | + PHP_ADD_INCLUDE($FASTCGIPATH/fastcgi/include) | |
12 | + else | |
13 | + AC_MSG_ERROR(Unable to find fastcgi.h in $FASTCGIPATH/include) | |
14 | + fi | |
15 | PHP_SAPI=fastcgi | |
16 | PHP_LIBS=$FASTCGIPATH/lib/libfcgi.a | |
17 | - PHP_ADD_INCLUDE($FASTCGIPATH/include) | |
18 | EXT_PROGRAM_LDADD="$EXT_PROGRAM_LDADD $FASTCGIPATH/lib/libfcgi.a" | |
19 | INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_PROGRAM \$(bindir)/$SAPI_FASTCGI" | |
20 | RESULT="yes" | |
e445eeef | 21 |