mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 05:20:17 +00:00
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
This commit is contained in:
parent
169f064c1f
commit
d975cd5baa
@ -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 Tests for BACKEND-NAME in the GTK targets list
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN([GTK_CHECK_BACKEND],
|
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)
|
pkg_config_args=ifelse([$1],,gtk+-3.0, gtk+-$1-3.0)
|
||||||
min_gtk_version=ifelse([$2],,3.0.0,$2)
|
min_gtk_version=ifelse([$2],,3.0.0,$2)
|
||||||
pkg_config_args="$pkg_config_args >= $min_gtk_version"
|
pkg_config_args="$pkg_config_args >= $min_gtk_version"
|
||||||
|
Loading…
Reference in New Issue
Block a user