2006-07-28 22:25:31 +00:00
|
|
|
AC_INIT([Zenity],[2.15.90],[http://bugzilla.gnome.org/enter_bug.cgi?product=zenity],[zenity])
|
2003-01-03 13:26:04 +00:00
|
|
|
|
2006-05-10 03:37:14 +00:00
|
|
|
AC_PREREQ([2.59])
|
|
|
|
|
|
|
|
AC_CONFIG_HEADERS([config.h])
|
|
|
|
AC_CONFIG_SRCDIR([src])
|
|
|
|
|
|
|
|
AM_INIT_AUTOMAKE([1.9 foreign dist-bzip2 no-dist-gzip])
|
|
|
|
|
|
|
|
GNOME_COMMON_INIT
|
2005-07-25 01:06:32 +00:00
|
|
|
GNOME_DOC_INIT
|
|
|
|
|
2003-01-03 13:26:04 +00:00
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
|
2006-04-17 03:46:24 +00:00
|
|
|
IT_PROG_INTLTOOL([0.34.90])
|
2003-01-03 13:26:04 +00:00
|
|
|
|
|
|
|
AC_PROG_CC
|
|
|
|
|
src/notification.c (-set_scaled_pixbuf, +zenity_notification_icon_update,
2006-07-27 Lucas Rocha <lucasr@gnome.org>
* src/notification.c (-set_scaled_pixbuf,
+zenity_notification_icon_update,
-zenity_notification_icon_press_callback,
+zenity_notification_icon_size_changed_cb,
-zenity_notification_icon_expose_callback,
-zenity_notification_icon_destroy_callback,
+zenity_notification_icon_activate_cb,
zenity_notification_handle_stdin, zenity_notification),
src/util.[ch] (+zenity_util_stock_from_filename,
zenity_util_pixbuf_new_from_file), Makefile.am, configure.in:
Migration to gtk_status_icon (Fixes bug #341451). Patch from
Christian Persch <chpe@gnome.org>.
* src/eggtrayicon.[ch]: removed.
2006-07-28 21:25:11 +00:00
|
|
|
GTK_REQUIRED=2.9.2
|
2003-12-31 01:52:25 +00:00
|
|
|
|
2006-05-10 03:37:14 +00:00
|
|
|
PKG_CHECK_MODULES([ZENITY],[gtk+-2.0 >= $GTK_REQUIRED libglade-2.0 libgnomecanvas-2.0 glib-2.0])
|
|
|
|
AC_SUBST([ZENITY_CFLAGS])
|
|
|
|
AC_SUBST([ZENITY_LIBS])
|
2003-01-03 13:26:04 +00:00
|
|
|
|
2006-05-10 03:37:14 +00:00
|
|
|
# *******************************
|
|
|
|
# perl check
|
|
|
|
# *******************************
|
2003-01-18 19:19:20 +00:00
|
|
|
|
2006-05-10 03:37:14 +00:00
|
|
|
AC_PATH_PROG([PERL],[perl],)
|
2003-01-03 13:26:04 +00:00
|
|
|
|
2006-05-10 03:37:14 +00:00
|
|
|
# *******************************
|
|
|
|
# libnotify check
|
|
|
|
# *******************************
|
2003-05-27 21:57:46 +00:00
|
|
|
|
src/notification.c (-set_scaled_pixbuf, +zenity_notification_icon_update,
2006-07-27 Lucas Rocha <lucasr@gnome.org>
* src/notification.c (-set_scaled_pixbuf,
+zenity_notification_icon_update,
-zenity_notification_icon_press_callback,
+zenity_notification_icon_size_changed_cb,
-zenity_notification_icon_expose_callback,
-zenity_notification_icon_destroy_callback,
+zenity_notification_icon_activate_cb,
zenity_notification_handle_stdin, zenity_notification),
src/util.[ch] (+zenity_util_stock_from_filename,
zenity_util_pixbuf_new_from_file), Makefile.am, configure.in:
Migration to gtk_status_icon (Fixes bug #341451). Patch from
Christian Persch <chpe@gnome.org>.
* src/eggtrayicon.[ch]: removed.
2006-07-28 21:25:11 +00:00
|
|
|
LIBNOTIFY_REQUIRED=0.4.1
|
2006-05-10 03:37:14 +00:00
|
|
|
PKG_CHECK_MODULES([LIBNOTIFY],[libnotify >= $LIBNOTIFY_REQUIRED],
|
|
|
|
[HAVE_LIBNOTIFY="yes"],[HAVE_LIBNOTIFY="no"])
|
|
|
|
AC_SUBST([LIBNOTIFY_CFLAGS])
|
|
|
|
AC_SUBST([LIBNOTIFY_LIBS])
|
2006-03-23 03:43:23 +00:00
|
|
|
|
|
|
|
if test "x$HAVE_LIBNOTIFY" = "xyes"; then
|
2006-05-10 03:37:14 +00:00
|
|
|
AC_DEFINE([HAVE_LIBNOTIFY],[1],[libnotify is available on this machine])
|
2006-03-23 03:43:23 +00:00
|
|
|
fi
|
2003-05-27 21:57:46 +00:00
|
|
|
|
2006-05-10 03:37:14 +00:00
|
|
|
# *******************************
|
|
|
|
# Debug
|
|
|
|
# *******************************
|
|
|
|
|
|
|
|
GNOME_DEBUG_CHECK
|
|
|
|
GNOME_COMPILE_WARNINGS([maximum])
|
|
|
|
|
|
|
|
# *******************************
|
|
|
|
# Internationalization
|
|
|
|
# *******************************
|
2003-01-03 13:26:04 +00:00
|
|
|
|
2006-04-17 04:25:44 +00:00
|
|
|
GETTEXT_PACKAGE=zenity
|
2006-05-10 03:37:14 +00:00
|
|
|
AC_SUBST([GETTEXT_PACKAGE])
|
|
|
|
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext domain])
|
2003-01-03 13:26:04 +00:00
|
|
|
|
2006-05-10 03:37:14 +00:00
|
|
|
AM_GLIB_GNU_GETTEXT
|
2003-01-03 13:26:04 +00:00
|
|
|
|
2006-05-10 03:37:14 +00:00
|
|
|
# *******************************
|
2003-01-03 13:26:04 +00:00
|
|
|
|
2006-05-10 03:37:14 +00:00
|
|
|
AC_SUBST([AM_CPPFLAGS])
|
|
|
|
AC_SUBST([AM_CFLAGS])
|
|
|
|
AC_SUBST([AM_LDFLAGS])
|
2003-01-03 13:26:04 +00:00
|
|
|
|
2006-05-10 03:37:14 +00:00
|
|
|
# *******************************
|
2003-01-03 13:26:04 +00:00
|
|
|
|
2006-05-10 03:37:14 +00:00
|
|
|
AC_CONFIG_FILES([
|
2003-01-03 13:26:04 +00:00
|
|
|
Makefile
|
2003-02-03 01:56:42 +00:00
|
|
|
zenity.spec
|
2003-01-03 13:26:04 +00:00
|
|
|
po/Makefile.in
|
|
|
|
src/Makefile
|
2003-05-27 21:57:46 +00:00
|
|
|
src/gdialog
|
2003-01-03 13:26:04 +00:00
|
|
|
data/Makefile
|
2003-01-18 19:19:20 +00:00
|
|
|
help/Makefile
|
2003-01-03 13:26:04 +00:00
|
|
|
])
|
2006-05-10 03:37:14 +00:00
|
|
|
|
|
|
|
AC_OUTPUT
|