diff options
author | Zaheer Abbas Merali <zaheerabbas@merali.org> | 2005-07-15 15:25:36 +0000 |
---|---|---|
committer | Zaheer Abbas Merali <zaheerabbas@merali.org> | 2005-07-15 15:25:36 +0000 |
commit | d5783d006813ed270c32e60cb6480d449a72d312 (patch) | |
tree | 49d3e5caca95be03badfacf787e1c29af655ccb6 | |
parent | 161ddbde0e9eb3fbe10aed0f31bfbcda70af163c (diff) | |
download | gst-plugins-bad-d5783d006813ed270c32e60cb6480d449a72d312.tar.gz gst-plugins-bad-d5783d006813ed270c32e60cb6480d449a72d312.tar.bz2 gst-plugins-bad-d5783d006813ed270c32e60cb6480d449a72d312.zip |
Use xfixes's .pc file instead of the header check
Original commit message from CVS:
2005-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* configure.ac:
* sys/ximage/Makefile.am:
Use xfixes's .pc file instead of the header check
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 11 |
2 files changed, 9 insertions, 8 deletions
@@ -1,3 +1,9 @@ +2005-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org> + + * configure.ac: + * sys/ximage/Makefile.am: + Use xfixes's .pc file instead of the header check + 2005-07-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net> * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_open): diff --git a/configure.ac b/configure.ac index 150b03e1..78832811 100644 --- a/configure.ac +++ b/configure.ac @@ -626,14 +626,9 @@ GST_CHECK_FEATURE(X, [X libraries and plugins], AC_SUBST(X_CFLAGS) AC_SUBST(X_LIBS) dnl check for Xfixes - AC_CHECK_HEADERS(X11/extensions/Xfixes.h, HAVE_XFIXES="yes", HAVE_XFIXES="no", [#include <X11/Xlib.h>]) - if test "x$HAVE_XFIXES" = "xno" - then - AC_MSG_NOTICE([cannot find XFixes development files]) - else - XFIXES_LIBS="-lXfixes" - AC_SUBST(XFIXES_LIBS) - fi + PKG_CHECK_MODULES(XFIXES, xfixes, HAVE_XFIXES="yes", HAVE_XFIXES="no") + AC_SUBST(XFIXES_LIBS) + AC_SUBST(XFIXES_CFLAGS) AM_CONDITIONAL(HAVE_XFIXES, test "x$HAVE_XFIXES" = "xyes") |