summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMartin Konold <martin.konold@erfrakon.de>2005-11-27 13:48:36 (GMT)
committerMartin Konold <martin.konold@erfrakon.de>2005-11-27 13:48:36 (GMT)
commit244eebd2eed56d41950559f6f89e6d0c98f0be92 (patch)
treee3441d22b576bb661df7fb73ddf2d8a83dd557c6 /configure.ac
parent5c08cc729acec68d5d525a0be2e83733a0077bce (diff)
downloadkolab-webadmin-244eebd2eed56d41950559f6f89e6d0c98f0be92.tar.gz
Martin Konold: Patch from Richard fixing paths. See also issue 1007
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac26
1 files changed, 4 insertions, 22 deletions
diff --git a/configure.ac b/configure.ac
index e9283a8..160e3d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,30 +11,12 @@ AC_PREFIX_DEFAULT([/usr])
AC_ARG_ENABLE([dist],
[AC_HELP_STRING([--enable-dist=DIST],
[distribution target (default: openpkg)])],
- [distribution=dist_conf/$enable_dist],
- [distribution=dist_conf/kolab])
+ [distribution=$srcdir/dist_conf/$enable_dist],
+ [distribution=$srcdir/dist_conf/kolab])
AC_SUBST_FILE(distribution)
-AC_ARG_ENABLE([wsdocrootdir],
- [AC_HELP_STRING([--enable-wsdocrootdir=DIR],
- [The webserver document root (default: LOCALSTATEDIR/kolab/www)])],
- [wsdocrootdir="$enable_wsdocrootdir"],
- [wsdocrootdir="\$(localstatedir)/kolab/www"])
-AC_SUBST(wsdocrootdir)
-
-AC_ARG_ENABLE([phpdir],
- [AC_HELP_STRING([--enable-phpdir=DIR],
- [The webserver document root (default: LOCALSTATEDIR/kolab/php)])],
- [phpdir="$enable_phpdir"],
- [phpdir="\$(localstatedir)/kolab/php"])
-AC_SUBST(phpdir)
-
-AC_ARG_ENABLE([pkgdocdir],
- [AC_HELP_STRING([--enable-pkgdocdir=DIR],
- [where to install the documentation (default: DATADIR/doc)])],
- [pkgdocdir="$enable_pkgdocdir"],
- [pkgdocdir="\$(datadir)/doc/${PACKAGE}"])
-AC_SUBST(pkgdocdir)
+common=dist_conf/common
+AC_SUBST_FILE(common)
# Checks for libraries.