-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 0da7658..b9e9b56 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -32,50 +32,52 @@ PKG_CHECK_MODULES([KINGATE_FCGI],[kingate-fcgi],[ | |||
32 | ]) | 32 | ]) |
33 | PKG_CHECK_MODULES([KINGATE_PLAINCGI],[kingate-plaincgi],[ | 33 | PKG_CHECK_MODULES([KINGATE_PLAINCGI],[kingate-plaincgi],[ |
34 | HAVE_PLAINCGI=true | 34 | HAVE_PLAINCGI=true |
35 | ],[ | 35 | ],[ |
36 | AC_MSG_NOTICE([no plaincgi support in kingate library]) | 36 | AC_MSG_NOTICE([no plaincgi support in kingate library]) |
37 | ]) | 37 | ]) |
38 | if ! (${HAVE_FCGI} || ${HAVE_PLAINCGI}) ; then | 38 | if ! (${HAVE_FCGI} || ${HAVE_PLAINCGI}) ; then |
39 | AC_MSG_ERROR([not a single CGI interface supported in kingate]) | 39 | AC_MSG_ERROR([not a single CGI interface supported in kingate]) |
40 | fi | 40 | fi |
41 | AM_CONDITIONAL([HAVE_FCGI],[${HAVE_FCGI}]) | 41 | AM_CONDITIONAL([HAVE_FCGI],[${HAVE_FCGI}]) |
42 | AM_CONDITIONAL([HAVE_PLAINCGI],[${HAVE_PLAINCGI}]) | 42 | AM_CONDITIONAL([HAVE_PLAINCGI],[${HAVE_PLAINCGI}]) |
43 | 43 | ||
44 | PKG_CHECK_MODULES([DOTCONF],[dotconf],,[ | 44 | PKG_CHECK_MODULES([DOTCONF],[dotconf],,[ |
45 | AC_MSG_ERROR([no dotconf library found]) | 45 | AC_MSG_ERROR([no dotconf library found]) |
46 | ]) | 46 | ]) |
47 | 47 | ||
48 | AC_WITH_PCRE([ | 48 | AC_WITH_PCRE([ |
49 | AC_WITH_PCREPP(,[ | 49 | AC_WITH_PCREPP(,[ |
50 | AC_MSG_ERROR([no pcre++ library found]) | 50 | AC_MSG_ERROR([no pcre++ library found]) |
51 | ]) | 51 | ]) |
52 | ],[ | 52 | ],[ |
53 | AC_MSG_ERROR([no pcre library found]) | 53 | AC_MSG_ERROR([no pcre library found]) |
54 | ]) | 54 | ]) |
55 | 55 | ||
56 | AC_CHECK_LIB([dl],[dlopen],,[ | 56 | AC_CHECK_FUNC([dlopen],,[ |
57 | AC_MSG_ERROR([no dlopen library found]) | 57 | AC_CHECK_LIB([dl],[dlopen],,[ |
58 | AC_MSG_ERROR([no dlopen library found]) | ||
59 | ]) | ||
58 | ]) | 60 | ]) |
59 | 61 | ||
60 | AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) | 62 | AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) |
61 | 63 | ||
62 | WANT_DOXYGEN="yes" | 64 | WANT_DOXYGEN="yes" |
63 | AC_ARG_ENABLE([doxygen], | 65 | AC_ARG_ENABLE([doxygen], |
64 | AC_HELP_STRING([--disable-doxygen],[do not generate documentation]), | 66 | AC_HELP_STRING([--disable-doxygen],[do not generate documentation]), |
65 | [ | 67 | [ |
66 | test "${enableval}" = "no" && WANT_DOXYGEN="no" | 68 | test "${enableval}" = "no" && WANT_DOXYGEN="no" |
67 | ] | 69 | ] |
68 | ) | 70 | ) |
69 | if test "${WANT_DOXYGEN}" = "yes" ; then | 71 | if test "${WANT_DOXYGEN}" = "yes" ; then |
70 | AC_WITH_DOXYGEN | 72 | AC_WITH_DOXYGEN |
71 | AC_WITH_DOT | 73 | AC_WITH_DOT |
72 | else | 74 | else |
73 | AM_CONDITIONAL([HAVE_DOXYGEN],[false]) | 75 | AM_CONDITIONAL([HAVE_DOXYGEN],[false]) |
74 | AM_CONDITIONAL([HAVE_DOT],[false]) | 76 | AM_CONDITIONAL([HAVE_DOT],[false]) |
75 | fi | 77 | fi |
76 | 78 | ||
77 | AC_CONFIG_FILES([ | 79 | AC_CONFIG_FILES([ |
78 | Makefile | 80 | Makefile |
79 | Doxyfile | 81 | Doxyfile |
80 | sitecing.pc | 82 | sitecing.pc |
81 | include/Makefile | 83 | include/Makefile |