set with_libass and with_internal_libass to no when --without-libass is

supplied.

Originally committed to SVN as r2112.
This commit is contained in:
Amar Takhar 2008-03-22 11:46:18 +00:00
parent 375ffbe0e7
commit a8cf14b714
1 changed files with 4 additions and 0 deletions

View File

@ -320,8 +320,12 @@ if test "$with_libass" != "no"; then
with_libass="no" with_libass="no"
fi fi
else
with_internal_libass="no"
with_libass="no"
fi fi
if test "$with_libass" = "yes" || test "$with_internal_libass" = "yes"; then if test "$with_libass" = "yes" || test "$with_internal_libass" = "yes"; then
AC_DEFINE(WITH_LIBASS, 1, [Enable libass Subtitle Provider]) AC_DEFINE(WITH_LIBASS, 1, [Enable libass Subtitle Provider])
fi fi