diff options
author | Grigori Goronzy <greg@chown.ath.cx> | 2015-09-23 10:34:55 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@chown.ath.cx> | 2015-09-23 10:34:55 +0200 |
commit | 3d09c609a4cf987eb5adfa73c6e20151c1345a10 (patch) | |
tree | 715888f4f92028f400771b842b14349911b6b4fc /configure.ac | |
parent | 0b0ce2cd0bd6448372b8ef7b9b6b18437d264546 (diff) | |
download | libass-3d09c609a4cf987eb5adfa73c6e20151c1345a10.tar.bz2 libass-3d09c609a4cf987eb5adfa73c6e20151c1345a10.tar.xz |
Remove ENCA support
There is no real value in it. ENCA only works in some cases and I
can't find any information about software that integrates libass
which relies on it or users that rely on ENCA support in case the
interface is exposed directly (e.g. in MPlayer).
If there is still a wish to have charset detection integrated into
libass (it is out of scope, IMHO), a better library like uchardet
should be used for that.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac index 340e2090..d090d33d 100644 --- a/configure.ac +++ b/configure.ac @@ -31,8 +31,6 @@ AC_ARG_ENABLE([test], AS_HELP_STRING([--enable-test], [enable test program (requires libpng) @<:@default=no@:>@])) AC_ARG_ENABLE([profile], AS_HELP_STRING([--enable-profile], [enable profiling program @<:@default=no@:>@])) -AC_ARG_ENABLE([enca], AS_HELP_STRING([--disable-enca], - [disable enca (charset autodetect) support @<:@default=check@:>@])) AC_ARG_ENABLE([fontconfig], AS_HELP_STRING([--disable-fontconfig], [disable fontconfig support @<:@default=enabled@:>@])) AC_ARG_ENABLE([directwrite], AS_HELP_STRING([--disable-directwrite], @@ -202,15 +200,6 @@ PKG_CHECK_MODULES([HARFBUZZ], harfbuzz >= 0.9.5, [ ], [harfbuzz=false]) fi -if test x$enable_enca != xno; then -PKG_CHECK_MODULES([ENCA], enca, [ - CFLAGS="$CFLAGS $ENCA_CFLAGS" - LIBS="$LIBS $ENCA_LIBS" - AC_DEFINE(CONFIG_ENCA, 1, [found enca via pkg-config]) - enca=true - ], [enca=false]) -fi - libpng=false if test x$enable_test = xyes; then PKG_CHECK_MODULES([LIBPNG], libpng >= 1.2.0, [ @@ -227,9 +216,6 @@ AM_CONDITIONAL([ENABLE_PROFILE], [test x$enable_profile = xyes]) pkg_libs="-lm" pkg_requires="freetype2 >= 9.10.3" pkg_requires="fribidi >= 0.19.0, ${pkg_requires}" -if test x$enca = xtrue; then - pkg_requires="enca, ${pkg_requires}" -fi if test x$fontconfig = xtrue; then pkg_requires="fontconfig >= 2.4.2, ${pkg_requires}" fi |