1 # Public macros for the TeX Live (TL) tree.
2 # Copyright (C) 2012-2015 Peter Breitenlohner <tex-live@tug.org>
4 # This file is free software; the copyright holder
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
10 # Provide the configure options '--with-system-harfbuzz' (if in the TL tree).
12 # Set the make variables HARFBUZZ_INCLUDES and HARFBUZZ_LIBS to the CPPFLAGS and
13 # LIBS required for the `-lharfbuzz' library in libs/harfbuzz/ of the TL tree.
14 AC_DEFUN([KPSE_HARFBUZZ_FLAGS], [dnl
15 AC_REQUIRE([KPSE_GRAPHITE2_FLAGS])[]dnl
16 AC_REQUIRE([KPSE_ICU_FLAGS])[]dnl
17 _KPSE_LIB_FLAGS([harfbuzz], [harfbuzz], [],
18 [-IBLD/libs/harfbuzz/include], [BLD/libs/harfbuzz/libharfbuzz.a], [],
19 [], [${top_builddir}/../../libs/harfbuzz/include/hb.h])[]dnl
20 ]) # KPSE_HARFBUZZ_FLAGS
22 # KPSE_HARFBUZZ_OPTIONS([WITH-SYSTEM])
23 # ------------------------------------
24 AC_DEFUN([KPSE_HARFBUZZ_OPTIONS], [_KPSE_LIB_OPTIONS([harfbuzz], [$1], [pkg-config])])
26 # KPSE_HARFBUZZ_SYSTEM_FLAGS
27 # --------------------------
28 AC_DEFUN([KPSE_HARFBUZZ_SYSTEM_FLAGS], [dnl
29 _KPSE_PKG_CONFIG_FLAGS([harfbuzz], [harfbuzz-icu])])