| 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 |
# serial 0 |
| 9 |
|
| 10 |
# KPSE_PPLIB_FLAGS |
| 11 |
# ----------------- |
| 12 |
# Provide the configure options '--with-system-PPLIB' (if in the TL tree). |
| 13 |
# |
| 14 |
# Set the make variables PPLIB_INCLUDES and PPLIB_LIBS to the CPPFLAGS and |
| 15 |
# LIBS required for the `-lpplib' library in libs/pplib/ of the TL tree. |
| 16 |
AC_DEFUN([KPSE_PPLIB_FLAGS], [dnl |
| 17 |
AC_REQUIRE([KPSE_SAVE_FLAGS])[]dnl |
| 18 |
_KPSE_LIB_FLAGS([pplib], [pplib], [tree], |
| 19 |
[-IBLD/libs/pplib/include], [BLD/libs/pplib/libpplib.a], [], |
| 20 |
[], [${top_builddir}/../../libs/pplib/include/pplib.h])[]dnl |
| 21 |
]) # KPSE_PPLIB_FLAGS |
| 22 |
|
| 23 |
# KPSE_PPLIB_OPTIONS([WITH-SYSTEM]) |
| 24 |
# ---------------------------------- |
| 25 |
AC_DEFUN([KPSE_PPLIB_OPTIONS], [_KPSE_LIB_OPTIONS([PPLIB], [$1], [pkg-config])]) |
| 26 |
|
| 27 |
# KPSE_PPLIB_SYSTEM_FLAGS |
| 28 |
# ------------------------ |
| 29 |
AC_DEFUN([KPSE_PPLIB_SYSTEM_FLAGS], [dnl |
| 30 |
_KPSE_PKG_CONFIG_FLAGS([PPLIB], [PPLIB])]) |