diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2012-02-08 23:41:35 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2012-02-08 23:41:35 +0000 |
commit | 013fde587fae684931759737d450d6e0f45432ef (patch) | |
tree | 4bdac13f22191f6dfd09f6fa91c705364d43dec5 /m4 | |
parent | 65723aa841ea45d2974e405899687f5f6901aa31 (diff) | |
parent | a5be135136fe669714ad4ac9c22519f06a8b2a25 (diff) | |
download | xine-lib-013fde587fae684931759737d450d6e0f45432ef.tar.gz xine-lib-013fde587fae684931759737d450d6e0f45432ef.tar.bz2 |
Merge from 1.2.1-branch.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/input.m4 | 14 | ||||
-rw-r--r-- | m4/video_out.m4 | 2 |
2 files changed, 12 insertions, 4 deletions
diff --git a/m4/input.m4 b/m4/input.m4 index c337162c7..21d7e216f 100644 --- a/m4/input.m4 +++ b/m4/input.m4 @@ -140,9 +140,17 @@ AC_DEFUN([XINE_INPUT_PLUGINS], [ dnl XXX: This could be cleaned up so that code does not have it ifdef so much XINE_ARG_ENABLE([vcd], [Enable VCD (VideoCD) support]) if test x"$enable_vcd" != x"no"; then - PKG_CHECK_MODULES([LIBCDIO], [libcdio >= 0.71]) - PKG_CHECK_MODULES([LIBVCDINFO], [libvcdinfo >= 0.7.23]) - AC_DEFINE([HAVE_VCDNAV], 1, [Define this if you use external libcdio/libvcdinfo]) + no_vcd=no + PKG_CHECK_MODULES([LIBCDIO], [libcdio >= 0.71], + [PKG_CHECK_MODULES([LIBVCDINFO], [libvcdinfo >= 0.7.23], [], [no_vcd=yes])], + [if test x"$hard_enable_vcd" = 'xyes'; then + AC_MSG_ERROR([$LIBCDIO_PKG_ERRORS]) + fi + no_vcd=yes] + ) + if test "$no_vcd" = 'no'; then + AC_DEFINE([HAVE_VCDNAV], 1, [Define this if you use external libcdio/libvcdinfo]) + fi fi enable_vcdo=no diff --git a/m4/video_out.m4 b/m4/video_out.m4 index 2ac257fec..a7fec05c5 100644 --- a/m4/video_out.m4 +++ b/m4/video_out.m4 @@ -315,7 +315,7 @@ AC_DEFUN([XINE_VIDEO_OUT_PLUGINS], [ [XINERAMA_LIBS="-lXinerama" have_xinerama="yes"], [], [$X_LIBS])]) fi - if test x"$enable_xinerama" = x"yes" && test x"$have_xinerama" != x"yes"; then + if test x"$hard_enable_xinerama" = x"yes" && test x"$have_xinerama" != x"yes"; then AC_MSG_ERROR([Xinerama support requested, but Xinerama not found or X disabled]) elif test x"$have_xinerama" = x"yes"; then AC_DEFINE([HAVE_XINERAMA], 1, [Define this if you have libXinerama installed]) |