author | Michael Krelin <hacker@klever.net> | 2005-07-04 22:54:09 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2005-07-04 22:54:09 (UTC) |
commit | c5d7daf77e265b53951e1e2b09c51e2fba5e93dc (patch) (unidiff) | |
tree | 2337ff96d85d8de6d25fbaed75eb9c0d71a1625d /configure.ac | |
parent | c8bcbfb951eec5fe14dac0b14f4faaf4a9f9f229 (diff) | |
download | kingate-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)
-rw-r--r-- | configure.ac | 16 |
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 @@ | |||
1 | AC_INIT([kingate], [0.0.1], [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_HEADERS([config.h]) |
4 | AM_INIT_AUTOMAKE([dist-bzip2]) | 4 | AM_INIT_AUTOMAKE([dist-bzip2]) |
5 | 5 | ||
6 | AC_PROG_INSTALL | 6 | AC_PROG_INSTALL |
7 | AC_PROG_AWK | 7 | AC_PROG_AWK |
8 | AC_PROG_CXX | 8 | AC_PROG_CXX |
9 | AC_PROG_CC | 9 | AC_PROG_CC |
10 | AC_PROG_LIBTOOL | 10 | AC_PROG_LIBTOOL |
11 | 11 | ||
12 | AC_HEADER_STDC | 12 | AC_HEADER_STDC |
13 | AC_CHECK_HEADERS([sys/types.h sys/stat.h]) | 13 | AC_CHECK_HEADERS([sys/types.h sys/stat.h]) |
14 | AC_CHECK_DECLS([environ],,,[ | 14 | AC_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 | ) |
55 | if test "${WANT_DOXYGEN}" = "yes" ; then | 55 | if test "${WANT_DOXYGEN}" = "yes" ; then |
56 | AC_WITH_DOXYGEN | 56 | AC_WITH_DOXYGEN |
57 | AC_WITH_DOT | 57 | AC_WITH_DOT |
58 | else | 58 | else |
59 | AM_CONDITIONAL([HAVE_DOXYGEN],[false]) | 59 | AM_CONDITIONAL([HAVE_DOXYGEN],[false]) |
60 | AM_CONDITIONAL([HAVE_DOT],[false]) | 60 | AM_CONDITIONAL([HAVE_DOT],[false]) |
61 | fi | 61 | fi |
62 | 62 | ||
63 | HAVE_MIMETIC=false | ||
64 | AC_LANG_PUSH(C++) | ||
65 | AC_CHECK_LIB([mimetic],[main],[ | ||
66 | MIMETIC_LIBS=-lmimetic | ||
67 | HAVE_MIMETIC=true | ||
68 | ] | ||
69 | ) | ||
70 | AC_LANG_POP(C++) | ||
71 | AC_SUBST([MIMETIC_LIBS]) | ||
72 | AC_SUBST([MIMETIC_CFLAGS]) | ||
73 | if ${HAVE_MIMETIC} ; then | ||
74 | AC_DEFINE([HAVE_MIMETIC],,[defined in presence of mimetic]) | ||
75 | fi | ||
76 | |||
63 | AC_CONFIG_FILES([ | 77 | AC_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 | ]) |
70 | AC_OUTPUT | 84 | AC_OUTPUT |