Commit f566eb87 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Reject libmodplug 0.8.8

parent 4787f236
...@@ -2471,11 +2471,16 @@ then ...@@ -2471,11 +2471,16 @@ then
AC_MSG_ERROR([cannot find ${real_mod_tree}/src/.libs/libmodplug.a, make sure you compiled mod in ${with_mod_tree}]) AC_MSG_ERROR([cannot find ${real_mod_tree}/src/.libs/libmodplug.a, make sure you compiled mod in ${with_mod_tree}])
fi fi
else else
PKG_CHECK_MODULES(LIBMODPLUG, libmodplug >= 0.8, PKG_CHECK_MODULES(LIBMODPLUG, [libmodplug >= 0.8], [
[ VLC_ADD_PLUGIN([mod]) PKG_CHECK_MODULES(WORKING_LIBMODPLUG, [libmodplug != 0.8.8],, [
VLC_ADD_CXXFLAGS([mod],[$LIBMODPLUG_CFLAGS]) AC_MSG_ERROR([libmodplug version 0.8.8 will not work. Please upgrade to 0.8.8.1 or later (or downgrade to 0.8.7)!])
VLC_ADD_LIBS([mod],[$LIBMODPLUG_LIBS]) ])
],[AC_MSG_WARN([libmodplug not found!])]) VLC_ADD_PLUGIN([mod])
VLC_ADD_CXXFLAGS([mod],[$LIBMODPLUG_CFLAGS])
VLC_ADD_LIBS([mod],[$LIBMODPLUG_LIBS])
], [
AC_MSG_WARN([libmodplug not found!])
])
fi fi
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment