diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-04-27 09:52:14 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-04-27 09:52:14 +0300 |
commit | 2ee1a96b398f3bd183a84509464770153a8890d4 (patch) | |
tree | a723fd480c88952af0e1270df3e61c0a8180e7a3 /m4/stdint_h.m4 | |
parent | d7dfcfc5bb3fa6aa01d96a079d4a0bc89cf3f5b0 (diff) | |
download | egawk-2ee1a96b398f3bd183a84509464770153a8890d4.tar.gz egawk-2ee1a96b398f3bd183a84509464770153a8890d4.tar.bz2 egawk-2ee1a96b398f3bd183a84509464770153a8890d4.zip |
Upgrade infrastructure to autoconf 2.69, automake 1.12.
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 ]) |