summaryrefslogtreecommitdiffstats
path: root/gl/m4/stdint.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/stdint.m4')
-rw-r--r--gl/m4/stdint.m410
1 files changed, 4 insertions, 6 deletions
diff --git a/gl/m4/stdint.m4 b/gl/m4/stdint.m4
index 2eb1652..c3f0894 100644
--- a/gl/m4/stdint.m4
+++ b/gl/m4/stdint.m4
@@ -1,5 +1,5 @@
1# stdint.m4 serial 60 1# stdint.m4 serial 61
2dnl Copyright (C) 2001-2021 Free Software Foundation, Inc. 2dnl Copyright (C) 2001-2022 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
@@ -296,7 +296,7 @@ static const char *macro_values[] =
296 HAVE_C99_STDINT_H=0 296 HAVE_C99_STDINT_H=0
297 HAVE_SYS_BITYPES_H=0 297 HAVE_SYS_BITYPES_H=0
298 HAVE_SYS_INTTYPES_H=0 298 HAVE_SYS_INTTYPES_H=0
299 STDINT_H=stdint.h 299 GL_GENERATE_STDINT_H=true
300 case "$gl_cv_header_working_stdint_h" in 300 case "$gl_cv_header_working_stdint_h" in
301 *yes) 301 *yes)
302 HAVE_C99_STDINT_H=1 302 HAVE_C99_STDINT_H=1
@@ -341,7 +341,7 @@ int32_t i32 = INT32_C (0x7fffffff);
341 ]])], 341 ]])],
342 [gl_cv_header_stdint_width=yes])]) 342 [gl_cv_header_stdint_width=yes])])
343 if test "$gl_cv_header_stdint_width" = yes; then 343 if test "$gl_cv_header_stdint_width" = yes; then
344 STDINT_H= 344 GL_GENERATE_STDINT_H=false
345 fi 345 fi
346 ;; 346 ;;
347 *) 347 *)
@@ -364,8 +364,6 @@ int32_t i32 = INT32_C (0x7fffffff);
364 AC_SUBST([HAVE_C99_STDINT_H]) 364 AC_SUBST([HAVE_C99_STDINT_H])
365 AC_SUBST([HAVE_SYS_BITYPES_H]) 365 AC_SUBST([HAVE_SYS_BITYPES_H])
366 AC_SUBST([HAVE_SYS_INTTYPES_H]) 366 AC_SUBST([HAVE_SYS_INTTYPES_H])
367 AC_SUBST([STDINT_H])
368 AM_CONDITIONAL([GL_GENERATE_STDINT_H], [test -n "$STDINT_H"])
369]) 367])
370 368
371dnl gl_STDINT_BITSIZEOF(TYPES, INCLUDES) 369dnl gl_STDINT_BITSIZEOF(TYPES, INCLUDES)