summaryrefslogtreecommitdiff
path: root/Build/source/m4/kpse-size-max.m4
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-06-18 11:12:01 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-06-18 11:12:01 +0000
commit0c2f0333a4e539325da80cdf3fb182cd17134665 (patch)
treede5daa66b5595292a33c25110aa58ff8bff75543 /Build/source/m4/kpse-size-max.m4
parentdb612d5045ef55da386a2c3350d4811d1da1a858 (diff)
Add libs/gmp and libs/mpfr in preparation for MetaPost 2.0
git-svn-id: svn://tug.org/texlive/trunk@34274 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/m4/kpse-size-max.m4')
-rw-r--r--Build/source/m4/kpse-size-max.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/Build/source/m4/kpse-size-max.m4 b/Build/source/m4/kpse-size-max.m4
new file mode 100644
index 00000000000..d80276c42d7
--- /dev/null
+++ b/Build/source/m4/kpse-size-max.m4
@@ -0,0 +1,15 @@
+# Public macros for the TeX Live (TL) tree.
+# Copyright (C) 2014 Peter Breitenlohner <tex-live@tug.org>
+#
+# This file is free software; the copyright holders
+# give unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# KPSE_CHECK_SIZE_MAX
+# -------------------
+# Define SIZE_MAX if necessary, e.g., for Solaris 9.
+AC_DEFUN([KPSE_CHECK_SIZE_MAX], [dnl
+AC_CHECK_DECL([SIZE_MAX], , [dnl
+AC_DEFINE([SIZE_MAX], [((size_t)-1)],
+ [Define to `((size_t)-1)' if <stdint.h> does not define it.])])[]dnl
+]) # KPSE_CHECK_SIZE_MAX