summaryrefslogtreecommitdiff
path: root/m4macros/gtk-3.0.m4
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2014-08-06 11:23:53 +0100
committerSimon McVittie <smcv@debian.org>2014-08-21 09:54:38 +0100
commitd975cd5baa119bd72c8cadd11c589d076c753fa1 (patch)
tree3144a6cb8aead52da6a38a73f0c64c56de5edd76 /m4macros/gtk-3.0.m4
parent169f064c1fa847830186ea14fe0e53b7178f1c07 (diff)
downloadgtk+-d975cd5baa119bd72c8cadd11c589d076c753fa1.tar.gz
Deprecate GTK_CHECK_BACKEND in favour of PKG_CHECK_MODULES
This is easy to do with pkg-config too. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=641638 Bug-Debian: https://bugs.debian.org/756476 Reviewed-by: Matthias Clasen
Diffstat (limited to 'm4macros/gtk-3.0.m4')
-rw-r--r--m4macros/gtk-3.0.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4macros/gtk-3.0.m4 b/m4macros/gtk-3.0.m4
index 274cd32ab1..d9b0a2dbdf 100644
--- a/m4macros/gtk-3.0.m4
+++ b/m4macros/gtk-3.0.m4
@@ -199,7 +199,7 @@ dnl GTK_CHECK_BACKEND(BACKEND-NAME [, MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTI
dnl Tests for BACKEND-NAME in the GTK targets list
dnl
AC_DEFUN([GTK_CHECK_BACKEND],
-[
+[m4_warn([obsolete], [GTK_CHECK_BACKEND is deprecated, use PKG_CHECK_MODULES([GTK_X11], [gtk+-x11-3.0]) or similar instead])
pkg_config_args=ifelse([$1],,gtk+-3.0, gtk+-$1-3.0)
min_gtk_version=ifelse([$2],,3.0.0,$2)
pkg_config_args="$pkg_config_args >= $min_gtk_version"