added check for libfcgi to build special test-cases

git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@43 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Jan Kneschke 2005-02-27 22:10:01 +00:00
parent 9c380cbbde
commit b8a96670c1
1 changed files with 10 additions and 0 deletions

View File

@ -353,6 +353,16 @@ AC_MSG_RESULT($enableval)
AM_CONDITIONAL(CROSS_COMPILING, test "x$cross_compiling" = xyes)
dnl check for fastcgi lib, for the tests only
fastcgi_found=no
AC_CHECK_LIB(fcgi, FCGI_Accept, [
AC_CHECK_HEADERS([fastcgi.h],[
fastcgi_found=yes
])
])
AM_CONDITIONAL(CHECK_WITH_FASTCGI, test "x$fastcgi_found" = xyes)
if test "${GCC}" = "yes"; then
CFLAGS="${CFLAGS} -Wall -W -Wshadow -pedantic"
fi