summaryrefslogtreecommitdiff
path: root/Build/source/m4/kpse-obsdcompat-flags.m4
blob: 16f6bc94bbd577f199eb4be3128037aed2e5afe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Public macros for the TeX Live (TL) tree.
# Copyright (C) 2009, 2012 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_OBSDCOMPAT_FLAGS
# ---------------------
# Set the make variables OBSDCOMPAT_INCLUDES and OBSDCOMPAT_LIBS to
# the CPPFLAGS and LIBS required for the `-lobsdcompat' library in
# libs/obsdcompat/ of the TL tree.
AC_DEFUN([KPSE_OBSDCOMPAT_FLAGS],
[_KPSE_LIB_FLAGS([obsdcompat], [openbsd-compat], [tree],
                 [-IBLD/libs/obsdcompat -ISRC/libs/obsdcompat],
                 [BLD/libs/obsdcompat/libopenbsd-compat.a], [],
                 [${top_srcdir}/../../libs/obsdcompat/*.[ch]])[]dnl
]) # KPSE_OBSDCOMPAT_FLAGS