~indicator-applet-developers/indicator-messages/trunk.13.10

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Tarmac
  • Author(s): Lars Uebernickel, Ted Gould, sergio.schvezov at canonical, Sergio Schvezov, Ken VanDine, Renato Araujo Oliveira Filho, Ricardo Mendoza
  • Date: 2013-08-19 16:51:38 UTC
  • mfrom: (327.1.83 consolidate)
  • Revision ID: tarmac-20130819165138-rtvgstpdkoysfshf
Merge in phablet branch.

Approved by PS Jenkins bot, Pete Woods.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
 
62
62
GOBJECT_INTROSPECTION_CHECK([$INTROSPECTION_REQUIRED_VERSION])
63
63
 
 
64
AC_ARG_WITH([indicator-dir],
 
65
            [AS_HELP_STRING([--with-indicator-dir=DIR], [Indicator directory [default=$datadir/unity/indicators]])],
 
66
            [],
 
67
            [with_indicator_dir=$datadir/unity/indicators])
 
68
AC_SUBST([INDICATOR_DIR], [$with_indicator_dir])
 
69
 
64
70
###########################
65
71
# gcov coverage reporting
66
72
###########################
100
106
AM_CONDITIONAL([BUILD_TESTS],[test "x$enable_tests" = "xyes"])
101
107
 
102
108
###########################
103
 
# Check to see if we're local
104
 
###########################
105
 
 
106
 
with_localinstall="no"
107
 
AC_ARG_ENABLE(localinstall, AS_HELP_STRING([--enable-localinstall], [install all of the files localy instead of system directories (for distcheck)]), with_localinstall=$enableval, with_localinstall=no)
108
 
 
109
 
###########################
110
 
# Indicator Info
111
 
###########################
112
 
 
113
 
if test "x$with_localinstall" = "xyes"; then
114
 
        INDICATORDIR="${libdir}/indicators/2/"
115
 
else
116
 
        INDICATORDIR=`$PKG_CONFIG --variable=indicatordir indicator3-0.4`
117
 
fi
118
 
AC_SUBST(INDICATORDIR)
119
 
 
120
 
###########################
121
 
# DBus Service Info
122
 
###########################
123
 
 
124
 
if test "x$with_localinstall" = "xyes"; then
125
 
        DBUSSERVICEDIR="${datadir}/dbus-1/services/"
126
 
else
127
 
        DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
128
 
fi
129
 
AC_SUBST(DBUSSERVICEDIR)
 
109
# Vala API Generation
 
110
###########################
 
111
 
 
112
AC_ARG_ENABLE([vala],
 
113
        AC_HELP_STRING([--disable-vala], [Disable vala]),
 
114
        [enable_vala=$enableval], [enable_vala=yes])
 
115
 
 
116
AS_IF([test "x$enable_vala" != "xno"],[
 
117
        AM_COND_IF([HAVE_INTROSPECTION],,[
 
118
                AC_MSG_ERROR([Vala bindings require introspection support, please --enable-introspection])
 
119
        ])
 
120
AC_PATH_PROG([VALA_API_GEN], [vapigen])
 
121
])
 
122
AM_CONDITIONAL([HAVE_VALA], [test -n "$VALA_API_GEN"])
130
123
 
131
124
##############################
132
125
# Custom Junk
162
155
AC_OUTPUT([
163
156
Makefile
164
157
src/Makefile
 
158
common/Makefile
165
159
data/Makefile
166
160
data/icons/Makefile
167
161
data/icons/16x16/Makefile
202
196
        tests:         $enable_tests
203
197
        gcov:          $use_gcov
204
198
        introspecion:  $enable_introspection
 
199
        Vala bindings: $enable_vala
205
200
        documentation: $enable_gtk_doc
206
201
])