~ubuntu-branches/ubuntu/maverick/awn-extras-applets/maverick

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2010-08-29 14:29:52 UTC
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20100829142952-rhvuetyms9bv5uu7
Tags: upstream-0.4.0+bzr1372
ImportĀ upstreamĀ versionĀ 0.4.0+bzr1372

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
AC_PREREQ(2.53)
2
2
 
3
 
AC_INIT(awn-extras, 0.4.0, [https://bugs.launchpad.net/awn-extras])
 
3
AC_INIT(awn-extras, 0.4.1, [https://bugs.launchpad.net/awn-extras])
4
4
AM_INIT_AUTOMAKE([-Wno-portability 1.8 tar-ustar])
5
5
AC_CONFIG_MACRO_DIR([m4])
6
6
AC_CONFIG_SRCDIR(applets)
46
46
 
47
47
AC_ARG_WITH([gconf], AS_HELP_STRING([--without-gconf],[Disable building/installing applets that need GConf]),,[with_gconf=yes])
48
48
AC_ARG_WITH([gnome], AS_HELP_STRING([--without-gnome],[Disable building/installing applets that require Gnome-specific libraries]),,[with_gnome=yes])
 
49
AC_ARG_WITH([indicator], AS_HELP_STRING([--with-indicator],[Enable building/installing applets that require libindicator]),,[with_indicator=no])
49
50
AC_ARG_WITH([mozilla], AS_HELP_STRING([--with-mozilla],[Enable building/installing applets that require Gecko (Mozilla)]),,[with_mozilla=no])
50
51
AC_ARG_WITH([webkit], AS_HELP_STRING([--with-webkit],[Enable building/installing applets that require webkitgtk]),,[with_webkit=no])
51
52
AM_CONDITIONAL(WITH_GCONF, test "$with_gconf" != "no")
52
53
AM_CONDITIONAL(WITH_GNOME, test "$with_gnome" != "no")
 
54
AM_CONDITIONAL(ENABLE_INDICATOR, test "$with_indicator" != "no")
53
55
AM_CONDITIONAL(WITH_MOZILLA, test "$with_mozilla" != "no")
54
56
AM_CONDITIONAL(WITH_WEBKIT, test "$with_webkit" != "no")
55
57
AM_CONDITIONAL(BUILD_WEBAPPLET, test "$with_mozilla" != "no" -o "$with_webkit" != "no")
58
60
PKG_CHECK_MODULES(AWN, [awn >= 0.3.9])
59
61
# awn-system-monitor, sysmon
60
62
PKG_CHECK_MODULES(GTOP, [libgtop-2.0])
 
63
# related
 
64
PKG_CHECK_MODULES(ZEITGEIST, [zeitgeist-1.0 >= 0.2.2], [has_libzg=yes], [has_libzg=no])
61
65
# awn-notification-daemon, shiny-switcher, standalone-launcher, taskmand
62
66
PKG_CHECK_MODULES(LIBWNCK, [libwnck-1.0 >= 2.21.99.9])
63
67
# awn-notification-daemon, shiny-switcher
91
95
  gconf=gconf-2.0
92
96
fi
93
97
 
 
98
if test "$with_indicator" != "no"; then
 
99
# indicator-applet
 
100
PKG_CHECK_MODULES(INDICATOR, [indicator >= 0.3])
 
101
INDICATORDIR=`$PKG_CONFIG --variable=indicatordir indicator`
 
102
INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir indicator`
 
103
AC_SUBST(INDICATORDIR)
 
104
AC_SUBST(INDICATORICONSDIR)
 
105
fi
 
106
 
94
107
#if test "$with_gconf" != "no" -a "$with_gnome" != "no"; then
95
108
# filebrowser
96
109
#PKG_CHECK_MODULES(GNOMEUI, [libgnomeui-2.0])
198
211
    # media-player, volume-control
199
212
    AM_CHECK_PYMOD(gst,,,AC_MSG_ERROR([python module gstreamer required (python-gst0.10)]))
200
213
    if test "$with_gnome" != "no"; then
201
 
    # MiMenu, YAMA
 
214
    # YAMA
202
215
    AM_CHECK_PYMOD(gmenu,,,AC_MSG_ERROR([python module gmenu required]))
203
216
    fi
204
217
    if test "$with_gconf" != "no"; then
235
248
    fi
236
249
fi
237
250
AM_CONDITIONAL(HAVE_VALA, test "$has_vala" = "yes")
 
251
AM_CONDITIONAL(HAVE_LIBZG, test "$has_libzg" = "yes")
238
252
 
239
253
dnl
240
254
dnl Check the D-BUS version.
269
283
AC_SUBST(APPLETSDIR)
270
284
AC_DEFINE_UNQUOTED(LOCALEDIR, "$LOCALEDIR", [Locale directory])
271
285
AC_SUBST(LOCALEDIR)
 
286
AC_DEFINE_UNQUOTED(LIBDIR, "$LIBDIR", [Lib directory])
 
287
AC_SUBST(LIBDIR)
272
288
 
273
289
DBUS_SERVICES_DIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
274
290
AC_SUBST(DBUS_SERVICES_DIR)
321
337
applets/maintained/garbage/Makefile
322
338
applets/maintained/garbage/garbage.desktop.in
323
339
applets/maintained/hardware-sensors/Makefile
 
340
applets/maintained/indicator-applet/Makefile
 
341
applets/maintained/indicator-applet/indicator-applet.desktop.in
324
342
applets/maintained/mail/Makefile
325
343
applets/maintained/media-control/Makefile
326
344
applets/maintained/media-icons/Makefile
332
350
applets/maintained/notification-daemon/notification-daemon.desktop.in
333
351
applets/maintained/places/Makefile
334
352
applets/maintained/places/places.desktop.in
 
353
applets/maintained/related/Makefile
 
354
applets/maintained/related/related.desktop.in
335
355
applets/maintained/python-test/Makefile
336
356
applets/maintained/quit/Makefile
337
357
applets/maintained/shiny-switcher/Makefile
358
378
applets/unmaintained/dropper/Makefile
359
379
applets/unmaintained/main-menu/Makefile
360
380
applets/unmaintained/main-menu/main-menu.desktop.in
361
 
applets/unmaintained/MiMenu/Makefile
362
381
applets/unmaintained/pandora/Makefile
363
382
applets/unmaintained/stacks/Makefile
364
383
po/Makefile.in