~skypce/indicator-session/indicator-session

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-09-08 18:15:03 UTC
  • mto: (13.1.3 lucid)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20090908181503-q1y00nsvk547ta4f
Tags: upstream-0.1.2
ImportĀ upstreamĀ versionĀ 0.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
AC_PREREQ(2.53)
5
5
 
6
6
AM_CONFIG_HEADER(config.h)
7
 
AM_INIT_AUTOMAKE(indicator-session, 0.1.1)
 
7
AM_INIT_AUTOMAKE(indicator-session, 0.1.2)
8
8
 
9
9
AM_MAINTAINER_MODE
10
10
 
 
11
IT_PROG_INTLTOOL([0.35.0])
 
12
 
11
13
AC_ISC_POSIX
12
14
AC_PROG_CC
13
15
AM_PROG_CC_C_O
56
58
AC_SUBST(GTKLOGOUTHELPER_CFLAGS)
57
59
AC_SUBST(GTKLOGOUTHELPER_LIBS)
58
60
 
 
61
AC_PATH_PROG(GCONFTOOL, gconftool-2)
 
62
dnl Specify the gconf configuration source,
 
63
dnl default to xml::$(sysconfdir)/gconf/gconf.xml.defaults
 
64
 
 
65
AM_GCONF_SOURCE_2
 
66
 
 
67
PKG_CHECK_MODULES(GCONF, gconf-2.0 >= 2.0)
 
68
AC_SUBST(GCONF_CFLAGS)
 
69
AC_SUBST(GCONF_LIBS)
 
70
 
59
71
###########################
60
72
# Check to see if we're local
61
73
###########################
88
100
fi
89
101
AC_SUBST(DBUSSERVICEDIR)
90
102
 
 
103
##############################
 
104
# Custom Junk
 
105
##############################
 
106
 
 
107
AC_DEFUN([AC_DEFINE_PATH], [
 
108
        test "x$prefix" = xNONE && prefix="$ac_default_prefix"
 
109
        test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
110
        ac_define_path=`eval echo [$]$2`
 
111
        ac_define_path=`eval echo [$]ac_define_path`
 
112
        $1="$ac_define_path"
 
113
        AC_SUBST($1)
 
114
        ifelse($3, ,
 
115
                AC_DEFINE_UNQUOTED($1, "$ac_define_path"),
 
116
                AC_DEFINE_UNQUOTED($1, "$ac_define_path", $3))
 
117
])
 
118
 
 
119
###########################
 
120
# Internationalization
 
121
###########################
 
122
 
 
123
GETTEXT_PACKAGE=indicator-session
 
124
AC_SUBST(GETTEXT_PACKAGE)
 
125
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the default get text domain])
 
126
AC_DEFINE_PATH(GNOMELOCALEDIR, "${datadir}/locale", [locale directory])
 
127
 
 
128
AM_GLIB_GNU_GETTEXT
 
129
 
91
130
###########################
92
131
# Files
93
132
###########################
115
154
data/icons/scalable/Makefile
116
155
data/icons/scalable/status/Makefile
117
156
data/icons/scalable/actions/Makefile
 
157
po/Makefile.in
118
158
])
119
159
 
120
160
###########################