diff options
author | Jeremy Bicha <jbicha@debian.org> | 2021-09-19 08:31:12 -0400 |
---|---|---|
committer | Jeremy Bicha <jbicha@debian.org> | 2021-09-19 08:31:12 -0400 |
commit | 0a9278511b4d4a3b5df9f6232cd0a427b945a630 (patch) | |
tree | 18db516364877f6dd0ebca5a0eddea7b9311b142 /configure.ac | |
parent | debian/watch: Update for GNOME 40 style version numbering (diff) | |
parent | New upstream version 3.41.0 (diff) | |
download | zenity-0a9278511b4d4a3b5df9f6232cd0a427b945a630.tar.gz zenity-0a9278511b4d4a3b5df9f6232cd0a427b945a630.tar.bz2 zenity-0a9278511b4d4a3b5df9f6232cd0a427b945a630.zip |
Update upstream source from tag 'upstream/3.41.0'
Update to upstream version '3.41.0'
with Debian dir e93fe4af08d9574e6a601a2b0269cc470265904a
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 140 |
1 files changed, 0 insertions, 140 deletions
diff --git a/configure.ac b/configure.ac deleted file mode 100644 index 5dccdb07..00000000 --- a/configure.ac +++ /dev/null @@ -1,140 +0,0 @@ -AC_INIT([Zenity],[3.32.0],[https://bugzilla.gnome.org/enter_bug.cgi?product=zenity],[zenity]) - -AC_PREREQ([2.69]) - -AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_SRCDIR([src]) -AC_CONFIG_MACRO_DIR([m4]) - -AM_INIT_AUTOMAKE([1.10 foreign no-dist-gzip dist-xz]) -AM_MAINTAINER_MODE([enable]) - -m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) - -# ******************************* -# Debug -# ******************************* - -AX_CHECK_ENABLE_DEBUG([yes],[GNOME_ENABLE_DEBUG]) - -# Check for programs -AC_PROG_CC - -GTK_REQUIRED=3.0.0 - -PKG_CHECK_MODULES([ZENITY],[gtk+-3.0 >= $GTK_REQUIRED glib-2.0]) -AC_SUBST([ZENITY_CFLAGS]) -AC_SUBST([ZENITY_LIBS]) - -dnl ************************* -dnl Check for the GTK+ backend, if it's X11, we -lX11 -dnl ************************* - -zenity_save_cflags="$CFLAGS" -# pull in the CFLAGS to locate gdkconfig.h -CFLAGS=`$PKG_CONFIG --cflags gtk+-3.0` -AC_COMPILE_IFELSE([AC_LANG_SOURCE([ -#include <gdk/gdk.h> - -int main(void) { -#ifndef GDK_WINDOWING_X11 -#error GDK_WINDOWING_X11 not defined -#endif - return 0; -} -])], - GDK_BACKEND_X11=yes, - GDK_BACKEND_X11=no) - -CFLAGS="$zenity_save_cflags" - -if test "x$GDK_BACKEND_X11" = "xyes"; then - PKG_CHECK_MODULES(X, x11) - ZENITY_CFLAGS="$ZENITY_CFLAGS $X_CFLAGS" - ZENITY_LIBS="$ZENITY_LIBS $X_LIBS" -fi - -# ******************************* -# perl check -# ******************************* - -AC_PATH_PROG([PERL],[perl],) - -# ******************************* -# libnotify check -# ******************************* - -LIBNOTIFY_REQUIRED=0.6.1 - -AC_ARG_ENABLE([libnotify], - [AS_HELP_STRING([--enable-libnotify], - [Enable libnotify support])], - [], - [enable_libnotify=yes]) - -if test x$enable_libnotify = xyes; then - PKG_CHECK_MODULES([LIBNOTIFY], [libnotify >= $LIBNOTIFY_REQUIRED], - [HAVE_LIBNOTIFY="yes"],[HAVE_LIBNOTIFY="no"]) - AC_SUBST([LIBNOTIFY_CFLAGS]) - AC_SUBST([LIBNOTIFY_LIBS]) - if test "x$HAVE_LIBNOTIFY" = "xyes"; then - AC_DEFINE([HAVE_LIBNOTIFY], [1], [libnotify is available on this machine]) - fi -fi - -# ******************************* -# webkit check -# ******************************* - -WEBKITGTK_REQUIRED=2.8.1 - -AC_ARG_ENABLE([webkitgtk], - [AS_HELP_STRING([--enable-webkitgtk], - [Enable webkit support])], - [], - [enable_webkitgtk=yes]) - -if test x$enable_webkitgtk = xyes; then - PKG_CHECK_MODULES([WEBKIT], [webkit2gtk-4.0 >= $WEBKITGTK_REQUIRED], - [HAVE_WEBKITGTK="yes"],[HAVE_WEBKITGTK="no"]) - AC_SUBST([WEBKIT_CFLAGS]) - AC_SUBST([WEBKIT_LIBS]) - if test "x$HAVE_WEBKITGTK" = "xyes"; then - AC_DEFINE([HAVE_WEBKITGTK], [1], [webkitgtk is available on this machine]) - fi -fi - - -# ******************************* -# Internationalization -# ******************************* -AM_GNU_GETTEXT_VERSION([0.19.4]) -AM_GNU_GETTEXT([external]) - -GETTEXT_PACKAGE=zenity -AC_SUBST([GETTEXT_PACKAGE]) -AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext domain]) - -# ******************************* -# User manual -# ******************************* -YELP_HELP_INIT - -# ******************************* - -AC_SUBST([AM_CPPFLAGS]) -AC_SUBST([AM_CFLAGS]) -AC_SUBST([AM_LDFLAGS]) - -# ******************************* - -AC_CONFIG_FILES([ -Makefile -po/Makefile.in -src/Makefile -src/gdialog -data/Makefile -help/Makefile -]) - -AC_OUTPUT |