| 1 |
# Public macros for the TeX Live (TL) tree. |
| 2 |
# Copyright (C) 2012-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 |
# KPSE_GRAPHITE2_FLAGS |
| 9 |
# -------------------- |
| 10 |
# Provide the configure options '--with-system-graphite2' (if in the TL tree). |
| 11 |
# |
| 12 |
# Set the make variables GRAPHITE2_INCLUDES and GRAPHITE2_LIBS to the CPPFLAGS and |
| 13 |
# LIBS required for the `-lgraphite2' library in libs/graphite2/ of the TL tree. |
| 14 |
AC_DEFUN([KPSE_GRAPHITE2_FLAGS], [dnl |
| 15 |
_KPSE_LIB_FLAGS([graphite2], [graphite2], [], |
| 16 |
[-IBLD/libs/graphite2/include -DGRAPHITE2_STATIC], |
| 17 |
[BLD/libs/graphite2/libgraphite2.a], [], |
| 18 |
[], [${top_builddir}/../../libs/graphite2/include/graphite2/Font.h])[]dnl |
| 19 |
]) # KPSE_GRAPHITE2_FLAGS |
| 20 |
|
| 21 |
# KPSE_GRAPHITE2_OPTIONS([WITH-SYSTEM]) |
| 22 |
# ------------------------------------- |
| 23 |
AC_DEFUN([KPSE_GRAPHITE2_OPTIONS], [_KPSE_LIB_OPTIONS([graphite2], [$1], [pkg-config])]) |
| 24 |
|
| 25 |
# KPSE_GRAPHITE2_SYSTEM_FLAGS |
| 26 |
# --------------------------- |
| 27 |
AC_DEFUN([KPSE_GRAPHITE2_SYSTEM_FLAGS], [dnl |
| 28 |
_KPSE_PKG_CONFIG_FLAGS([graphite2], [graphite2])]) |