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

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Michael Vogt
  • Date: 2011-01-04 12:27:08 UTC
  • Revision ID: michael.vogt@ubuntu.com-20110104122708-0ey4m084aa3zoaaz
src/crash.c: fix typo (thanks to seb128)

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 libgnomeui-2.0 libglade-2.0 gconf-2.0 hal dbus-glib-1 libnotify gio-2.0"
 
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
 
16
33
PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
17
 
AC_SUBST(PACKAGE_CFLAGS)
18
 
AC_SUBST(PACKAGE_LIBS)
19
34
 
20
35
GETTEXT_PACKAGE=update-notifier
21
36
AC_SUBST(GETTEXT_PACKAGE)
23
38
AC_PROG_INTLTOOL([0.23])
24
39
 
25
40
dnl Add the languages which your application supports here.
26
 
ALL_LINGUAS="es da de fi ro fr el xh pt_BR pl hu ja sv"
 
41
ALL_LINGUAS=`(cd "$srcdir/po" && ls *.po) | sed 's/\.po$//' | tr '\n' ' '`
27
42
 
28
43
AM_GLIB_GNU_GETTEXT
29
44
 
43
58
dnl fi
44
59
dnl --------------
45
60
 
 
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
 
46
77
AC_OUTPUT([
47
78
Makefile
48
79
src/Makefile