diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-04-27 10:10:07 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-04-27 10:10:07 +0300 |
commit | fa620d22a63f26f8098d7b4c4b835ad27c1b13a7 (patch) | |
tree | 75dc9ee66c3cac1c6a7796d404aee0f0836a106f /m4/stdint_h.m4 | |
parent | ed69ad69e9e4603fef71510cfef13d2a8b153ae0 (diff) | |
parent | 2ee1a96b398f3bd183a84509464770153a8890d4 (diff) | |
download | egawk-fa620d22a63f26f8098d7b4c4b835ad27c1b13a7.tar.gz egawk-fa620d22a63f26f8098d7b4c4b835ad27c1b13a7.tar.bz2 egawk-fa620d22a63f26f8098d7b4c4b835ad27c1b13a7.zip |
Merge branch 'gawk-4.0-stable' (latest infrastructure).
Diffstat (limited to 'm4/stdint_h.m4')
-rw-r--r-- | m4/stdint_h.m4 | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/m4/stdint_h.m4 b/m4/stdint_h.m4 index 86da6d78..b8e3c6cc 100644 --- a/m4/stdint_h.m4 +++ b/m4/stdint_h.m4 @@ -1,5 +1,5 @@ -# stdint_h.m4 serial 6 -dnl Copyright (C) 1997-2004, 2006 Free Software Foundation, Inc. +# stdint_h.m4 serial 8 +dnl Copyright (C) 1997-2004, 2006, 2008-2010 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. @@ -11,21 +11,16 @@ dnl From Paul Eggert. AC_DEFUN([gl_AC_HEADER_STDINT_H], [ - if test "OS/390" = "`uname`" - then - gl_cv_header_stdint_h=no - else - AC_CACHE_CHECK([for stdint.h], gl_cv_header_stdint_h, - [AC_TRY_COMPILE( - [#include <sys/types.h> + AC_CACHE_CHECK([for stdint.h], [gl_cv_header_stdint_h], + [AC_TRY_COMPILE( + [#include <sys/types.h> #include <stdint.h>], - [uintmax_t i = (uintmax_t) -1; return !i;], - gl_cv_header_stdint_h=yes, - gl_cv_header_stdint_h=no)]) - if test $gl_cv_header_stdint_h = yes; then - AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1, - [Define if <stdint.h> exists, doesn't clash with <sys/types.h>, - and declares uintmax_t. ]) - fi + [uintmax_t i = (uintmax_t) -1; return !i;], + [gl_cv_header_stdint_h=yes], + [gl_cv_header_stdint_h=no])]) + if test $gl_cv_header_stdint_h = yes; then + AC_DEFINE_UNQUOTED([HAVE_STDINT_H_WITH_UINTMAX], [1], + [Define if <stdint.h> exists, doesn't clash with <sys/types.h>, + and declares uintmax_t. ]) fi ]) |