summaryrefslogtreecommitdiffabout
path: root/configure.ac
authorMichael Krelin <hacker@klever.net>2005-07-04 22:54:09 (UTC)
committer Michael Krelin <hacker@klever.net>2005-07-04 22:54:09 (UTC)
commitc5d7daf77e265b53951e1e2b09c51e2fba5e93dc (patch) (unidiff)
tree2337ff96d85d8de6d25fbaed75eb9c0d71a1625d /configure.ac
parentc8bcbfb951eec5fe14dac0b14f4faaf4a9f9f229 (diff)
downloadkingate-c5d7daf77e265b53951e1e2b09c51e2fba5e93dc.zip
kingate-c5d7daf77e265b53951e1e2b09c51e2fba5e93dc.tar.gz
kingate-c5d7daf77e265b53951e1e2b09c51e2fba5e93dc.tar.bz2
1. awkward yet working support for POST file upload (requires mimetic)
2. support for NOT handling/parsing POSTed data (including application/x-www-form-urlencoded)
Diffstat (limited to 'configure.ac') (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac16
1 files changed, 15 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b3141f1..b51d64d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,15 +1,15 @@
1AC_INIT([kingate], [0.0.1], [kingate-bugs@klever.net]) 1AC_INIT([kingate], [0.0.1], [kingate-bugs@klever.net])
2AC_CONFIG_SRCDIR([include/kingate/cgi_gateway.h]) 2AC_CONFIG_SRCDIR([include/kingate/cgi_gateway.h])
3AC_CONFIG_HEADER([config.h]) 3AC_CONFIG_HEADERS([config.h])
4AM_INIT_AUTOMAKE([dist-bzip2]) 4AM_INIT_AUTOMAKE([dist-bzip2])
5 5
6AC_PROG_INSTALL 6AC_PROG_INSTALL
7AC_PROG_AWK 7AC_PROG_AWK
8AC_PROG_CXX 8AC_PROG_CXX
9AC_PROG_CC 9AC_PROG_CC
10AC_PROG_LIBTOOL 10AC_PROG_LIBTOOL
11 11
12AC_HEADER_STDC 12AC_HEADER_STDC
13AC_CHECK_HEADERS([sys/types.h sys/stat.h]) 13AC_CHECK_HEADERS([sys/types.h sys/stat.h])
14AC_CHECK_DECLS([environ],,,[ 14AC_CHECK_DECLS([environ],,,[
15 #include <unistd.h> 15 #include <unistd.h>
@@ -51,20 +51,34 @@ AC_ARG_ENABLE([doxygen],
51 [ 51 [
52 test "${enableval}" = "no" && WANT_DOXYGEN="no" 52 test "${enableval}" = "no" && WANT_DOXYGEN="no"
53 ] 53 ]
54) 54)
55if test "${WANT_DOXYGEN}" = "yes" ; then 55if test "${WANT_DOXYGEN}" = "yes" ; then
56 AC_WITH_DOXYGEN 56 AC_WITH_DOXYGEN
57 AC_WITH_DOT 57 AC_WITH_DOT
58else 58else
59 AM_CONDITIONAL([HAVE_DOXYGEN],[false]) 59 AM_CONDITIONAL([HAVE_DOXYGEN],[false])
60 AM_CONDITIONAL([HAVE_DOT],[false]) 60 AM_CONDITIONAL([HAVE_DOT],[false])
61fi 61fi
62 62
63HAVE_MIMETIC=false
64AC_LANG_PUSH(C++)
65 AC_CHECK_LIB([mimetic],[main],[
66 MIMETIC_LIBS=-lmimetic
67 HAVE_MIMETIC=true
68 ]
69 )
70AC_LANG_POP(C++)
71AC_SUBST([MIMETIC_LIBS])
72AC_SUBST([MIMETIC_CFLAGS])
73if ${HAVE_MIMETIC} ; then
74 AC_DEFINE([HAVE_MIMETIC],,[defined in presence of mimetic])
75fi
76
63AC_CONFIG_FILES([ 77AC_CONFIG_FILES([
64 Makefile 78 Makefile
65 kingate.pc kingate-fcgi.pc kingate-plaincgi.pc 79 kingate.pc kingate-fcgi.pc kingate-plaincgi.pc
66 Doxyfile 80 Doxyfile
67 include/Makefile 81 include/Makefile
68 src/Makefile 82 src/Makefile
69]) 83])
70AC_OUTPUT 84AC_OUTPUT