1
# Public macros for the TeX Live (TL) tree.
2
# Copyright (C) 2010 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.
12
# Provide the configure options '--with-system-ptexenc' (if in the TL tree),
13
# '--with-ptexenc-includes', and '--with-ptexenc-libdir'.
15
# Set the make variables PTEXENC_INCLUDES and PTEXENC_LIBS to the CPPFLAGS and
16
# LIBS required for the `-lptexenc' library in texk/ptexenc/ of the TL tree.
17
AC_DEFUN([KPSE_PTEXENC_FLAGS],
18
[_KPSE_TEXLIB_FLAGS([ptexenc], [ptexenc], [lt],
19
[-IBLD/texk -ISRC/texk], [BLD/texk/ptexenc/libptexenc.la], [],
20
[${top_srcdir}/../ptexenc/*.[ch]],
21
[${top_builddir}/../ptexenc/ptexenc.h])[]dnl
22
]) # KPSE_PTEXENC_FLAGS
24
# KPSE_PTEXENC_OPTIONS([WITH-SYSTEM])
25
# -----------------------------------
26
AC_DEFUN([KPSE_PTEXENC_OPTIONS], [_KPSE_LIB_OPTIONS([ptexenc], [$1])])
28
# KPSE_PTEXENC_SYSTEM_FLAGS
29
# -------------------------
30
AC_DEFUN([KPSE_PTEXENC_SYSTEM_FLAGS], [_KPSE_LIB_FLAGS_SYSTEM([ptexenc], [ptexenc])])