~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
630.1.4 by Michael Terry
convert to gsettings
14
GLIB_GSETTINGS
189 by mvo
* added the stuff that autopoint addded
15
953.1.1 by Andrea Azzarone
Add a livepatch indicator in the system tray.
16
pkg_modules="glib-2.0 >= 2.34 gtk+-3.0 libnotify gio-2.0 >= 2.26 x11 json-glib-1.0"
573 by Michael Vogt
merged from debian
17
18
PKG_CHECK_EXISTS(gudev-1.0, [ HAVE_GUDEV=1 ])
19
if test "x$HAVE_GUDEV" != "x"; then
20
    pkg_modules="$pkg_modules gudev-1.0"
21
    AC_DEFINE(HAVE_GUDEV, 1, [Use gudev-1.0])
22
else
579 by Martin Pitt
* Generalize firmware backend to be more easily extensible for other types
23
    AC_WARN(No gudev-1.0, disable uevent handling)
573 by Michael Vogt
merged from debian
24
fi
25
26
1 by mvo
* inital checkin
27
PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
28
35 by mvo
* big rename: upgrade-notifier -> update-notifier
29
GETTEXT_PACKAGE=update-notifier
1 by mvo
* inital checkin
30
AC_SUBST(GETTEXT_PACKAGE)
31
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
187 by mvo
* change version, add AC_PROG_INTLTOOL
32
AC_PROG_INTLTOOL([0.23])
1 by mvo
* inital checkin
33
34
dnl Add the languages which your application supports here.
573 by Michael Vogt
merged from debian
35
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)
36
1 by mvo
* inital checkin
37
AM_GLIB_GNU_GETTEXT
38
8 by mvo
* dbus-ified the applet
39
dnl AC_ARG_WITH(pkg-manager, [ --with-pkg-manager=PATH Package manager to use.])
40
dnl if test "x$with_pkg_manager" != "x"; then
41
dnl  AC_DEFINE_UNQUOTED(PKG_MANAGER, "$with_pkg_manager", [Package manager to use.])
42
dnl fi
6 by michiels
2004-10-24 Michiel Sikkes <michiel@eyesopened.nl>
43
3 by michiels
2004-10-22 Michiel Sikkes <michiel@eyesopened.nl>
44
dnl The following piece will be enabled when we release update-manager
45
dnl --------------
46
dnl AC_PATH_PROG(UPDATE_MANAGER, update-manager, no)
47
dnl if test "x$UPDATE_MANAGER" = "xno"; then
48
dnl   AC_MSG_ERROR(Couldn't find update-manager. Please install the update-manager package.)
49
dnl fi
50
dnl --------------
51
580 by Martin Pitt
src/uevent.c: Add new function deal_with_scp() to launch
52
AC_ARG_ENABLE([system-config-printer],
53
        AS_HELP_STRING([--enable-system-config-printer], [enable on-demand launching of system-config-printer]),
54
        [], [enable_debug=no])
55
if test "x$enable_system_config_printer" = "xyes"; then
56
        AC_DEFINE(ENABLE_SCP, [1], [On-demand launching of system-config-printer.])
57
fi
58
595.1.1 by Michael Terry
* Add --disable-deprecations configure flag to test for deprecated API use
59
AC_ARG_ENABLE([deprecations],
60
  [AS_HELP_STRING([--enable-deprecations],
61
    [allow deprecated API usage @<:@default=yes@:>@])],
62
  [],
63
  [enable_deprecations=yes])
64
AS_IF([test "x$enable_deprecations" = xno],
65
  [CFLAGS="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE"]
66
)
67
639.1.1 by Michael Vogt
start app-indicator port
68
APPINDICATOR_REQUIRED=0.0.7
69
AC_ARG_ENABLE(appindicator,
70
                        AS_HELP_STRING([--enable-appindicator[=@<:@no/auto/yes@:>@]],[Build support for application indicators ]),
71
                        [enable_appindicator=$enableval],
72
                        [enable_appindicator="auto"])
73
74
if test x$enable_appindicator = xauto ; then
75
        PKG_CHECK_EXISTS([appindicator3-0.1 >= $APPINDICATOR_REQUIRED],
76
                         enable_appindicator="yes",
77
                         enable_appindicator="no")
78
fi
79
80
if test x$enable_appindicator = xyes ; then
81
        PKG_CHECK_EXISTS([appindicator3-0.1 >= $APPINDICATOR_REQUIRED],,
82
                         AC_MSG_ERROR([appindicator3-0.1 is not installed]))
83
        PKG_CHECK_MODULES(APP_INDICATOR,
84
                        appindicator3-0.1 >= $APPINDICATOR_REQUIRED)
85
        AC_SUBST(APP_INDICATOR_CFLAGS)
86
        AC_SUBST(APP_INDICATOR_LIBS)
87
        AC_DEFINE(HAVE_APP_INDICATOR, 1, [Have AppIndicator])
88
fi
89
AM_CONDITIONAL(HAVE_APP_INDICATOR, test x"$enable_appindicator" = xyes)
90
91
92
1 by mvo
* inital checkin
93
AC_OUTPUT([
94
Makefile
95
src/Makefile
96
data/Makefile
17 by mvo
* new upstream version, added preferences, gconf support, cron-enabler for apt
97
ui/Makefile
1 by mvo
* inital checkin
98
pixmaps/Makefile
250 by Michael Vogt
* switch the code to use GtkIconTheme and install the icons
99
pixmaps/16x16/Makefile
347 by Michael Vogt
* add 22x22 and 24x24 icons (thanks to Alan Baghumian)
100
pixmaps/22x22/Makefile
101
pixmaps/24x24/Makefile
250 by Michael Vogt
* switch the code to use GtkIconTheme and install the icons
102
pixmaps/48x48/Makefile
953.1.3 by Andrea Azzarone
Add livepatch status icons.
103
pixmaps/scalable/Makefile
1 by mvo
* inital checkin
104
po/Makefile.in
189 by mvo
* added the stuff that autopoint addded
105
])
188 by mvo
* work around stupid autogen problem
106
1 by mvo
* inital checkin
107