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.
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