summaryrefslogtreecommitdiff
path: root/Build/source/m4/kpse-obsdcompat-flags.m4
blob: 0a093b0be6b497923c8207c8892825e7e7b03b8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Public macros for the TeX Live (TL) tree.
# Copyright (C) 2009 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.

# serial 0

# 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