summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2010-07-19 00:38:50 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2010-07-19 00:38:50 +0100
commit82a75eefc7db7f2083fcef7f2e2092c7ca29956f (patch)
tree130a8c0ed4f53b646940273d65240afd2c91de7e
parent0a248642d1d8f9908ce90bed2558eec3410b64ad (diff)
downloadxine-lib-82a75eefc7db7f2083fcef7f2e2092c7ca29956f.tar.gz
xine-lib-82a75eefc7db7f2083fcef7f2e2092c7ca29956f.tar.bz2
Refuse to build with known-broken libmodplug (0.8.8).
-rw-r--r--ChangeLog2
-rw-r--r--configure.ac5
2 files changed, 6 insertions, 1 deletions
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)