beta-0.89.2
[luatex.git] / source / m4 / kpse-ptexenc-flags.m4
blob12e374e3e3a747ba9712be5088cdaffed10dd486
1 # Public macros for the TeX Live (TL) tree.
2 # Copyright (C) 2010-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_PTEXENC_FLAGS
9 # ------------------
10 # Provide the configure options '--with-system-ptexenc' (if in the TL tree).
12 # Set the make variables PTEXENC_INCLUDES and PTEXENC_LIBS to the CPPFLAGS and
13 # LIBS required for the `-lptexenc' library in texk/ptexenc/ of the TL tree.
14 AC_DEFUN([KPSE_PTEXENC_FLAGS], [dnl
15 AC_REQUIRE([KPSE_KPATHSEA_FLAGS])[]dnl
16 _KPSE_TEXLIB_FLAGS([ptexenc], [ptexenc], [lt],
17                    [-IBLD/texk/ptexenc -ISRC/texk/ptexenc], [BLD/texk/ptexenc/libptexenc.la], [],
18                    [${top_srcdir}/../ptexenc/*.c ${top_srcdir}/../ptexenc/ptexenc/*.h])[]dnl
19 ]) # KPSE_PTEXENC_FLAGS
21 # KPSE_PTEXENC_OPTIONS([WITH-SYSTEM])
22 # -----------------------------------
23 AC_DEFUN([KPSE_PTEXENC_OPTIONS], [_KPSE_LIB_OPTIONS([ptexenc], [$1], [pkg-config])])
25 # KPSE_PTEXENC_SYSTEM_FLAGS
26 # -------------------------
27 AC_DEFUN([KPSE_PTEXENC_SYSTEM_FLAGS], [dnl
28 _KPSE_PKG_CONFIG_FLAGS([ptexenc], [ptexenc])])