diff options
| author | Glenn Morris | 2011-04-27 02:48:35 -0400 |
|---|---|---|
| committer | Glenn Morris | 2011-04-27 02:48:35 -0400 |
| commit | 4fda9c95da6c54ad4457f18ef356e00900708d02 (patch) | |
| tree | 8d7987b3e623194ed540234c0f6c9f7216ce1cdf | |
| parent | f717c834b9d6717f9fa636a5512220639a8b6015 (diff) | |
| download | emacs-4fda9c95da6c54ad4457f18ef356e00900708d02.tar.gz emacs-4fda9c95da6c54ad4457f18ef356e00900708d02.zip | |
Auto-commit of generated files.
| -rw-r--r-- | autogen/Makefile.in | 114 | ||||
| -rw-r--r-- | autogen/aclocal.m4 | 3 | ||||
| -rw-r--r-- | autogen/config.in | 31 | ||||
| -rwxr-xr-x | autogen/configure | 1451 |
4 files changed, 1306 insertions, 293 deletions
diff --git a/autogen/Makefile.in b/autogen/Makefile.in index 5713f89adfe..b3afeead357 100644 --- a/autogen/Makefile.in +++ b/autogen/Makefile.in | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | # the same distribution terms as the rest of that program. | 24 | # the same distribution terms as the rest of that program. |
| 25 | # | 25 | # |
| 26 | # Generated by gnulib-tool. | 26 | # Generated by gnulib-tool. |
| 27 | # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --no-libtool --macro-prefix=gl --no-vc-files careadlinkat crypto/md5 dtoastr filemode getloadavg getopt-gnu ignore-value intprops lstat mktime readlink socklen stdio strftime symlink sys_stat | 27 | # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --no-libtool --macro-prefix=gl --no-vc-files careadlinkat crypto/md5 dtoastr filemode getloadavg getopt-gnu ignore-value intprops lstat mktime readlink socklen stdio strftime strtoumax symlink sys_stat |
| 28 | 28 | ||
| 29 | VPATH = @srcdir@ | 29 | VPATH = @srcdir@ |
| 30 | pkgdatadir = $(datadir)/@PACKAGE@ | 30 | pkgdatadir = $(datadir)/@PACKAGE@ |
| @@ -54,19 +54,20 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ | |||
| 54 | $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/getloadavg.m4 \ | 54 | $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/getloadavg.m4 \ |
| 55 | $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gl-comp.m4 \ | 55 | $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gl-comp.m4 \ |
| 56 | $(top_srcdir)/m4/gnulib-common.m4 \ | 56 | $(top_srcdir)/m4/gnulib-common.m4 \ |
| 57 | $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \ | 57 | $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inttypes.m4 \ |
| 58 | $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/md5.m4 \ | 58 | $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lstat.m4 \ |
| 59 | $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/multiarch.m4 \ | 59 | $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/mktime.m4 \ |
| 60 | $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/socklen.m4 \ | 60 | $(top_srcdir)/m4/multiarch.m4 $(top_srcdir)/m4/readlink.m4 \ |
| 61 | $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ | 61 | $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/ssize_t.m4 \ |
| 62 | $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdbool.m4 \ | 62 | $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat.m4 \ |
| 63 | $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ | 63 | $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ |
| 64 | $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ | 64 | $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \ |
| 65 | $(top_srcdir)/m4/strftime.m4 $(top_srcdir)/m4/symlink.m4 \ | 65 | $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strftime.m4 \ |
| 66 | $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/time_h.m4 \ | 66 | $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/strtoumax.m4 \ |
| 67 | $(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/tm_gmtoff.m4 \ | 67 | $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_stat_h.m4 \ |
| 68 | $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ | 68 | $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/time_r.m4 \ |
| 69 | $(top_srcdir)/configure.in | 69 | $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/unistd_h.m4 \ |
| 70 | $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/configure.in | ||
| 70 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | 71 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
| 71 | $(ACLOCAL_M4) | 72 | $(ACLOCAL_M4) |
| 72 | mkinstalldirs = $(install_sh) -d | 73 | mkinstalldirs = $(install_sh) -d |
| @@ -201,6 +202,8 @@ GNULIB_GETS = @GNULIB_GETS@ | |||
| 201 | GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ | 202 | GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ |
| 202 | GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ | 203 | GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ |
| 203 | GNULIB_GRANTPT = @GNULIB_GRANTPT@ | 204 | GNULIB_GRANTPT = @GNULIB_GRANTPT@ |
| 205 | GNULIB_IMAXABS = @GNULIB_IMAXABS@ | ||
| 206 | GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ | ||
| 204 | GNULIB_LCHMOD = @GNULIB_LCHMOD@ | 207 | GNULIB_LCHMOD = @GNULIB_LCHMOD@ |
| 205 | GNULIB_LCHOWN = @GNULIB_LCHOWN@ | 208 | GNULIB_LCHOWN = @GNULIB_LCHOWN@ |
| 206 | GNULIB_LINK = @GNULIB_LINK@ | 209 | GNULIB_LINK = @GNULIB_LINK@ |
| @@ -257,8 +260,10 @@ GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ | |||
| 257 | GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ | 260 | GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ |
| 258 | GNULIB_STRPTIME = @GNULIB_STRPTIME@ | 261 | GNULIB_STRPTIME = @GNULIB_STRPTIME@ |
| 259 | GNULIB_STRTOD = @GNULIB_STRTOD@ | 262 | GNULIB_STRTOD = @GNULIB_STRTOD@ |
| 263 | GNULIB_STRTOIMAX = @GNULIB_STRTOIMAX@ | ||
| 260 | GNULIB_STRTOLL = @GNULIB_STRTOLL@ | 264 | GNULIB_STRTOLL = @GNULIB_STRTOLL@ |
| 261 | GNULIB_STRTOULL = @GNULIB_STRTOULL@ | 265 | GNULIB_STRTOULL = @GNULIB_STRTOULL@ |
| 266 | GNULIB_STRTOUMAX = @GNULIB_STRTOUMAX@ | ||
| 262 | GNULIB_SYMLINK = @GNULIB_SYMLINK@ | 267 | GNULIB_SYMLINK = @GNULIB_SYMLINK@ |
| 263 | GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ | 268 | GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ |
| 264 | GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ | 269 | GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ |
| @@ -310,10 +315,14 @@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ | |||
| 310 | HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ | 315 | HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ |
| 311 | HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ | 316 | HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ |
| 312 | HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ | 317 | HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ |
| 318 | HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ | ||
| 319 | HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ | ||
| 313 | HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ | 320 | HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ |
| 314 | HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ | 321 | HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ |
| 315 | HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ | 322 | HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ |
| 316 | HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ | 323 | HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ |
| 324 | HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ | ||
| 325 | HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ | ||
| 317 | HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ | 326 | HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ |
| 318 | HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ | 327 | HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ |
| 319 | HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ | 328 | HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ |
| @@ -413,6 +422,8 @@ INSTALL_INFO = @INSTALL_INFO@ | |||
| 413 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | 422 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| 414 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | 423 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
| 415 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | 424 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
| 425 | INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ | ||
| 426 | INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ | ||
| 416 | KRB4LIB = @KRB4LIB@ | 427 | KRB4LIB = @KRB4LIB@ |
| 417 | KRB5LIB = @KRB5LIB@ | 428 | KRB5LIB = @KRB5LIB@ |
| 418 | LDFLAGS = @LDFLAGS@ | 429 | LDFLAGS = @LDFLAGS@ |
| @@ -466,6 +477,7 @@ MKDIR_P = @MKDIR_P@ | |||
| 466 | MOUSE_SUPPORT = @MOUSE_SUPPORT@ | 477 | MOUSE_SUPPORT = @MOUSE_SUPPORT@ |
| 467 | M_FILE = @M_FILE@ | 478 | M_FILE = @M_FILE@ |
| 468 | NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ | 479 | NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ |
| 480 | NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ | ||
| 469 | NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ | 481 | NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ |
| 470 | NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ | 482 | NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ |
| 471 | NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ | 483 | NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ |
| @@ -474,6 +486,7 @@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ | |||
| 474 | NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ | 486 | NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ |
| 475 | NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ | 487 | NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ |
| 476 | NEXT_GETOPT_H = @NEXT_GETOPT_H@ | 488 | NEXT_GETOPT_H = @NEXT_GETOPT_H@ |
| 489 | NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ | ||
| 477 | NEXT_STDDEF_H = @NEXT_STDDEF_H@ | 490 | NEXT_STDDEF_H = @NEXT_STDDEF_H@ |
| 478 | NEXT_STDINT_H = @NEXT_STDINT_H@ | 491 | NEXT_STDINT_H = @NEXT_STDINT_H@ |
| 479 | NEXT_STDIO_H = @NEXT_STDIO_H@ | 492 | NEXT_STDIO_H = @NEXT_STDIO_H@ |
| @@ -502,6 +515,8 @@ POST_ALLOC_OBJ = @POST_ALLOC_OBJ@ | |||
| 502 | PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ | 515 | PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ |
| 503 | PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ | 516 | PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ |
| 504 | PRE_ALLOC_OBJ = @PRE_ALLOC_OBJ@ | 517 | PRE_ALLOC_OBJ = @PRE_ALLOC_OBJ@ |
| 518 | PRIPTR_PREFIX = @PRIPTR_PREFIX@ | ||
| 519 | PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ | ||
| 505 | PROFILING_CFLAGS = @PROFILING_CFLAGS@ | 520 | PROFILING_CFLAGS = @PROFILING_CFLAGS@ |
| 506 | PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ | 521 | PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ |
| 507 | PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ | 522 | PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ |
| @@ -608,6 +623,8 @@ TERMCAP_OBJ = @TERMCAP_OBJ@ | |||
| 608 | TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ | 623 | TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ |
| 609 | TOOLKIT_LIBW = @TOOLKIT_LIBW@ | 624 | TOOLKIT_LIBW = @TOOLKIT_LIBW@ |
| 610 | TOOLTIP_SUPPORT = @TOOLTIP_SUPPORT@ | 625 | TOOLTIP_SUPPORT = @TOOLTIP_SUPPORT@ |
| 626 | UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ | ||
| 627 | UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ | ||
| 611 | UNEXEC_OBJ = @UNEXEC_OBJ@ | 628 | UNEXEC_OBJ = @UNEXEC_OBJ@ |
| 612 | UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ | 629 | UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ |
| 613 | UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ | 630 | UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ |
| @@ -705,32 +722,35 @@ x_default_search_path = @x_default_search_path@ | |||
| 705 | # statements but through direct file reference. Therefore this snippet must be | 722 | # statements but through direct file reference. Therefore this snippet must be |
| 706 | # present in all Makefile.am that need it. This is ensured by the applicability | 723 | # present in all Makefile.am that need it. This is ensured by the applicability |
| 707 | # 'all' defined above. | 724 | # 'all' defined above. |
| 708 | BUILT_SOURCES = arg-nonnull.h c++defs.h $(GETOPT_H) $(STDBOOL_H) \ | 725 | BUILT_SOURCES = arg-nonnull.h c++defs.h $(GETOPT_H) inttypes.h \ |
| 709 | $(STDDEF_H) $(STDINT_H) stdio.h stdlib.h sys/stat.h time.h \ | 726 | $(STDBOOL_H) $(STDDEF_H) $(STDINT_H) stdio.h stdlib.h \ |
| 710 | unistd.h warn-on-use.h | 727 | sys/stat.h time.h unistd.h warn-on-use.h |
| 711 | EXTRA_DIST = allocator.h $(top_srcdir)/./arg-nonnull.h \ | 728 | EXTRA_DIST = allocator.h $(top_srcdir)/./arg-nonnull.h \ |
| 712 | $(top_srcdir)/./c++defs.h careadlinkat.h md5.c md5.h dosname.h \ | 729 | $(top_srcdir)/./c++defs.h careadlinkat.h md5.c md5.h dosname.h \ |
| 713 | ftoastr.c ftoastr.h filemode.c filemode.h getloadavg.c \ | 730 | ftoastr.c ftoastr.h filemode.c filemode.h getloadavg.c \ |
| 714 | getopt.c getopt.in.h getopt1.c getopt_int.h intprops.h lstat.c \ | 731 | getopt.c getopt.in.h getopt1.c getopt_int.h intprops.h \ |
| 715 | mktime-internal.h mktime.c readlink.c stat.c stdbool.in.h \ | 732 | inttypes.in.h lstat.c mktime-internal.h mktime.c readlink.c \ |
| 716 | stddef.in.h stdint.in.h stdio.in.h stdlib.in.h strftime.c \ | 733 | stat.c stdbool.in.h stddef.in.h stdint.in.h stdio.in.h \ |
| 717 | strftime.h symlink.c sys_stat.in.h time.in.h time_r.c \ | 734 | stdlib.in.h strftime.c strftime.h strtol.c strtoul.c \ |
| 718 | unistd.in.h $(top_srcdir)/./warn-on-use.h | 735 | strtoull.c strtoimax.c strtoumax.c symlink.c sys_stat.in.h \ |
| 736 | time.in.h time_r.c unistd.in.h $(top_srcdir)/./warn-on-use.h | ||
| 719 | MOSTLYCLEANDIRS = sys | 737 | MOSTLYCLEANDIRS = sys |
| 720 | MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \ | 738 | MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \ |
| 721 | c++defs.h c++defs.h-t getopt.h getopt.h-t stdbool.h \ | 739 | c++defs.h c++defs.h-t getopt.h getopt.h-t inttypes.h \ |
| 722 | stdbool.h-t stddef.h stddef.h-t stdint.h stdint.h-t stdio.h \ | 740 | inttypes.h-t stdbool.h stdbool.h-t stddef.h stddef.h-t \ |
| 723 | stdio.h-t stdlib.h stdlib.h-t sys/stat.h sys/stat.h-t time.h \ | 741 | stdint.h stdint.h-t stdio.h stdio.h-t stdlib.h stdlib.h-t \ |
| 724 | time.h-t unistd.h unistd.h-t warn-on-use.h warn-on-use.h-t | 742 | sys/stat.h sys/stat.h-t time.h time.h-t unistd.h unistd.h-t \ |
| 743 | warn-on-use.h warn-on-use.h-t | ||
| 725 | noinst_LIBRARIES = libgnu.a | 744 | noinst_LIBRARIES = libgnu.a |
| 726 | DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src | 745 | DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src |
| 727 | libgnu_a_SOURCES = allocator.c careadlinkat.c dtoastr.c gettext.h \ | 746 | libgnu_a_SOURCES = allocator.c careadlinkat.c dtoastr.c gettext.h \ |
| 728 | ignore-value.h | 747 | ignore-value.h verify.h |
| 729 | libgnu_a_LIBADD = $(gl_LIBOBJS) | 748 | libgnu_a_LIBADD = $(gl_LIBOBJS) |
| 730 | libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) | 749 | libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) |
| 731 | EXTRA_libgnu_a_SOURCES = md5.c ftoastr.c filemode.c getloadavg.c \ | 750 | EXTRA_libgnu_a_SOURCES = md5.c ftoastr.c filemode.c getloadavg.c \ |
| 732 | getopt.c getopt1.c lstat.c mktime.c readlink.c stat.c \ | 751 | getopt.c getopt1.c lstat.c mktime.c readlink.c stat.c \ |
| 733 | strftime.c symlink.c time_r.c | 752 | strftime.c strtol.c strtoul.c strtoull.c strtoimax.c \ |
| 753 | strtoumax.c symlink.c time_r.c | ||
| 734 | ARG_NONNULL_H = arg-nonnull.h | 754 | ARG_NONNULL_H = arg-nonnull.h |
| 735 | CXXDEFS_H = c++defs.h | 755 | CXXDEFS_H = c++defs.h |
| 736 | WARN_ON_USE_H = warn-on-use.h | 756 | WARN_ON_USE_H = warn-on-use.h |
| @@ -797,6 +817,11 @@ distclean-compile: | |||
| 797 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readlink.Po@am__quote@ | 817 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readlink.Po@am__quote@ |
| 798 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat.Po@am__quote@ | 818 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat.Po@am__quote@ |
| 799 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strftime.Po@am__quote@ | 819 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strftime.Po@am__quote@ |
| 820 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strtoimax.Po@am__quote@ | ||
| 821 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strtol.Po@am__quote@ | ||
| 822 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strtoul.Po@am__quote@ | ||
| 823 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strtoull.Po@am__quote@ | ||
| 824 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strtoumax.Po@am__quote@ | ||
| 800 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symlink.Po@am__quote@ | 825 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symlink.Po@am__quote@ |
| 801 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/time_r.Po@am__quote@ | 826 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/time_r.Po@am__quote@ |
| 802 | 827 | ||
| @@ -1046,6 +1071,39 @@ getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) | |||
| 1046 | } > $@-t && \ | 1071 | } > $@-t && \ |
| 1047 | mv -f $@-t $@ | 1072 | mv -f $@-t $@ |
| 1048 | 1073 | ||
| 1074 | # We need the following in order to create <inttypes.h> when the system | ||
| 1075 | # doesn't have one that works with the given compiler. | ||
| 1076 | inttypes.h: inttypes.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) $(ARG_NONNULL_H) | ||
| 1077 | $(AM_V_GEN)rm -f $@-t $@ && \ | ||
| 1078 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | ||
| 1079 | sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ | ||
| 1080 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | ||
| 1081 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | ||
| 1082 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | ||
| 1083 | -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \ | ||
| 1084 | -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \ | ||
| 1085 | -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ | ||
| 1086 | -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ | ||
| 1087 | -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ | ||
| 1088 | -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \ | ||
| 1089 | -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \ | ||
| 1090 | -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \ | ||
| 1091 | -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \ | ||
| 1092 | -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \ | ||
| 1093 | -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \ | ||
| 1094 | -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \ | ||
| 1095 | -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \ | ||
| 1096 | -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \ | ||
| 1097 | -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \ | ||
| 1098 | -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \ | ||
| 1099 | -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \ | ||
| 1100 | -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \ | ||
| 1101 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | ||
| 1102 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | ||
| 1103 | < $(srcdir)/inttypes.in.h; \ | ||
| 1104 | } > $@-t && \ | ||
| 1105 | mv $@-t $@ | ||
| 1106 | |||
| 1049 | # We need the following in order to create <stdbool.h> when the system | 1107 | # We need the following in order to create <stdbool.h> when the system |
| 1050 | # doesn't have one that works. | 1108 | # doesn't have one that works. |
| 1051 | @GL_GENERATE_STDBOOL_H_TRUE@stdbool.h: stdbool.in.h $(top_builddir)/config.status | 1109 | @GL_GENERATE_STDBOOL_H_TRUE@stdbool.h: stdbool.in.h $(top_builddir)/config.status |
diff --git a/autogen/aclocal.m4 b/autogen/aclocal.m4 index 6cf66104e03..2676d05f60b 100644 --- a/autogen/aclocal.m4 +++ b/autogen/aclocal.m4 | |||
| @@ -993,6 +993,7 @@ m4_include([m4/getopt.m4]) | |||
| 993 | m4_include([m4/gl-comp.m4]) | 993 | m4_include([m4/gl-comp.m4]) |
| 994 | m4_include([m4/gnulib-common.m4]) | 994 | m4_include([m4/gnulib-common.m4]) |
| 995 | m4_include([m4/include_next.m4]) | 995 | m4_include([m4/include_next.m4]) |
| 996 | m4_include([m4/inttypes.m4]) | ||
| 996 | m4_include([m4/longlong.m4]) | 997 | m4_include([m4/longlong.m4]) |
| 997 | m4_include([m4/lstat.m4]) | 998 | m4_include([m4/lstat.m4]) |
| 998 | m4_include([m4/md5.m4]) | 999 | m4_include([m4/md5.m4]) |
| @@ -1009,6 +1010,8 @@ m4_include([m4/stdint.m4]) | |||
| 1009 | m4_include([m4/stdio_h.m4]) | 1010 | m4_include([m4/stdio_h.m4]) |
| 1010 | m4_include([m4/stdlib_h.m4]) | 1011 | m4_include([m4/stdlib_h.m4]) |
| 1011 | m4_include([m4/strftime.m4]) | 1012 | m4_include([m4/strftime.m4]) |
| 1013 | m4_include([m4/strtoull.m4]) | ||
| 1014 | m4_include([m4/strtoumax.m4]) | ||
| 1012 | m4_include([m4/symlink.m4]) | 1015 | m4_include([m4/symlink.m4]) |
| 1013 | m4_include([m4/sys_stat_h.m4]) | 1016 | m4_include([m4/sys_stat_h.m4]) |
| 1014 | m4_include([m4/time_h.m4]) | 1017 | m4_include([m4/time_h.m4]) |
diff --git a/autogen/config.in b/autogen/config.in index a105f958ead..d342f35db1f 100644 --- a/autogen/config.in +++ b/autogen/config.in | |||
| @@ -92,6 +92,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 92 | /* Define to 1 if gettimeofday accepts only one argument. */ | 92 | /* Define to 1 if gettimeofday accepts only one argument. */ |
| 93 | #undef GETTIMEOFDAY_ONE_ARGUMENT | 93 | #undef GETTIMEOFDAY_ONE_ARGUMENT |
| 94 | 94 | ||
| 95 | /* Define to make the limit macros in <stdint.h> visible. */ | ||
| 96 | #undef GL_TRIGGER_STDC_LIMIT_MACROS | ||
| 97 | |||
| 95 | /* Define to 1 if you want to use the GNU memory allocator. */ | 98 | /* Define to 1 if you want to use the GNU memory allocator. */ |
| 96 | #undef GNU_MALLOC | 99 | #undef GNU_MALLOC |
| 97 | 100 | ||
| @@ -156,6 +159,14 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 156 | don't. */ | 159 | don't. */ |
| 157 | #undef HAVE_DECL_STRMODE | 160 | #undef HAVE_DECL_STRMODE |
| 158 | 161 | ||
| 162 | /* Define to 1 if you have the declaration of `strtoull', and to 0 if you | ||
| 163 | don't. */ | ||
| 164 | #undef HAVE_DECL_STRTOULL | ||
| 165 | |||
| 166 | /* Define to 1 if you have the declaration of `strtoumax', and to 0 if you | ||
| 167 | don't. */ | ||
| 168 | #undef HAVE_DECL_STRTOUMAX | ||
| 169 | |||
| 159 | /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you | 170 | /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you |
| 160 | don't. */ | 171 | don't. */ |
| 161 | #undef HAVE_DECL_SYS_SIGLIST | 172 | #undef HAVE_DECL_SYS_SIGLIST |
| @@ -646,9 +657,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 646 | /* Define to 1 if 'wint_t' is a signed integer type. */ | 657 | /* Define to 1 if 'wint_t' is a signed integer type. */ |
| 647 | #undef HAVE_SIGNED_WINT_T | 658 | #undef HAVE_SIGNED_WINT_T |
| 648 | 659 | ||
| 649 | /* Define to 1 if the system has the type `size_t'. */ | ||
| 650 | #undef HAVE_SIZE_T | ||
| 651 | |||
| 652 | /* Define to 1 if you have sound support. */ | 660 | /* Define to 1 if you have sound support. */ |
| 653 | #undef HAVE_SOUND | 661 | #undef HAVE_SOUND |
| 654 | 662 | ||
| @@ -685,6 +693,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 685 | /* Define to 1 if you have the `strsignal' function. */ | 693 | /* Define to 1 if you have the `strsignal' function. */ |
| 686 | #undef HAVE_STRSIGNAL | 694 | #undef HAVE_STRSIGNAL |
| 687 | 695 | ||
| 696 | /* Define to 1 if you have the `strtoull' function. */ | ||
| 697 | #undef HAVE_STRTOULL | ||
| 698 | |||
| 699 | /* Define to 1 if you have the `strtoumax' function. */ | ||
| 700 | #undef HAVE_STRTOUMAX | ||
| 701 | |||
| 688 | /* Define to 1 if `ifr_addr' is a member of `struct ifreq'. */ | 702 | /* Define to 1 if `ifr_addr' is a member of `struct ifreq'. */ |
| 689 | #undef HAVE_STRUCT_IFREQ_IFR_ADDR | 703 | #undef HAVE_STRUCT_IFREQ_IFR_ADDR |
| 690 | 704 | ||
| @@ -1161,6 +1175,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 1161 | /* Define like PROTOTYPES; this can be used by system headers. */ | 1175 | /* Define like PROTOTYPES; this can be used by system headers. */ |
| 1162 | #undef __PROTOTYPES | 1176 | #undef __PROTOTYPES |
| 1163 | 1177 | ||
| 1178 | /* Ensure that <stdint.h> defines the limit macros, since gnulib's | ||
| 1179 | <inttypes.h> relies on them. */ | ||
| 1180 | #if defined __cplusplus && !defined __STDC_LIMIT_MACROS && GL_TRIGGER_STDC_LIMIT_MACROS | ||
| 1181 | # define __STDC_LIMIT_MACROS 1 | ||
| 1182 | #endif | ||
| 1183 | |||
| 1184 | |||
| 1164 | /* Define to compiler's equivalent of C99 restrict keyword in array | 1185 | /* Define to compiler's equivalent of C99 restrict keyword in array |
| 1165 | declarations. Define as empty for no equivalent. */ | 1186 | declarations. Define as empty for no equivalent. */ |
| 1166 | #undef __restrict_arr | 1187 | #undef __restrict_arr |
| @@ -1344,10 +1365,6 @@ extern "C" | |||
| 1344 | void *alloca (size_t); | 1365 | void *alloca (size_t); |
| 1345 | #endif | 1366 | #endif |
| 1346 | 1367 | ||
| 1347 | #ifndef HAVE_SIZE_T | ||
| 1348 | typedef unsigned size_t; | ||
| 1349 | #endif | ||
| 1350 | |||
| 1351 | #ifndef HAVE_STRCHR | 1368 | #ifndef HAVE_STRCHR |
| 1352 | #define strchr(a, b) index (a, b) | 1369 | #define strchr(a, b) index (a, b) |
| 1353 | #endif | 1370 | #endif |
diff --git a/autogen/configure b/autogen/configure index 7068c284163..4cea9aa6434 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -772,32 +772,6 @@ GNULIB_FGETC | |||
| 772 | GNULIB_FFLUSH | 772 | GNULIB_FFLUSH |
| 773 | GNULIB_FCLOSE | 773 | GNULIB_FCLOSE |
| 774 | GNULIB_DPRINTF | 774 | GNULIB_DPRINTF |
| 775 | GL_GENERATE_STDINT_H_FALSE | ||
| 776 | GL_GENERATE_STDINT_H_TRUE | ||
| 777 | STDINT_H | ||
| 778 | WINT_T_SUFFIX | ||
| 779 | WCHAR_T_SUFFIX | ||
| 780 | SIG_ATOMIC_T_SUFFIX | ||
| 781 | SIZE_T_SUFFIX | ||
| 782 | PTRDIFF_T_SUFFIX | ||
| 783 | HAVE_SIGNED_WINT_T | ||
| 784 | HAVE_SIGNED_WCHAR_T | ||
| 785 | HAVE_SIGNED_SIG_ATOMIC_T | ||
| 786 | BITSIZEOF_WINT_T | ||
| 787 | BITSIZEOF_WCHAR_T | ||
| 788 | BITSIZEOF_SIG_ATOMIC_T | ||
| 789 | BITSIZEOF_SIZE_T | ||
| 790 | BITSIZEOF_PTRDIFF_T | ||
| 791 | HAVE_SYS_BITYPES_H | ||
| 792 | HAVE_SYS_INTTYPES_H | ||
| 793 | HAVE_STDINT_H | ||
| 794 | NEXT_AS_FIRST_DIRECTIVE_STDINT_H | ||
| 795 | NEXT_STDINT_H | ||
| 796 | HAVE_SYS_TYPES_H | ||
| 797 | HAVE_INTTYPES_H | ||
| 798 | HAVE_WCHAR_H | ||
| 799 | HAVE_UNSIGNED_LONG_LONG_INT | ||
| 800 | HAVE_LONG_LONG_INT | ||
| 801 | NEXT_AS_FIRST_DIRECTIVE_STDDEF_H | 775 | NEXT_AS_FIRST_DIRECTIVE_STDDEF_H |
| 802 | NEXT_STDDEF_H | 776 | NEXT_STDDEF_H |
| 803 | GL_GENERATE_STDDEF_H_FALSE | 777 | GL_GENERATE_STDDEF_H_FALSE |
| @@ -809,7 +783,6 @@ HAVE__BOOL | |||
| 809 | GL_GENERATE_STDBOOL_H_FALSE | 783 | GL_GENERATE_STDBOOL_H_FALSE |
| 810 | GL_GENERATE_STDBOOL_H_TRUE | 784 | GL_GENERATE_STDBOOL_H_TRUE |
| 811 | STDBOOL_H | 785 | STDBOOL_H |
| 812 | APPLE_UNIVERSAL_BUILD | ||
| 813 | REPLACE_TIMEGM | 786 | REPLACE_TIMEGM |
| 814 | REPLACE_NANOSLEEP | 787 | REPLACE_NANOSLEEP |
| 815 | REPLACE_MKTIME | 788 | REPLACE_MKTIME |
| @@ -855,6 +828,49 @@ GNULIB_LCHMOD | |||
| 855 | GNULIB_FUTIMENS | 828 | GNULIB_FUTIMENS |
| 856 | GNULIB_FSTATAT | 829 | GNULIB_FSTATAT |
| 857 | GNULIB_FCHMODAT | 830 | GNULIB_FCHMODAT |
| 831 | NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H | ||
| 832 | NEXT_INTTYPES_H | ||
| 833 | UINT64_MAX_EQ_ULONG_MAX | ||
| 834 | UINT32_MAX_LT_UINTMAX_MAX | ||
| 835 | PRIPTR_PREFIX | ||
| 836 | PRI_MACROS_BROKEN | ||
| 837 | INT64_MAX_EQ_LONG_MAX | ||
| 838 | INT32_MAX_LT_INTMAX_MAX | ||
| 839 | HAVE_DECL_STRTOUMAX | ||
| 840 | HAVE_DECL_STRTOIMAX | ||
| 841 | HAVE_DECL_IMAXDIV | ||
| 842 | HAVE_DECL_IMAXABS | ||
| 843 | GNULIB_STRTOUMAX | ||
| 844 | GNULIB_STRTOIMAX | ||
| 845 | GNULIB_IMAXDIV | ||
| 846 | GNULIB_IMAXABS | ||
| 847 | GL_GENERATE_STDINT_H_FALSE | ||
| 848 | GL_GENERATE_STDINT_H_TRUE | ||
| 849 | STDINT_H | ||
| 850 | WINT_T_SUFFIX | ||
| 851 | WCHAR_T_SUFFIX | ||
| 852 | SIG_ATOMIC_T_SUFFIX | ||
| 853 | SIZE_T_SUFFIX | ||
| 854 | PTRDIFF_T_SUFFIX | ||
| 855 | HAVE_SIGNED_WINT_T | ||
| 856 | HAVE_SIGNED_WCHAR_T | ||
| 857 | HAVE_SIGNED_SIG_ATOMIC_T | ||
| 858 | BITSIZEOF_WINT_T | ||
| 859 | BITSIZEOF_WCHAR_T | ||
| 860 | BITSIZEOF_SIG_ATOMIC_T | ||
| 861 | BITSIZEOF_SIZE_T | ||
| 862 | BITSIZEOF_PTRDIFF_T | ||
| 863 | APPLE_UNIVERSAL_BUILD | ||
| 864 | HAVE_SYS_BITYPES_H | ||
| 865 | HAVE_SYS_INTTYPES_H | ||
| 866 | HAVE_STDINT_H | ||
| 867 | NEXT_AS_FIRST_DIRECTIVE_STDINT_H | ||
| 868 | NEXT_STDINT_H | ||
| 869 | HAVE_SYS_TYPES_H | ||
| 870 | HAVE_INTTYPES_H | ||
| 871 | HAVE_WCHAR_H | ||
| 872 | HAVE_UNSIGNED_LONG_LONG_INT | ||
| 873 | HAVE_LONG_LONG_INT | ||
| 858 | LTLIBINTL | 874 | LTLIBINTL |
| 859 | LIBINTL | 875 | LIBINTL |
| 860 | GETOPT_H | 876 | GETOPT_H |
| @@ -2529,60 +2545,6 @@ $as_echo "$ac_res" >&6; } | |||
| 2529 | 2545 | ||
| 2530 | } # ac_fn_c_check_func | 2546 | } # ac_fn_c_check_func |
| 2531 | 2547 | ||
| 2532 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | ||
| 2533 | # ------------------------------------------- | ||
| 2534 | # Tests whether TYPE exists after having included INCLUDES, setting cache | ||
| 2535 | # variable VAR accordingly. | ||
| 2536 | ac_fn_c_check_type () | ||
| 2537 | { | ||
| 2538 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 2539 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 2540 | $as_echo_n "checking for $2... " >&6; } | ||
| 2541 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 2542 | $as_echo_n "(cached) " >&6 | ||
| 2543 | else | ||
| 2544 | eval "$3=no" | ||
| 2545 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2546 | /* end confdefs.h. */ | ||
| 2547 | $4 | ||
| 2548 | int | ||
| 2549 | main () | ||
| 2550 | { | ||
| 2551 | if (sizeof ($2)) | ||
| 2552 | return 0; | ||
| 2553 | ; | ||
| 2554 | return 0; | ||
| 2555 | } | ||
| 2556 | _ACEOF | ||
| 2557 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2558 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2559 | /* end confdefs.h. */ | ||
| 2560 | $4 | ||
| 2561 | int | ||
| 2562 | main () | ||
| 2563 | { | ||
| 2564 | if (sizeof (($2))) | ||
| 2565 | return 0; | ||
| 2566 | ; | ||
| 2567 | return 0; | ||
| 2568 | } | ||
| 2569 | _ACEOF | ||
| 2570 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2571 | |||
| 2572 | else | ||
| 2573 | eval "$3=yes" | ||
| 2574 | fi | ||
| 2575 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2576 | fi | ||
| 2577 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2578 | fi | ||
| 2579 | eval ac_res=\$$3 | ||
| 2580 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 2581 | $as_echo "$ac_res" >&6; } | ||
| 2582 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 2583 | |||
| 2584 | } # ac_fn_c_check_type | ||
| 2585 | |||
| 2586 | # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES | 2548 | # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
| 2587 | # -------------------------------------------- | 2549 | # -------------------------------------------- |
| 2588 | # Tries to find the compile-time value of EXPR in a program that includes | 2550 | # Tries to find the compile-time value of EXPR in a program that includes |
| @@ -2760,6 +2722,60 @@ rm -f conftest.val | |||
| 2760 | as_fn_set_status $ac_retval | 2722 | as_fn_set_status $ac_retval |
| 2761 | 2723 | ||
| 2762 | } # ac_fn_c_compute_int | 2724 | } # ac_fn_c_compute_int |
| 2725 | |||
| 2726 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | ||
| 2727 | # ------------------------------------------- | ||
| 2728 | # Tests whether TYPE exists after having included INCLUDES, setting cache | ||
| 2729 | # variable VAR accordingly. | ||
| 2730 | ac_fn_c_check_type () | ||
| 2731 | { | ||
| 2732 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 2733 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 2734 | $as_echo_n "checking for $2... " >&6; } | ||
| 2735 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 2736 | $as_echo_n "(cached) " >&6 | ||
| 2737 | else | ||
| 2738 | eval "$3=no" | ||
| 2739 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2740 | /* end confdefs.h. */ | ||
| 2741 | $4 | ||
| 2742 | int | ||
| 2743 | main () | ||
| 2744 | { | ||
| 2745 | if (sizeof ($2)) | ||
| 2746 | return 0; | ||
| 2747 | ; | ||
| 2748 | return 0; | ||
| 2749 | } | ||
| 2750 | _ACEOF | ||
| 2751 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2752 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2753 | /* end confdefs.h. */ | ||
| 2754 | $4 | ||
| 2755 | int | ||
| 2756 | main () | ||
| 2757 | { | ||
| 2758 | if (sizeof (($2))) | ||
| 2759 | return 0; | ||
| 2760 | ; | ||
| 2761 | return 0; | ||
| 2762 | } | ||
| 2763 | _ACEOF | ||
| 2764 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2765 | |||
| 2766 | else | ||
| 2767 | eval "$3=yes" | ||
| 2768 | fi | ||
| 2769 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2770 | fi | ||
| 2771 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2772 | fi | ||
| 2773 | eval ac_res=\$$3 | ||
| 2774 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 2775 | $as_echo "$ac_res" >&6; } | ||
| 2776 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 2777 | |||
| 2778 | } # ac_fn_c_check_type | ||
| 2763 | cat >config.log <<_ACEOF | 2779 | cat >config.log <<_ACEOF |
| 2764 | This file contains any messages produced by compilers while | 2780 | This file contains any messages produced by compilers while |
| 2765 | running configure, to aid debugging if configure makes a mistake. | 2781 | running configure, to aid debugging if configure makes a mistake. |
| @@ -3049,12 +3065,13 @@ as_fn_append ac_header_list " sys/param.h" | |||
| 3049 | as_fn_append ac_func_list " readlinkat" | 3065 | as_fn_append ac_func_list " readlinkat" |
| 3050 | gl_getopt_required=GNU | 3066 | gl_getopt_required=GNU |
| 3051 | as_fn_append ac_header_list " getopt.h" | 3067 | as_fn_append ac_header_list " getopt.h" |
| 3068 | as_fn_append ac_header_list " wchar.h" | ||
| 3069 | as_fn_append ac_header_list " stdint.h" | ||
| 3070 | as_fn_append ac_header_list " inttypes.h" | ||
| 3052 | as_fn_append ac_func_list " lstat" | 3071 | as_fn_append ac_func_list " lstat" |
| 3053 | as_fn_append ac_func_list " alarm" | 3072 | as_fn_append ac_func_list " alarm" |
| 3054 | as_fn_append ac_func_list " readlink" | 3073 | as_fn_append ac_func_list " readlink" |
| 3055 | as_fn_append ac_header_list " sys/socket.h" | 3074 | as_fn_append ac_header_list " sys/socket.h" |
| 3056 | as_fn_append ac_header_list " wchar.h" | ||
| 3057 | as_fn_append ac_header_list " stdint.h" | ||
| 3058 | as_fn_append ac_func_list " tzset" | 3075 | as_fn_append ac_func_list " tzset" |
| 3059 | as_fn_append ac_func_list " symlink" | 3076 | as_fn_append ac_func_list " symlink" |
| 3060 | as_fn_append ac_header_list " sys/stat.h" | 3077 | as_fn_append ac_header_list " sys/stat.h" |
| @@ -4108,7 +4125,7 @@ if test x$ac_gc_check_stringbytes != x ; then | |||
| 4108 | $as_echo "#define GC_CHECK_STRING_BYTES 1" >>confdefs.h | 4125 | $as_echo "#define GC_CHECK_STRING_BYTES 1" >>confdefs.h |
| 4109 | 4126 | ||
| 4110 | fi | 4127 | fi |
| 4111 | if test x$ac_gc_check_stringoverrun != x ; then | 4128 | if test x$ac_gc_check_string_overrun != x ; then |
| 4112 | 4129 | ||
| 4113 | $as_echo "#define GC_CHECK_STRING_OVERRUN 1" >>confdefs.h | 4130 | $as_echo "#define GC_CHECK_STRING_OVERRUN 1" >>confdefs.h |
| 4114 | 4131 | ||
| @@ -6228,6 +6245,7 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } | |||
| 6228 | # Code from module ignore-value: | 6245 | # Code from module ignore-value: |
| 6229 | # Code from module include_next: | 6246 | # Code from module include_next: |
| 6230 | # Code from module intprops: | 6247 | # Code from module intprops: |
| 6248 | # Code from module inttypes-incomplete: | ||
| 6231 | # Code from module lstat: | 6249 | # Code from module lstat: |
| 6232 | # Code from module mktime: | 6250 | # Code from module mktime: |
| 6233 | # Code from module multiarch: | 6251 | # Code from module multiarch: |
| @@ -6241,11 +6259,14 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } | |||
| 6241 | # Code from module stdio: | 6259 | # Code from module stdio: |
| 6242 | # Code from module stdlib: | 6260 | # Code from module stdlib: |
| 6243 | # Code from module strftime: | 6261 | # Code from module strftime: |
| 6262 | # Code from module strtoull: | ||
| 6263 | # Code from module strtoumax: | ||
| 6244 | # Code from module symlink: | 6264 | # Code from module symlink: |
| 6245 | # Code from module sys_stat: | 6265 | # Code from module sys_stat: |
| 6246 | # Code from module time: | 6266 | # Code from module time: |
| 6247 | # Code from module time_r: | 6267 | # Code from module time_r: |
| 6248 | # Code from module unistd: | 6268 | # Code from module unistd: |
| 6269 | # Code from module verify: | ||
| 6249 | # Code from module warn-on-use: | 6270 | # Code from module warn-on-use: |
| 6250 | 6271 | ||
| 6251 | 6272 | ||
| @@ -7099,6 +7120,9 @@ else | |||
| 7099 | CPPFLAGS="$C_SWITCH_SYSTEM $C_SWITCH_MACHINE $CPPFLAGS" | 7120 | CPPFLAGS="$C_SWITCH_SYSTEM $C_SWITCH_MACHINE $CPPFLAGS" |
| 7100 | fi | 7121 | fi |
| 7101 | 7122 | ||
| 7123 | # Suppress obsolescent Autoconf test for size_t; Emacs assumes C89 or better. | ||
| 7124 | |||
| 7125 | |||
| 7102 | # Check whether --enable-largefile was given. | 7126 | # Check whether --enable-largefile was given. |
| 7103 | if test "${enable_largefile+set}" = set; then : | 7127 | if test "${enable_largefile+set}" = set; then : |
| 7104 | enableval=$enable_largefile; | 7128 | enableval=$enable_largefile; |
| @@ -14694,6 +14718,899 @@ fi | |||
| 14694 | 14718 | ||
| 14695 | 14719 | ||
| 14696 | 14720 | ||
| 14721 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 | ||
| 14722 | $as_echo_n "checking for unsigned long long int... " >&6; } | ||
| 14723 | if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then : | ||
| 14724 | $as_echo_n "(cached) " >&6 | ||
| 14725 | else | ||
| 14726 | ac_cv_type_unsigned_long_long_int=yes | ||
| 14727 | if test "x${ac_cv_prog_cc_c99-no}" = xno; then | ||
| 14728 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 14729 | /* end confdefs.h. */ | ||
| 14730 | |||
| 14731 | /* For now, do not test the preprocessor; as of 2007 there are too many | ||
| 14732 | implementations with broken preprocessors. Perhaps this can | ||
| 14733 | be revisited in 2012. In the meantime, code should not expect | ||
| 14734 | #if to work with literals wider than 32 bits. */ | ||
| 14735 | /* Test literals. */ | ||
| 14736 | long long int ll = 9223372036854775807ll; | ||
| 14737 | long long int nll = -9223372036854775807LL; | ||
| 14738 | unsigned long long int ull = 18446744073709551615ULL; | ||
| 14739 | /* Test constant expressions. */ | ||
| 14740 | typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) | ||
| 14741 | ? 1 : -1)]; | ||
| 14742 | typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 | ||
| 14743 | ? 1 : -1)]; | ||
| 14744 | int i = 63; | ||
| 14745 | int | ||
| 14746 | main () | ||
| 14747 | { | ||
| 14748 | /* Test availability of runtime routines for shift and division. */ | ||
| 14749 | long long int llmax = 9223372036854775807ll; | ||
| 14750 | unsigned long long int ullmax = 18446744073709551615ull; | ||
| 14751 | return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) | ||
| 14752 | | (llmax / ll) | (llmax % ll) | ||
| 14753 | | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) | ||
| 14754 | | (ullmax / ull) | (ullmax % ull)); | ||
| 14755 | ; | ||
| 14756 | return 0; | ||
| 14757 | } | ||
| 14758 | |||
| 14759 | _ACEOF | ||
| 14760 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 14761 | |||
| 14762 | else | ||
| 14763 | ac_cv_type_unsigned_long_long_int=no | ||
| 14764 | fi | ||
| 14765 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 14766 | conftest$ac_exeext conftest.$ac_ext | ||
| 14767 | fi | ||
| 14768 | fi | ||
| 14769 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 | ||
| 14770 | $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } | ||
| 14771 | if test $ac_cv_type_unsigned_long_long_int = yes; then | ||
| 14772 | |||
| 14773 | $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h | ||
| 14774 | |||
| 14775 | fi | ||
| 14776 | |||
| 14777 | |||
| 14778 | |||
| 14779 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 | ||
| 14780 | $as_echo_n "checking for long long int... " >&6; } | ||
| 14781 | if test "${ac_cv_type_long_long_int+set}" = set; then : | ||
| 14782 | $as_echo_n "(cached) " >&6 | ||
| 14783 | else | ||
| 14784 | ac_cv_type_long_long_int=yes | ||
| 14785 | if test "x${ac_cv_prog_cc_c99-no}" = xno; then | ||
| 14786 | ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int | ||
| 14787 | if test $ac_cv_type_long_long_int = yes; then | ||
| 14788 | if test "$cross_compiling" = yes; then : | ||
| 14789 | : | ||
| 14790 | else | ||
| 14791 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 14792 | /* end confdefs.h. */ | ||
| 14793 | #include <limits.h> | ||
| 14794 | #ifndef LLONG_MAX | ||
| 14795 | # define HALF \ | ||
| 14796 | (1LL << (sizeof (long long int) * CHAR_BIT - 2)) | ||
| 14797 | # define LLONG_MAX (HALF - 1 + HALF) | ||
| 14798 | #endif | ||
| 14799 | int | ||
| 14800 | main () | ||
| 14801 | { | ||
| 14802 | long long int n = 1; | ||
| 14803 | int i; | ||
| 14804 | for (i = 0; ; i++) | ||
| 14805 | { | ||
| 14806 | long long int m = n << i; | ||
| 14807 | if (m >> i != n) | ||
| 14808 | return 1; | ||
| 14809 | if (LLONG_MAX / 2 < m) | ||
| 14810 | break; | ||
| 14811 | } | ||
| 14812 | return 0; | ||
| 14813 | ; | ||
| 14814 | return 0; | ||
| 14815 | } | ||
| 14816 | _ACEOF | ||
| 14817 | if ac_fn_c_try_run "$LINENO"; then : | ||
| 14818 | |||
| 14819 | else | ||
| 14820 | ac_cv_type_long_long_int=no | ||
| 14821 | fi | ||
| 14822 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
| 14823 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 14824 | fi | ||
| 14825 | |||
| 14826 | fi | ||
| 14827 | fi | ||
| 14828 | fi | ||
| 14829 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 | ||
| 14830 | $as_echo "$ac_cv_type_long_long_int" >&6; } | ||
| 14831 | if test $ac_cv_type_long_long_int = yes; then | ||
| 14832 | |||
| 14833 | $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h | ||
| 14834 | |||
| 14835 | fi | ||
| 14836 | |||
| 14837 | |||
| 14838 | |||
| 14839 | |||
| 14840 | |||
| 14841 | |||
| 14842 | gl_cv_c_multiarch=no | ||
| 14843 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 14844 | /* end confdefs.h. */ | ||
| 14845 | #ifndef __APPLE_CC__ | ||
| 14846 | not a universal capable compiler | ||
| 14847 | #endif | ||
| 14848 | typedef int dummy; | ||
| 14849 | |||
| 14850 | _ACEOF | ||
| 14851 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 14852 | |||
| 14853 | arch= | ||
| 14854 | prev= | ||
| 14855 | for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do | ||
| 14856 | if test -n "$prev"; then | ||
| 14857 | case $word in | ||
| 14858 | i?86 | x86_64 | ppc | ppc64) | ||
| 14859 | if test -z "$arch" || test "$arch" = "$word"; then | ||
| 14860 | arch="$word" | ||
| 14861 | else | ||
| 14862 | gl_cv_c_multiarch=yes | ||
| 14863 | fi | ||
| 14864 | ;; | ||
| 14865 | esac | ||
| 14866 | prev= | ||
| 14867 | else | ||
| 14868 | if test "x$word" = "x-arch"; then | ||
| 14869 | prev=arch | ||
| 14870 | fi | ||
| 14871 | fi | ||
| 14872 | done | ||
| 14873 | |||
| 14874 | fi | ||
| 14875 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 14876 | if test $gl_cv_c_multiarch = yes; then | ||
| 14877 | APPLE_UNIVERSAL_BUILD=1 | ||
| 14878 | else | ||
| 14879 | APPLE_UNIVERSAL_BUILD=0 | ||
| 14880 | fi | ||
| 14881 | |||
| 14882 | |||
| 14883 | |||
| 14884 | |||
| 14885 | |||
| 14886 | if test $ac_cv_type_long_long_int = yes; then | ||
| 14887 | HAVE_LONG_LONG_INT=1 | ||
| 14888 | else | ||
| 14889 | HAVE_LONG_LONG_INT=0 | ||
| 14890 | fi | ||
| 14891 | |||
| 14892 | |||
| 14893 | if test $ac_cv_type_unsigned_long_long_int = yes; then | ||
| 14894 | HAVE_UNSIGNED_LONG_LONG_INT=1 | ||
| 14895 | else | ||
| 14896 | HAVE_UNSIGNED_LONG_LONG_INT=0 | ||
| 14897 | fi | ||
| 14898 | |||
| 14899 | |||
| 14900 | |||
| 14901 | if test $ac_cv_header_wchar_h = yes; then | ||
| 14902 | HAVE_WCHAR_H=1 | ||
| 14903 | else | ||
| 14904 | HAVE_WCHAR_H=0 | ||
| 14905 | fi | ||
| 14906 | |||
| 14907 | |||
| 14908 | if test $ac_cv_header_inttypes_h = yes; then | ||
| 14909 | HAVE_INTTYPES_H=1 | ||
| 14910 | else | ||
| 14911 | HAVE_INTTYPES_H=0 | ||
| 14912 | fi | ||
| 14913 | |||
| 14914 | |||
| 14915 | if test $ac_cv_header_sys_types_h = yes; then | ||
| 14916 | HAVE_SYS_TYPES_H=1 | ||
| 14917 | else | ||
| 14918 | HAVE_SYS_TYPES_H=0 | ||
| 14919 | fi | ||
| 14920 | |||
| 14921 | |||
| 14922 | |||
| 14923 | |||
| 14924 | |||
| 14925 | |||
| 14926 | |||
| 14927 | |||
| 14928 | |||
| 14929 | |||
| 14930 | |||
| 14931 | if test $gl_cv_have_include_next = yes; then | ||
| 14932 | gl_cv_next_stdint_h='<'stdint.h'>' | ||
| 14933 | else | ||
| 14934 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5 | ||
| 14935 | $as_echo_n "checking absolute name of <stdint.h>... " >&6; } | ||
| 14936 | if test "${gl_cv_next_stdint_h+set}" = set; then : | ||
| 14937 | $as_echo_n "(cached) " >&6 | ||
| 14938 | else | ||
| 14939 | |||
| 14940 | if test $ac_cv_header_stdint_h = yes; then | ||
| 14941 | |||
| 14942 | |||
| 14943 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 14944 | /* end confdefs.h. */ | ||
| 14945 | #include <stdint.h> | ||
| 14946 | |||
| 14947 | _ACEOF | ||
| 14948 | case "$host_os" in | ||
| 14949 | aix*) gl_absname_cpp="$ac_cpp -C" ;; | ||
| 14950 | *) gl_absname_cpp="$ac_cpp" ;; | ||
| 14951 | esac | ||
| 14952 | gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | | ||
| 14953 | sed -n '\#/stdint.h#{ | ||
| 14954 | s#.*"\(.*/stdint.h\)".*#\1# | ||
| 14955 | s#^/[^/]#//&# | ||
| 14956 | p | ||
| 14957 | q | ||
| 14958 | }'`'"' | ||
| 14959 | else | ||
| 14960 | gl_cv_next_stdint_h='<'stdint.h'>' | ||
| 14961 | fi | ||
| 14962 | |||
| 14963 | |||
| 14964 | fi | ||
| 14965 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 | ||
| 14966 | $as_echo "$gl_cv_next_stdint_h" >&6; } | ||
| 14967 | fi | ||
| 14968 | NEXT_STDINT_H=$gl_cv_next_stdint_h | ||
| 14969 | |||
| 14970 | if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then | ||
| 14971 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' | ||
| 14972 | gl_next_as_first_directive='<'stdint.h'>' | ||
| 14973 | else | ||
| 14974 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' | ||
| 14975 | gl_next_as_first_directive=$gl_cv_next_stdint_h | ||
| 14976 | fi | ||
| 14977 | NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive | ||
| 14978 | |||
| 14979 | |||
| 14980 | |||
| 14981 | |||
| 14982 | if test $ac_cv_header_stdint_h = yes; then | ||
| 14983 | HAVE_STDINT_H=1 | ||
| 14984 | else | ||
| 14985 | HAVE_STDINT_H=0 | ||
| 14986 | fi | ||
| 14987 | |||
| 14988 | |||
| 14989 | if test $ac_cv_header_stdint_h = yes; then | ||
| 14990 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 | ||
| 14991 | $as_echo_n "checking whether stdint.h conforms to C99... " >&6; } | ||
| 14992 | if test "${gl_cv_header_working_stdint_h+set}" = set; then : | ||
| 14993 | $as_echo_n "(cached) " >&6 | ||
| 14994 | else | ||
| 14995 | gl_cv_header_working_stdint_h=no | ||
| 14996 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 14997 | /* end confdefs.h. */ | ||
| 14998 | |||
| 14999 | |||
| 15000 | #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ | ||
| 15001 | #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ | ||
| 15002 | #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ | ||
| 15003 | #include <stdint.h> | ||
| 15004 | /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */ | ||
| 15005 | #if !(defined WCHAR_MIN && defined WCHAR_MAX) | ||
| 15006 | #error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>" | ||
| 15007 | #endif | ||
| 15008 | |||
| 15009 | |||
| 15010 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | ||
| 15011 | included before <wchar.h>. */ | ||
| 15012 | #include <stddef.h> | ||
| 15013 | #include <signal.h> | ||
| 15014 | #if HAVE_WCHAR_H | ||
| 15015 | # include <stdio.h> | ||
| 15016 | # include <time.h> | ||
| 15017 | # include <wchar.h> | ||
| 15018 | #endif | ||
| 15019 | |||
| 15020 | |||
| 15021 | #ifdef INT8_MAX | ||
| 15022 | int8_t a1 = INT8_MAX; | ||
| 15023 | int8_t a1min = INT8_MIN; | ||
| 15024 | #endif | ||
| 15025 | #ifdef INT16_MAX | ||
| 15026 | int16_t a2 = INT16_MAX; | ||
| 15027 | int16_t a2min = INT16_MIN; | ||
| 15028 | #endif | ||
| 15029 | #ifdef INT32_MAX | ||
| 15030 | int32_t a3 = INT32_MAX; | ||
| 15031 | int32_t a3min = INT32_MIN; | ||
| 15032 | #endif | ||
| 15033 | #ifdef INT64_MAX | ||
| 15034 | int64_t a4 = INT64_MAX; | ||
| 15035 | int64_t a4min = INT64_MIN; | ||
| 15036 | #endif | ||
| 15037 | #ifdef UINT8_MAX | ||
| 15038 | uint8_t b1 = UINT8_MAX; | ||
| 15039 | #else | ||
| 15040 | typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; | ||
| 15041 | #endif | ||
| 15042 | #ifdef UINT16_MAX | ||
| 15043 | uint16_t b2 = UINT16_MAX; | ||
| 15044 | #endif | ||
| 15045 | #ifdef UINT32_MAX | ||
| 15046 | uint32_t b3 = UINT32_MAX; | ||
| 15047 | #endif | ||
| 15048 | #ifdef UINT64_MAX | ||
| 15049 | uint64_t b4 = UINT64_MAX; | ||
| 15050 | #endif | ||
| 15051 | int_least8_t c1 = INT8_C (0x7f); | ||
| 15052 | int_least8_t c1max = INT_LEAST8_MAX; | ||
| 15053 | int_least8_t c1min = INT_LEAST8_MIN; | ||
| 15054 | int_least16_t c2 = INT16_C (0x7fff); | ||
| 15055 | int_least16_t c2max = INT_LEAST16_MAX; | ||
| 15056 | int_least16_t c2min = INT_LEAST16_MIN; | ||
| 15057 | int_least32_t c3 = INT32_C (0x7fffffff); | ||
| 15058 | int_least32_t c3max = INT_LEAST32_MAX; | ||
| 15059 | int_least32_t c3min = INT_LEAST32_MIN; | ||
| 15060 | int_least64_t c4 = INT64_C (0x7fffffffffffffff); | ||
| 15061 | int_least64_t c4max = INT_LEAST64_MAX; | ||
| 15062 | int_least64_t c4min = INT_LEAST64_MIN; | ||
| 15063 | uint_least8_t d1 = UINT8_C (0xff); | ||
| 15064 | uint_least8_t d1max = UINT_LEAST8_MAX; | ||
| 15065 | uint_least16_t d2 = UINT16_C (0xffff); | ||
| 15066 | uint_least16_t d2max = UINT_LEAST16_MAX; | ||
| 15067 | uint_least32_t d3 = UINT32_C (0xffffffff); | ||
| 15068 | uint_least32_t d3max = UINT_LEAST32_MAX; | ||
| 15069 | uint_least64_t d4 = UINT64_C (0xffffffffffffffff); | ||
| 15070 | uint_least64_t d4max = UINT_LEAST64_MAX; | ||
| 15071 | int_fast8_t e1 = INT_FAST8_MAX; | ||
| 15072 | int_fast8_t e1min = INT_FAST8_MIN; | ||
| 15073 | int_fast16_t e2 = INT_FAST16_MAX; | ||
| 15074 | int_fast16_t e2min = INT_FAST16_MIN; | ||
| 15075 | int_fast32_t e3 = INT_FAST32_MAX; | ||
| 15076 | int_fast32_t e3min = INT_FAST32_MIN; | ||
| 15077 | int_fast64_t e4 = INT_FAST64_MAX; | ||
| 15078 | int_fast64_t e4min = INT_FAST64_MIN; | ||
| 15079 | uint_fast8_t f1 = UINT_FAST8_MAX; | ||
| 15080 | uint_fast16_t f2 = UINT_FAST16_MAX; | ||
| 15081 | uint_fast32_t f3 = UINT_FAST32_MAX; | ||
| 15082 | uint_fast64_t f4 = UINT_FAST64_MAX; | ||
| 15083 | #ifdef INTPTR_MAX | ||
| 15084 | intptr_t g = INTPTR_MAX; | ||
| 15085 | intptr_t gmin = INTPTR_MIN; | ||
| 15086 | #endif | ||
| 15087 | #ifdef UINTPTR_MAX | ||
| 15088 | uintptr_t h = UINTPTR_MAX; | ||
| 15089 | #endif | ||
| 15090 | intmax_t i = INTMAX_MAX; | ||
| 15091 | uintmax_t j = UINTMAX_MAX; | ||
| 15092 | |||
| 15093 | #include <limits.h> /* for CHAR_BIT */ | ||
| 15094 | #define TYPE_MINIMUM(t) \ | ||
| 15095 | ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t))) | ||
| 15096 | #define TYPE_MAXIMUM(t) \ | ||
| 15097 | ((t) ((t) 0 < (t) -1 \ | ||
| 15098 | ? (t) -1 \ | ||
| 15099 | : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) | ||
| 15100 | struct s { | ||
| 15101 | int check_PTRDIFF: | ||
| 15102 | PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) | ||
| 15103 | && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) | ||
| 15104 | ? 1 : -1; | ||
| 15105 | /* Detect bug in FreeBSD 6.0 / ia64. */ | ||
| 15106 | int check_SIG_ATOMIC: | ||
| 15107 | SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) | ||
| 15108 | && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) | ||
| 15109 | ? 1 : -1; | ||
| 15110 | int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; | ||
| 15111 | int check_WCHAR: | ||
| 15112 | WCHAR_MIN == TYPE_MINIMUM (wchar_t) | ||
| 15113 | && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) | ||
| 15114 | ? 1 : -1; | ||
| 15115 | /* Detect bug in mingw. */ | ||
| 15116 | int check_WINT: | ||
| 15117 | WINT_MIN == TYPE_MINIMUM (wint_t) | ||
| 15118 | && WINT_MAX == TYPE_MAXIMUM (wint_t) | ||
| 15119 | ? 1 : -1; | ||
| 15120 | |||
| 15121 | /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ | ||
| 15122 | int check_UINT8_C: | ||
| 15123 | (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; | ||
| 15124 | int check_UINT16_C: | ||
| 15125 | (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; | ||
| 15126 | |||
| 15127 | /* Detect bugs in OpenBSD 3.9 stdint.h. */ | ||
| 15128 | #ifdef UINT8_MAX | ||
| 15129 | int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; | ||
| 15130 | #endif | ||
| 15131 | #ifdef UINT16_MAX | ||
| 15132 | int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; | ||
| 15133 | #endif | ||
| 15134 | #ifdef UINT32_MAX | ||
| 15135 | int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; | ||
| 15136 | #endif | ||
| 15137 | #ifdef UINT64_MAX | ||
| 15138 | int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; | ||
| 15139 | #endif | ||
| 15140 | int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; | ||
| 15141 | int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; | ||
| 15142 | int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; | ||
| 15143 | int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; | ||
| 15144 | int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; | ||
| 15145 | int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; | ||
| 15146 | int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; | ||
| 15147 | int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; | ||
| 15148 | int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; | ||
| 15149 | int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; | ||
| 15150 | int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; | ||
| 15151 | }; | ||
| 15152 | |||
| 15153 | int | ||
| 15154 | main () | ||
| 15155 | { | ||
| 15156 | |||
| 15157 | ; | ||
| 15158 | return 0; | ||
| 15159 | } | ||
| 15160 | _ACEOF | ||
| 15161 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 15162 | if test "$cross_compiling" = yes; then : | ||
| 15163 | gl_cv_header_working_stdint_h=yes | ||
| 15164 | |||
| 15165 | else | ||
| 15166 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 15167 | /* end confdefs.h. */ | ||
| 15168 | |||
| 15169 | |||
| 15170 | #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ | ||
| 15171 | #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ | ||
| 15172 | #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ | ||
| 15173 | #include <stdint.h> | ||
| 15174 | |||
| 15175 | |||
| 15176 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | ||
| 15177 | included before <wchar.h>. */ | ||
| 15178 | #include <stddef.h> | ||
| 15179 | #include <signal.h> | ||
| 15180 | #if HAVE_WCHAR_H | ||
| 15181 | # include <stdio.h> | ||
| 15182 | # include <time.h> | ||
| 15183 | # include <wchar.h> | ||
| 15184 | #endif | ||
| 15185 | |||
| 15186 | |||
| 15187 | #include <stdio.h> | ||
| 15188 | #include <string.h> | ||
| 15189 | #define MVAL(macro) MVAL1(macro) | ||
| 15190 | #define MVAL1(expression) #expression | ||
| 15191 | static const char *macro_values[] = | ||
| 15192 | { | ||
| 15193 | #ifdef INT8_MAX | ||
| 15194 | MVAL (INT8_MAX), | ||
| 15195 | #endif | ||
| 15196 | #ifdef INT16_MAX | ||
| 15197 | MVAL (INT16_MAX), | ||
| 15198 | #endif | ||
| 15199 | #ifdef INT32_MAX | ||
| 15200 | MVAL (INT32_MAX), | ||
| 15201 | #endif | ||
| 15202 | #ifdef INT64_MAX | ||
| 15203 | MVAL (INT64_MAX), | ||
| 15204 | #endif | ||
| 15205 | #ifdef UINT8_MAX | ||
| 15206 | MVAL (UINT8_MAX), | ||
| 15207 | #endif | ||
| 15208 | #ifdef UINT16_MAX | ||
| 15209 | MVAL (UINT16_MAX), | ||
| 15210 | #endif | ||
| 15211 | #ifdef UINT32_MAX | ||
| 15212 | MVAL (UINT32_MAX), | ||
| 15213 | #endif | ||
| 15214 | #ifdef UINT64_MAX | ||
| 15215 | MVAL (UINT64_MAX), | ||
| 15216 | #endif | ||
| 15217 | NULL | ||
| 15218 | }; | ||
| 15219 | |||
| 15220 | int | ||
| 15221 | main () | ||
| 15222 | { | ||
| 15223 | |||
| 15224 | const char **mv; | ||
| 15225 | for (mv = macro_values; *mv != NULL; mv++) | ||
| 15226 | { | ||
| 15227 | const char *value = *mv; | ||
| 15228 | /* Test whether it looks like a cast expression. */ | ||
| 15229 | if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 | ||
| 15230 | || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 | ||
| 15231 | || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 | ||
| 15232 | || strncmp (value, "((int)"/*)*/, 6) == 0 | ||
| 15233 | || strncmp (value, "((signed short)"/*)*/, 15) == 0 | ||
| 15234 | || strncmp (value, "((signed char)"/*)*/, 14) == 0) | ||
| 15235 | return mv - macro_values + 1; | ||
| 15236 | } | ||
| 15237 | return 0; | ||
| 15238 | |||
| 15239 | ; | ||
| 15240 | return 0; | ||
| 15241 | } | ||
| 15242 | _ACEOF | ||
| 15243 | if ac_fn_c_try_run "$LINENO"; then : | ||
| 15244 | gl_cv_header_working_stdint_h=yes | ||
| 15245 | fi | ||
| 15246 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
| 15247 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 15248 | fi | ||
| 15249 | |||
| 15250 | |||
| 15251 | fi | ||
| 15252 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15253 | |||
| 15254 | fi | ||
| 15255 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 | ||
| 15256 | $as_echo "$gl_cv_header_working_stdint_h" >&6; } | ||
| 15257 | fi | ||
| 15258 | if test "$gl_cv_header_working_stdint_h" = yes; then | ||
| 15259 | STDINT_H= | ||
| 15260 | else | ||
| 15261 | for ac_header in sys/inttypes.h sys/bitypes.h | ||
| 15262 | do : | ||
| 15263 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 15264 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | ||
| 15265 | eval as_val=\$$as_ac_Header | ||
| 15266 | if test "x$as_val" = x""yes; then : | ||
| 15267 | cat >>confdefs.h <<_ACEOF | ||
| 15268 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
| 15269 | _ACEOF | ||
| 15270 | |||
| 15271 | fi | ||
| 15272 | |||
| 15273 | done | ||
| 15274 | |||
| 15275 | if test $ac_cv_header_sys_inttypes_h = yes; then | ||
| 15276 | HAVE_SYS_INTTYPES_H=1 | ||
| 15277 | else | ||
| 15278 | HAVE_SYS_INTTYPES_H=0 | ||
| 15279 | fi | ||
| 15280 | |||
| 15281 | if test $ac_cv_header_sys_bitypes_h = yes; then | ||
| 15282 | HAVE_SYS_BITYPES_H=1 | ||
| 15283 | else | ||
| 15284 | HAVE_SYS_BITYPES_H=0 | ||
| 15285 | fi | ||
| 15286 | |||
| 15287 | |||
| 15288 | |||
| 15289 | |||
| 15290 | if test $APPLE_UNIVERSAL_BUILD = 0; then | ||
| 15291 | |||
| 15292 | |||
| 15293 | for gltype in ptrdiff_t size_t ; do | ||
| 15294 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 | ||
| 15295 | $as_echo_n "checking for bit size of $gltype... " >&6; } | ||
| 15296 | if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 15297 | $as_echo_n "(cached) " >&6 | ||
| 15298 | else | ||
| 15299 | if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " | ||
| 15300 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | ||
| 15301 | included before <wchar.h>. */ | ||
| 15302 | #include <stddef.h> | ||
| 15303 | #include <signal.h> | ||
| 15304 | #if HAVE_WCHAR_H | ||
| 15305 | # include <stdio.h> | ||
| 15306 | # include <time.h> | ||
| 15307 | # include <wchar.h> | ||
| 15308 | #endif | ||
| 15309 | |||
| 15310 | #include <limits.h>"; then : | ||
| 15311 | |||
| 15312 | else | ||
| 15313 | result=unknown | ||
| 15314 | fi | ||
| 15315 | |||
| 15316 | eval gl_cv_bitsizeof_${gltype}=\$result | ||
| 15317 | |||
| 15318 | fi | ||
| 15319 | eval ac_res=\$gl_cv_bitsizeof_${gltype} | ||
| 15320 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 15321 | $as_echo "$ac_res" >&6; } | ||
| 15322 | eval result=\$gl_cv_bitsizeof_${gltype} | ||
| 15323 | if test $result = unknown; then | ||
| 15324 | result=0 | ||
| 15325 | fi | ||
| 15326 | GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` | ||
| 15327 | cat >>confdefs.h <<_ACEOF | ||
| 15328 | #define BITSIZEOF_${GLTYPE} $result | ||
| 15329 | _ACEOF | ||
| 15330 | |||
| 15331 | eval BITSIZEOF_${GLTYPE}=\$result | ||
| 15332 | done | ||
| 15333 | |||
| 15334 | |||
| 15335 | fi | ||
| 15336 | |||
| 15337 | |||
| 15338 | for gltype in sig_atomic_t wchar_t wint_t ; do | ||
| 15339 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 | ||
| 15340 | $as_echo_n "checking for bit size of $gltype... " >&6; } | ||
| 15341 | if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 15342 | $as_echo_n "(cached) " >&6 | ||
| 15343 | else | ||
| 15344 | if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " | ||
| 15345 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | ||
| 15346 | included before <wchar.h>. */ | ||
| 15347 | #include <stddef.h> | ||
| 15348 | #include <signal.h> | ||
| 15349 | #if HAVE_WCHAR_H | ||
| 15350 | # include <stdio.h> | ||
| 15351 | # include <time.h> | ||
| 15352 | # include <wchar.h> | ||
| 15353 | #endif | ||
| 15354 | |||
| 15355 | #include <limits.h>"; then : | ||
| 15356 | |||
| 15357 | else | ||
| 15358 | result=unknown | ||
| 15359 | fi | ||
| 15360 | |||
| 15361 | eval gl_cv_bitsizeof_${gltype}=\$result | ||
| 15362 | |||
| 15363 | fi | ||
| 15364 | eval ac_res=\$gl_cv_bitsizeof_${gltype} | ||
| 15365 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 15366 | $as_echo "$ac_res" >&6; } | ||
| 15367 | eval result=\$gl_cv_bitsizeof_${gltype} | ||
| 15368 | if test $result = unknown; then | ||
| 15369 | result=0 | ||
| 15370 | fi | ||
| 15371 | GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` | ||
| 15372 | cat >>confdefs.h <<_ACEOF | ||
| 15373 | #define BITSIZEOF_${GLTYPE} $result | ||
| 15374 | _ACEOF | ||
| 15375 | |||
| 15376 | eval BITSIZEOF_${GLTYPE}=\$result | ||
| 15377 | done | ||
| 15378 | |||
| 15379 | |||
| 15380 | |||
| 15381 | |||
| 15382 | for gltype in sig_atomic_t wchar_t wint_t ; do | ||
| 15383 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 | ||
| 15384 | $as_echo_n "checking whether $gltype is signed... " >&6; } | ||
| 15385 | if { as_var=gl_cv_type_${gltype}_signed; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 15386 | $as_echo_n "(cached) " >&6 | ||
| 15387 | else | ||
| 15388 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 15389 | /* end confdefs.h. */ | ||
| 15390 | |||
| 15391 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | ||
| 15392 | included before <wchar.h>. */ | ||
| 15393 | #include <stddef.h> | ||
| 15394 | #include <signal.h> | ||
| 15395 | #if HAVE_WCHAR_H | ||
| 15396 | # include <stdio.h> | ||
| 15397 | # include <time.h> | ||
| 15398 | # include <wchar.h> | ||
| 15399 | #endif | ||
| 15400 | |||
| 15401 | int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; | ||
| 15402 | int | ||
| 15403 | main () | ||
| 15404 | { | ||
| 15405 | |||
| 15406 | ; | ||
| 15407 | return 0; | ||
| 15408 | } | ||
| 15409 | _ACEOF | ||
| 15410 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 15411 | result=yes | ||
| 15412 | else | ||
| 15413 | result=no | ||
| 15414 | fi | ||
| 15415 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15416 | eval gl_cv_type_${gltype}_signed=\$result | ||
| 15417 | |||
| 15418 | fi | ||
| 15419 | eval ac_res=\$gl_cv_type_${gltype}_signed | ||
| 15420 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 15421 | $as_echo "$ac_res" >&6; } | ||
| 15422 | eval result=\$gl_cv_type_${gltype}_signed | ||
| 15423 | GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` | ||
| 15424 | if test "$result" = yes; then | ||
| 15425 | cat >>confdefs.h <<_ACEOF | ||
| 15426 | #define HAVE_SIGNED_${GLTYPE} 1 | ||
| 15427 | _ACEOF | ||
| 15428 | |||
| 15429 | eval HAVE_SIGNED_${GLTYPE}=1 | ||
| 15430 | else | ||
| 15431 | eval HAVE_SIGNED_${GLTYPE}=0 | ||
| 15432 | fi | ||
| 15433 | done | ||
| 15434 | |||
| 15435 | |||
| 15436 | gl_cv_type_ptrdiff_t_signed=yes | ||
| 15437 | gl_cv_type_size_t_signed=no | ||
| 15438 | if test $APPLE_UNIVERSAL_BUILD = 0; then | ||
| 15439 | |||
| 15440 | |||
| 15441 | for gltype in ptrdiff_t size_t ; do | ||
| 15442 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 | ||
| 15443 | $as_echo_n "checking for $gltype integer literal suffix... " >&6; } | ||
| 15444 | if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 15445 | $as_echo_n "(cached) " >&6 | ||
| 15446 | else | ||
| 15447 | eval gl_cv_type_${gltype}_suffix=no | ||
| 15448 | eval result=\$gl_cv_type_${gltype}_signed | ||
| 15449 | if test "$result" = yes; then | ||
| 15450 | glsufu= | ||
| 15451 | else | ||
| 15452 | glsufu=u | ||
| 15453 | fi | ||
| 15454 | for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do | ||
| 15455 | case $glsuf in | ||
| 15456 | '') gltype1='int';; | ||
| 15457 | l) gltype1='long int';; | ||
| 15458 | ll) gltype1='long long int';; | ||
| 15459 | i64) gltype1='__int64';; | ||
| 15460 | u) gltype1='unsigned int';; | ||
| 15461 | ul) gltype1='unsigned long int';; | ||
| 15462 | ull) gltype1='unsigned long long int';; | ||
| 15463 | ui64)gltype1='unsigned __int64';; | ||
| 15464 | esac | ||
| 15465 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 15466 | /* end confdefs.h. */ | ||
| 15467 | |||
| 15468 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | ||
| 15469 | included before <wchar.h>. */ | ||
| 15470 | #include <stddef.h> | ||
| 15471 | #include <signal.h> | ||
| 15472 | #if HAVE_WCHAR_H | ||
| 15473 | # include <stdio.h> | ||
| 15474 | # include <time.h> | ||
| 15475 | # include <wchar.h> | ||
| 15476 | #endif | ||
| 15477 | |||
| 15478 | extern $gltype foo; | ||
| 15479 | extern $gltype1 foo; | ||
| 15480 | int | ||
| 15481 | main () | ||
| 15482 | { | ||
| 15483 | |||
| 15484 | ; | ||
| 15485 | return 0; | ||
| 15486 | } | ||
| 15487 | _ACEOF | ||
| 15488 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 15489 | eval gl_cv_type_${gltype}_suffix=\$glsuf | ||
| 15490 | fi | ||
| 15491 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15492 | eval result=\$gl_cv_type_${gltype}_suffix | ||
| 15493 | test "$result" != no && break | ||
| 15494 | done | ||
| 15495 | fi | ||
| 15496 | eval ac_res=\$gl_cv_type_${gltype}_suffix | ||
| 15497 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 15498 | $as_echo "$ac_res" >&6; } | ||
| 15499 | GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` | ||
| 15500 | eval result=\$gl_cv_type_${gltype}_suffix | ||
| 15501 | test "$result" = no && result= | ||
| 15502 | eval ${GLTYPE}_SUFFIX=\$result | ||
| 15503 | cat >>confdefs.h <<_ACEOF | ||
| 15504 | #define ${GLTYPE}_SUFFIX $result | ||
| 15505 | _ACEOF | ||
| 15506 | |||
| 15507 | done | ||
| 15508 | |||
| 15509 | |||
| 15510 | fi | ||
| 15511 | |||
| 15512 | |||
| 15513 | for gltype in sig_atomic_t wchar_t wint_t ; do | ||
| 15514 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 | ||
| 15515 | $as_echo_n "checking for $gltype integer literal suffix... " >&6; } | ||
| 15516 | if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 15517 | $as_echo_n "(cached) " >&6 | ||
| 15518 | else | ||
| 15519 | eval gl_cv_type_${gltype}_suffix=no | ||
| 15520 | eval result=\$gl_cv_type_${gltype}_signed | ||
| 15521 | if test "$result" = yes; then | ||
| 15522 | glsufu= | ||
| 15523 | else | ||
| 15524 | glsufu=u | ||
| 15525 | fi | ||
| 15526 | for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do | ||
| 15527 | case $glsuf in | ||
| 15528 | '') gltype1='int';; | ||
| 15529 | l) gltype1='long int';; | ||
| 15530 | ll) gltype1='long long int';; | ||
| 15531 | i64) gltype1='__int64';; | ||
| 15532 | u) gltype1='unsigned int';; | ||
| 15533 | ul) gltype1='unsigned long int';; | ||
| 15534 | ull) gltype1='unsigned long long int';; | ||
| 15535 | ui64)gltype1='unsigned __int64';; | ||
| 15536 | esac | ||
| 15537 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 15538 | /* end confdefs.h. */ | ||
| 15539 | |||
| 15540 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | ||
| 15541 | included before <wchar.h>. */ | ||
| 15542 | #include <stddef.h> | ||
| 15543 | #include <signal.h> | ||
| 15544 | #if HAVE_WCHAR_H | ||
| 15545 | # include <stdio.h> | ||
| 15546 | # include <time.h> | ||
| 15547 | # include <wchar.h> | ||
| 15548 | #endif | ||
| 15549 | |||
| 15550 | extern $gltype foo; | ||
| 15551 | extern $gltype1 foo; | ||
| 15552 | int | ||
| 15553 | main () | ||
| 15554 | { | ||
| 15555 | |||
| 15556 | ; | ||
| 15557 | return 0; | ||
| 15558 | } | ||
| 15559 | _ACEOF | ||
| 15560 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 15561 | eval gl_cv_type_${gltype}_suffix=\$glsuf | ||
| 15562 | fi | ||
| 15563 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15564 | eval result=\$gl_cv_type_${gltype}_suffix | ||
| 15565 | test "$result" != no && break | ||
| 15566 | done | ||
| 15567 | fi | ||
| 15568 | eval ac_res=\$gl_cv_type_${gltype}_suffix | ||
| 15569 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 15570 | $as_echo "$ac_res" >&6; } | ||
| 15571 | GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` | ||
| 15572 | eval result=\$gl_cv_type_${gltype}_suffix | ||
| 15573 | test "$result" = no && result= | ||
| 15574 | eval ${GLTYPE}_SUFFIX=\$result | ||
| 15575 | cat >>confdefs.h <<_ACEOF | ||
| 15576 | #define ${GLTYPE}_SUFFIX $result | ||
| 15577 | _ACEOF | ||
| 15578 | |||
| 15579 | done | ||
| 15580 | |||
| 15581 | |||
| 15582 | |||
| 15583 | STDINT_H=stdint.h | ||
| 15584 | fi | ||
| 15585 | |||
| 15586 | if test -n "$STDINT_H"; then | ||
| 15587 | GL_GENERATE_STDINT_H_TRUE= | ||
| 15588 | GL_GENERATE_STDINT_H_FALSE='#' | ||
| 15589 | else | ||
| 15590 | GL_GENERATE_STDINT_H_TRUE='#' | ||
| 15591 | GL_GENERATE_STDINT_H_FALSE= | ||
| 15592 | fi | ||
| 15593 | |||
| 15594 | |||
| 15595 | |||
| 15596 | |||
| 15597 | |||
| 15598 | GNULIB_IMAXABS=0; | ||
| 15599 | GNULIB_IMAXDIV=0; | ||
| 15600 | GNULIB_STRTOIMAX=0; | ||
| 15601 | GNULIB_STRTOUMAX=0; | ||
| 15602 | HAVE_DECL_IMAXABS=1; | ||
| 15603 | HAVE_DECL_IMAXDIV=1; | ||
| 15604 | HAVE_DECL_STRTOIMAX=1; | ||
| 15605 | HAVE_DECL_STRTOUMAX=1; | ||
| 15606 | INT32_MAX_LT_INTMAX_MAX=1; | ||
| 15607 | INT64_MAX_EQ_LONG_MAX='defined _LP64'; | ||
| 15608 | PRI_MACROS_BROKEN=0; | ||
| 15609 | PRIPTR_PREFIX=__PRIPTR_PREFIX; | ||
| 15610 | UINT32_MAX_LT_UINTMAX_MAX=1; | ||
| 15611 | UINT64_MAX_EQ_ULONG_MAX='defined _LP64'; | ||
| 15612 | |||
| 15613 | |||
| 14697 | GNULIB_FCHMODAT=0; | 15614 | GNULIB_FCHMODAT=0; |
| 14698 | GNULIB_FSTATAT=0; | 15615 | GNULIB_FSTATAT=0; |
| 14699 | GNULIB_FUTIMENS=0; | 15616 | GNULIB_FUTIMENS=0; |
| @@ -14817,48 +15734,6 @@ _ACEOF | |||
| 14817 | 15734 | ||
| 14818 | 15735 | ||
| 14819 | 15736 | ||
| 14820 | gl_cv_c_multiarch=no | ||
| 14821 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 14822 | /* end confdefs.h. */ | ||
| 14823 | #ifndef __APPLE_CC__ | ||
| 14824 | not a universal capable compiler | ||
| 14825 | #endif | ||
| 14826 | typedef int dummy; | ||
| 14827 | |||
| 14828 | _ACEOF | ||
| 14829 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 14830 | |||
| 14831 | arch= | ||
| 14832 | prev= | ||
| 14833 | for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do | ||
| 14834 | if test -n "$prev"; then | ||
| 14835 | case $word in | ||
| 14836 | i?86 | x86_64 | ppc | ppc64) | ||
| 14837 | if test -z "$arch" || test "$arch" = "$word"; then | ||
| 14838 | arch="$word" | ||
| 14839 | else | ||
| 14840 | gl_cv_c_multiarch=yes | ||
| 14841 | fi | ||
| 14842 | ;; | ||
| 14843 | esac | ||
| 14844 | prev= | ||
| 14845 | else | ||
| 14846 | if test "x$word" = "x-arch"; then | ||
| 14847 | prev=arch | ||
| 14848 | fi | ||
| 14849 | fi | ||
| 14850 | done | ||
| 14851 | |||
| 14852 | fi | ||
| 14853 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 14854 | if test $gl_cv_c_multiarch = yes; then | ||
| 14855 | APPLE_UNIVERSAL_BUILD=1 | ||
| 14856 | else | ||
| 14857 | APPLE_UNIVERSAL_BUILD=0 | ||
| 14858 | fi | ||
| 14859 | |||
| 14860 | |||
| 14861 | |||
| 14862 | 15737 | ||
| 14863 | 15738 | ||
| 14864 | 15739 | ||
| @@ -15003,127 +15878,6 @@ $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h | |||
| 15003 | fi | 15878 | fi |
| 15004 | 15879 | ||
| 15005 | 15880 | ||
| 15006 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 | ||
| 15007 | $as_echo_n "checking for unsigned long long int... " >&6; } | ||
| 15008 | if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then : | ||
| 15009 | $as_echo_n "(cached) " >&6 | ||
| 15010 | else | ||
| 15011 | ac_cv_type_unsigned_long_long_int=yes | ||
| 15012 | if test "x${ac_cv_prog_cc_c99-no}" = xno; then | ||
| 15013 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 15014 | /* end confdefs.h. */ | ||
| 15015 | |||
| 15016 | /* For now, do not test the preprocessor; as of 2007 there are too many | ||
| 15017 | implementations with broken preprocessors. Perhaps this can | ||
| 15018 | be revisited in 2012. In the meantime, code should not expect | ||
| 15019 | #if to work with literals wider than 32 bits. */ | ||
| 15020 | /* Test literals. */ | ||
| 15021 | long long int ll = 9223372036854775807ll; | ||
| 15022 | long long int nll = -9223372036854775807LL; | ||
| 15023 | unsigned long long int ull = 18446744073709551615ULL; | ||
| 15024 | /* Test constant expressions. */ | ||
| 15025 | typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) | ||
| 15026 | ? 1 : -1)]; | ||
| 15027 | typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 | ||
| 15028 | ? 1 : -1)]; | ||
| 15029 | int i = 63; | ||
| 15030 | int | ||
| 15031 | main () | ||
| 15032 | { | ||
| 15033 | /* Test availability of runtime routines for shift and division. */ | ||
| 15034 | long long int llmax = 9223372036854775807ll; | ||
| 15035 | unsigned long long int ullmax = 18446744073709551615ull; | ||
| 15036 | return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) | ||
| 15037 | | (llmax / ll) | (llmax % ll) | ||
| 15038 | | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) | ||
| 15039 | | (ullmax / ull) | (ullmax % ull)); | ||
| 15040 | ; | ||
| 15041 | return 0; | ||
| 15042 | } | ||
| 15043 | |||
| 15044 | _ACEOF | ||
| 15045 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 15046 | |||
| 15047 | else | ||
| 15048 | ac_cv_type_unsigned_long_long_int=no | ||
| 15049 | fi | ||
| 15050 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 15051 | conftest$ac_exeext conftest.$ac_ext | ||
| 15052 | fi | ||
| 15053 | fi | ||
| 15054 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 | ||
| 15055 | $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } | ||
| 15056 | if test $ac_cv_type_unsigned_long_long_int = yes; then | ||
| 15057 | |||
| 15058 | $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h | ||
| 15059 | |||
| 15060 | fi | ||
| 15061 | |||
| 15062 | |||
| 15063 | |||
| 15064 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 | ||
| 15065 | $as_echo_n "checking for long long int... " >&6; } | ||
| 15066 | if test "${ac_cv_type_long_long_int+set}" = set; then : | ||
| 15067 | $as_echo_n "(cached) " >&6 | ||
| 15068 | else | ||
| 15069 | ac_cv_type_long_long_int=yes | ||
| 15070 | if test "x${ac_cv_prog_cc_c99-no}" = xno; then | ||
| 15071 | ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int | ||
| 15072 | if test $ac_cv_type_long_long_int = yes; then | ||
| 15073 | if test "$cross_compiling" = yes; then : | ||
| 15074 | : | ||
| 15075 | else | ||
| 15076 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 15077 | /* end confdefs.h. */ | ||
| 15078 | #include <limits.h> | ||
| 15079 | #ifndef LLONG_MAX | ||
| 15080 | # define HALF \ | ||
| 15081 | (1LL << (sizeof (long long int) * CHAR_BIT - 2)) | ||
| 15082 | # define LLONG_MAX (HALF - 1 + HALF) | ||
| 15083 | #endif | ||
| 15084 | int | ||
| 15085 | main () | ||
| 15086 | { | ||
| 15087 | long long int n = 1; | ||
| 15088 | int i; | ||
| 15089 | for (i = 0; ; i++) | ||
| 15090 | { | ||
| 15091 | long long int m = n << i; | ||
| 15092 | if (m >> i != n) | ||
| 15093 | return 1; | ||
| 15094 | if (LLONG_MAX / 2 < m) | ||
| 15095 | break; | ||
| 15096 | } | ||
| 15097 | return 0; | ||
| 15098 | ; | ||
| 15099 | return 0; | ||
| 15100 | } | ||
| 15101 | _ACEOF | ||
| 15102 | if ac_fn_c_try_run "$LINENO"; then : | ||
| 15103 | |||
| 15104 | else | ||
| 15105 | ac_cv_type_long_long_int=no | ||
| 15106 | fi | ||
| 15107 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
| 15108 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 15109 | fi | ||
| 15110 | |||
| 15111 | fi | ||
| 15112 | fi | ||
| 15113 | fi | ||
| 15114 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 | ||
| 15115 | $as_echo "$ac_cv_type_long_long_int" >&6; } | ||
| 15116 | if test $ac_cv_type_long_long_int = yes; then | ||
| 15117 | |||
| 15118 | $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h | ||
| 15119 | |||
| 15120 | fi | ||
| 15121 | |||
| 15122 | |||
| 15123 | |||
| 15124 | |||
| 15125 | |||
| 15126 | |||
| 15127 | GNULIB_DPRINTF=0; | 15881 | GNULIB_DPRINTF=0; |
| 15128 | GNULIB_FCLOSE=0; | 15882 | GNULIB_FCLOSE=0; |
| 15129 | GNULIB_FFLUSH=0; | 15883 | GNULIB_FFLUSH=0; |
| @@ -15234,6 +15988,17 @@ fi | |||
| 15234 | 15988 | ||
| 15235 | 15989 | ||
| 15236 | 15990 | ||
| 15991 | ac_fn_c_check_decl "$LINENO" "strtoumax" "ac_cv_have_decl_strtoumax" "$ac_includes_default" | ||
| 15992 | if test "x$ac_cv_have_decl_strtoumax" = x""yes; then : | ||
| 15993 | ac_have_decl=1 | ||
| 15994 | else | ||
| 15995 | ac_have_decl=0 | ||
| 15996 | fi | ||
| 15997 | |||
| 15998 | cat >>confdefs.h <<_ACEOF | ||
| 15999 | #define HAVE_DECL_STRTOUMAX $ac_have_decl | ||
| 16000 | _ACEOF | ||
| 16001 | |||
| 15237 | 16002 | ||
| 15238 | 16003 | ||
| 15239 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 | 16004 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 |
| @@ -16151,6 +16916,82 @@ fi | |||
| 16151 | 16916 | ||
| 16152 | # Code from module include_next: | 16917 | # Code from module include_next: |
| 16153 | # Code from module intprops: | 16918 | # Code from module intprops: |
| 16919 | # Code from module inttypes-incomplete: | ||
| 16920 | |||
| 16921 | |||
| 16922 | |||
| 16923 | |||
| 16924 | |||
| 16925 | |||
| 16926 | |||
| 16927 | |||
| 16928 | |||
| 16929 | |||
| 16930 | |||
| 16931 | |||
| 16932 | |||
| 16933 | |||
| 16934 | if test $gl_cv_have_include_next = yes; then | ||
| 16935 | gl_cv_next_inttypes_h='<'inttypes.h'>' | ||
| 16936 | else | ||
| 16937 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <inttypes.h>" >&5 | ||
| 16938 | $as_echo_n "checking absolute name of <inttypes.h>... " >&6; } | ||
| 16939 | if test "${gl_cv_next_inttypes_h+set}" = set; then : | ||
| 16940 | $as_echo_n "(cached) " >&6 | ||
| 16941 | else | ||
| 16942 | |||
| 16943 | if test $ac_cv_header_inttypes_h = yes; then | ||
| 16944 | |||
| 16945 | |||
| 16946 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 16947 | /* end confdefs.h. */ | ||
| 16948 | #include <inttypes.h> | ||
| 16949 | |||
| 16950 | _ACEOF | ||
| 16951 | case "$host_os" in | ||
| 16952 | aix*) gl_absname_cpp="$ac_cpp -C" ;; | ||
| 16953 | *) gl_absname_cpp="$ac_cpp" ;; | ||
| 16954 | esac | ||
| 16955 | gl_cv_next_inttypes_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | | ||
| 16956 | sed -n '\#/inttypes.h#{ | ||
| 16957 | s#.*"\(.*/inttypes.h\)".*#\1# | ||
| 16958 | s#^/[^/]#//&# | ||
| 16959 | p | ||
| 16960 | q | ||
| 16961 | }'`'"' | ||
| 16962 | else | ||
| 16963 | gl_cv_next_inttypes_h='<'inttypes.h'>' | ||
| 16964 | fi | ||
| 16965 | |||
| 16966 | |||
| 16967 | fi | ||
| 16968 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_inttypes_h" >&5 | ||
| 16969 | $as_echo "$gl_cv_next_inttypes_h" >&6; } | ||
| 16970 | fi | ||
| 16971 | NEXT_INTTYPES_H=$gl_cv_next_inttypes_h | ||
| 16972 | |||
| 16973 | if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then | ||
| 16974 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' | ||
| 16975 | gl_next_as_first_directive='<'inttypes.h'>' | ||
| 16976 | else | ||
| 16977 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' | ||
| 16978 | gl_next_as_first_directive=$gl_cv_next_inttypes_h | ||
| 16979 | fi | ||
| 16980 | NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H=$gl_next_as_first_directive | ||
| 16981 | |||
| 16982 | |||
| 16983 | |||
| 16984 | |||
| 16985 | |||
| 16986 | |||
| 16987 | |||
| 16988 | |||
| 16989 | $as_echo "#define GL_TRIGGER_STDC_LIMIT_MACROS 1" >>confdefs.h | ||
| 16990 | |||
| 16991 | |||
| 16992 | |||
| 16993 | |||
| 16994 | |||
| 16154 | # Code from module lstat: | 16995 | # Code from module lstat: |
| 16155 | 16996 | ||
| 16156 | 16997 | ||
| @@ -17784,6 +18625,106 @@ $as_echo "#define my_strftime nstrftime" >>confdefs.h | |||
| 17784 | 18625 | ||
| 17785 | 18626 | ||
| 17786 | 18627 | ||
| 18628 | # Code from module strtoull: | ||
| 18629 | |||
| 18630 | |||
| 18631 | |||
| 18632 | if test "$ac_cv_type_unsigned_long_long_int" = yes; then | ||
| 18633 | |||
| 18634 | |||
| 18635 | |||
| 18636 | |||
| 18637 | |||
| 18638 | |||
| 18639 | |||
| 18640 | |||
| 18641 | for ac_func in strtoull | ||
| 18642 | do : | ||
| 18643 | ac_fn_c_check_func "$LINENO" "strtoull" "ac_cv_func_strtoull" | ||
| 18644 | if test "x$ac_cv_func_strtoull" = x""yes; then : | ||
| 18645 | cat >>confdefs.h <<_ACEOF | ||
| 18646 | #define HAVE_STRTOULL 1 | ||
| 18647 | _ACEOF | ||
| 18648 | |||
| 18649 | else | ||
| 18650 | |||
| 18651 | gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" | ||
| 18652 | |||
| 18653 | fi | ||
| 18654 | done | ||
| 18655 | |||
| 18656 | |||
| 18657 | if test $ac_cv_func_strtoull = no; then | ||
| 18658 | HAVE_STRTOULL=0 | ||
| 18659 | |||
| 18660 | : | ||
| 18661 | |||
| 18662 | fi | ||
| 18663 | fi | ||
| 18664 | |||
| 18665 | |||
| 18666 | |||
| 18667 | |||
| 18668 | GNULIB_STRTOULL=1 | ||
| 18669 | |||
| 18670 | |||
| 18671 | |||
| 18672 | # Code from module strtoumax: | ||
| 18673 | |||
| 18674 | |||
| 18675 | |||
| 18676 | |||
| 18677 | if test "$ac_cv_have_decl_strtoumax" != yes; then | ||
| 18678 | HAVE_DECL_STRTOUMAX=0 | ||
| 18679 | |||
| 18680 | |||
| 18681 | |||
| 18682 | |||
| 18683 | |||
| 18684 | |||
| 18685 | |||
| 18686 | |||
| 18687 | |||
| 18688 | for ac_func in strtoumax | ||
| 18689 | do : | ||
| 18690 | ac_fn_c_check_func "$LINENO" "strtoumax" "ac_cv_func_strtoumax" | ||
| 18691 | if test "x$ac_cv_func_strtoumax" = x""yes; then : | ||
| 18692 | cat >>confdefs.h <<_ACEOF | ||
| 18693 | #define HAVE_STRTOUMAX 1 | ||
| 18694 | _ACEOF | ||
| 18695 | |||
| 18696 | else | ||
| 18697 | |||
| 18698 | gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" | ||
| 18699 | |||
| 18700 | fi | ||
| 18701 | done | ||
| 18702 | |||
| 18703 | |||
| 18704 | if test $ac_cv_func_strtoumax = no; then | ||
| 18705 | |||
| 18706 | ac_fn_c_check_decl "$LINENO" "strtoull" "ac_cv_have_decl_strtoull" "$ac_includes_default" | ||
| 18707 | if test "x$ac_cv_have_decl_strtoull" = x""yes; then : | ||
| 18708 | ac_have_decl=1 | ||
| 18709 | else | ||
| 18710 | ac_have_decl=0 | ||
| 18711 | fi | ||
| 18712 | |||
| 18713 | cat >>confdefs.h <<_ACEOF | ||
| 18714 | #define HAVE_DECL_STRTOULL $ac_have_decl | ||
| 18715 | _ACEOF | ||
| 18716 | |||
| 18717 | |||
| 18718 | |||
| 18719 | fi | ||
| 18720 | fi | ||
| 18721 | |||
| 18722 | |||
| 18723 | |||
| 18724 | |||
| 18725 | GNULIB_STRTOUMAX=1 | ||
| 18726 | |||
| 18727 | |||
| 17787 | # Code from module symlink: | 18728 | # Code from module symlink: |
| 17788 | 18729 | ||
| 17789 | 18730 | ||
| @@ -18106,6 +19047,7 @@ $as_echo "$gl_cv_next_unistd_h" >&6; } | |||
| 18106 | 19047 | ||
| 18107 | 19048 | ||
| 18108 | 19049 | ||
| 19050 | # Code from module verify: | ||
| 18109 | # Code from module warn-on-use: | 19051 | # Code from module warn-on-use: |
| 18110 | # End of code from modules | 19052 | # End of code from modules |
| 18111 | 19053 | ||
| @@ -19596,17 +20538,6 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h | |||
| 19596 | 20538 | ||
| 19597 | fi | 20539 | fi |
| 19598 | 20540 | ||
| 19599 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" | ||
| 19600 | if test "x$ac_cv_type_size_t" = x""yes; then : | ||
| 19601 | |||
| 19602 | cat >>confdefs.h <<_ACEOF | ||
| 19603 | #define HAVE_SIZE_T 1 | ||
| 19604 | _ACEOF | ||
| 19605 | |||
| 19606 | |||
| 19607 | fi | ||
| 19608 | |||
| 19609 | |||
| 19610 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 | 20541 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 |
| 19611 | $as_echo_n "checking for mbstate_t... " >&6; } | 20542 | $as_echo_n "checking for mbstate_t... " >&6; } |
| 19612 | if test "${ac_cv_type_mbstate_t+set}" = set; then : | 20543 | if test "${ac_cv_type_mbstate_t+set}" = set; then : |
| @@ -20297,6 +21228,10 @@ if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then | |||
| 20297 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 21228 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 20298 | fi | 21229 | fi |
| 20299 | 21230 | ||
| 21231 | if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then | ||
| 21232 | as_fn_error "conditional \"GL_GENERATE_STDINT_H\" was never defined. | ||
| 21233 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | ||
| 21234 | fi | ||
| 20300 | if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_FALSE}"; then | 21235 | if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_FALSE}"; then |
| 20301 | as_fn_error "conditional \"GL_GENERATE_STDBOOL_H\" was never defined. | 21236 | as_fn_error "conditional \"GL_GENERATE_STDBOOL_H\" was never defined. |
| 20302 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 21237 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |