diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-04-24 20:53:00 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-04-24 20:53:00 +0000 |
commit | b45eeec7a33e6b7475ebf02e3635e7d37ed33544 (patch) | |
tree | 5dbd28fee8ed5052b96bf9ebaa02cc8c8aa1320b /configure.in | |
parent | 8f4426252dba8db47beaea9b9956c03668c1a640 (diff) | |
download | xine-lib-b45eeec7a33e6b7475ebf02e3635e7d37ed33544.tar.gz xine-lib-b45eeec7a33e6b7475ebf02e3635e7d37ed33544.tar.bz2 |
Reunification of xine-lib and xine-output. Some code cleanups.
CVS patchset: 21
CVS date: 2001/04/24 20:53:00
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 56 |
1 files changed, 55 insertions, 1 deletions
diff --git a/configure.in b/configure.in index fcc58e22d..a897a82bc 100644 --- a/configure.in +++ b/configure.in @@ -140,6 +140,58 @@ 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 AC_CHECK_FUNC(getpwuid_r,AC_DEFINE(HAVE_GETPWUID_R)) @@ -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 |