summaryrefslogtreecommitdiff
path: root/m4macros/gtk-3.0.m4
Commit message (Collapse)AuthorAgeFilesLines
* Typo fixesMatthias Clasen2016-03-101-1/+1
| | | | Fix s/occurence/occurrence in many places.
* Fix a memory leak in gtk-3.0.m4 fileDhiru Kholia2015-11-031-7/+4
| | | | | | | | This fix is inspired by, https://git.gnome.org/browse/glib/tree/m4macros/glib-2.0.m4 https://bugzilla.gnome.org/show_bug.cgi?id=757221
* Deprecate GTK_CHECK_BACKEND in favour of PKG_CHECK_MODULESSimon McVittie2014-08-211-1/+1
| | | | | | | | 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
* Deprecate AM_PATH_GTK_3_0 in favour of PKG_CHECK_MODULESSimon McVittie2014-08-211-1/+1
| | | | | | | | 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
* Avoid "pkg-config --atleast-version"Simon McVittie2014-08-091-4/+5
| | | | | | | | | | | | | AM_PATH_GTK_3_0([3.4], [], [], [gthread]) results in calling "pkg-config --atleast-version 3.4 gtk+-3.0 gthread-2.0". With pkg-config 0.28, that test fails, because the version of gthread-2.0 is smaller than 3.4. This appears to be a behaviour change since 0.26, but matches what the documentation said in 0.26. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=641638 Bug-Debian: https://bugs.debian.org/756476 Reviewed-by: Matthias Clasen <mclasen@redhat.com>
* m4: Fix GTK_CHECK_BACKEND() to also check for a minimum versionEmmanuele Bassi2011-02-171-19/+10
| | | | | | This should make the macro slightly more useful. Update the documentation mentioning the macro as well.
* Allow checking for GDK backendsEmmanuele Bassi2011-02-161-0/+32
| | | | | | | | | | | | | | | | Now that a single shared object can contain multiple backends we also need to provide a simple way for third party code to verify that the copy of GDK they are linking to supports their backend. The simplest way to verify is an m4 macro, GTK_CHECK_BACKEND(), shipped with the gtk+ m4 macros. The usage is pretty basic: GTK_CHECK_BACKEND([x11], [gtk_has_x11=yes], [gtk_has_x11=no]) AM_CONDITIONAL(BUILD_X11_CODE, test "x$gtk_has_x11" = "xno") https://bugzilla.gnome.org/show_bug.cgi?id=642479
* Consistently use PKG_CONFIG in macrosAnders F Björklund2011-01-181-1/+1
|
* One forgotten renameMatthias Clasen2010-05-111-0/+196