author | Michael Krelin <hacker@klever.net> | 2005-02-13 17:01:51 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2005-02-13 17:01:51 (UTC) |
commit | 9aa669090e978dce5e1f4d1ca9d23a4d92208518 (patch) (unidiff) | |
tree | 37b8b1a8df046d2154af30f85f251ca5271672e5 /configure.ac | |
parent | ce1f37aae46ea95020d7b865f7a80e8abdfad0d8 (diff) | |
download | sitecing-9aa669090e978dce5e1f4d1ca9d23a4d92208518.zip sitecing-9aa669090e978dce5e1f4d1ca9d23a4d92208518.tar.gz sitecing-9aa669090e978dce5e1f4d1ca9d23a4d92208518.tar.bz2 |
1. made fastcgi support optional
2. added 'plain' cgi support (kingate 0.0.1 required for it)
3. bumped version to 0.0.1
4. excluded doxygen 'dox' target from 'all'
-rw-r--r-- | configure.ac | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index acd34b9..0da7658 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | AC_INIT([sitecing], [0.0], [sitecing-bugs@klever.net]) | 1 | AC_INIT([sitecing], [0.0.1], [sitecing-bugs@klever.net]) |
2 | AC_CONFIG_SRCDIR([include/sitecing/sitecing_parser.h]) | 2 | AC_CONFIG_SRCDIR([include/sitecing/sitecing_parser.h]) |
3 | AC_CONFIG_HEADER([config.h]) | 3 | AC_CONFIG_HEADER([config.h]) |
4 | AM_INIT_AUTOMAKE([dist-bzip2]) | 4 | AM_INIT_AUTOMAKE([dist-bzip2]) |
@@ -20,9 +20,27 @@ AC_FUNC_REALLOC | |||
20 | 20 | ||
21 | AC_WITH_PKGCONFIG | 21 | AC_WITH_PKGCONFIG |
22 | 22 | ||
23 | PKG_CHECK_MODULES([KINGATE],[kingate-fcgi],,[ | 23 | PKG_CHECK_MODULES([KINGATE],[kingate],,[ |
24 | AC_MSG_ERROR([no kingate library found, get it at http://kin.klever.net/kingate/]) | 24 | AC_MSG_ERROR([no kingate library found, get it at http://kin.klever.net/kingate/]) |
25 | ]) | 25 | ]) |
26 | HAVE_FCGI=false | ||
27 | HAVE_PLAINCGI=false | ||
28 | PKG_CHECK_MODULES([KINGATE_FCGI],[kingate-fcgi],[ | ||
29 | HAVE_FCGI=true | ||
30 | ],[ | ||
31 | AC_MSG_NOTICE([no fastcgi support in kingate library]) | ||
32 | ]) | ||
33 | PKG_CHECK_MODULES([KINGATE_PLAINCGI],[kingate-plaincgi],[ | ||
34 | HAVE_PLAINCGI=true | ||
35 | ],[ | ||
36 | AC_MSG_NOTICE([no plaincgi support in kingate library]) | ||
37 | ]) | ||
38 | if ! (${HAVE_FCGI} || ${HAVE_PLAINCGI}) ; then | ||
39 | AC_MSG_ERROR([not a single CGI interface supported in kingate]) | ||
40 | fi | ||
41 | AM_CONDITIONAL([HAVE_FCGI],[${HAVE_FCGI}]) | ||
42 | AM_CONDITIONAL([HAVE_PLAINCGI],[${HAVE_PLAINCGI}]) | ||
43 | |||
26 | PKG_CHECK_MODULES([DOTCONF],[dotconf],,[ | 44 | PKG_CHECK_MODULES([DOTCONF],[dotconf],,[ |
27 | AC_MSG_ERROR([no dotconf library found]) | 45 | AC_MSG_ERROR([no dotconf library found]) |
28 | ]) | 46 | ]) |