-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ef66b30..e60f519 100644 --- a/configure.ac +++ b/configure.ac @@ -1,57 +1,57 @@ AC_INIT([sitecing-showcase], [0.0.1], [sitecing-bugs@klever.net]) AC_CONFIG_SRCDIR([htdocs/index.chtml]) AC_CONFIG_AUX_DIR([aux]) AC_CONFIG_HEADER([include/acconfig.h]) AM_INIT_AUTOMAKE([dist-bzip2]) AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) -PKG_CHECK_MODULES([SITECING],[sitecing],,[ +PKG_CHECK_MODULES([SITECING],[sitecing >= 0.0.1],,[ AC_MSG_ERROR([site-C-ing not found. get it at http://kin.klever.net/sitecing/]) ]) sitecing_prefix="$(${PKG_CONFIG} --variable=prefix sitecing)" sitecing_bindir="$(${PKG_CONFIG} --variable=bindir sitecing)" AC_MSG_CHECKING([for sitecing-fastcgi binary]) sitecing_fastcgi="${sitecing_bindir}/sitecing-fastcgi" if test -x "${sitecing_fastcgi}" ; then AC_MSG_RESULT([found ${sitecing_fastcgi}]) else AC_MSG_RESULT([not found]) AC_MSG_ERROR([broken site-C-ing install detected]) fi AC_MSG_CHECKING([for sitecing-build binary]) sitecing_build="${sitecing_bindir}/sitecing-build" if test -x "${sitecing_build}" ; then AC_MSG_RESULT([found ${sitecing_build}]) else AC_MSG_RESULT([not found]) AC_MSG_ERROR([broken site-C-ing install detected]) fi AC_SUBST([sitecing_prefix]) AC_SUBST([sitecing_bindir]) AC_SUBST([sitecing_fastcgi]) AC_SUBST([sitecing_build]) config_sitecing="config.sitecing" rm -f "${config_sitecing}" SC_BUILD_CONF([${config_sitecing}],[CPPFLAGS],[${SITECING_CFLAGS}]) SC_BUILD_CONF([${config_sitecing}],[LDFLAGS],[${SITECING_LIBS}]) AC_SUBST_FILE([config_sitecing]) SC_WEB_ROOT([web_src_root],[web_run_root]) SC_USER([sitecing_user]) AC_DEFINE_UNQUOTED([WEB_ROOT],["${web_src_root}"],[the site root]) AC_DEFINE_UNQUOTED([WEB_SRC_ROOT],["${web_src_root}"],[the site root]) AC_DEFINE_UNQUOTED([WEB_RUN_ROOT],["${web_run_root}"],[the site root]) v_hostname="$(hostname)" AC_MSG_CHECKING([for virtual host name]) AC_ARG_WITH([vhostname], AC_HELP_STRING([--with-vhostname=virtual-host-name],[set the apache ServerName of VirtualHost]), [ v_hostname="${withval}" ] ) AC_MSG_RESULT([${v_hostname}]) AC_SUBST([v_hostname]) |