~ubuntu-branches/ubuntu/quantal/indicator-messages/quantal

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Package Import Robot
  • Author(s): Ken VanDine, Ted Gould, Ken VanDine
  • Date: 2012-03-21 17:00:10 UTC
  • mfrom: (1.1.36)
  • Revision ID: package-import@ubuntu.com-20120321170010-biz6yuh34gfwq185
Tags: 0.5.94-0ubuntu1
[ Ted Gould ]
* New upstream release.
  * Fix for missing icons in the messaging menu (LP: #960553)
  * Fix i18n for description (LP: #957525)
  * Implementing initial testing
  * Fixing blacklists (LP: #939258)
* debian/control: Adding dep on libgtest-dev

[ Ken VanDine ]
* debian/control: Don't build depend on libgtest-dev, it isn't in main
* debian/rules: disable tests, they require libgtest-dev

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-messages, 0.5.93)
 
7
AM_INIT_AUTOMAKE(indicator-messages, 0.5.94)
8
8
 
9
9
AM_MAINTAINER_MODE
10
10
 
31
31
  [CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES"]
32
32
)
33
33
 
 
34
# the Google Test targets are cpp
 
35
AC_PROG_CXX
 
36
 
34
37
###########################
35
38
# Dependencies 
36
39
###########################
42
45
INDICATE_REQUIRED_VERSION=0.6.90
43
46
INDICATOR_REQUIRED_VERSION=0.3.19
44
47
DBUSMENUGTK_REQUIRED_VERSION=0.5.90
 
48
GLIB_REQUIRED_VERSION=2.31.20
45
49
 
46
50
AC_ARG_WITH([gtk],
47
51
  [AS_HELP_STRING([--with-gtk],
54
58
                                   gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION
55
59
                                   indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
56
60
                                   indicate-0.7 >= $INDICATE_REQUIRED_VERSION
57
 
                                   dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION)
 
61
                                   dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
 
62
                                   glib-2.0 >= $GLIB_REQUIRED_VERSION
 
63
                                   gmodule-2.0 >= $GLIB_REQUIRED_VERSION)
58
64
        ],
59
65
      [test "x$with_gtk" = x2],
60
66
        [PKG_CHECK_MODULES(APPLET, gtk+-2.0 >= $GTK_REQUIRED_VERSION
61
67
                                   gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION
62
68
                                   indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
63
69
                                   indicate-0.7 >= $INDICATE_REQUIRED_VERSION
64
 
                                   dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION)
 
70
                                   dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
 
71
                                   glib-2.0 >= $GLIB_REQUIRED_VERSION
 
72
                                   gmodule-2.0 >= $GLIB_REQUIRED_VERSION)
65
73
        ],
66
74
      [AC_MSG_FAILURE([Value for --with-indicator-gtk was neither 2 nor 3])]
67
75
)
69
77
AC_SUBST(APPLET_LIBS)
70
78
 
71
79
###########################
 
80
# Test Dependencies
 
81
###########################
 
82
 
 
83
AC_ARG_ENABLE([tests],
 
84
        AC_HELP_STRING([--disable-tests], [Disable test scripts and tools]),,
 
85
        [enable_tests=auto])
 
86
AM_CONDITIONAL(BUILD_TESTS, test xyes = xyes)
 
87
 
 
88
###########################
72
89
# Status Provider Deps
73
90
###########################
74
91
 
96
113
 
97
114
m4_include([m4/gcov.m4])
98
115
AC_TDD_GCOV
 
116
AM_CONDITIONAL([HAVE_GCOV], [test "x$ac_cv_check_gcov" = xyes])
 
117
AM_CONDITIONAL([HAVE_LCOV], [test "x$ac_cv_check_lcov" = xyes])
 
118
AM_CONDITIONAL([HAVE_GCOVR], [test "x$ac_cv_check_gcovr" = xyes])
99
119
AC_SUBST(COVERAGE_CFLAGS)
100
120
AC_SUBST(COVERAGE_CXXFLAGS)
101
121
AC_SUBST(COVERAGE_LDFLAGS)
102
122
 
103
123
###########################
 
124
# Google Test framework
 
125
###########################
 
126
 
 
127
m4_include([m4/gtest.m4])
 
128
CHECK_GTEST
 
129
 
 
130
###########################
104
131
# Check to see if we're local
105
132
###########################
106
133
 
189
216
data/icons/scalable/status/Makefile
190
217
data/icons/scalable/categories/Makefile
191
218
po/Makefile.in
 
219
test/Makefile
192
220
])
193
221
 
194
222
###########################