beta-0.89.2
[luatex.git] / source / m4 / kpse-teckit-flags.m4
blobdd7fe706579088e0a158c80c389bd3447051e356
1 # Public macros for the TeX Live (TL) tree.
2 # Copyright (C) 2009-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.
8 # KPSE_TECKIT_FLAGS
9 # -----------------
10 # Provide the configure options '--with-system-teckit' (if in the TL tree).
12 # Set the make variables TECKIT_INCLUDES and TECKIT_LIBS to the CPPFLAGS and
13 # LIBS required for the `-lTECkit' library in libs/teckit/ of the TL tree.
14 AC_DEFUN([KPSE_TECKIT_FLAGS], [dnl
15 AC_REQUIRE([KPSE_ZLIB_FLAGS])[]dnl
16 _KPSE_LIB_FLAGS([teckit], [TECkit], [],
17                 [-IBLD/libs/teckit/include], [BLD/libs/teckit/libTECkit.a], [],
18                 [], [${top_builddir}/../../libs/teckit/include/teckit/TECkit_Common.h])[]dnl
19 ]) # KPSE_TECKIT_FLAGS
21 # KPSE_TECKIT_OPTIONS([WITH-SYSTEM])
22 # ----------------------------------
23 AC_DEFUN([KPSE_TECKIT_OPTIONS], [_KPSE_LIB_OPTIONS([teckit], [$1], [pkg-config])])
25 # KPSE_TECKIT_SYSTEM_FLAGS
26 # -------------------------
27 AC_DEFUN([KPSE_TECKIT_SYSTEM_FLAGS], [dnl
28 _KPSE_PKG_CONFIG_FLAGS([teckit], [teckit])])