1# Public macros for the TeX Live (TL) tree. 2# Copyright (C) 2010-2015 Peter Breitenlohner <tex-live@tug.org> 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_ZZIPLIB_FLAGS 9# ------------------ 10# Provide the configure options '--with-system-zziplib' (if in the TL tree), 11# '--with-zziplib-includes', and '--with-zziplib-libdir'. 12# 13# Set the make variables ZZIPLIB_INCLUDES and ZZIPLIB_LIBS to the CPPFLAGS and 14# LIBS required for the `-lpng' library in libs/zziplib/ of the TL tree. 15AC_DEFUN([KPSE_ZZIPLIB_FLAGS], [dnl 16AC_REQUIRE([KPSE_ZLIB_FLAGS])[]dnl 17_KPSE_LIB_FLAGS([zziplib], [zzip], [], 18 [-IBLD/libs/zziplib/include], [BLD/libs/zziplib/libzzip.a], [], 19 [], [${top_builddir}/../../libs/zziplib/include/zzip/zzip.h])[]dnl 20]) # KPSE_ZZIPLIB_FLAGS 21 22# KPSE_ZZIPLIB_OPTIONS([WITH-SYSTEM]) 23# ----------------------------------- 24AC_DEFUN([KPSE_ZZIPLIB_OPTIONS], [_KPSE_LIB_OPTIONS([zziplib], [$1], [pkg-config])]) 25 26# KPSE_ZZIPLIB_SYSTEM_FLAGS 27# ------------------------- 28AC_DEFUN([KPSE_ZZIPLIB_SYSTEM_FLAGS], [dnl 29_KPSE_PKG_CONFIG_FLAGS([zziplib], [zziplib], [0.12])]) 30