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:
parent
9c380cbbde
commit
b8a96670c1
10
configure.in
10
configure.in
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue