Debian Codegraph @

m4/kpse-teckit-flags.m4

raw
1 # Public macros for the TeX Live (TL) tree.
2 # Copyright (C) 2009-2015 Peter Breitenlohner <[email protected]>
3 #
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.
7
8 # KPSE_TECKIT_FLAGS
9 # -----------------
10 # Provide the configure options '--with-system-teckit' (if in the TL tree).
11 #
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
20
21 # KPSE_TECKIT_OPTIONS([WITH-SYSTEM])
22 # ----------------------------------
23 AC_DEFUN([KPSE_TECKIT_OPTIONS], [_KPSE_LIB_OPTIONS([teckit], [$1], [pkg-config])])
24
25 # KPSE_TECKIT_SYSTEM_FLAGS
26 # -------------------------
27 AC_DEFUN([KPSE_TECKIT_SYSTEM_FLAGS], [dnl
28 _KPSE_PKG_CONFIG_FLAGS([teckit], [teckit])])