author | Michael Krelin <hacker@klever.net> | 2005-02-13 14:02:29 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2005-02-13 14:02:29 (UTC) |
commit | 4fa4a0071ef9a04c02f8934b2e1d3b7628a65c80 (patch) (unidiff) | |
tree | 47f2e6866ab812985ae9e6adbcea8bb785fa0403 /configure.ac | |
parent | ff4b919683537625f693eedf53006364d0f8444d (diff) | |
download | kingate-4fa4a0071ef9a04c02f8934b2e1d3b7628a65c80.zip kingate-4fa4a0071ef9a04c02f8934b2e1d3b7628a65c80.tar.gz kingate-4fa4a0071ef9a04c02f8934b2e1d3b7628a65c80.tar.bz2 |
1. Support for 'plain' CGI
2. Made fastcgi support optional
3. bumped version to 0.0.1
4. doxygen documentation target 'dox' is not built for 'all' now
-rw-r--r-- | configure.ac | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac index 109eddf..5ae7b27 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,3 +1,3 @@ | |||
1 | AC_INIT([kingate], [0.0], [kingate-bugs@klever.net]) | 1 | AC_INIT([kingate], [0.0.1], [kingate-bugs@klever.net]) |
2 | AC_CONFIG_SRCDIR([include/kingate/cgi_gateway.h]) | 2 | AC_CONFIG_SRCDIR([include/kingate/cgi_gateway.h]) |
3 | AC_CONFIG_HEADER([config.h]) | 3 | AC_CONFIG_HEADER([config.h]) |
@@ -13,15 +13,20 @@ AC_HEADER_STDC | |||
13 | AC_CHECK_HEADERS([sys/types.h sys/stat.h]) | 13 | AC_CHECK_HEADERS([sys/types.h sys/stat.h]) |
14 | 14 | ||
15 | HAVE_FCGI=false | ||
15 | AC_LANG_PUSH(C++) | 16 | AC_LANG_PUSH(C++) |
16 | AC_CHECK_HEADERS([fcgio.h],,[ | 17 | AC_CHECK_HEADERS([fcgio.h],[ |
17 | exit 1 | 18 | AC_CHECK_LIB(fcgi,FCGX_Init,[ |
18 | ]) | 19 | LIBS="-lfcgi ${LIBS}" |
19 | AC_CHECK_LIB(fcgi,FCGX_Init,,[ | 20 | AC_CHECK_LIB([fcgi++],[main],[ |
20 | exit 1 | 21 | LIBS="-lfcgi++ ${LIBS}" |
21 | ]) | 22 | HAVE_FCGI=true |
22 | AC_CHECK_LIB([fcgi++],[main],,[ | 23 | ]) |
23 | exit 1 | 24 | ]) |
24 | ]) | 25 | ]) |
25 | AC_LANG_POP(C++) | 26 | AC_LANG_POP(C++) |
27 | if ! ${HAVE_FCGI} ; then | ||
28 | AC_MSG_NOTICE([no FastCGI development kit found. It is highly recommnded that you get one. Meanwhile we will proceed without FastCGI support]) | ||
29 | fi | ||
30 | AM_CONDITIONAL([HAVE_FCGI],[${HAVE_FCGI}]) | ||
26 | 31 | ||
27 | AC_C_CONST | 32 | AC_C_CONST |
@@ -55,5 +60,5 @@ fi | |||
55 | AC_CONFIG_FILES([ | 60 | AC_CONFIG_FILES([ |
56 | Makefile | 61 | Makefile |
57 | kingate.pc kingate-fcgi.pc | 62 | kingate.pc kingate-fcgi.pc kingate-plaincgi.pc |
58 | Doxyfile | 63 | Doxyfile |
59 | include/Makefile | 64 | include/Makefile |