sync with luatex experimental. WARNING: new format ! Version update to 0.79.2 .
[luatex.git] / source / m4 / kpse-size-max.m4
blobd80276c42d76961a2681d20da2486ffdd50972a5
1 # Public macros for the TeX Live (TL) tree.
2 # Copyright (C) 2014 Peter Breitenlohner <tex-live@tug.org>
4 # This file is free software; the copyright holders
5 # give unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # KPSE_CHECK_SIZE_MAX
9 # -------------------
10 # Define SIZE_MAX if necessary, e.g., for Solaris 9.
11 AC_DEFUN([KPSE_CHECK_SIZE_MAX], [dnl
12 AC_CHECK_DECL([SIZE_MAX], , [dnl
13 AC_DEFINE([SIZE_MAX], [((size_t)-1)],
14           [Define to `((size_t)-1)' if <stdint.h> does not define it.])])[]dnl
15 ]) # KPSE_CHECK_SIZE_MAX