summaryrefslogtreecommitdiff
path: root/Build/source/m4/kpse-obsdcompat-flags.m4
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/m4/kpse-obsdcompat-flags.m4')
-rw-r--r--Build/source/m4/kpse-obsdcompat-flags.m421
1 files changed, 21 insertions, 0 deletions
diff --git a/Build/source/m4/kpse-obsdcompat-flags.m4 b/Build/source/m4/kpse-obsdcompat-flags.m4
new file mode 100644
index 00000000000..7a9b4b176fb
--- /dev/null
+++ b/Build/source/m4/kpse-obsdcompat-flags.m4
@@ -0,0 +1,21 @@
+# Public macros for the teTeX / 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], [],
+ [-IBLD/libs/obsdcompat -ISRC/libs/obsdcompat],
+ [BLD/libs/obsdcompat/libopenbsd-compat.a],
+ [tree],
+ [${top_srcdir}/../../libs/obsdcompat/*.[ch]])[]dnl
+]) # KPSE_OBSDCOMPAT_FLAGS