diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 7c78167..3281447 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.60]) -AC_INIT([gsignond], [0.0.2],[],[],[http://code.google.com/p/accounts-sso/]) +AC_INIT([gsignond], [0.0.3],[],[],[http://01.org/gsso]) AC_CONFIG_SRCDIR([src/daemon/main.c]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_AUX_DIR([build-aux]) @@ -98,6 +98,15 @@ if test "x$enable_dbus_type" != "xp2p" ; then fi fi +AC_ARG_ENABLE(keychain, + [ --enable-keychain=sysctx + enable keychain access with + system context "sysctx"], + [enable_keychain=$enableval]) +if test "x$enable_keychain" != "x" ; then + AC_DEFINE_UNQUOTED(KEYCHAIN_SYSCTX, ["$enable_keychain"], [Keychain system context]) +fi + AC_ARG_ENABLE(debug, [ --enable-debug enable debug features], [enable_debug=yes], [enable_debug=no]) @@ -106,7 +115,7 @@ echo $enable_debug if test "x$enable_debug" = "xyes" ; then AC_DEFINE(ENABLE_DEBUG, [1], [Enable debug features]) AC_ARG_ENABLE(sql-log, - [ --enable-sql-log enable sql log feature], + [ --enable-sql-log enable sql log feature], [enable_sql_log=yes], [enable_sql_log=no]) echo -n "enable sql log feature... " echo $enable_sql_log @@ -115,14 +124,24 @@ if test "x$enable_debug" = "xyes" ; then fi fi +AC_ARG_ENABLE(acltriggers, + [ --enable-acltriggers enable ACL before delete triggers], + [enable_acl_triggers=yes], [enable_acl_triggers=no]) +if test "x$enable_acl_triggers" = "xyes" ; then + AC_DEFINE(ENABLE_DB_ACL_TRIGGERS, [1], [Enable ACL triggers]) +fi + AM_CONDITIONAL(USE_GTESTDBUS, [test x$gtestdbus = xyes]) AC_SUBST(MESSAGE_BUS_TYPE, [$enable_dbus_type]) +AM_CONDITIONAL(HAVE_DEBUG, [test x$enable_debug = xyes]) +AM_CONDITIONAL(SET_PERMISSIONS, [test x$enable_distcheck != xyes]) + AC_SUBST(DBUS_SERVICES_DIR) AC_SUBST(DBUS_INTERFACES_DIR) # gtk-doc -GTK_DOC_CHECK +GTK_DOC_CHECK([1.18],[--flavour no-tmpl]) # Checks for header files. AC_CHECK_HEADERS([string.h]) @@ -140,6 +159,7 @@ AC_OUTPUT([ Makefile ${PACKAGE_NAME}.pc ${PACKAGE_NAME}-uninstalled.pc +docs/Makefile src/Makefile src/common/Makefile src/common/db/Makefile |