summaryrefslogtreecommitdiff
path: root/m4/intmax.m4
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-08-02 21:27:17 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-08-02 21:27:17 +0300
commit4b00462246822209b642a4dd63491e59a4fab759 (patch)
tree66d63daf1758333617c1e823177f88a06bccb3d9 /m4/intmax.m4
parentc5137ae530c49765049adb53777c79ebb7607ebe (diff)
downloadgawk-4b00462246822209b642a4dd63491e59a4fab759.tar.gz
Update autotools.
Diffstat (limited to 'm4/intmax.m4')
-rw-r--r--m4/intmax.m413
1 files changed, 8 insertions, 5 deletions
diff --git a/m4/intmax.m4 b/m4/intmax.m4
index 74aaaf5e..f70ceeea 100644
--- a/m4/intmax.m4
+++ b/m4/intmax.m4
@@ -1,5 +1,5 @@
-# intmax.m4 serial 5 (gettext-0.18)
-dnl Copyright (C) 2002-2005, 2008-2010 Free Software Foundation, Inc.
+# intmax.m4 serial 6 (gettext-0.18.2)
+dnl Copyright (C) 2002-2005, 2008-2014 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -13,7 +13,9 @@ AC_DEFUN([gt_TYPE_INTMAX_T],
AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
AC_REQUIRE([gl_AC_HEADER_STDINT_H])
AC_CACHE_CHECK([for intmax_t], [gt_cv_c_intmax_t],
- [AC_TRY_COMPILE([
+ [AC_COMPILE_IFELSE(
+ [AC_LANG_PROGRAM(
+ [[
#include <stddef.h>
#include <stdlib.h>
#if HAVE_STDINT_H_WITH_UINTMAX
@@ -22,8 +24,9 @@ AC_DEFUN([gt_TYPE_INTMAX_T],
#if HAVE_INTTYPES_H_WITH_UINTMAX
#include <inttypes.h>
#endif
-], [intmax_t x = -1;
- return !x;],
+ ]],
+ [[intmax_t x = -1;
+ return !x;]])],
[gt_cv_c_intmax_t=yes],
[gt_cv_c_intmax_t=no])])
if test $gt_cv_c_intmax_t = yes; then