-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 5ae7b27..b3141f1 100644 --- a/configure.ac +++ b/configure.ac @@ -6,16 +6,19 @@ AM_INIT_AUTOMAKE([dist-bzip2]) AC_PROG_INSTALL AC_PROG_AWK AC_PROG_CXX AC_PROG_CC AC_PROG_LIBTOOL AC_HEADER_STDC AC_CHECK_HEADERS([sys/types.h sys/stat.h]) +AC_CHECK_DECLS([environ],,,[ + #include <unistd.h> +]) HAVE_FCGI=false AC_LANG_PUSH(C++) AC_CHECK_HEADERS([fcgio.h],[ AC_CHECK_LIB(fcgi,FCGX_Init,[ LIBS="-lfcgi ${LIBS}" AC_CHECK_LIB([fcgi++],[main],[ LIBS="-lfcgi++ ${LIBS}" |