summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-01-04 12:17:26 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-01-04 12:17:26 +0100
commit84b58bf324226ac321cee8726bb46d864318cb9e (patch)
tree5d8248f1cbb7c45de71180298ca24d6ac18ea137 /configure.ac
parent9cf635005cd404c095d59f742fd44c7f9cf989e0 (diff)
downloadpykolab-84b58bf324226ac321cee8726bb46d864318cb9e.tar.gz
Add the framework for entitlements (there's no enforcement yet, but initialization fails if data does not check out)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8d219fe..209f138 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,6 +15,16 @@ AM_GLIB_GNU_GETTEXT
AC_PROG_INTLTOOL
AC_PROG_LN_S
+AC_ARG_ENABLE([enterprise],
+ [ --enable-enterprise Turn on entitlements, compile binary blob],
+ [case "${enableval}" in
+ yes) enterprise=true ;;
+ no) enterprise=false ;;
+ *) AC_MSG_ERROR([bad value ${enableval} for --enterprise]) ;;
+ esac], [enterprise=false])
+
+AM_CONDITIONAL([ENTERPRISE], [test "${enterprise}" = "true"])
+
AC_SUBST(DATESTAMP,`date +"%a %b %d %Y"`)
AC_CONFIG_FILES([