From 82a75eefc7db7f2083fcef7f2e2092c7ca29956f Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Mon, 19 Jul 2010 00:38:50 +0100 Subject: Refuse to build with known-broken libmodplug (0.8.8). --- ChangeLog | 2 ++ configure.ac | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1fd25f24a..e20fe2544 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,8 @@ xine-lib (1.1.19) 2010-??-?? (VP8 video is not yet supported.) * Recognise ScreamTracker 2 & 3 files. (ST3 untested.) * Fix playback of the first file handled by the modplug demuxer. + * Refuse to build with known-broken libmodplug (0.8.8). + http://bugs.debian.org/588465 xine-lib (1.1.18.1) 2010-03-06 * Oops. compat.c (for DXR3 support) was omitted. diff --git a/configure.ac b/configure.ac index 66a11b8e0..78d2ecfda 100644 --- a/configure.ac +++ b/configure.ac @@ -2094,8 +2094,11 @@ AC_ARG_ENABLE([modplug], if test "x$enable_modplug" != "xno"; then PKG_CHECK_MODULES([LIBMODPLUG], [libmodplug >= 0.7], - AC_DEFINE([HAVE_MODPLUG], 1, [define this if you have libmodplug installed]), + [AC_DEFINE([HAVE_MODPLUG], 1, [define this if you have libmodplug installed])], [enable_modplug=no]) + if test "`"$PKG_CONFIG" --modversion libmodplug`" = 0.8.8; then + AC_MSG_ERROR([you have a broken version of libmodplug (0.8.8); cowardly refusing to use it]) + fi fi AC_SUBST(LIBMODPLUG_CFLAGS) -- cgit v1.2.3