~mitya57/indicator-applet/import-cosmic-upload

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: CI bot
  • Author(s): Alberts Muktupāvels
  • Date: 2014-11-11 17:52:58 UTC
  • mfrom: (429.1.4 indicator-applet)
  • Revision ID: ps-jenkins@lists.canonical.com-20141111175258-ygsd9gbq83xrtnfb
Update for new libpanel-applet version. 
Approved by: Iain Lane, Dmitry Shachnev

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
23
23
 
24
24
###########################
 
25
# libpanel-applet version
 
26
###########################
 
27
 
 
28
PKG_CHECK_MODULES(LIBPANEL_APPLET_TEST, [libpanel-applet >= 3.10], [have_libpanel_applet=yes], [have_libpanel_applet=no])
 
29
if test "$have_libpanel_applet" = "yes"; then
 
30
    APPLET_PKG=libpanel-applet
 
31
    AC_DEFINE([HAVE_LIBPANEL_APPLET], 1, [Define to use new libpanel-applet])
 
32
else
 
33
    APPLET_PKG=libpanelapplet-4.0
 
34
fi
 
35
 
 
36
###########################
25
37
# Dependencies 
26
38
###########################
27
39
 
28
40
GTK_REQUIRED_VERSION=3.1
29
41
INDICATOR_REQUIRED_VERSION=0.3.92
30
42
INDICATOR_PKG=indicator3-0.4
31
 
APPLET_PKG=libpanelapplet-4.0
32
43
 
33
44
PKG_CHECK_MODULES(APPLET, gtk+-3.0 >= $GTK_REQUIRED_VERSION
34
45
                          x11
59
70
        INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir $INDICATOR_PKG`
60
71
fi
61
72
 
 
73
LIBPANEL_APPLET_API_VERSION=`$PKG_CONFIG --variable=libpanel_applet_api_version $APPLET_PKG`
 
74
 
62
75
AC_SUBST(APPLETDIR)
63
76
AC_SUBST(INDICATORDIR)
64
77
AC_SUBST(INDICATORICONSDIR)
141
154
Indicator Applet Configuration:
142
155
 
143
156
        Prefix:                 $prefix
 
157
        libpanel-applet API:    $LIBPANEL_APPLET_API_VERSION
144
158
])