~ubuntu-desktop/appmenu-gtk/ubuntu

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Ken VanDine
  • Date: 2012-02-08 20:29:00 UTC
  • mfrom: (13.1.51 ubuntu)
  • Revision ID: ken.vandine@canonical.com-20120208202900-0ya0dkayx7v3i21e
* New upstream release.
  * Making it so that we remove a parent if there is one
  * Adding XAtoms to the window
* debian/rules
  * include autoreconf.mk and drop patchsys-quilt.mk
* +debian/compat
* debian/control
  * added build dep on dh-autoreconf and dropped quilt build dep
  * bump standards to 3.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
AC_PREREQ(2.59)
2
2
 
3
 
AC_INIT([appmenu-gtk], [0.3.0], [crussell@canonical.com])
 
3
AC_INIT([appmenu-gtk], [0.3.90], [crussell@canonical.com])
4
4
AC_COPYRIGHT([Copyright 2010 Canonical])
5
5
AC_CONFIG_SRCDIR([src/bridge.c])
6
6
AC_CONFIG_MACRO_DIR([build/autotools])
29
29
 
30
30
GTK2_REQUIRED_VERSION=2.18
31
31
GTK3_REQUIRED_VERSION=3.0
32
 
DBUSMENU_REQUIRED_VERSION=0.3.101
 
32
DBUSMENU_REQUIRED_VERSION=0.5.90
33
33
 
34
34
AC_ARG_WITH(gtk2, [AS_HELP_STRING([--with-gtk2],[use 2.0 API of GTK+])],[gtk_api=2.0])
35
35
 
36
36
if test x$gtk_api = x2.0; then
37
37
  PKG_CHECK_MODULES(APPMENU, gtk+-2.0 >= $GTK2_REQUIRED_VERSION
 
38
                             x11
38
39
                             dbusmenu-gtk-0.4 >= $DBUSMENU_REQUIRED_VERSION)
39
40
  moduledir='$(libdir)/gtk-2.0/2.10.0/menuproxies'
40
41
  sessionfile=80appmenu
50
51
AC_SUBST(APPMENU_CFLAGS)
51
52
AC_SUBST(APPMENU_LIBS)
52
53
 
 
54
AM_CONDITIONAL([USE_GTK3], [test "x$gtk_api" = "x3.0"])
 
55
AS_IF([test "x$gtk_api" = x3.0], [
 
56
       AC_DEFINE(HAVE_GTK3, 1, [whether gtk3 is available])
 
57
     ])
 
58
 
53
59
AC_SUBST(moduledir)
54
60
AC_SUBST(sessionfile)
55
61
 
56
 
###########################
57
 
# Files
58
 
###########################
59
 
 
60
 
SHAVE_INIT([build/autotools], [enable])
61
 
 
62
62
AC_CONFIG_FILES([
63
63
Makefile
64
 
build/Makefile
65
 
build/autotools/Makefile
66
 
build/autotools/shave-libtool
67
 
build/autotools/shave
68
64
src/Makefile
69
65
])
70
66