diff options
Diffstat (limited to 'Build/source/m4/kpse-ptexenc-flags.m4')
-rw-r--r-- | Build/source/m4/kpse-ptexenc-flags.m4 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Build/source/m4/kpse-ptexenc-flags.m4 b/Build/source/m4/kpse-ptexenc-flags.m4 new file mode 100644 index 00000000000..0c75e64fe80 --- /dev/null +++ b/Build/source/m4/kpse-ptexenc-flags.m4 @@ -0,0 +1,30 @@ +# Public macros for the TeX Live (TL) tree. +# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org> +# +# This file is free software; the copyright holder +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 0 + +# KPSE_PTEXENC_FLAGS +# ------------------- +# Provide the configure options '--with-system-ptexenc' (if in the TL tree), +# '--with-ptexenc-includes', and '--with-ptexenc-libdir'. +# +# Set the make variables PTEXENC_INCLUDES and PTEXENC_LIBS to the CPPFLAGS and +# LIBS required for the `-lptexenc' library in texk/ptexenc/ of the TL tree. +AC_DEFUN([KPSE_PTEXENC_FLAGS], +[_KPSE_LIB_FLAGS([ptexenc], [ptexenc], [tree], + [-IBLD/texk -ISRC/texk], [BLD/texk/ptexenc/libptexenc.la], [], + [${top_srcdir}/../ptexenc/*.[ch]], + [${top_builddir}/../ptexenc/ptexenc.h])[]dnl +]) # KPSE_PTEXENC_FLAGS + +# KPSE_PTEXENC_OPTIONS([WITH-SYSTEM]) +# ------------------------------------ +AC_DEFUN([KPSE_PTEXENC_OPTIONS], [_KPSE_LIB_OPTIONS([ptexenc], [$1])]) + +# KPSE_PTEXENC_SYSTEM_FLAGS +# -------------------------- +AC_DEFUN([KPSE_PTEXENC_SYSTEM_FLAGS], [_KPSE_LIB_FLAGS_SYSTEM([ptexenc], [ptexenc])]) |