aboutsummaryrefslogtreecommitdiffstats
path: root/m4/inttypes.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/inttypes.m4')
-rw-r--r--m4/inttypes.m423
1 files changed, 14 insertions, 9 deletions
diff --git a/m4/inttypes.m4 b/m4/inttypes.m4
index 779bcea0..50677025 100644
--- a/m4/inttypes.m4
+++ b/m4/inttypes.m4
@@ -11,15 +11,20 @@ dnl From Paul Eggert.
AC_DEFUN([gt_HEADER_INTTYPES_H],
[
- AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h,
- [
- AC_TRY_COMPILE(
- [#include <sys/types.h>
+ if test "OS/390" = "`uname`"
+ then
+ gt_cv_header_inttypes_h=no
+ else
+ AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h,
+ [
+ AC_TRY_COMPILE(
+ [#include <sys/types.h>
#include <inttypes.h>],
- [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no)
- ])
- if test $gt_cv_header_inttypes_h = yes; then
- AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
- [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.])
+ [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no)
+ ])
+ if test $gt_cv_header_inttypes_h = yes; then
+ AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
+ [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.])
+ fi
fi
])