diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-08-02 21:30:56 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-08-02 21:30:56 +0300 |
commit | c3bb90c5fd1ab7c844253ca9be77974c3ff9f572 (patch) | |
tree | ff44575901fb3d78ba55a74fc1f1cef7ba2d12a8 /m4/intmax.m4 | |
parent | 8e90e97556b42669da322c731091d76db9334c58 (diff) | |
parent | 4d928b409634fa305ccb26975e59ae8ca447cf12 (diff) | |
download | egawk-c3bb90c5fd1ab7c844253ca9be77974c3ff9f572.tar.gz egawk-c3bb90c5fd1ab7c844253ca9be77974c3ff9f572.tar.bz2 egawk-c3bb90c5fd1ab7c844253ca9be77974c3ff9f572.zip |
Merge branch 'master' into feature/cmake
Diffstat (limited to 'm4/intmax.m4')
-rw-r--r-- | m4/intmax.m4 | 13 |
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 |