diff options
author | rcombs <rcombs@rcombs.me> | 2020-05-27 13:01:09 -0500 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2020-10-22 04:28:24 +0300 |
commit | f3e2c97e1818598afb0b1c7010003ffe4823ff21 (patch) | |
tree | d6a3df4e4e276bbaf7d8e80634793b42a90eff90 /configure.ac | |
parent | 30bd3d34d32cebeb7b1af6b9e77f617ef1d2bb9a (diff) | |
download | libass-f3e2c97e1818598afb0b1c7010003ffe4823ff21.tar.bz2 libass-f3e2c97e1818598afb0b1c7010003ffe4823ff21.tar.xz |
Make harfbuzz a hard dependency; closes #199
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac index 6408c67..f7215c1 100644 --- a/configure.ac +++ b/configure.ac @@ -47,8 +47,6 @@ AC_ARG_ENABLE([coretext], AS_HELP_STRING([--disable-coretext], [disable CoreText support (OSX only) @<:@default=check@:>@])) AC_ARG_ENABLE([require-system-font-provider], AS_HELP_STRING([--disable-require-system-font-provider], [allow compilation even if no system font provider was found @<:@default=enabled:>@])) -AC_ARG_ENABLE([harfbuzz], AS_HELP_STRING([--disable-harfbuzz], - [disable HarfBuzz support @<:@default=check@:>@])) AC_ARG_ENABLE([asm], AS_HELP_STRING([--disable-asm], [disable compiling with ASM @<:@default=check@:>@])) AC_ARG_ENABLE([large-tiles], AS_HELP_STRING([--enable-large-tiles], @@ -210,14 +208,11 @@ AC_LINK_IFELSE([ fi AM_CONDITIONAL([DIRECTWRITE], [test x$directwrite = xtrue]) -if test x$enable_harfbuzz != xno; then PKG_CHECK_MODULES([HARFBUZZ], harfbuzz >= 1.2.3, [ CFLAGS="$CFLAGS $HARFBUZZ_CFLAGS" LIBS="$LIBS $HARFBUZZ_LIBS" - AC_DEFINE(CONFIG_HARFBUZZ, 1, [found harfbuzz-ng via pkg-config]) - harfbuzz=true - ], [harfbuzz=false]) -fi + AC_DEFINE(CONFIG_HARFBUZZ, 1, [found harfbuzz via pkg-config]) + ]) libpng=false if test x$enable_test = xyes || test x$enable_compare = xyes; then @@ -242,12 +237,10 @@ if test "$use_libiconv" = true; then fi pkg_requires="freetype2 >= 9.10.3" pkg_requires="fribidi >= 0.19.0, ${pkg_requires}" +pkg_requires="harfbuzz >= 1.2.3, ${pkg_requires}" if test x$fontconfig = xtrue; then pkg_requires="fontconfig >= 2.10.92, ${pkg_requires}" fi -if test x$harfbuzz = xtrue; then - pkg_requires="harfbuzz >= 1.2.3, ${pkg_requires}" -fi if test x$enable_require_system_font_provider != xno && test x$fontconfig != xtrue && |