diff options
author | Christoph Korn <c_korn@gmx.de> | 2009-09-08 10:09:45 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-09-08 10:09:45 -0500 |
commit | 85799abbe897e0f1e08b8d594716ab34b543d9fd (patch) | |
tree | 193e939ef6385ec5bdf59ba578e1ffd3c7b83375 /configure.ac | |
parent | a5b8008742a719b77a7f3a13f81c2af02f6e4550 (diff) | |
parent | 1f47c9e8827165634149f6e21a4588fe577479d8 (diff) | |
download | ayatana-indicator-session-85799abbe897e0f1e08b8d594716ab34b543d9fd.tar.gz ayatana-indicator-session-85799abbe897e0f1e08b8d594716ab34b543d9fd.tar.bz2 ayatana-indicator-session-85799abbe897e0f1e08b8d594716ab34b543d9fd.zip |
Adding a GConf key to suppress confirmation dialogs
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c2623d1..1d42cb0 100644 --- a/configure.ac +++ b/configure.ac @@ -8,6 +8,8 @@ AM_INIT_AUTOMAKE(indicator-session, 0.1.1) AM_MAINTAINER_MODE +IT_PROG_INTLTOOL([0.35.0]) + AC_ISC_POSIX AC_PROG_CC AM_PROG_CC_C_O @@ -56,6 +58,16 @@ PKG_CHECK_MODULES(GTKLOGOUTHELPER, gtk+-2.0 >= $GTK_REQUIRED_VERSION AC_SUBST(GTKLOGOUTHELPER_CFLAGS) AC_SUBST(GTKLOGOUTHELPER_LIBS) +AC_PATH_PROG(GCONFTOOL, gconftool-2) +dnl Specify the gconf configuration source, +dnl default to xml::$(sysconfdir)/gconf/gconf.xml.defaults + +AM_GCONF_SOURCE_2 + +PKG_CHECK_MODULES(GCONF, gconf-2.0 >= 2.0) +AC_SUBST(GCONF_CFLAGS) +AC_SUBST(GCONF_LIBS) + ########################### # Check to see if we're local ########################### @@ -88,6 +100,33 @@ else fi AC_SUBST(DBUSSERVICEDIR) +############################## +# Custom Junk +############################## + +AC_DEFUN([AC_DEFINE_PATH], [ + test "x$prefix" = xNONE && prefix="$ac_default_prefix" + test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + ac_define_path=`eval echo [$]$2` + ac_define_path=`eval echo [$]ac_define_path` + $1="$ac_define_path" + AC_SUBST($1) + ifelse($3, , + AC_DEFINE_UNQUOTED($1, "$ac_define_path"), + AC_DEFINE_UNQUOTED($1, "$ac_define_path", $3)) +]) + +########################### +# Internationalization +########################### + +GETTEXT_PACKAGE=indicator-session +AC_SUBST(GETTEXT_PACKAGE) +AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the default get text domain]) +AC_DEFINE_PATH(GNOMELOCALEDIR, "${datadir}/locale", [locale directory]) + +AM_GLIB_GNU_GETTEXT + ########################### # Files ########################### @@ -115,6 +154,7 @@ data/icons/48x48/status/Makefile data/icons/scalable/Makefile data/icons/scalable/status/Makefile data/icons/scalable/actions/Makefile +po/Makefile.in ]) ########################### |