- properly find fastcgi.h in /usr/include/fastcgi
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1364 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
parent
b060b46dc9
commit
56de5af1cd
|
@ -510,7 +510,7 @@ 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],[
|
||||
AC_CHECK_HEADERS([fastcgi.h fastcgi/fastcgi.h],[
|
||||
fastcgi_found=yes
|
||||
])
|
||||
])
|
||||
|
|
|
@ -25,7 +25,15 @@
|
|||
#include "stat_cache.h"
|
||||
#include "status_counter.h"
|
||||
|
||||
#ifdef HAVE_FASTCGI_FASTCGI_H
|
||||
#include <fastcgi/fastcgi.h>
|
||||
#else
|
||||
#ifdef HAVE_FASTCGI_H
|
||||
#include <fastcgi.h>
|
||||
#else
|
||||
#include "fastcgi.h"
|
||||
#endif
|
||||
#endif /* HAVE_FASTCGI_FASTCGI_H */
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef HAVE_SYS_FILIO_H
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
#include "config.h"
|
||||
#ifdef HAVE_FASTCGI_FASTCGI_H
|
||||
#include <fastcgi/fcgi_stdio.h>
|
||||
#else
|
||||
#include <fcgi_stdio.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
#include "config.h"
|
||||
#ifdef HAVE_FASTCGI_FASTCGI_H
|
||||
#include <fastcgi/fcgi_stdio.h>
|
||||
#else
|
||||
#include <fcgi_stdio.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
|
Loading…
Reference in New Issue