From b8a96670c1100499a5ba003abbf4ae19929529ec Mon Sep 17 00:00:00 2001 From: Jan Kneschke Date: Sun, 27 Feb 2005 22:10:01 +0000 Subject: [PATCH] added check for libfcgi to build special test-cases git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@43 152afb58-edef-0310-8abb-c4023f1b3aa9 --- configure.in | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configure.in b/configure.in index 1e13a03a..e0dad7ec 100644 --- a/configure.in +++ b/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