summaryrefslogtreecommitdiff
path: root/Build/source/m4/kpse-t1lib-flags.m4
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/m4/kpse-t1lib-flags.m4')
-rw-r--r--Build/source/m4/kpse-t1lib-flags.m428
1 files changed, 28 insertions, 0 deletions
diff --git a/Build/source/m4/kpse-t1lib-flags.m4 b/Build/source/m4/kpse-t1lib-flags.m4
new file mode 100644
index 00000000000..0400715df98
--- /dev/null
+++ b/Build/source/m4/kpse-t1lib-flags.m4
@@ -0,0 +1,28 @@
+# 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_T1LIB_FLAGS([SHELL-CODE=DEFAULT-SHELL-CODE])
+# -------------------------------------------------
+# Provide the configure options '--with-system-t1lib' (if in the TL tree),
+# '--with-t1lib-includes', and '--with-t1lib-libdir'.
+#
+# Set the make variables T1LIB_INCLUDES and T1LIB_LIBS to the CPPFLAGS and
+# LIBS required for the `-lt1' library in libs/t1lib/ of the TL tree.
+AC_DEFUN([KPSE_T1LIB_FLAGS],
+[_KPSE_LIB_FLAGS([t1lib], [t1],
+ [$1],
+ [-IBLD/libs/t1lib], [BLD/libs/t1lib/libt1.a], [],
+ [], [${top_builddir}/../../libs/t1lib/t1lib.h])[]dnl
+]) # KPSE_T1LIB_FLAGS
+
+# KPSE_T1LIB_SYSTEM_FLAGS
+# -----------------------
+AC_DEFUN([KPSE_T1LIB_SYSTEM_FLAGS],
+[_KPSE_LIB_FLAGS_SYSTEM([t1lib], [t1])[]dnl
+]) # KPSE_T1LIB_SYSTEM_FLAGS