From b45eeec7a33e6b7475ebf02e3635e7d37ed33544 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Tue, 24 Apr 2001 20:53:00 +0000 Subject: Reunification of xine-lib and xine-output. Some code cleanups. CVS patchset: 21 CVS date: 2001/04/24 20:53:00 --- configure.in | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index fcc58e22d..a897a82bc 100644 --- a/configure.in +++ b/configure.in @@ -139,6 +139,58 @@ if test x$enable_mlib = xyes; then fi +dnl +dnl Checks for X11 +dnl +AC_PATH_XTRA +if test x"$no_x" != "xyes"; then + AC_DEFINE(HAVE_X11) +fi +AM_CONDITIONAL(HAVE_X11, test x"$no_x" != "xyes") + + +dnl +dnl Checks for Xv extension +dnl + +AC_CHECK_LIB(Xv, XvShmCreateImage, + X_LIBS="$X_LIBS -lXv" + AC_DEFINE(HAVE_XV) + ac_have_xv="yes",, + $X_LIBS $X_PRE_LIBS -lXext $X_EXTRA_LIBS) +AM_CONDITIONAL(HAVE_XV, test x$ac_have_xv = "xyes") + + +dnl +dnl Checks for Xinerama extension +dnl + +AC_CHECK_LIB(Xinerama, XineramaQueryExtension, + X_LIBS="$X_LIBS -lXinerama" + AC_DEFINE(HAVE_XINERAMA) + ac_have_xinerama="yes",, + $X_LIBS $X_PRE_LIBS -lXext $X_EXTRA_LIBS) +AM_CONDITIONAL(HAVE_XINERAMA, test x$ac_have_xinerama = "xyes") + + +dnl +dnl Alsa support +dnl +AM_PATH_ALSA(0.5.5, + AC_DEFINE(HAVE_ALSA), + AC_MSG_RESULT(*** All of ALSA dependent parts will be disabled ***)) +AM_CONDITIONAL(HAVE_ALSA, test x"$no_alsa" != "xyes") + + +dnl +dnl ESD support +dnl +AM_PATH_ESD(0.2.8, + AC_DEFINE(HAVE_ESD), + AC_MSG_RESULT(*** All of ESD dependent parts will be disabled ***)) +AM_CONDITIONAL(HAVE_ESD, test x"$no_esd" != "xyes") + + dnl dnl dnl @@ -314,7 +366,7 @@ AC_SUBST(w32_path) dnl dnl Some include paths ( !!! DO NOT REMOVE !!! ) dnl -INCLUDES='-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_srcdir)/src/xine-engine -I$(top_builddir)/src/xine-engine -I$(top_srcdir)/include -I$(top_builddir/)/include' +INCLUDES='-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_srcdir)/src/xine-engine -I$(top_builddir)/src/xine-engine' AC_SUBST(INCLUDES) @@ -341,6 +393,8 @@ Makefile include/Makefile include/xine.h.tmpl src/Makefile +src/audio_out/Makefile +src/video_out/Makefile src/demuxers/Makefile src/libmpeg2/Makefile src/libac3/Makefile -- cgit v1.2.3