summaryrefslogtreecommitdiffabout
path: root/configure.ac
authorMichael Krelin <hacker@klever.net>2005-01-29 20:14:37 (UTC)
committer Michael Krelin <hacker@klever.net>2005-01-29 20:14:37 (UTC)
commitff4b919683537625f693eedf53006364d0f8444d (patch) (unidiff)
tree4c19e38c0832b16b4ca98ae5af6542d932373eb1 /configure.ac
parentf9a64a67c89a7566e63ed66c3a69c359abea4dfd (diff)
downloadkingate-ff4b919683537625f693eedf53006364d0f8444d.zip
kingate-ff4b919683537625f693eedf53006364d0f8444d.tar.gz
kingate-ff4b919683537625f693eedf53006364d0f8444d.tar.bz2
initial commit into repository0.0
Diffstat (limited to 'configure.ac') (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac62
1 files changed, 62 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..109eddf
--- a/dev/null
+++ b/configure.ac
@@ -0,0 +1,62 @@
1AC_INIT([kingate], [0.0], [kingate-bugs@klever.net])
2AC_CONFIG_SRCDIR([include/kingate/cgi_gateway.h])
3AC_CONFIG_HEADER([config.h])
4AM_INIT_AUTOMAKE([dist-bzip2])
5
6AC_PROG_INSTALL
7AC_PROG_AWK
8AC_PROG_CXX
9AC_PROG_CC
10AC_PROG_LIBTOOL
11
12AC_HEADER_STDC
13AC_CHECK_HEADERS([sys/types.h sys/stat.h])
14
15AC_LANG_PUSH(C++)
16AC_CHECK_HEADERS([fcgio.h],,[
17 exit 1
18])
19AC_CHECK_LIB(fcgi,FCGX_Init,,[
20 exit 1
21])
22AC_CHECK_LIB([fcgi++],[main],,[
23 exit 1
24])
25AC_LANG_POP(C++)
26
27AC_C_CONST
28
29AC_FUNC_MALLOC
30AC_FUNC_REALLOC
31
32AC_PATH_PROG([XSLTPROC],[xsltproc],[true])
33
34AC_WITH_PKGCONFIG
35
36PKG_CHECK_MODULES([KONFORKA],[konforka],,[
37 AC_MSG_ERROR([no konforka library found. get one from http://kin.klever.net/konforka/])
38])
39
40WANT_DOXYGEN="yes"
41AC_ARG_ENABLE([doxygen],
42 AC_HELP_STRING([--disable-doxygen],[do not generate documentation]),
43 [
44 test "${enableval}" = "no" && WANT_DOXYGEN="no"
45 ]
46)
47if test "${WANT_DOXYGEN}" = "yes" ; then
48 AC_WITH_DOXYGEN
49 AC_WITH_DOT
50else
51 AM_CONDITIONAL([HAVE_DOXYGEN],[false])
52 AM_CONDITIONAL([HAVE_DOT],[false])
53fi
54
55AC_CONFIG_FILES([
56 Makefile
57 kingate.pc kingate-fcgi.pc
58 Doxyfile
59 include/Makefile
60 src/Makefile
61])
62AC_OUTPUT