From a67a502e042260eaea809e513982e850da782766 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 14 Dec 2003 23:28:34 +0000 Subject: [PATCH] make sdl depend on X Original commit message from CVS: make sdl depend on X --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 365fcfb40b..d2f9f166ec 100644 --- a/configure.ac +++ b/configure.ac @@ -1090,7 +1090,10 @@ GST_CHECK_FEATURE(RAW1394, [raw1394 library], dv1394src, [ dnl *** SDL *** translit(dnm, m, l) AM_CONDITIONAL(USE_SDL, true) GST_CHECK_FEATURE(SDL, [SDL plug-in], sdlvideosink, [ - AM_PATH_SDL(, HAVE_SDL=yes, HAVE_SDL=no) + dnl sdlvideosink depends on the xoverlay interface, which depends on X + if test x$HAVE_X = xyes; then + AM_PATH_SDL(, HAVE_SDL=yes, HAVE_SDL=no) + fi ]) dnl *** shout ***