diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | m4/input.m4 | 14 | ||||
-rw-r--r-- | m4/video_out.m4 | 2 |
3 files changed, 13 insertions, 4 deletions
@@ -1,5 +1,6 @@ xine-lib (1.2.1.1) 2012-??-?? * Fix musepack decoder compilation if libmpcdec headers aren't available. + * Configure tests for xinerama & VideoCD support now soft-fail properly. xine-lib (1.2.1) 2012-02-04 * The "I'm at Tyneside LUG" release. 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]) |