author | Michael Krelin <hacker@klever.net> | 2007-10-01 13:41:33 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-10-01 13:41:33 (UTC) |
commit | c7be373560c95ed9d1214b17bed6215f49f844d6 (patch) (side-by-side diff) | |
tree | 7bf0666a3207ed932cdd0e2c6d1875a745b89192 /configure.ac | |
parent | 29f2fd81e0f4e62c54371b90469d64ec5e47bd8a (diff) | |
download | sitecing-next.zip sitecing-next.tar.gz sitecing-next.tar.bz2 |
don't be smart about pkgconfig dirpublic/nextnext
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | configure.ac | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index bb1557a..a7741c5 100644 --- a/configure.ac +++ b/configure.ac @@ -1,46 +1,45 @@ AC_INIT([sitecing], [0.0.2], [sitecing-bugs@klever.net]) AC_CONFIG_SRCDIR([include/sitecing/sitecing_parser.h]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE([dist-bzip2]) AC_PROG_INSTALL AC_PROG_AWK AC_PROG_CXX AC_PROG_CC AM_PROG_LEX AC_PROG_LIBTOOL +PKG_PROG_PKG_CONFIG AC_HEADER_STDC AC_CHECK_HEADERS([stdlib.h unistd.h]) AC_C_CONST AC_FUNC_MALLOC AC_FUNC_REALLOC -AC_WITH_PKGCONFIG - PKG_CHECK_MODULES([KONFORKA],[konforka >= 0.0.1],,[ AC_MSG_ERROR([no proper version of konforka library found, get it at http://kin.klever.net/konforka/]) ]) PKG_CHECK_MODULES([KINGATE],[kingate >= 0.0.1],,[ AC_MSG_ERROR([no kingate library found, get it at http://kin.klever.net/kingate/]) ]) HAVE_FCGI=false HAVE_PLAINCGI=false PKG_CHECK_MODULES([KINGATE_FCGI],[kingate-fcgi >= 0.0.1],[ HAVE_FCGI=true ],[ AC_MSG_NOTICE([no fastcgi support in kingate library]) ]) PKG_CHECK_MODULES([KINGATE_PLAINCGI],[kingate-plaincgi >= 0.0.1],[ HAVE_PLAINCGI=true ],[ AC_MSG_NOTICE([no plaincgi support in kingate library]) ]) if ! (${HAVE_FCGI} || ${HAVE_PLAINCGI}) ; then AC_MSG_ERROR([not a single CGI interface supported in kingate]) fi AM_CONDITIONAL([HAVE_FCGI],[${HAVE_FCGI}]) AM_CONDITIONAL([HAVE_PLAINCGI],[${HAVE_PLAINCGI}]) |