summaryrefslogtreecommitdiff
path: root/m4macros
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2014-08-06 11:23:23 +0100
committerSimon McVittie <smcv@debian.org>2014-08-21 09:54:32 +0100
commit169f064c1fa847830186ea14fe0e53b7178f1c07 (patch)
treed9419ac7bbce575c906f79b18797717a87f24faa /m4macros
parentd329544e703f3dd95be961e1d3778ee1b0dce81b (diff)
downloadgtk+-169f064c1fa847830186ea14fe0e53b7178f1c07.tar.gz
Deprecate AM_PATH_GTK_3_0 in favour of PKG_CHECK_MODULES
That's what GNOME applications use. 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')
-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 0d605fbfc2..274cd32ab1 100644
--- a/m4macros/gtk-3.0.m4
+++ b/m4macros/gtk-3.0.m4
@@ -6,7 +6,7 @@ dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified i
dnl pass to pkg-config
dnl
AC_DEFUN([AM_PATH_GTK_3_0],
-[dnl
+[m4_warn([obsolete], [AM_PATH_GTK_3_0 is deprecated, use PKG_CHECK_MODULES([GTK], [gtk+-3.0]) instead])
dnl Get the cflags and libraries from pkg-config
dnl
AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program],