beta-0.89.2
[luatex.git] / source / m4 / kpse-size-max.m4
blob4f03a3a2481b8f536b6b07e19bf654a5af23c402
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 holder
5 # gives 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