author | Michael Krelin <hacker@klever.net> | 2005-04-03 16:43:48 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2005-04-03 16:43:48 (UTC) |
commit | dc836540970e798a91ae9460690e4462365e770a (patch) (unidiff) | |
tree | 9e74cfa09ebe825f3ff111a33eba9c3db4eed807 | |
parent | 483022c5ae5b92c1d501ad4b2683666ca6e563e4 (diff) | |
download | sitecing-dc836540970e798a91ae9460690e4462365e770a.zip sitecing-dc836540970e798a91ae9460690e4462365e770a.tar.gz sitecing-dc836540970e798a91ae9460690e4462365e770a.tar.bz2 |
the last change before release - bump sitecing version requirementshowcase/0.0.1
-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 @@ | |||
1 | AC_INIT([sitecing-showcase], [0.0.1], [sitecing-bugs@klever.net]) | 1 | AC_INIT([sitecing-showcase], [0.0.1], [sitecing-bugs@klever.net]) |
2 | AC_CONFIG_SRCDIR([htdocs/index.chtml]) | 2 | AC_CONFIG_SRCDIR([htdocs/index.chtml]) |
3 | AC_CONFIG_AUX_DIR([aux]) | 3 | AC_CONFIG_AUX_DIR([aux]) |
4 | AC_CONFIG_HEADER([include/acconfig.h]) | 4 | AC_CONFIG_HEADER([include/acconfig.h]) |
5 | AM_INIT_AUTOMAKE([dist-bzip2]) | 5 | AM_INIT_AUTOMAKE([dist-bzip2]) |
6 | 6 | ||
7 | AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) | 7 | AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) |
8 | 8 | ||
9 | PKG_CHECK_MODULES([SITECING],[sitecing],,[ | 9 | PKG_CHECK_MODULES([SITECING],[sitecing >= 0.0.1],,[ |
10 | AC_MSG_ERROR([site-C-ing not found. get it at http://kin.klever.net/sitecing/]) | 10 | AC_MSG_ERROR([site-C-ing not found. get it at http://kin.klever.net/sitecing/]) |
11 | ]) | 11 | ]) |
12 | sitecing_prefix="$(${PKG_CONFIG} --variable=prefix sitecing)" | 12 | sitecing_prefix="$(${PKG_CONFIG} --variable=prefix sitecing)" |
13 | sitecing_bindir="$(${PKG_CONFIG} --variable=bindir sitecing)" | 13 | sitecing_bindir="$(${PKG_CONFIG} --variable=bindir sitecing)" |
14 | AC_MSG_CHECKING([for sitecing-fastcgi binary]) | 14 | AC_MSG_CHECKING([for sitecing-fastcgi binary]) |
15 | sitecing_fastcgi="${sitecing_bindir}/sitecing-fastcgi" | 15 | sitecing_fastcgi="${sitecing_bindir}/sitecing-fastcgi" |
16 | if test -x "${sitecing_fastcgi}" ; then | 16 | if test -x "${sitecing_fastcgi}" ; then |
17 | AC_MSG_RESULT([found ${sitecing_fastcgi}]) | 17 | AC_MSG_RESULT([found ${sitecing_fastcgi}]) |
18 | else | 18 | else |
19 | AC_MSG_RESULT([not found]) | 19 | AC_MSG_RESULT([not found]) |
20 | AC_MSG_ERROR([broken site-C-ing install detected]) | 20 | AC_MSG_ERROR([broken site-C-ing install detected]) |
21 | fi | 21 | fi |
22 | AC_MSG_CHECKING([for sitecing-build binary]) | 22 | AC_MSG_CHECKING([for sitecing-build binary]) |
23 | sitecing_build="${sitecing_bindir}/sitecing-build" | 23 | sitecing_build="${sitecing_bindir}/sitecing-build" |
24 | if test -x "${sitecing_build}" ; then | 24 | if test -x "${sitecing_build}" ; then |
25 | AC_MSG_RESULT([found ${sitecing_build}]) | 25 | AC_MSG_RESULT([found ${sitecing_build}]) |
26 | else | 26 | else |
27 | AC_MSG_RESULT([not found]) | 27 | AC_MSG_RESULT([not found]) |
28 | AC_MSG_ERROR([broken site-C-ing install detected]) | 28 | AC_MSG_ERROR([broken site-C-ing install detected]) |
29 | fi | 29 | fi |
30 | AC_SUBST([sitecing_prefix]) | 30 | AC_SUBST([sitecing_prefix]) |
31 | AC_SUBST([sitecing_bindir]) | 31 | AC_SUBST([sitecing_bindir]) |
32 | AC_SUBST([sitecing_fastcgi]) | 32 | AC_SUBST([sitecing_fastcgi]) |
33 | AC_SUBST([sitecing_build]) | 33 | AC_SUBST([sitecing_build]) |
34 | 34 | ||
35 | config_sitecing="config.sitecing" | 35 | config_sitecing="config.sitecing" |
36 | rm -f "${config_sitecing}" | 36 | rm -f "${config_sitecing}" |
37 | SC_BUILD_CONF([${config_sitecing}],[CPPFLAGS],[${SITECING_CFLAGS}]) | 37 | SC_BUILD_CONF([${config_sitecing}],[CPPFLAGS],[${SITECING_CFLAGS}]) |
38 | SC_BUILD_CONF([${config_sitecing}],[LDFLAGS],[${SITECING_LIBS}]) | 38 | SC_BUILD_CONF([${config_sitecing}],[LDFLAGS],[${SITECING_LIBS}]) |
39 | AC_SUBST_FILE([config_sitecing]) | 39 | AC_SUBST_FILE([config_sitecing]) |
40 | 40 | ||
41 | SC_WEB_ROOT([web_src_root],[web_run_root]) | 41 | SC_WEB_ROOT([web_src_root],[web_run_root]) |
42 | SC_USER([sitecing_user]) | 42 | SC_USER([sitecing_user]) |
43 | 43 | ||
44 | AC_DEFINE_UNQUOTED([WEB_ROOT],["${web_src_root}"],[the site root]) | 44 | AC_DEFINE_UNQUOTED([WEB_ROOT],["${web_src_root}"],[the site root]) |
45 | AC_DEFINE_UNQUOTED([WEB_SRC_ROOT],["${web_src_root}"],[the site root]) | 45 | AC_DEFINE_UNQUOTED([WEB_SRC_ROOT],["${web_src_root}"],[the site root]) |
46 | AC_DEFINE_UNQUOTED([WEB_RUN_ROOT],["${web_run_root}"],[the site root]) | 46 | AC_DEFINE_UNQUOTED([WEB_RUN_ROOT],["${web_run_root}"],[the site root]) |
47 | 47 | ||
48 | v_hostname="$(hostname)" | 48 | v_hostname="$(hostname)" |
49 | AC_MSG_CHECKING([for virtual host name]) | 49 | AC_MSG_CHECKING([for virtual host name]) |
50 | AC_ARG_WITH([vhostname], | 50 | AC_ARG_WITH([vhostname], |
51 | AC_HELP_STRING([--with-vhostname=virtual-host-name],[set the apache ServerName of VirtualHost]), | 51 | AC_HELP_STRING([--with-vhostname=virtual-host-name],[set the apache ServerName of VirtualHost]), |
52 | [ | 52 | [ |
53 | v_hostname="${withval}" | 53 | v_hostname="${withval}" |
54 | ] | 54 | ] |
55 | ) | 55 | ) |
56 | AC_MSG_RESULT([${v_hostname}]) | 56 | AC_MSG_RESULT([${v_hostname}]) |
57 | AC_SUBST([v_hostname]) | 57 | AC_SUBST([v_hostname]) |