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

1 by mvo
* inital checkin
1
dnl Process this file with autoconf to produce a configure script.
2
35 by mvo
* big rename: upgrade-notifier -> update-notifier
3
AC_INIT(src/update-notifier.c)
187 by mvo
* change version, add AC_PROG_INTLTOOL
4
AM_INIT_AUTOMAKE(update-notifier, 0.41.5)
1 by mvo
* inital checkin
5
AM_CONFIG_HEADER(config.h)
6
AM_MAINTAINER_MODE
7
8
AC_ISC_POSIX
9
AC_PROG_CC
10
AM_PROG_CC_STDC
11
AC_HEADER_STDC
12
189 by mvo
* added the stuff that autopoint addded
13
GNOME_COMMON_INIT
14
595.1.1 by Michael Terry
* Add --disable-deprecations configure flag to test for deprecated API use
15
pkg_modules="gtk+-2.0 >= 2.18.0 gconf-2.0 dbus-glib-1 libnotify gio-2.0 x11"
573 by Michael Vogt
merged from debian
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
579 by Martin Pitt
* Generalize firmware backend to be more easily extensible for other types
29
    AC_WARN(No gudev-1.0, disable uevent handling)
573 by Michael Vogt
merged from debian
30
fi
31
32
1 by mvo
* inital checkin
33
PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
34
35 by mvo
* big rename: upgrade-notifier -> update-notifier
35
GETTEXT_PACKAGE=update-notifier
1 by mvo
* inital checkin
36
AC_SUBST(GETTEXT_PACKAGE)
37
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
187 by mvo
* change version, add AC_PROG_INTLTOOL
38
AC_PROG_INTLTOOL([0.23])
1 by mvo
* inital checkin
39
40
dnl Add the languages which your application supports here.
573 by Michael Vogt
merged from debian
41
ALL_LINGUAS=`(cd "$srcdir/po" && ls *.po) | sed 's/\.po$//' | tr '\n' ' '`
56 by mvo
* po/es.po: added es.po translation (thanks to Jorge Bernal)
42
1 by mvo
* inital checkin
43
AM_GLIB_GNU_GETTEXT
44
310 by Martin Pitt
* Add data/update-notifier.schemas.in with a key to enable/disable apport
45
AC_PATH_PROG(GCONFTOOL, gconftool-2)
46
AM_GCONF_SOURCE_2
23 by mvo
* replaced dbus with gamin to know about new package installs or apt-get upates
47
8 by mvo
* dbus-ified the applet
48
dnl AC_ARG_WITH(pkg-manager, [ --with-pkg-manager=PATH Package manager to use.])
49
dnl if test "x$with_pkg_manager" != "x"; then
50
dnl  AC_DEFINE_UNQUOTED(PKG_MANAGER, "$with_pkg_manager", [Package manager to use.])
51
dnl fi
6 by michiels
2004-10-24 Michiel Sikkes <michiel@eyesopened.nl>
52
3 by michiels
2004-10-22 Michiel Sikkes <michiel@eyesopened.nl>
53
dnl The following piece will be enabled when we release update-manager
54
dnl --------------
55
dnl AC_PATH_PROG(UPDATE_MANAGER, update-manager, no)
56
dnl if test "x$UPDATE_MANAGER" = "xno"; then
57
dnl   AC_MSG_ERROR(Couldn't find update-manager. Please install the update-manager package.)
58
dnl fi
59
dnl --------------
60
580 by Martin Pitt
src/uevent.c: Add new function deal_with_scp() to launch
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
595.1.1 by Michael Terry
* Add --disable-deprecations configure flag to test for deprecated API use
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
1 by mvo
* inital checkin
77
AC_OUTPUT([
78
Makefile
79
src/Makefile
80
data/Makefile
17 by mvo
* new upstream version, added preferences, gconf support, cron-enabler for apt
81
ui/Makefile
1 by mvo
* inital checkin
82
pixmaps/Makefile
250 by Michael Vogt
* switch the code to use GtkIconTheme and install the icons
83
pixmaps/16x16/Makefile
347 by Michael Vogt
* add 22x22 and 24x24 icons (thanks to Alan Baghumian)
84
pixmaps/22x22/Makefile
85
pixmaps/24x24/Makefile
250 by Michael Vogt
* switch the code to use GtkIconTheme and install the icons
86
pixmaps/48x48/Makefile
1 by mvo
* inital checkin
87
po/Makefile.in
189 by mvo
* added the stuff that autopoint addded
88
])
188 by mvo
* work around stupid autogen problem
89
1 by mvo
* inital checkin
90