[gtk+] Deprecate AM_PATH_GTK_3_0 in favour of PKG_CHECK_MODULES
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Deprecate AM_PATH_GTK_3_0 in favour of PKG_CHECK_MODULES
- Date: Thu, 21 Aug 2014 09:12:04 +0000 (UTC)
commit 169f064c1fa847830186ea14fe0e53b7178f1c07
Author: Simon McVittie <smcv debian org>
Date: Wed Aug 6 11:23:23 2014 +0100
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
m4macros/gtk-3.0.m4 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/m4macros/gtk-3.0.m4 b/m4macros/gtk-3.0.m4
index 0d605fb..274cd32 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],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]