comparison 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
comparison
equal deleted inserted replaced
31687:87831e7308b3 31688:2b6a652aefbe
6375 res_comment="FreeType >= 2.2.1 needed" 6375 res_comment="FreeType >= 2.2.1 needed"
6376 elif test "$ass_internal" = no ; then 6376 elif test "$ass_internal" = no ; then
6377 cat > $TMPC << EOF 6377 cat > $TMPC << EOF
6378 #include <ass/ass.h> 6378 #include <ass/ass.h>
6379 int main(void) { 6379 int main(void) {
6380 #if defined(LIBASS_VERSION) && LIBASS_VERSION >= 0x00907010 6380 #if !defined(LIBASS_VERSION) || LIBASS_VERSION < 0x00910000
6381 #error "libass version too old"
6382 #endif
6381 ass_process_force_style(0); 6383 ass_process_force_style(0);
6382 #else
6383 process_force_style(0);
6384 #endif
6385 return 0; 6384 return 0;
6386 } 6385 }
6387 EOF 6386 EOF
6388 if cc_check -lass ; then 6387 if cc_check -lass ; then
6389 res_comment="external" 6388 res_comment="external"