~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: seb128
  • Date: 2009-06-26 16:07:39 UTC
  • mto: This revision was merged to the branch mainline in revision 465.
  • Revision ID: seb128@seb128-laptop-20090626160739-hs300xxw3o75mz4s
clean libglade use

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
GNOME_COMMON_INIT
14
14
 
15
 
pkg_modules="gtk+-2.0 >= 2.18.0 gconf-2.0 dbus-glib-1 libnotify gio-2.0 x11"
16
 
 
17
 
PKG_CHECK_EXISTS(gdu, [ HAVE_GDU=1 ])
18
 
if test "x$HAVE_GDU" != "x"; then
19
 
    pkg_modules="$pkg_modules gdu"
20
 
    AC_DEFINE(HAVE_GDU, 1, [Use gnome-disk-utility])
21
 
else
22
 
    AC_WARN(No gnome-disk-utility, disable CD-ROM checking)
23
 
fi
24
 
PKG_CHECK_EXISTS(gudev-1.0, [ HAVE_GUDEV=1 ])
25
 
if test "x$HAVE_GUDEV" != "x"; then
26
 
    pkg_modules="$pkg_modules gudev-1.0"
27
 
    AC_DEFINE(HAVE_GUDEV, 1, [Use gudev-1.0])
28
 
else
29
 
    AC_WARN(No gudev-1.0, disable uevent handling)
30
 
fi
31
 
 
32
 
 
 
15
pkg_modules="gtk+-2.0 libgnomeui-2.0 gconf-2.0 hal dbus-glib-1 libnotify gio-2.0"
33
16
PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
 
17
AC_SUBST(PACKAGE_CFLAGS)
 
18
AC_SUBST(PACKAGE_LIBS)
34
19
 
35
20
GETTEXT_PACKAGE=update-notifier
36
21
AC_SUBST(GETTEXT_PACKAGE)
38
23
AC_PROG_INTLTOOL([0.23])
39
24
 
40
25
dnl Add the languages which your application supports here.
41
 
ALL_LINGUAS=`(cd "$srcdir/po" && ls *.po) | sed 's/\.po$//' | tr '\n' ' '`
 
26
ALL_LINGUAS="es da de fi ro fr el xh pt_BR pl hu ja sv"
42
27
 
43
28
AM_GLIB_GNU_GETTEXT
44
29
 
58
43
dnl fi
59
44
dnl --------------
60
45
 
61
 
AC_ARG_ENABLE([system-config-printer],
62
 
        AS_HELP_STRING([--enable-system-config-printer], [enable on-demand launching of system-config-printer]),
63
 
        [], [enable_debug=no])
64
 
if test "x$enable_system_config_printer" = "xyes"; then
65
 
        AC_DEFINE(ENABLE_SCP, [1], [On-demand launching of system-config-printer.])
66
 
fi
67
 
 
68
 
AC_ARG_ENABLE([deprecations],
69
 
  [AS_HELP_STRING([--enable-deprecations],
70
 
    [allow deprecated API usage @<:@default=yes@:>@])],
71
 
  [],
72
 
  [enable_deprecations=yes])
73
 
AS_IF([test "x$enable_deprecations" = xno],
74
 
  [CFLAGS="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE"]
75
 
)
76
 
 
77
46
AC_OUTPUT([
78
47
Makefile
79
48
src/Makefile