diff options
author | Edgard Lima <edgard.lima@indt.org.br> | 2005-09-19 21:47:54 +0000 |
---|---|---|
committer | Edgard Lima <edgard.lima@indt.org.br> | 2005-09-19 21:47:54 +0000 |
commit | ffaa724795f1a74f270ba2af351ff5d941f40563 (patch) | |
tree | 61e891f1cc30fee2ecb5b51645f9229eaa363dd4 /configure.ac | |
parent | 856cb2b35531549c240eb558e93f0a27dd7b1bb4 (diff) | |
download | gst-plugins-bad-ffaa724795f1a74f270ba2af351ff5d941f40563.tar.gz gst-plugins-bad-ffaa724795f1a74f270ba2af351ff5d941f40563.tar.bz2 gst-plugins-bad-ffaa724795f1a74f270ba2af351ff5d941f40563.zip |
sdlvideosink ported to 0.9 and tested with filesrc ! mpeg2dec
Original commit message from CVS:
sdlvideosink ported to 0.9 and tested with filesrc ! mpeg2dec
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c37ace2f..377d5c0f 100644 --- a/configure.ac +++ b/configure.ac @@ -364,6 +364,35 @@ return 0; AC_SUBST(FAAD_LIBS) ]) +dnl Check for X11 + +dnl now try to find the HEADER +AC_CHECK_HEADER(X11/Xlib.h, HAVE_X="yes", HAVE_X="no") + +if test "x$HAVE_X" = "xno" +then + AC_MSG_NOTICE([cannot find X11 development files]) +else + dnl this is much more than we want + X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS" + dnl AC_PATH_XTRA only defines the path needed to find the X libs, + dnl it does not add the libs; therefore we add them here + X_LIBS="$X_LIBS -lX11" + AC_SUBST(X_CFLAGS) + AC_SUBST(X_LIBS) +fi + + +dnl *** SDL *** +translit(dnm, m, l) AM_CONDITIONAL(USE_SDL, true) +GST_CHECK_FEATURE(SDL, [SDL plug-in], sdlvideosink, [ + 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 *** gsm *** translit(dnm, m, l) AM_CONDITIONAL(USE_GSM, true) GST_CHECK_FEATURE(GSM, [GSM library], gsmenc gsmdec, [ @@ -440,6 +469,7 @@ ext/Makefile ext/faac/Makefile ext/faad/Makefile ext/gsm/Makefile +ext/sdl/Makefile common/Makefile common/m4/Makefile m4/Makefile |