diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-10-24 14:26:46 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-10-24 14:26:46 +0000 |
commit | 3abca69ae2714caba89314bd9d7c003b10801c6c (patch) | |
tree | 79ce78c82d028584ff7a00d4f81c9cd443a1489c /Build/source/m4/kpse-paper-flags.m4 | |
parent | 75e42af0e9b0601844032849e0a5be947c3ee237 (diff) |
libs/paper: Add libpaper 1.1.24+nmu2
git-svn-id: svn://tug.org/texlive/trunk@31986 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/m4/kpse-paper-flags.m4')
-rw-r--r-- | Build/source/m4/kpse-paper-flags.m4 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Build/source/m4/kpse-paper-flags.m4 b/Build/source/m4/kpse-paper-flags.m4 new file mode 100644 index 00000000000..b29e2953815 --- /dev/null +++ b/Build/source/m4/kpse-paper-flags.m4 @@ -0,0 +1,28 @@ +# Public macros for the TeX Live (TL) tree. +# Copyright (C) 2013 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. + +# KPSE_PAPER_FLAGS +# --------------- +# Provide the configure options '--with-system-paper' (if in the TL tree), +# '--with-paper-includes', and '--with-paper-libdir'. +# +# Set the make variables PAPER_INCLUDES and PAPER_LIBS to the CPPFLAGS and +# LIBS required for the `-lz' library in libs/paper/ of the TL tree. +AC_DEFUN([KPSE_PAPER_FLAGS], [dnl +AC_REQUIRE([KPSE_SAVE_FLAGS])[]dnl +_KPSE_LIB_FLAGS([paper], [paper], [], + [-IBLD/libs/paper/include], [BLD/libs/paper/libz.a], [], + [], [${top_builddir}/../../libs/paper/include/paper.h])[]dnl +]) # KPSE_PAPER_FLAGS + +# KPSE_PAPER_OPTIONS([WITH-SYSTEM]) +# -------------------------------- +AC_DEFUN([KPSE_PAPER_OPTIONS], [_KPSE_LIB_OPTIONS([paper], [$1])]) + +# KPSE_PAPER_SYSTEM_FLAGS +# ---------------------- +AC_DEFUN([KPSE_PAPER_SYSTEM_FLAGS], [_KPSE_LIB_FLAGS_SYSTEM([paper], [z])]) |