~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
573 by Michael Vogt
merged from debian
15
pkg_modules="gtk+-2.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 firmware installation)
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
1 by mvo
* inital checkin
61
AC_OUTPUT([
62
Makefile
63
src/Makefile
64
data/Makefile
17 by mvo
* new upstream version, added preferences, gconf support, cron-enabler for apt
65
ui/Makefile
1 by mvo
* inital checkin
66
pixmaps/Makefile
250 by Michael Vogt
* switch the code to use GtkIconTheme and install the icons
67
pixmaps/16x16/Makefile
347 by Michael Vogt
* add 22x22 and 24x24 icons (thanks to Alan Baghumian)
68
pixmaps/22x22/Makefile
69
pixmaps/24x24/Makefile
250 by Michael Vogt
* switch the code to use GtkIconTheme and install the icons
70
pixmaps/48x48/Makefile
1 by mvo
* inital checkin
71
po/Makefile.in
189 by mvo
* added the stuff that autopoint addded
72
])
188 by mvo
* work around stupid autogen problem
73
1 by mvo
* inital checkin
74