1 # Public macros for the TeX Live (TL) tree.
2 # Copyright (C) 2012-2015 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.
10 # Provide the configure options '--with-system-pixman' (if in the TL tree).
12 # Set the make variables PIXMAN_INCLUDES and PIXMAN_LIBS to the CPPFLAGS and
13 # LIBS required for the `-lpixman-1' library in libs/pixman/ of the TL tree.
14 AC_DEFUN([KPSE_PIXMAN_FLAGS], [dnl
15 _KPSE_LIB_FLAGS([pixman], [pixman], [],
16 [-IBLD/libs/pixman/include], [BLD/libs/pixman/libpixman.a], [],
17 [], [${top_builddir}/../../libs/pixman/include/pixman.h])[]dnl
18 ]) # KPSE_PIXMAN_FLAGS
20 # KPSE_PIXMAN_OPTIONS([WITH-SYSTEM])
21 # ----------------------------------
22 AC_DEFUN([KPSE_PIXMAN_OPTIONS], [_KPSE_LIB_OPTIONS([pixman], [$1], [pkg-config])])
24 # KPSE_PIXMAN_SYSTEM_FLAGS
25 # ------------------------
26 AC_DEFUN([KPSE_PIXMAN_SYSTEM_FLAGS], [dnl
27 _KPSE_PKG_CONFIG_FLAGS([pixman], [pixman-1], [0.18])])