diff configure @ 31688:2b6a652aefbe

Require libass version with ass_flush_events When using external libass, require an up to date version with the new API function ass_flush_events. Get rid of the various version checks for compatibility with older versions.
author greg
date Mon, 19 Jul 2010 00:12:04 +0000
parents 87831e7308b3
children f1d69b608148
line wrap: on
line diff
--- a/configure	Sun Jul 18 23:02:25 2010 +0000
+++ b/configure	Mon Jul 19 00:12:04 2010 +0000
@@ -6377,11 +6377,10 @@
     cat > $TMPC << EOF
 #include <ass/ass.h>
 int main(void) {
-#if defined(LIBASS_VERSION) && LIBASS_VERSION >= 0x00907010
+#if !defined(LIBASS_VERSION) || LIBASS_VERSION < 0x00910000
+#error "libass version too old"
+#endif
   ass_process_force_style(0);
-#else
-  process_force_style(0);
-#endif
   return 0;
 }
 EOF