diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | configure.ac | 3 |
2 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2005-04-18 Tim-Philipp Müller <tim at centricular dot net> + + * configure.ac: + Add X_CFLAGS to CFLAGS while checking for + X11/Xlib.h, otherwise we won't find X if it's + installed in an unusual location (fixes #300495). + 2005-04-18 Edward Hervey <bilboed@bilboed.com> * ext/snapshot/gstsnapshot.c: (gst_snapshot_chain): diff --git a/configure.ac b/configure.ac index 518585cb..eabda12f 100644 --- a/configure.ac +++ b/configure.ac @@ -607,7 +607,10 @@ GST_CHECK_FEATURE(X, [X libraries and plugins], [ximagesink], [ AC_PATH_XTRA dnl now try to find the HEADER + save_cflags=$CFLAGS + CFLAGS="$CFLAGS $X_CFLAGS" AC_CHECK_HEADER(X11/Xlib.h, HAVE_X="yes", HAVE_X="no") + CFLAGS="$save_cflags" if test "x$HAVE_X" = "xno" then |