[MPlayer-cvslog] r31266 - trunk/configure
reimar
subversion at mplayerhq.hu
Sat May 29 16:57:17 CEST 2010
Author: reimar
Date: Sat May 29 16:57:17 2010
New Revision: 31266
Log:
Actually run a detection whether external libass exists, instead
of just assuming it does when internal libass is disabled.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Sat May 29 16:44:02 2010 (r31265)
+++ trunk/configure Sat May 29 16:57:17 2010 (r31266)
@@ -6424,8 +6424,23 @@ EOF
ass_internal=no
res_comment="FreeType >= 2.2.1 needed"
elif test "$ass_internal" = no ; then
- res_comment="external"
- extra_ldflags="$extra_ldflags -lass"
+ cat > $TMPC << EOF
+#include <ass/ass.h>
+int main(void) {
+#if defined(LIBASS_VERSION) && LIBASS_VERSION >= 0x00907010
+ ass_process_force_style(0);
+#else
+ process_force_style(0);
+#endif
+ return 0;
+}
+EOF
+ if cc_check -lass ; then
+ res_comment="external"
+ extra_ldflags="$extra_ldflags -lass"
+ else
+ _ass=no
+ fi
fi
fi
if test "$_ass" = yes ; then
More information about the MPlayer-cvslog
mailing list