summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSteffen Hansen <steffen@kdab.com>2004-06-07 22:29:45 (GMT)
committerSteffen Hansen <steffen@kdab.com>2004-06-07 22:29:45 (GMT)
commit13cd4a5f867df6f4033362e62e3168e3a366f958 (patch)
tree8b1b6a5b2af684f5c101f1bba9136df44104a2fb /configure.ac
parent8d1e62742e17921db67bdb69bc8c9eff3d9e5636 (diff)
downloadkolab-webadmin-13cd4a5f867df6f4033362e62e3168e3a366f958.tar.gz
moved kolab-webadmin to autotools (credits to Richard Bos)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac52
1 files changed, 52 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..98c5386
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,52 @@
+AC_PREREQ(2.57)
+
+m4_define(_VERSION,0.2.0)
+AC_INIT([kolab-webadmin],[_VERSION],[kolab-devel@kolab.org])
+AC_CONFIG_SRCDIR(php/admin/include/ldap.class.php)
+AC_CONFIG_AUX_DIR(.)
+
+AM_INIT_AUTOMAKE([gnu] [1.7] [dist-bzip2])
+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])
+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)
+
+# Checks for libraries.
+
+# Checks for header files.
+
+# Checks for typedefs, structures, and compiler characteristics.
+
+# Checks for library functions.
+
+AC_CONFIG_FILES([
+Makefile
+])
+
+AC_OUTPUT
+