aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-05-27 06:19:11 -0400
committerGlenn Morris2012-05-27 06:19:11 -0400
commit0eb775a3a4cb9f5cc00bbec938f029aa67569dcf (patch)
tree6b5bab321df246dad6af76f213cad959b0443acd
parente4d4f53985fc9ab929f063f63a173a9114d3beb6 (diff)
downloademacs-0eb775a3a4cb9f5cc00bbec938f029aa67569dcf.tar.gz
emacs-0eb775a3a4cb9f5cc00bbec938f029aa67569dcf.zip
Auto-commit of generated files.
-rw-r--r--autogen/Makefile.in118
-rw-r--r--autogen/aclocal.m43
-rw-r--r--autogen/config.in35
-rwxr-xr-xautogen/configure795
4 files changed, 606 insertions, 345 deletions
diff --git a/autogen/Makefile.in b/autogen/Makefile.in
index 4e733f74759..7f9afd242c3 100644
--- a/autogen/Makefile.in
+++ b/autogen/Makefile.in
@@ -15,7 +15,7 @@
15 15
16@SET_MAKE@ 16@SET_MAKE@
17 17
18# Copyright (C) 2002-2011 Free Software Foundation, Inc. 18# Copyright (C) 2002-2012 Free Software Foundation, Inc.
19# 19#
20# This file is free software; you can redistribute it and/or modify 20# This file is free software; you can redistribute it and/or modify
21# it under the terms of the GNU General Public License as published by 21# it under the terms of the GNU General Public License as published by
@@ -36,7 +36,7 @@
36# the same distribution terms as the rest of that program. 36# the same distribution terms as the rest of that program.
37# 37#
38# Generated by gnulib-tool. 38# Generated by gnulib-tool.
39# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=msvc-inval --avoid=msvc-nothrow --avoid=raise --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dup2 filemode getloadavg getopt-gnu ignore-value intprops lstat manywarnings mktime pthread_sigmask readlink socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat warnings 39# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=msvc-inval --avoid=msvc-nothrow --avoid=raise --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dup2 filemode getloadavg getopt-gnu ignore-value intprops largefile lstat manywarnings mktime pthread_sigmask readlink socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat warnings
40 40
41VPATH = @srcdir@ 41VPATH = @srcdir@
42pkgdatadir = $(datadir)/@PACKAGE@ 42pkgdatadir = $(datadir)/@PACKAGE@
@@ -73,20 +73,21 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
73 $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/manywarnings.m4 \ 73 $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/manywarnings.m4 \
74 $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/mktime.m4 \ 74 $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/mktime.m4 \
75 $(top_srcdir)/m4/multiarch.m4 $(top_srcdir)/m4/nocrash.m4 \ 75 $(top_srcdir)/m4/multiarch.m4 $(top_srcdir)/m4/nocrash.m4 \
76 $(top_srcdir)/m4/pathmax.m4 \ 76 $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/pathmax.m4 \
77 $(top_srcdir)/m4/pthread_sigmask.m4 \ 77 $(top_srcdir)/m4/pthread_sigmask.m4 \
78 $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/sha1.m4 \ 78 $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/sha1.m4 \
79 $(top_srcdir)/m4/sha256.m4 $(top_srcdir)/m4/sha512.m4 \ 79 $(top_srcdir)/m4/sha256.m4 $(top_srcdir)/m4/sha512.m4 \
80 $(top_srcdir)/m4/signal_h.m4 \ 80 $(top_srcdir)/m4/signal_h.m4 \
81 $(top_srcdir)/m4/signalblocking.m4 $(top_srcdir)/m4/socklen.m4 \ 81 $(top_srcdir)/m4/signalblocking.m4 $(top_srcdir)/m4/socklen.m4 \
82 $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ 82 $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/st_dm_mode.m4 \
83 $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \ 83 $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdalign.m4 \
84 $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ 84 $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
85 $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \ 85 $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
86 $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strftime.m4 \ 86 $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
87 $(top_srcdir)/m4/strtoimax.m4 $(top_srcdir)/m4/strtoll.m4 \ 87 $(top_srcdir)/m4/strftime.m4 $(top_srcdir)/m4/strtoimax.m4 \
88 $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/strtoumax.m4 \ 88 $(top_srcdir)/m4/strtoll.m4 $(top_srcdir)/m4/strtoull.m4 \
89 $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_stat_h.m4 \ 89 $(top_srcdir)/m4/strtoumax.m4 $(top_srcdir)/m4/symlink.m4 \
90 $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_types_h.m4 \
90 $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/time_r.m4 \ 91 $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/time_r.m4 \
91 $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/unistd_h.m4 \ 92 $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/unistd_h.m4 \
92 $(top_srcdir)/m4/warnings.m4 $(top_srcdir)/m4/wchar_t.m4 \ 93 $(top_srcdir)/m4/warnings.m4 $(top_srcdir)/m4/wchar_t.m4 \
@@ -230,13 +231,14 @@ GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
230GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ 231GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
231GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ 232GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
232GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ 233GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
233GNULIB_GETS = @GNULIB_GETS@
234GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ 234GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
235GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ 235GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
236GNULIB_GL_UNISTD_H_GETOPT = @GNULIB_GL_UNISTD_H_GETOPT@
236GNULIB_GRANTPT = @GNULIB_GRANTPT@ 237GNULIB_GRANTPT = @GNULIB_GRANTPT@
237GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ 238GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@
238GNULIB_IMAXABS = @GNULIB_IMAXABS@ 239GNULIB_IMAXABS = @GNULIB_IMAXABS@
239GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ 240GNULIB_IMAXDIV = @GNULIB_IMAXDIV@
241GNULIB_ISATTY = @GNULIB_ISATTY@
240GNULIB_LCHMOD = @GNULIB_LCHMOD@ 242GNULIB_LCHMOD = @GNULIB_LCHMOD@
241GNULIB_LCHOWN = @GNULIB_LCHOWN@ 243GNULIB_LCHOWN = @GNULIB_LCHOWN@
242GNULIB_LINK = @GNULIB_LINK@ 244GNULIB_LINK = @GNULIB_LINK@
@@ -264,17 +266,20 @@ GNULIB_PERROR = @GNULIB_PERROR@
264GNULIB_PIPE = @GNULIB_PIPE@ 266GNULIB_PIPE = @GNULIB_PIPE@
265GNULIB_PIPE2 = @GNULIB_PIPE2@ 267GNULIB_PIPE2 = @GNULIB_PIPE2@
266GNULIB_POPEN = @GNULIB_POPEN@ 268GNULIB_POPEN = @GNULIB_POPEN@
269GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@
267GNULIB_PREAD = @GNULIB_PREAD@ 270GNULIB_PREAD = @GNULIB_PREAD@
268GNULIB_PRINTF = @GNULIB_PRINTF@ 271GNULIB_PRINTF = @GNULIB_PRINTF@
269GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ 272GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@
270GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ 273GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@
271GNULIB_PTSNAME = @GNULIB_PTSNAME@ 274GNULIB_PTSNAME = @GNULIB_PTSNAME@
275GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@
272GNULIB_PUTC = @GNULIB_PUTC@ 276GNULIB_PUTC = @GNULIB_PUTC@
273GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ 277GNULIB_PUTCHAR = @GNULIB_PUTCHAR@
274GNULIB_PUTENV = @GNULIB_PUTENV@ 278GNULIB_PUTENV = @GNULIB_PUTENV@
275GNULIB_PUTS = @GNULIB_PUTS@ 279GNULIB_PUTS = @GNULIB_PUTS@
276GNULIB_PWRITE = @GNULIB_PWRITE@ 280GNULIB_PWRITE = @GNULIB_PWRITE@
277GNULIB_RAISE = @GNULIB_RAISE@ 281GNULIB_RAISE = @GNULIB_RAISE@
282GNULIB_RANDOM = @GNULIB_RANDOM@
278GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ 283GNULIB_RANDOM_R = @GNULIB_RANDOM_R@
279GNULIB_READ = @GNULIB_READ@ 284GNULIB_READ = @GNULIB_READ@
280GNULIB_READLINK = @GNULIB_READLINK@ 285GNULIB_READLINK = @GNULIB_READLINK@
@@ -288,6 +293,7 @@ GNULIB_RMDIR = @GNULIB_RMDIR@
288GNULIB_RPMATCH = @GNULIB_RPMATCH@ 293GNULIB_RPMATCH = @GNULIB_RPMATCH@
289GNULIB_SCANF = @GNULIB_SCANF@ 294GNULIB_SCANF = @GNULIB_SCANF@
290GNULIB_SETENV = @GNULIB_SETENV@ 295GNULIB_SETENV = @GNULIB_SETENV@
296GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
291GNULIB_SIGACTION = @GNULIB_SIGACTION@ 297GNULIB_SIGACTION = @GNULIB_SIGACTION@
292GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ 298GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@
293GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ 299GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@
@@ -310,7 +316,6 @@ GNULIB_TIMEGM = @GNULIB_TIMEGM@
310GNULIB_TIME_R = @GNULIB_TIME_R@ 316GNULIB_TIME_R = @GNULIB_TIME_R@
311GNULIB_TMPFILE = @GNULIB_TMPFILE@ 317GNULIB_TMPFILE = @GNULIB_TMPFILE@
312GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ 318GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@
313GNULIB_UNISTD_H_GETOPT = @GNULIB_UNISTD_H_GETOPT@
314GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ 319GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@
315GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ 320GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@
316GNULIB_UNLINK = @GNULIB_UNLINK@ 321GNULIB_UNLINK = @GNULIB_UNLINK@
@@ -364,6 +369,7 @@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@
364HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ 369HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@
365HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ 370HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@
366HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ 371HAVE_DECL_SETENV = @HAVE_DECL_SETENV@
372HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
367HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ 373HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
368HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ 374HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@
369HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ 375HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@
@@ -418,12 +424,15 @@ HAVE_PCLOSE = @HAVE_PCLOSE@
418HAVE_PIPE = @HAVE_PIPE@ 424HAVE_PIPE = @HAVE_PIPE@
419HAVE_PIPE2 = @HAVE_PIPE2@ 425HAVE_PIPE2 = @HAVE_PIPE2@
420HAVE_POPEN = @HAVE_POPEN@ 426HAVE_POPEN = @HAVE_POPEN@
427HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@
421HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ 428HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@
422HAVE_PREAD = @HAVE_PREAD@ 429HAVE_PREAD = @HAVE_PREAD@
423HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ 430HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@
424HAVE_PTSNAME = @HAVE_PTSNAME@ 431HAVE_PTSNAME = @HAVE_PTSNAME@
432HAVE_PTSNAME_R = @HAVE_PTSNAME_R@
425HAVE_PWRITE = @HAVE_PWRITE@ 433HAVE_PWRITE = @HAVE_PWRITE@
426HAVE_RAISE = @HAVE_RAISE@ 434HAVE_RAISE = @HAVE_RAISE@
435HAVE_RANDOM = @HAVE_RANDOM@
427HAVE_RANDOM_H = @HAVE_RANDOM_H@ 436HAVE_RANDOM_H = @HAVE_RANDOM_H@
428HAVE_RANDOM_R = @HAVE_RANDOM_R@ 437HAVE_RANDOM_R = @HAVE_RANDOM_R@
429HAVE_READLINK = @HAVE_READLINK@ 438HAVE_READLINK = @HAVE_READLINK@
@@ -432,6 +441,7 @@ HAVE_REALPATH = @HAVE_REALPATH@
432HAVE_RENAMEAT = @HAVE_RENAMEAT@ 441HAVE_RENAMEAT = @HAVE_RENAMEAT@
433HAVE_RPMATCH = @HAVE_RPMATCH@ 442HAVE_RPMATCH = @HAVE_RPMATCH@
434HAVE_SETENV = @HAVE_SETENV@ 443HAVE_SETENV = @HAVE_SETENV@
444HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
435HAVE_SIGACTION = @HAVE_SIGACTION@ 445HAVE_SIGACTION = @HAVE_SIGACTION@
436HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ 446HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@
437HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ 447HAVE_SIGINFO_T = @HAVE_SIGINFO_T@
@@ -544,6 +554,7 @@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
544NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ 554NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
545NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ 555NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
546NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ 556NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
557NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@
547NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ 558NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@
548NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ 559NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@
549NEXT_GETOPT_H = @NEXT_GETOPT_H@ 560NEXT_GETOPT_H = @NEXT_GETOPT_H@
@@ -555,6 +566,7 @@ NEXT_STDINT_H = @NEXT_STDINT_H@
555NEXT_STDIO_H = @NEXT_STDIO_H@ 566NEXT_STDIO_H = @NEXT_STDIO_H@
556NEXT_STDLIB_H = @NEXT_STDLIB_H@ 567NEXT_STDLIB_H = @NEXT_STDLIB_H@
557NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ 568NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
569NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@
558NEXT_TIME_H = @NEXT_TIME_H@ 570NEXT_TIME_H = @NEXT_TIME_H@
559NEXT_UNISTD_H = @NEXT_UNISTD_H@ 571NEXT_UNISTD_H = @NEXT_UNISTD_H@
560NS_OBJ = @NS_OBJ@ 572NS_OBJ = @NS_OBJ@
@@ -605,6 +617,7 @@ REPLACE_FSTAT = @REPLACE_FSTAT@
605REPLACE_FSTATAT = @REPLACE_FSTATAT@ 617REPLACE_FSTATAT = @REPLACE_FSTATAT@
606REPLACE_FTELL = @REPLACE_FTELL@ 618REPLACE_FTELL = @REPLACE_FTELL@
607REPLACE_FTELLO = @REPLACE_FTELLO@ 619REPLACE_FTELLO = @REPLACE_FTELLO@
620REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@
608REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ 621REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
609REPLACE_GETCWD = @REPLACE_GETCWD@ 622REPLACE_GETCWD = @REPLACE_GETCWD@
610REPLACE_GETDELIM = @REPLACE_GETDELIM@ 623REPLACE_GETDELIM = @REPLACE_GETDELIM@
@@ -613,6 +626,7 @@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
613REPLACE_GETLINE = @REPLACE_GETLINE@ 626REPLACE_GETLINE = @REPLACE_GETLINE@
614REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ 627REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
615REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ 628REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
629REPLACE_ISATTY = @REPLACE_ISATTY@
616REPLACE_LCHOWN = @REPLACE_LCHOWN@ 630REPLACE_LCHOWN = @REPLACE_LCHOWN@
617REPLACE_LINK = @REPLACE_LINK@ 631REPLACE_LINK = @REPLACE_LINK@
618REPLACE_LINKAT = @REPLACE_LINKAT@ 632REPLACE_LINKAT = @REPLACE_LINKAT@
@@ -634,9 +648,11 @@ REPLACE_POPEN = @REPLACE_POPEN@
634REPLACE_PREAD = @REPLACE_PREAD@ 648REPLACE_PREAD = @REPLACE_PREAD@
635REPLACE_PRINTF = @REPLACE_PRINTF@ 649REPLACE_PRINTF = @REPLACE_PRINTF@
636REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ 650REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@
651REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
637REPLACE_PUTENV = @REPLACE_PUTENV@ 652REPLACE_PUTENV = @REPLACE_PUTENV@
638REPLACE_PWRITE = @REPLACE_PWRITE@ 653REPLACE_PWRITE = @REPLACE_PWRITE@
639REPLACE_RAISE = @REPLACE_RAISE@ 654REPLACE_RAISE = @REPLACE_RAISE@
655REPLACE_RANDOM_R = @REPLACE_RANDOM_R@
640REPLACE_READ = @REPLACE_READ@ 656REPLACE_READ = @REPLACE_READ@
641REPLACE_READLINK = @REPLACE_READLINK@ 657REPLACE_READLINK = @REPLACE_READLINK@
642REPLACE_REALLOC = @REPLACE_REALLOC@ 658REPLACE_REALLOC = @REPLACE_REALLOC@
@@ -653,6 +669,7 @@ REPLACE_STAT = @REPLACE_STAT@
653REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ 669REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@
654REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ 670REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@
655REPLACE_STRTOD = @REPLACE_STRTOD@ 671REPLACE_STRTOD = @REPLACE_STRTOD@
672REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@
656REPLACE_SYMLINK = @REPLACE_SYMLINK@ 673REPLACE_SYMLINK = @REPLACE_SYMLINK@
657REPLACE_TIMEGM = @REPLACE_TIMEGM@ 674REPLACE_TIMEGM = @REPLACE_TIMEGM@
658REPLACE_TMPFILE = @REPLACE_TMPFILE@ 675REPLACE_TMPFILE = @REPLACE_TMPFILE@
@@ -679,6 +696,7 @@ SHELL = @SHELL@
679SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ 696SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
680SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ 697SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
681START_FILES = @START_FILES@ 698START_FILES = @START_FILES@
699STDALIGN_H = @STDALIGN_H@
682STDARG_H = @STDARG_H@ 700STDARG_H = @STDARG_H@
683STDBOOL_H = @STDBOOL_H@ 701STDBOOL_H = @STDBOOL_H@
684STDDEF_H = @STDDEF_H@ 702STDDEF_H = @STDDEF_H@
@@ -702,6 +720,8 @@ WARN_CFLAGS = @WARN_CFLAGS@
702WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ 720WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
703WERROR_CFLAGS = @WERROR_CFLAGS@ 721WERROR_CFLAGS = @WERROR_CFLAGS@
704WIDGET_OBJ = @WIDGET_OBJ@ 722WIDGET_OBJ = @WIDGET_OBJ@
723WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@
724WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@
705WINT_T_SUFFIX = @WINT_T_SUFFIX@ 725WINT_T_SUFFIX = @WINT_T_SUFFIX@
706XFT_CFLAGS = @XFT_CFLAGS@ 726XFT_CFLAGS = @XFT_CFLAGS@
707XFT_LIBS = @XFT_LIBS@ 727XFT_LIBS = @XFT_LIBS@
@@ -795,9 +815,9 @@ x_default_search_path = @x_default_search_path@
795# present in all Makefile.am that need it. This is ensured by the applicability 815# present in all Makefile.am that need it. This is ensured by the applicability
796# 'all' defined above. 816# 'all' defined above.
797BUILT_SOURCES = $(ALLOCA_H) $(GETOPT_H) inttypes.h signal.h \ 817BUILT_SOURCES = $(ALLOCA_H) $(GETOPT_H) inttypes.h signal.h \
798 arg-nonnull.h c++defs.h warn-on-use.h $(STDARG_H) $(STDBOOL_H) \ 818 arg-nonnull.h c++defs.h warn-on-use.h $(STDALIGN_H) \
799 $(STDDEF_H) $(STDINT_H) stdio.h stdlib.h sys/stat.h time.h \ 819 $(STDARG_H) $(STDBOOL_H) $(STDDEF_H) $(STDINT_H) stdio.h \
800 unistd.h 820 stdlib.h sys/stat.h sys/types.h time.h unistd.h
801EXTRA_DIST = alloca.in.h allocator.h careadlinkat.h md5.h sha1.h \ 821EXTRA_DIST = alloca.in.h allocator.h careadlinkat.h md5.h sha1.h \
802 sha256.h sha512.h dosname.h ftoastr.c ftoastr.h dup2.c \ 822 sha256.h sha512.h dosname.h ftoastr.c ftoastr.h dup2.c \
803 filemode.h getloadavg.c getopt.c getopt.in.h getopt1.c \ 823 filemode.h getloadavg.c getopt.c getopt.in.h getopt1.c \
@@ -808,18 +828,20 @@ EXTRA_DIST = alloca.in.h allocator.h careadlinkat.h md5.h sha1.h \
808 $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ 828 $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
809 $(top_srcdir)/build-aux/snippet/c++defs.h \ 829 $(top_srcdir)/build-aux/snippet/c++defs.h \
810 $(top_srcdir)/build-aux/snippet/warn-on-use.h stat.c \ 830 $(top_srcdir)/build-aux/snippet/warn-on-use.h stat.c \
811 stdarg.in.h stdbool.in.h stddef.in.h stdint.in.h stdio.in.h \ 831 stdalign.in.h stdarg.in.h stdbool.in.h stddef.in.h stdint.in.h \
812 stdlib.in.h strftime.h strtoimax.c strtol.c strtoll.c strtol.c \ 832 stdio.in.h stdlib.in.h strftime.h strtoimax.c strtol.c \
813 strtoul.c strtoull.c strtoimax.c strtoumax.c symlink.c \ 833 strtoll.c strtol.c strtoul.c strtoull.c strtoimax.c \
814 sys_stat.in.h time.in.h time_r.c u64.h unistd.in.h verify.h 834 strtoumax.c symlink.c sys_stat.in.h sys_types.in.h time.in.h \
835 time_r.c u64.h unistd.in.h verify.h
815MOSTLYCLEANDIRS = sys 836MOSTLYCLEANDIRS = sys
816MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t getopt.h \ 837MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t getopt.h \
817 getopt.h-t inttypes.h inttypes.h-t signal.h signal.h-t \ 838 getopt.h-t inttypes.h inttypes.h-t signal.h signal.h-t \
818 arg-nonnull.h arg-nonnull.h-t c++defs.h c++defs.h-t \ 839 arg-nonnull.h arg-nonnull.h-t c++defs.h c++defs.h-t \
819 warn-on-use.h warn-on-use.h-t stdarg.h stdarg.h-t stdbool.h \ 840 warn-on-use.h warn-on-use.h-t stdalign.h stdalign.h-t stdarg.h \
820 stdbool.h-t stddef.h stddef.h-t stdint.h stdint.h-t stdio.h \ 841 stdarg.h-t stdbool.h stdbool.h-t stddef.h stddef.h-t stdint.h \
821 stdio.h-t stdlib.h stdlib.h-t sys/stat.h sys/stat.h-t time.h \ 842 stdint.h-t stdio.h stdio.h-t stdlib.h stdlib.h-t sys/stat.h \
822 time.h-t unistd.h unistd.h-t 843 sys/stat.h-t sys/types.h sys/types.h-t time.h time.h-t \
844 unistd.h unistd.h-t
823noinst_LIBRARIES = libgnu.a 845noinst_LIBRARIES = libgnu.a
824AM_CFLAGS = $(GNULIB_WARN_CFLAGS) $(WERROR_CFLAGS) 846AM_CFLAGS = $(GNULIB_WARN_CFLAGS) $(WERROR_CFLAGS)
825DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src 847DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src
@@ -1162,7 +1184,7 @@ getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
1162 1184
1163# We need the following in order to create <inttypes.h> when the system 1185# We need the following in order to create <inttypes.h> when the system
1164# doesn't have one that works with the given compiler. 1186# doesn't have one that works with the given compiler.
1165inttypes.h: inttypes.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) $(ARG_NONNULL_H) 1187inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1166 $(AM_V_GEN)rm -f $@-t $@ && \ 1188 $(AM_V_GEN)rm -f $@-t $@ && \
1167 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1189 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1168 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ 1190 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
@@ -1183,10 +1205,12 @@ inttypes.h: inttypes.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) $(ARG_N
1183 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \ 1205 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
1184 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \ 1206 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
1185 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \ 1207 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
1208 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
1186 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \ 1209 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
1187 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \ 1210 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
1188 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \ 1211 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
1189 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \ 1212 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
1213 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1190 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 1214 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1191 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ 1215 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1192 < $(srcdir)/inttypes.in.h; \ 1216 < $(srcdir)/inttypes.in.h; \
@@ -1252,6 +1276,17 @@ warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
1252 > $@-t && \ 1276 > $@-t && \
1253 mv $@-t $@ 1277 mv $@-t $@
1254 1278
1279# We need the following in order to create <stdalign.h> when the system
1280# doesn't have one that works.
1281@GL_GENERATE_STDALIGN_H_TRUE@stdalign.h: stdalign.in.h $(top_builddir)/config.status
1282@GL_GENERATE_STDALIGN_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \
1283@GL_GENERATE_STDALIGN_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1284@GL_GENERATE_STDALIGN_H_TRUE@ cat $(srcdir)/stdalign.in.h; \
1285@GL_GENERATE_STDALIGN_H_TRUE@ } > $@-t && \
1286@GL_GENERATE_STDALIGN_H_TRUE@ mv $@-t $@
1287@GL_GENERATE_STDALIGN_H_FALSE@stdalign.h: $(top_builddir)/config.status
1288@GL_GENERATE_STDALIGN_H_FALSE@ rm -f $@
1289
1255# We need the following in order to create <stdarg.h> when the system 1290# We need the following in order to create <stdarg.h> when the system
1256# doesn't have one that works with the given compiler. 1291# doesn't have one that works with the given compiler.
1257@GL_GENERATE_STDARG_H_TRUE@stdarg.h: stdarg.in.h $(top_builddir)/config.status 1292@GL_GENERATE_STDARG_H_TRUE@stdarg.h: stdarg.in.h $(top_builddir)/config.status
@@ -1369,7 +1404,6 @@ stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H)
1369 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \ 1404 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
1370 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \ 1405 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
1371 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \ 1406 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
1372 -e 's/@''GNULIB_GETS''@/$(GNULIB_GETS)/g' \
1373 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \ 1407 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
1374 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \ 1408 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
1375 -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \ 1409 -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
@@ -1480,8 +1514,11 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1480 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \ 1514 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1481 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \ 1515 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1482 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \ 1516 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
1517 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
1483 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \ 1518 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
1519 -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
1484 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \ 1520 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
1521 -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
1485 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \ 1522 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1486 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \ 1523 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1487 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \ 1524 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
@@ -1506,7 +1543,10 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1506 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \ 1543 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1507 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \ 1544 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1508 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \ 1545 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1546 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1509 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \ 1547 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1548 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1549 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1510 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \ 1550 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1511 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ 1551 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1512 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \ 1552 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
@@ -1524,7 +1564,9 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1524 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ 1564 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1525 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ 1565 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1526 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ 1566 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1567 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
1527 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ 1568 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1569 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1528 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ 1570 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1529 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ 1571 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1530 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ 1572 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
@@ -1549,6 +1591,7 @@ sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNU
1549 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1591 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1550 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 1592 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1551 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ 1593 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1594 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
1552 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \ 1595 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
1553 -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \ 1596 -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
1554 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \ 1597 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
@@ -1589,6 +1632,22 @@ sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNU
1589 } > $@-t && \ 1632 } > $@-t && \
1590 mv $@-t $@ 1633 mv $@-t $@
1591 1634
1635# We need the following in order to create <sys/types.h> when the system
1636# doesn't have one that works with the given compiler.
1637sys/types.h: sys_types.in.h $(top_builddir)/config.status
1638 $(AM_V_at)$(MKDIR_P) sys
1639 $(AM_V_GEN)rm -f $@-t $@ && \
1640 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1641 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1642 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1643 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1644 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1645 -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
1646 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1647 < $(srcdir)/sys_types.in.h; \
1648 } > $@-t && \
1649 mv $@-t $@
1650
1592# We need the following in order to create <time.h> when the system 1651# We need the following in order to create <time.h> when the system
1593# doesn't have one that works with the given compiler. 1652# doesn't have one that works with the given compiler.
1594time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 1653time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
@@ -1633,6 +1692,7 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
1633 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1692 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1634 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ 1693 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1635 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ 1694 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1695 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1636 -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \ 1696 -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
1637 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \ 1697 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
1638 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ 1698 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
@@ -1657,6 +1717,7 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
1657 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \ 1717 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1658 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \ 1718 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1659 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \ 1719 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
1720 -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
1660 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \ 1721 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1661 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \ 1722 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1662 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \ 1723 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
@@ -1669,11 +1730,12 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
1669 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \ 1730 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1670 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \ 1731 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1671 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \ 1732 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
1733 -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
1672 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \ 1734 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1673 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \ 1735 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1674 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \ 1736 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1675 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \ 1737 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
1676 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/$(GNULIB_UNISTD_H_GETOPT)/g' \ 1738 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
1677 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \ 1739 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1678 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \ 1740 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1679 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \ 1741 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
@@ -1706,6 +1768,7 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
1706 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \ 1768 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1707 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ 1769 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1708 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \ 1770 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1771 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
1709 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ 1772 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1710 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \ 1773 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1711 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \ 1774 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
@@ -1718,6 +1781,7 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
1718 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ 1781 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1719 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ 1782 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1720 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \ 1783 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1784 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
1721 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \ 1785 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1722 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ 1786 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1723 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ 1787 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
@@ -1727,11 +1791,13 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
1727 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \ 1791 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1728 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \ 1792 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1729 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ 1793 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1794 -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
1730 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ 1795 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1731 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \ 1796 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1732 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \ 1797 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1733 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \ 1798 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1734 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ 1799 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1800 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
1735 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ 1801 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1736 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ 1802 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1737 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \ 1803 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
diff --git a/autogen/aclocal.m4 b/autogen/aclocal.m4
index a334fa54709..8ce488aa6c8 100644
--- a/autogen/aclocal.m4
+++ b/autogen/aclocal.m4
@@ -1004,6 +1004,7 @@ m4_include([m4/md5.m4])
1004m4_include([m4/mktime.m4]) 1004m4_include([m4/mktime.m4])
1005m4_include([m4/multiarch.m4]) 1005m4_include([m4/multiarch.m4])
1006m4_include([m4/nocrash.m4]) 1006m4_include([m4/nocrash.m4])
1007m4_include([m4/off_t.m4])
1007m4_include([m4/pathmax.m4]) 1008m4_include([m4/pathmax.m4])
1008m4_include([m4/pthread_sigmask.m4]) 1009m4_include([m4/pthread_sigmask.m4])
1009m4_include([m4/readlink.m4]) 1010m4_include([m4/readlink.m4])
@@ -1016,6 +1017,7 @@ m4_include([m4/socklen.m4])
1016m4_include([m4/ssize_t.m4]) 1017m4_include([m4/ssize_t.m4])
1017m4_include([m4/st_dm_mode.m4]) 1018m4_include([m4/st_dm_mode.m4])
1018m4_include([m4/stat.m4]) 1019m4_include([m4/stat.m4])
1020m4_include([m4/stdalign.m4])
1019m4_include([m4/stdarg.m4]) 1021m4_include([m4/stdarg.m4])
1020m4_include([m4/stdbool.m4]) 1022m4_include([m4/stdbool.m4])
1021m4_include([m4/stddef_h.m4]) 1023m4_include([m4/stddef_h.m4])
@@ -1029,6 +1031,7 @@ m4_include([m4/strtoull.m4])
1029m4_include([m4/strtoumax.m4]) 1031m4_include([m4/strtoumax.m4])
1030m4_include([m4/symlink.m4]) 1032m4_include([m4/symlink.m4])
1031m4_include([m4/sys_stat_h.m4]) 1033m4_include([m4/sys_stat_h.m4])
1034m4_include([m4/sys_types_h.m4])
1032m4_include([m4/time_h.m4]) 1035m4_include([m4/time_h.m4])
1033m4_include([m4/time_r.m4]) 1036m4_include([m4/time_r.m4])
1034m4_include([m4/tm_gmtoff.m4]) 1037m4_include([m4/tm_gmtoff.m4])
diff --git a/autogen/config.in b/autogen/config.in
index 61439b72487..1b57c581052 100644
--- a/autogen/config.in
+++ b/autogen/config.in
@@ -49,12 +49,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
49/* Define if Emacs cannot be dumped on your system. */ 49/* Define if Emacs cannot be dumped on your system. */
50#undef CANNOT_DUMP 50#undef CANNOT_DUMP
51 51
52/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP 52/* Define to one of '_getb67', 'GETB67', 'getb67' for Cray-2 and Cray-YMP
53 systems. This function is required for `alloca.c' support on those systems. 53 systems. This function is required for 'alloca.c' support on those systems.
54 */ 54 */
55#undef CRAY_STACKSEG_END 55#undef CRAY_STACKSEG_END
56 56
57/* Define to 1 if using `alloca.c'. */ 57/* Define to 1 if using 'alloca.c'. */
58#undef C_ALLOCA 58#undef C_ALLOCA
59 59
60/* Define to 1 for DGUX with <sys/dg_sys_info.h>. */ 60/* Define to 1 for DGUX with <sys/dg_sys_info.h>. */
@@ -92,9 +92,6 @@ 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
98/* enable some gnulib portability checks */ 95/* enable some gnulib portability checks */
99#undef GNULIB_PORTCHECK 96#undef GNULIB_PORTCHECK
100 97
@@ -507,7 +504,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
507/* Define to 1 if you support file names longer than 14 characters. */ 504/* Define to 1 if you support file names longer than 14 characters. */
508#undef HAVE_LONG_FILE_NAMES 505#undef HAVE_LONG_FILE_NAMES
509 506
510/* Define to 1 if the system has the type `long long int'. */ 507/* Define to 1 if the system has the type 'long long int'. */
511#undef HAVE_LONG_LONG_INT 508#undef HAVE_LONG_LONG_INT
512 509
513/* Define to 1 if you have the `lrand48' function. */ 510/* Define to 1 if you have the `lrand48' function. */
@@ -833,7 +830,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
833/* Define to 1 if you have the <unistd.h> header file. */ 830/* Define to 1 if you have the <unistd.h> header file. */
834#undef HAVE_UNISTD_H 831#undef HAVE_UNISTD_H
835 832
836/* Define to 1 if the system has the type `unsigned long long int'. */ 833/* Define to 1 if the system has the type 'unsigned long long int'. */
837#undef HAVE_UNSIGNED_LONG_LONG_INT 834#undef HAVE_UNSIGNED_LONG_LONG_INT
838 835
839/* Define to 1 if you have the <util.h> header file. */ 836/* Define to 1 if you have the <util.h> header file. */
@@ -942,7 +939,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
942/* Define to 1 if localtime caches TZ. */ 939/* Define to 1 if localtime caches TZ. */
943#undef LOCALTIME_CACHE 940#undef LOCALTIME_CACHE
944 941
945/* Define to 1 if `lstat' dereferences a symlink specified with a trailing 942/* Define to 1 if 'lstat' dereferences a symlink specified with a trailing
946 slash. */ 943 slash. */
947#undef LSTAT_FOLLOWS_SLASHED_SYMLINK 944#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
948 945
@@ -1150,6 +1147,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1150/* enable compile-time and run-time bounds-checking, and some warnings */ 1147/* enable compile-time and run-time bounds-checking, and some warnings */
1151#undef _FORTIFY_SOURCE 1148#undef _FORTIFY_SOURCE
1152 1149
1150/* Define to 1 if Gnulib overrides 'struct stat' on Windows so that struct
1151 stat.st_size becomes 64-bit. */
1152#undef _GL_WINDOWS_64_BIT_ST_SIZE
1153
1153/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ 1154/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
1154#undef _LARGEFILE_SOURCE 1155#undef _LARGEFILE_SOURCE
1155 1156
@@ -1162,12 +1163,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1162/* Define if GNUstep uses ObjC exceptions. */ 1163/* Define if GNUstep uses ObjC exceptions. */
1163#undef _NATIVE_OBJC_EXCEPTIONS 1164#undef _NATIVE_OBJC_EXCEPTIONS
1164 1165
1165/* The _Noreturn keyword of draft C1X. */ 1166/* The _Noreturn keyword of C11. */
1166#ifndef _Noreturn 1167#if ! (defined _Noreturn \
1168 || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__))
1167# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \ 1169# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \
1168 || 0x5110 <= __SUNPRO_C) 1170 || 0x5110 <= __SUNPRO_C)
1169# define _Noreturn __attribute__ ((__noreturn__)) 1171# define _Noreturn __attribute__ ((__noreturn__))
1170# elif 1200 <= _MSC_VER 1172# elif defined _MSC_VER && 1200 <= _MSC_VER
1171# define _Noreturn __declspec (noreturn) 1173# define _Noreturn __declspec (noreturn)
1172# else 1174# else
1173# define _Noreturn 1175# define _Noreturn
@@ -1179,7 +1181,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1179 this defined. */ 1181 this defined. */
1180#undef _POSIX_1_SOURCE 1182#undef _POSIX_1_SOURCE
1181 1183
1182/* Define to 1 if you need to in order for `stat' and other things to work. */ 1184/* Define to 1 if you need to in order for 'stat' and other things to work. */
1183#undef _POSIX_SOURCE 1185#undef _POSIX_SOURCE
1184 1186
1185/* Define to 500 only on HP-UX. */ 1187/* Define to 500 only on HP-UX. */
@@ -1215,13 +1217,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1215 used. */ 1217 used. */
1216#undef __GETOPT_PREFIX 1218#undef __GETOPT_PREFIX
1217 1219
1218/* Ensure that <stdint.h> defines the limit macros, since gnulib's
1219 <inttypes.h> relies on them. */
1220#if defined __cplusplus && !defined __STDC_LIMIT_MACROS && GL_TRIGGER_STDC_LIMIT_MACROS
1221# define __STDC_LIMIT_MACROS 1
1222#endif
1223
1224
1225/* Define to compiler's equivalent of C99 restrict keyword in array 1220/* Define to compiler's equivalent of C99 restrict keyword in array
1226 declarations. Define as empty for no equivalent. */ 1221 declarations. Define as empty for no equivalent. */
1227#undef __restrict_arr 1222#undef __restrict_arr
diff --git a/autogen/configure b/autogen/configure
index db3f0fa873e..e42c1935ff8 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -628,7 +628,6 @@ gl_GNULIB_ENABLED_dosname_FALSE
628gl_GNULIB_ENABLED_dosname_TRUE 628gl_GNULIB_ENABLED_dosname_TRUE
629LTLIBINTL 629LTLIBINTL
630LIBINTL 630LIBINTL
631WARN_CFLAGS
632HAVE_UNISTD_H 631HAVE_UNISTD_H
633NEXT_AS_FIRST_DIRECTIVE_UNISTD_H 632NEXT_AS_FIRST_DIRECTIVE_UNISTD_H
634NEXT_UNISTD_H 633NEXT_UNISTD_H
@@ -637,6 +636,10 @@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC
637TIME_H_DEFINES_STRUCT_TIMESPEC 636TIME_H_DEFINES_STRUCT_TIMESPEC
638NEXT_AS_FIRST_DIRECTIVE_TIME_H 637NEXT_AS_FIRST_DIRECTIVE_TIME_H
639NEXT_TIME_H 638NEXT_TIME_H
639WINDOWS_64_BIT_OFF_T
640NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H
641NEXT_SYS_TYPES_H
642WINDOWS_64_BIT_ST_SIZE
640NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H 643NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H
641NEXT_SYS_STAT_H 644NEXT_SYS_STAT_H
642NEXT_AS_FIRST_DIRECTIVE_STDLIB_H 645NEXT_AS_FIRST_DIRECTIVE_STDLIB_H
@@ -720,7 +723,6 @@ GNULIB_PERROR
720GNULIB_PCLOSE 723GNULIB_PCLOSE
721GNULIB_OBSTACK_PRINTF_POSIX 724GNULIB_OBSTACK_PRINTF_POSIX
722GNULIB_OBSTACK_PRINTF 725GNULIB_OBSTACK_PRINTF
723GNULIB_GETS
724GNULIB_GETLINE 726GNULIB_GETLINE
725GNULIB_GETDELIM 727GNULIB_GETDELIM
726GNULIB_GETCHAR 728GNULIB_GETCHAR
@@ -761,8 +763,12 @@ GL_GENERATE_STDARG_H_TRUE
761STDARG_H 763STDARG_H
762NEXT_AS_FIRST_DIRECTIVE_STDARG_H 764NEXT_AS_FIRST_DIRECTIVE_STDARG_H
763NEXT_STDARG_H 765NEXT_STDARG_H
766GL_GENERATE_STDALIGN_H_FALSE
767GL_GENERATE_STDALIGN_H_TRUE
768STDALIGN_H
764NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H 769NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H
765NEXT_SIGNAL_H 770NEXT_SIGNAL_H
771LIB_PTHREAD_SIGMASK
766REPLACE_RAISE 772REPLACE_RAISE
767REPLACE_PTHREAD_SIGMASK 773REPLACE_PTHREAD_SIGMASK
768HAVE_SIGHANDLER_T 774HAVE_SIGHANDLER_T
@@ -779,7 +785,6 @@ GNULIB_SIGPROCMASK
779GNULIB_SIGNAL_H_SIGPIPE 785GNULIB_SIGNAL_H_SIGPIPE
780GNULIB_RAISE 786GNULIB_RAISE
781GNULIB_PTHREAD_SIGMASK 787GNULIB_PTHREAD_SIGMASK
782LIB_PTHREAD_SIGMASK
783REPLACE_TIMEGM 788REPLACE_TIMEGM
784REPLACE_NANOSLEEP 789REPLACE_NANOSLEEP
785REPLACE_MKTIME 790REPLACE_MKTIME
@@ -834,6 +839,7 @@ PRIPTR_PREFIX
834PRI_MACROS_BROKEN 839PRI_MACROS_BROKEN
835INT64_MAX_EQ_LONG_MAX 840INT64_MAX_EQ_LONG_MAX
836INT32_MAX_LT_INTMAX_MAX 841INT32_MAX_LT_INTMAX_MAX
842REPLACE_STRTOIMAX
837HAVE_DECL_STRTOUMAX 843HAVE_DECL_STRTOUMAX
838HAVE_DECL_STRTOIMAX 844HAVE_DECL_STRTOIMAX
839HAVE_DECL_IMAXDIV 845HAVE_DECL_IMAXDIV
@@ -869,6 +875,7 @@ HAVE_INTTYPES_H
869HAVE_WCHAR_H 875HAVE_WCHAR_H
870HAVE_UNSIGNED_LONG_LONG_INT 876HAVE_UNSIGNED_LONG_LONG_INT
871HAVE_LONG_LONG_INT 877HAVE_LONG_LONG_INT
878GNULIB_GL_UNISTD_H_GETOPT
872GETOPT_H 879GETOPT_H
873HAVE_GETOPT_H 880HAVE_GETOPT_H
874NEXT_AS_FIRST_DIRECTIVE_GETOPT_H 881NEXT_AS_FIRST_DIRECTIVE_GETOPT_H
@@ -884,7 +891,9 @@ REPLACE_STRTOD
884REPLACE_SETENV 891REPLACE_SETENV
885REPLACE_REALPATH 892REPLACE_REALPATH
886REPLACE_REALLOC 893REPLACE_REALLOC
894REPLACE_RANDOM_R
887REPLACE_PUTENV 895REPLACE_PUTENV
896REPLACE_PTSNAME_R
888REPLACE_MKSTEMP 897REPLACE_MKSTEMP
889REPLACE_MBTOWC 898REPLACE_MBTOWC
890REPLACE_MALLOC 899REPLACE_MALLOC
@@ -903,7 +912,10 @@ HAVE_RPMATCH
903HAVE_REALPATH 912HAVE_REALPATH
904HAVE_RANDOM_R 913HAVE_RANDOM_R
905HAVE_RANDOM_H 914HAVE_RANDOM_H
915HAVE_RANDOM
916HAVE_PTSNAME_R
906HAVE_PTSNAME 917HAVE_PTSNAME
918HAVE_POSIX_OPENPT
907HAVE_MKSTEMPS 919HAVE_MKSTEMPS
908HAVE_MKSTEMP 920HAVE_MKSTEMP
909HAVE_MKOSTEMPS 921HAVE_MKOSTEMPS
@@ -927,8 +939,11 @@ GNULIB_RPMATCH
927GNULIB_REALPATH 939GNULIB_REALPATH
928GNULIB_REALLOC_POSIX 940GNULIB_REALLOC_POSIX
929GNULIB_RANDOM_R 941GNULIB_RANDOM_R
942GNULIB_RANDOM
930GNULIB_PUTENV 943GNULIB_PUTENV
944GNULIB_PTSNAME_R
931GNULIB_PTSNAME 945GNULIB_PTSNAME
946GNULIB_POSIX_OPENPT
932GNULIB_MKSTEMPS 947GNULIB_MKSTEMPS
933GNULIB_MKSTEMP 948GNULIB_MKSTEMP
934GNULIB_MKOSTEMPS 949GNULIB_MKOSTEMPS
@@ -961,11 +976,13 @@ REPLACE_LSEEK
961REPLACE_LINKAT 976REPLACE_LINKAT
962REPLACE_LINK 977REPLACE_LINK
963REPLACE_LCHOWN 978REPLACE_LCHOWN
979REPLACE_ISATTY
964REPLACE_GETPAGESIZE 980REPLACE_GETPAGESIZE
965REPLACE_GETGROUPS 981REPLACE_GETGROUPS
966REPLACE_GETLOGIN_R 982REPLACE_GETLOGIN_R
967REPLACE_GETDOMAINNAME 983REPLACE_GETDOMAINNAME
968REPLACE_GETCWD 984REPLACE_GETCWD
985REPLACE_FTRUNCATE
969REPLACE_FCHOWNAT 986REPLACE_FCHOWNAT
970REPLACE_DUP2 987REPLACE_DUP2
971REPLACE_DUP 988REPLACE_DUP
@@ -974,6 +991,7 @@ REPLACE_CHOWN
974HAVE_SYS_PARAM_H 991HAVE_SYS_PARAM_H
975HAVE_OS_H 992HAVE_OS_H
976HAVE_DECL_TTYNAME_R 993HAVE_DECL_TTYNAME_R
994HAVE_DECL_SETHOSTNAME
977HAVE_DECL_GETUSERSHELL 995HAVE_DECL_GETUSERSHELL
978HAVE_DECL_GETPAGESIZE 996HAVE_DECL_GETPAGESIZE
979HAVE_DECL_GETLOGIN_R 997HAVE_DECL_GETLOGIN_R
@@ -986,6 +1004,7 @@ HAVE_UNLINKAT
986HAVE_SYMLINKAT 1004HAVE_SYMLINKAT
987HAVE_SYMLINK 1005HAVE_SYMLINK
988HAVE_SLEEP 1006HAVE_SLEEP
1007HAVE_SETHOSTNAME
989HAVE_READLINKAT 1008HAVE_READLINKAT
990HAVE_READLINK 1009HAVE_READLINK
991HAVE_PWRITE 1010HAVE_PWRITE
@@ -1017,11 +1036,11 @@ GNULIB_UNLINKAT
1017GNULIB_UNLINK 1036GNULIB_UNLINK
1018GNULIB_UNISTD_H_SIGPIPE 1037GNULIB_UNISTD_H_SIGPIPE
1019GNULIB_UNISTD_H_NONBLOCKING 1038GNULIB_UNISTD_H_NONBLOCKING
1020GNULIB_UNISTD_H_GETOPT
1021GNULIB_TTYNAME_R 1039GNULIB_TTYNAME_R
1022GNULIB_SYMLINKAT 1040GNULIB_SYMLINKAT
1023GNULIB_SYMLINK 1041GNULIB_SYMLINK
1024GNULIB_SLEEP 1042GNULIB_SLEEP
1043GNULIB_SETHOSTNAME
1025GNULIB_RMDIR 1044GNULIB_RMDIR
1026GNULIB_READLINKAT 1045GNULIB_READLINKAT
1027GNULIB_READLINK 1046GNULIB_READLINK
@@ -1034,6 +1053,7 @@ GNULIB_LSEEK
1034GNULIB_LINKAT 1053GNULIB_LINKAT
1035GNULIB_LINK 1054GNULIB_LINK
1036GNULIB_LCHOWN 1055GNULIB_LCHOWN
1056GNULIB_ISATTY
1037GNULIB_GROUP_MEMBER 1057GNULIB_GROUP_MEMBER
1038GNULIB_GETUSERSHELL 1058GNULIB_GETUSERSHELL
1039GNULIB_GETPAGESIZE 1059GNULIB_GETPAGESIZE
@@ -1190,6 +1210,7 @@ HAVE_MAKEINFO
1190GZIP_PROG 1210GZIP_PROG
1191INSTALL_INFO 1211INSTALL_INFO
1192GNULIB_WARN_CFLAGS 1212GNULIB_WARN_CFLAGS
1213WARN_CFLAGS
1193WERROR_CFLAGS 1214WERROR_CFLAGS
1194RANLIB 1215RANLIB
1195ARFLAGS 1216ARFLAGS
@@ -6924,6 +6945,7 @@ esac
6924 # Code from module socklen: 6945 # Code from module socklen:
6925 # Code from module ssize_t: 6946 # Code from module ssize_t:
6926 # Code from module stat: 6947 # Code from module stat:
6948 # Code from module stdalign:
6927 # Code from module stdarg: 6949 # Code from module stdarg:
6928 6950
6929 6951
@@ -6940,6 +6962,7 @@ esac
6940 # Code from module strtoumax: 6962 # Code from module strtoumax:
6941 # Code from module symlink: 6963 # Code from module symlink:
6942 # Code from module sys_stat: 6964 # Code from module sys_stat:
6965 # Code from module sys_types:
6943 # Code from module time: 6966 # Code from module time:
6944 # Code from module time_r: 6967 # Code from module time_r:
6945 # Code from module u64: 6968 # Code from module u64:
@@ -6990,7 +7013,7 @@ if test "${gl_cv_warn_c__Werror+set}" = set; then :
6990else 7013else
6991 7014
6992 gl_save_compiler_FLAGS="$CFLAGS" 7015 gl_save_compiler_FLAGS="$CFLAGS"
6993 CFLAGS="$CFLAGS -Werror" 7016 as_fn_append CFLAGS " -Werror"
6994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6995/* end confdefs.h. */ 7018/* end confdefs.h. */
6996 7019
@@ -7017,6 +7040,7 @@ if test "x$gl_cv_warn_c__Werror" = x""yes; then :
7017 as_fn_append WERROR_CFLAGS " -Werror" 7040 as_fn_append WERROR_CFLAGS " -Werror"
7018fi 7041fi
7019 7042
7043
7020 ;; 7044 ;;
7021 esac 7045 esac
7022 7046
@@ -7255,7 +7279,7 @@ if { as_var=$as_gl_Warn; eval "test \"\${$as_var+set}\" = set"; }; then :
7255else 7279else
7256 7280
7257 gl_save_compiler_FLAGS="$CFLAGS" 7281 gl_save_compiler_FLAGS="$CFLAGS"
7258 CFLAGS="$CFLAGS $w" 7282 as_fn_append CFLAGS " $w"
7259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7260/* end confdefs.h. */ 7284/* end confdefs.h. */
7261 7285
@@ -7284,6 +7308,7 @@ eval as_val=\$$as_gl_Warn
7284 as_fn_append WARN_CFLAGS " $w" 7308 as_fn_append WARN_CFLAGS " $w"
7285fi 7309fi
7286 7310
7311
7287 done 7312 done
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-missing-field-initializers" >&5 7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-missing-field-initializers" >&5
7289$as_echo_n "checking whether C compiler handles -Wno-missing-field-initializers... " >&6; } 7314$as_echo_n "checking whether C compiler handles -Wno-missing-field-initializers... " >&6; }
@@ -7292,7 +7317,7 @@ if test "${gl_cv_warn_c__Wno_missing_field_initializers+set}" = set; then :
7292else 7317else
7293 7318
7294 gl_save_compiler_FLAGS="$CFLAGS" 7319 gl_save_compiler_FLAGS="$CFLAGS"
7295 CFLAGS="$CFLAGS -Wno-missing-field-initializers" 7320 as_fn_append CFLAGS " -Wno-missing-field-initializers"
7296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7297/* end confdefs.h. */ 7322/* end confdefs.h. */
7298 7323
@@ -7318,6 +7343,7 @@ $as_echo "$gl_cv_warn_c__Wno_missing_field_initializers" >&6; }
7318if test "x$gl_cv_warn_c__Wno_missing_field_initializers" = x""yes; then : 7343if test "x$gl_cv_warn_c__Wno_missing_field_initializers" = x""yes; then :
7319 as_fn_append WARN_CFLAGS " -Wno-missing-field-initializers" 7344 as_fn_append WARN_CFLAGS " -Wno-missing-field-initializers"
7320fi 7345fi
7346
7321 # We need this one 7347 # We need this one
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-sign-compare" >&5 7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-sign-compare" >&5
7323$as_echo_n "checking whether C compiler handles -Wno-sign-compare... " >&6; } 7349$as_echo_n "checking whether C compiler handles -Wno-sign-compare... " >&6; }
@@ -7326,7 +7352,7 @@ if test "${gl_cv_warn_c__Wno_sign_compare+set}" = set; then :
7326else 7352else
7327 7353
7328 gl_save_compiler_FLAGS="$CFLAGS" 7354 gl_save_compiler_FLAGS="$CFLAGS"
7329 CFLAGS="$CFLAGS -Wno-sign-compare" 7355 as_fn_append CFLAGS " -Wno-sign-compare"
7330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7331/* end confdefs.h. */ 7357/* end confdefs.h. */
7332 7358
@@ -7352,6 +7378,7 @@ $as_echo "$gl_cv_warn_c__Wno_sign_compare" >&6; }
7352if test "x$gl_cv_warn_c__Wno_sign_compare" = x""yes; then : 7378if test "x$gl_cv_warn_c__Wno_sign_compare" = x""yes; then :
7353 as_fn_append WARN_CFLAGS " -Wno-sign-compare" 7379 as_fn_append WARN_CFLAGS " -Wno-sign-compare"
7354fi 7380fi
7381
7355 # Too many warnings for now 7382 # Too many warnings for now
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-type-limits" >&5 7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-type-limits" >&5
7357$as_echo_n "checking whether C compiler handles -Wno-type-limits... " >&6; } 7384$as_echo_n "checking whether C compiler handles -Wno-type-limits... " >&6; }
@@ -7360,7 +7387,7 @@ if test "${gl_cv_warn_c__Wno_type_limits+set}" = set; then :
7360else 7387else
7361 7388
7362 gl_save_compiler_FLAGS="$CFLAGS" 7389 gl_save_compiler_FLAGS="$CFLAGS"
7363 CFLAGS="$CFLAGS -Wno-type-limits" 7390 as_fn_append CFLAGS " -Wno-type-limits"
7364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7365/* end confdefs.h. */ 7392/* end confdefs.h. */
7366 7393
@@ -7386,6 +7413,7 @@ $as_echo "$gl_cv_warn_c__Wno_type_limits" >&6; }
7386if test "x$gl_cv_warn_c__Wno_type_limits" = x""yes; then : 7413if test "x$gl_cv_warn_c__Wno_type_limits" = x""yes; then :
7387 as_fn_append WARN_CFLAGS " -Wno-type-limits" 7414 as_fn_append WARN_CFLAGS " -Wno-type-limits"
7388fi 7415fi
7416
7389 # Too many warnings for now 7417 # Too many warnings for now
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-switch" >&5 7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-switch" >&5
7391$as_echo_n "checking whether C compiler handles -Wno-switch... " >&6; } 7419$as_echo_n "checking whether C compiler handles -Wno-switch... " >&6; }
@@ -7394,7 +7422,7 @@ if test "${gl_cv_warn_c__Wno_switch+set}" = set; then :
7394else 7422else
7395 7423
7396 gl_save_compiler_FLAGS="$CFLAGS" 7424 gl_save_compiler_FLAGS="$CFLAGS"
7397 CFLAGS="$CFLAGS -Wno-switch" 7425 as_fn_append CFLAGS " -Wno-switch"
7398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7399/* end confdefs.h. */ 7427/* end confdefs.h. */
7400 7428
@@ -7420,6 +7448,7 @@ $as_echo "$gl_cv_warn_c__Wno_switch" >&6; }
7420if test "x$gl_cv_warn_c__Wno_switch" = x""yes; then : 7448if test "x$gl_cv_warn_c__Wno_switch" = x""yes; then :
7421 as_fn_append WARN_CFLAGS " -Wno-switch" 7449 as_fn_append WARN_CFLAGS " -Wno-switch"
7422fi 7450fi
7451
7423 # Too many warnings for now 7452 # Too many warnings for now
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-unused-parameter" >&5 7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-unused-parameter" >&5
7425$as_echo_n "checking whether C compiler handles -Wno-unused-parameter... " >&6; } 7454$as_echo_n "checking whether C compiler handles -Wno-unused-parameter... " >&6; }
@@ -7428,7 +7457,7 @@ if test "${gl_cv_warn_c__Wno_unused_parameter+set}" = set; then :
7428else 7457else
7429 7458
7430 gl_save_compiler_FLAGS="$CFLAGS" 7459 gl_save_compiler_FLAGS="$CFLAGS"
7431 CFLAGS="$CFLAGS -Wno-unused-parameter" 7460 as_fn_append CFLAGS " -Wno-unused-parameter"
7432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7433/* end confdefs.h. */ 7462/* end confdefs.h. */
7434 7463
@@ -7454,6 +7483,7 @@ $as_echo "$gl_cv_warn_c__Wno_unused_parameter" >&6; }
7454if test "x$gl_cv_warn_c__Wno_unused_parameter" = x""yes; then : 7483if test "x$gl_cv_warn_c__Wno_unused_parameter" = x""yes; then :
7455 as_fn_append WARN_CFLAGS " -Wno-unused-parameter" 7484 as_fn_append WARN_CFLAGS " -Wno-unused-parameter"
7456fi 7485fi
7486
7457 # Too many warnings for now 7487 # Too many warnings for now
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-format-nonliteral" >&5 7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-format-nonliteral" >&5
7459$as_echo_n "checking whether C compiler handles -Wno-format-nonliteral... " >&6; } 7489$as_echo_n "checking whether C compiler handles -Wno-format-nonliteral... " >&6; }
@@ -7462,7 +7492,7 @@ if test "${gl_cv_warn_c__Wno_format_nonliteral+set}" = set; then :
7462else 7492else
7463 7493
7464 gl_save_compiler_FLAGS="$CFLAGS" 7494 gl_save_compiler_FLAGS="$CFLAGS"
7465 CFLAGS="$CFLAGS -Wno-format-nonliteral" 7495 as_fn_append CFLAGS " -Wno-format-nonliteral"
7466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7467/* end confdefs.h. */ 7497/* end confdefs.h. */
7468 7498
@@ -7490,6 +7520,7 @@ if test "x$gl_cv_warn_c__Wno_format_nonliteral" = x""yes; then :
7490fi 7520fi
7491 7521
7492 7522
7523
7493 # In spite of excluding -Wlogical-op above, it is enabled, as of 7524 # In spite of excluding -Wlogical-op above, it is enabled, as of
7494 # gcc 4.5.0 20090517. 7525 # gcc 4.5.0 20090517.
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-logical-op" >&5 7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-logical-op" >&5
@@ -7499,7 +7530,7 @@ if test "${gl_cv_warn_c__Wno_logical_op+set}" = set; then :
7499else 7530else
7500 7531
7501 gl_save_compiler_FLAGS="$CFLAGS" 7532 gl_save_compiler_FLAGS="$CFLAGS"
7502 CFLAGS="$CFLAGS -Wno-logical-op" 7533 as_fn_append CFLAGS " -Wno-logical-op"
7503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7504/* end confdefs.h. */ 7535/* end confdefs.h. */
7505 7536
@@ -7527,6 +7558,7 @@ if test "x$gl_cv_warn_c__Wno_logical_op" = x""yes; then :
7527fi 7558fi
7528 7559
7529 7560
7561
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -fdiagnostics-show-option" >&5 7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -fdiagnostics-show-option" >&5
7531$as_echo_n "checking whether C compiler handles -fdiagnostics-show-option... " >&6; } 7563$as_echo_n "checking whether C compiler handles -fdiagnostics-show-option... " >&6; }
7532if test "${gl_cv_warn_c__fdiagnostics_show_option+set}" = set; then : 7564if test "${gl_cv_warn_c__fdiagnostics_show_option+set}" = set; then :
@@ -7534,7 +7566,7 @@ if test "${gl_cv_warn_c__fdiagnostics_show_option+set}" = set; then :
7534else 7566else
7535 7567
7536 gl_save_compiler_FLAGS="$CFLAGS" 7568 gl_save_compiler_FLAGS="$CFLAGS"
7537 CFLAGS="$CFLAGS -fdiagnostics-show-option" 7569 as_fn_append CFLAGS " -fdiagnostics-show-option"
7538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7539/* end confdefs.h. */ 7571/* end confdefs.h. */
7540 7572
@@ -7561,6 +7593,7 @@ if test "x$gl_cv_warn_c__fdiagnostics_show_option" = x""yes; then :
7561 as_fn_append WARN_CFLAGS " -fdiagnostics-show-option" 7593 as_fn_append WARN_CFLAGS " -fdiagnostics-show-option"
7562fi 7594fi
7563 7595
7596
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -funit-at-a-time" >&5 7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -funit-at-a-time" >&5
7565$as_echo_n "checking whether C compiler handles -funit-at-a-time... " >&6; } 7598$as_echo_n "checking whether C compiler handles -funit-at-a-time... " >&6; }
7566if test "${gl_cv_warn_c__funit_at_a_time+set}" = set; then : 7599if test "${gl_cv_warn_c__funit_at_a_time+set}" = set; then :
@@ -7568,7 +7601,7 @@ if test "${gl_cv_warn_c__funit_at_a_time+set}" = set; then :
7568else 7601else
7569 7602
7570 gl_save_compiler_FLAGS="$CFLAGS" 7603 gl_save_compiler_FLAGS="$CFLAGS"
7571 CFLAGS="$CFLAGS -funit-at-a-time" 7604 as_fn_append CFLAGS " -funit-at-a-time"
7572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7573/* end confdefs.h. */ 7606/* end confdefs.h. */
7574 7607
@@ -7597,6 +7630,7 @@ fi
7597 7630
7598 7631
7599 7632
7633
7600$as_echo "#define lint 1" >>confdefs.h 7634$as_echo "#define lint 1" >>confdefs.h
7601 7635
7602 7636
@@ -8075,207 +8109,6 @@ fi
8075# Likewise for obsolescent test for uid_t, gid_t; Emacs assumes them. 8109# Likewise for obsolescent test for uid_t, gid_t; Emacs assumes them.
8076 8110
8077 8111
8078# Check whether --enable-largefile was given.
8079if test "${enable_largefile+set}" = set; then :
8080 enableval=$enable_largefile;
8081fi
8082
8083if test "$enable_largefile" != no; then
8084
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
8086$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
8087if test "${ac_cv_sys_largefile_CC+set}" = set; then :
8088 $as_echo_n "(cached) " >&6
8089else
8090 ac_cv_sys_largefile_CC=no
8091 if test "$GCC" != yes; then
8092 ac_save_CC=$CC
8093 while :; do
8094 # IRIX 6.2 and later do not support large files by default,
8095 # so use the C compiler's -n32 option if that helps.
8096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8097/* end confdefs.h. */
8098#include <sys/types.h>
8099 /* Check that off_t can represent 2**63 - 1 correctly.
8100 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8101 since some C++ compilers masquerading as C compilers
8102 incorrectly reject 9223372036854775807. */
8103#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8104 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8105 && LARGE_OFF_T % 2147483647 == 1)
8106 ? 1 : -1];
8107int
8108main ()
8109{
8110
8111 ;
8112 return 0;
8113}
8114_ACEOF
8115 if ac_fn_c_try_compile "$LINENO"; then :
8116 break
8117fi
8118rm -f core conftest.err conftest.$ac_objext
8119 CC="$CC -n32"
8120 if ac_fn_c_try_compile "$LINENO"; then :
8121 ac_cv_sys_largefile_CC=' -n32'; break
8122fi
8123rm -f core conftest.err conftest.$ac_objext
8124 break
8125 done
8126 CC=$ac_save_CC
8127 rm -f conftest.$ac_ext
8128 fi
8129fi
8130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
8131$as_echo "$ac_cv_sys_largefile_CC" >&6; }
8132 if test "$ac_cv_sys_largefile_CC" != no; then
8133 CC=$CC$ac_cv_sys_largefile_CC
8134 fi
8135
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
8137$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
8138if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
8139 $as_echo_n "(cached) " >&6
8140else
8141 while :; do
8142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8143/* end confdefs.h. */
8144#include <sys/types.h>
8145 /* Check that off_t can represent 2**63 - 1 correctly.
8146 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8147 since some C++ compilers masquerading as C compilers
8148 incorrectly reject 9223372036854775807. */
8149#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8150 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8151 && LARGE_OFF_T % 2147483647 == 1)
8152 ? 1 : -1];
8153int
8154main ()
8155{
8156
8157 ;
8158 return 0;
8159}
8160_ACEOF
8161if ac_fn_c_try_compile "$LINENO"; then :
8162 ac_cv_sys_file_offset_bits=no; break
8163fi
8164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8166/* end confdefs.h. */
8167#define _FILE_OFFSET_BITS 64
8168#include <sys/types.h>
8169 /* Check that off_t can represent 2**63 - 1 correctly.
8170 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8171 since some C++ compilers masquerading as C compilers
8172 incorrectly reject 9223372036854775807. */
8173#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8174 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8175 && LARGE_OFF_T % 2147483647 == 1)
8176 ? 1 : -1];
8177int
8178main ()
8179{
8180
8181 ;
8182 return 0;
8183}
8184_ACEOF
8185if ac_fn_c_try_compile "$LINENO"; then :
8186 ac_cv_sys_file_offset_bits=64; break
8187fi
8188rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8189 ac_cv_sys_file_offset_bits=unknown
8190 break
8191done
8192fi
8193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8194$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
8195case $ac_cv_sys_file_offset_bits in #(
8196 no | unknown) ;;
8197 *)
8198cat >>confdefs.h <<_ACEOF
8199#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
8200_ACEOF
8201;;
8202esac
8203rm -rf conftest*
8204 if test $ac_cv_sys_file_offset_bits = unknown; then
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8206$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
8207if test "${ac_cv_sys_large_files+set}" = set; then :
8208 $as_echo_n "(cached) " >&6
8209else
8210 while :; do
8211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8212/* end confdefs.h. */
8213#include <sys/types.h>
8214 /* Check that off_t can represent 2**63 - 1 correctly.
8215 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8216 since some C++ compilers masquerading as C compilers
8217 incorrectly reject 9223372036854775807. */
8218#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8219 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8220 && LARGE_OFF_T % 2147483647 == 1)
8221 ? 1 : -1];
8222int
8223main ()
8224{
8225
8226 ;
8227 return 0;
8228}
8229_ACEOF
8230if ac_fn_c_try_compile "$LINENO"; then :
8231 ac_cv_sys_large_files=no; break
8232fi
8233rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8235/* end confdefs.h. */
8236#define _LARGE_FILES 1
8237#include <sys/types.h>
8238 /* Check that off_t can represent 2**63 - 1 correctly.
8239 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8240 since some C++ compilers masquerading as C compilers
8241 incorrectly reject 9223372036854775807. */
8242#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8243 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8244 && LARGE_OFF_T % 2147483647 == 1)
8245 ? 1 : -1];
8246int
8247main ()
8248{
8249
8250 ;
8251 return 0;
8252}
8253_ACEOF
8254if ac_fn_c_try_compile "$LINENO"; then :
8255 ac_cv_sys_large_files=1; break
8256fi
8257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8258 ac_cv_sys_large_files=unknown
8259 break
8260done
8261fi
8262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8263$as_echo "$ac_cv_sys_large_files" >&6; }
8264case $ac_cv_sys_large_files in #(
8265 no | unknown) ;;
8266 *)
8267cat >>confdefs.h <<_ACEOF
8268#define _LARGE_FILES $ac_cv_sys_large_files
8269_ACEOF
8270;;
8271esac
8272rm -rf conftest*
8273 fi
8274
8275
8276fi
8277
8278
8279 8112
8280LIB_MATH=-lm 8113LIB_MATH=-lm
8281LIB_STANDARD= 8114LIB_STANDARD=
@@ -16068,8 +15901,8 @@ ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
16068$as_echo "#define C_ALLOCA 1" >>confdefs.h 15901$as_echo "#define C_ALLOCA 1" >>confdefs.h
16069 15902
16070 15903
16071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 15904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 'alloca.c' needs Cray hooks" >&5
16072$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 15905$as_echo_n "checking whether 'alloca.c' needs Cray hooks... " >&6; }
16073if test "${ac_cv_os_cray+set}" = set; then : 15906if test "${ac_cv_os_cray+set}" = set; then :
16074 $as_echo_n "(cached) " >&6 15907 $as_echo_n "(cached) " >&6
16075else 15908else
@@ -16512,6 +16345,7 @@ $as_echo "#define HAVE_C99_STRTOLD 1" >>confdefs.h
16512 GNULIB_GETPAGESIZE=0; 16345 GNULIB_GETPAGESIZE=0;
16513 GNULIB_GETUSERSHELL=0; 16346 GNULIB_GETUSERSHELL=0;
16514 GNULIB_GROUP_MEMBER=0; 16347 GNULIB_GROUP_MEMBER=0;
16348 GNULIB_ISATTY=0;
16515 GNULIB_LCHOWN=0; 16349 GNULIB_LCHOWN=0;
16516 GNULIB_LINK=0; 16350 GNULIB_LINK=0;
16517 GNULIB_LINKAT=0; 16351 GNULIB_LINKAT=0;
@@ -16524,11 +16358,11 @@ $as_echo "#define HAVE_C99_STRTOLD 1" >>confdefs.h
16524 GNULIB_READLINK=0; 16358 GNULIB_READLINK=0;
16525 GNULIB_READLINKAT=0; 16359 GNULIB_READLINKAT=0;
16526 GNULIB_RMDIR=0; 16360 GNULIB_RMDIR=0;
16361 GNULIB_SETHOSTNAME=0;
16527 GNULIB_SLEEP=0; 16362 GNULIB_SLEEP=0;
16528 GNULIB_SYMLINK=0; 16363 GNULIB_SYMLINK=0;
16529 GNULIB_SYMLINKAT=0; 16364 GNULIB_SYMLINKAT=0;
16530 GNULIB_TTYNAME_R=0; 16365 GNULIB_TTYNAME_R=0;
16531 GNULIB_UNISTD_H_GETOPT=0;
16532 GNULIB_UNISTD_H_NONBLOCKING=0; 16366 GNULIB_UNISTD_H_NONBLOCKING=0;
16533 GNULIB_UNISTD_H_SIGPIPE=0; 16367 GNULIB_UNISTD_H_SIGPIPE=0;
16534 GNULIB_UNLINK=0; 16368 GNULIB_UNLINK=0;
@@ -16560,6 +16394,7 @@ $as_echo "#define HAVE_C99_STRTOLD 1" >>confdefs.h
16560 HAVE_PWRITE=1; 16394 HAVE_PWRITE=1;
16561 HAVE_READLINK=1; 16395 HAVE_READLINK=1;
16562 HAVE_READLINKAT=1; 16396 HAVE_READLINKAT=1;
16397 HAVE_SETHOSTNAME=1;
16563 HAVE_SLEEP=1; 16398 HAVE_SLEEP=1;
16564 HAVE_SYMLINK=1; 16399 HAVE_SYMLINK=1;
16565 HAVE_SYMLINKAT=1; 16400 HAVE_SYMLINKAT=1;
@@ -16572,6 +16407,7 @@ $as_echo "#define HAVE_C99_STRTOLD 1" >>confdefs.h
16572 HAVE_DECL_GETLOGIN_R=1; 16407 HAVE_DECL_GETLOGIN_R=1;
16573 HAVE_DECL_GETPAGESIZE=1; 16408 HAVE_DECL_GETPAGESIZE=1;
16574 HAVE_DECL_GETUSERSHELL=1; 16409 HAVE_DECL_GETUSERSHELL=1;
16410 HAVE_DECL_SETHOSTNAME=1;
16575 HAVE_DECL_TTYNAME_R=1; 16411 HAVE_DECL_TTYNAME_R=1;
16576 HAVE_OS_H=0; 16412 HAVE_OS_H=0;
16577 HAVE_SYS_PARAM_H=0; 16413 HAVE_SYS_PARAM_H=0;
@@ -16580,11 +16416,13 @@ $as_echo "#define HAVE_C99_STRTOLD 1" >>confdefs.h
16580 REPLACE_DUP=0; 16416 REPLACE_DUP=0;
16581 REPLACE_DUP2=0; 16417 REPLACE_DUP2=0;
16582 REPLACE_FCHOWNAT=0; 16418 REPLACE_FCHOWNAT=0;
16419 REPLACE_FTRUNCATE=0;
16583 REPLACE_GETCWD=0; 16420 REPLACE_GETCWD=0;
16584 REPLACE_GETDOMAINNAME=0; 16421 REPLACE_GETDOMAINNAME=0;
16585 REPLACE_GETLOGIN_R=0; 16422 REPLACE_GETLOGIN_R=0;
16586 REPLACE_GETGROUPS=0; 16423 REPLACE_GETGROUPS=0;
16587 REPLACE_GETPAGESIZE=0; 16424 REPLACE_GETPAGESIZE=0;
16425 REPLACE_ISATTY=0;
16588 REPLACE_LCHOWN=0; 16426 REPLACE_LCHOWN=0;
16589 REPLACE_LINK=0; 16427 REPLACE_LINK=0;
16590 REPLACE_LINKAT=0; 16428 REPLACE_LINKAT=0;
@@ -16666,8 +16504,11 @@ _ACEOF
16666 GNULIB_MKOSTEMPS=0; 16504 GNULIB_MKOSTEMPS=0;
16667 GNULIB_MKSTEMP=0; 16505 GNULIB_MKSTEMP=0;
16668 GNULIB_MKSTEMPS=0; 16506 GNULIB_MKSTEMPS=0;
16507 GNULIB_POSIX_OPENPT=0;
16669 GNULIB_PTSNAME=0; 16508 GNULIB_PTSNAME=0;
16509 GNULIB_PTSNAME_R=0;
16670 GNULIB_PUTENV=0; 16510 GNULIB_PUTENV=0;
16511 GNULIB_RANDOM=0;
16671 GNULIB_RANDOM_R=0; 16512 GNULIB_RANDOM_R=0;
16672 GNULIB_REALLOC_POSIX=0; 16513 GNULIB_REALLOC_POSIX=0;
16673 GNULIB_REALPATH=0; 16514 GNULIB_REALPATH=0;
@@ -16691,7 +16532,10 @@ _ACEOF
16691 HAVE_MKOSTEMPS=1; 16532 HAVE_MKOSTEMPS=1;
16692 HAVE_MKSTEMP=1; 16533 HAVE_MKSTEMP=1;
16693 HAVE_MKSTEMPS=1; 16534 HAVE_MKSTEMPS=1;
16535 HAVE_POSIX_OPENPT=1;
16694 HAVE_PTSNAME=1; 16536 HAVE_PTSNAME=1;
16537 HAVE_PTSNAME_R=1;
16538 HAVE_RANDOM=1;
16695 HAVE_RANDOM_H=1; 16539 HAVE_RANDOM_H=1;
16696 HAVE_RANDOM_R=1; 16540 HAVE_RANDOM_R=1;
16697 HAVE_REALPATH=1; 16541 HAVE_REALPATH=1;
@@ -16710,7 +16554,9 @@ _ACEOF
16710 REPLACE_MALLOC=0; 16554 REPLACE_MALLOC=0;
16711 REPLACE_MBTOWC=0; 16555 REPLACE_MBTOWC=0;
16712 REPLACE_MKSTEMP=0; 16556 REPLACE_MKSTEMP=0;
16557 REPLACE_PTSNAME_R=0;
16713 REPLACE_PUTENV=0; 16558 REPLACE_PUTENV=0;
16559 REPLACE_RANDOM_R=0;
16714 REPLACE_REALLOC=0; 16560 REPLACE_REALLOC=0;
16715 REPLACE_REALPATH=0; 16561 REPLACE_REALPATH=0;
16716 REPLACE_SETENV=0; 16562 REPLACE_SETENV=0;
@@ -16874,12 +16720,15 @@ _ACEOF
16874 gl_dirsep_regex='[/\\]' 16720 gl_dirsep_regex='[/\\]'
16875 ;; 16721 ;;
16876 *) 16722 *)
16877 gl_dirsep_regex='/' 16723 gl_dirsep_regex='\/'
16878 ;; 16724 ;;
16879 esac 16725 esac
16726 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
16880 16727
16881 gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'getopt.h|{ 16728 gl_header_literal_regex=`echo 'getopt.h' \
16882 s|.*"\(.*'"${gl_dirsep_regex}"'getopt.h\)".*|\1| 16729 | sed -e "$gl_make_literal_regex_sed"`
16730 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
16731 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
16883 s|^/[^/]|//&| 16732 s|^/[^/]|//&|
16884 p 16733 p
16885 q 16734 q
@@ -17379,7 +17228,6 @@ $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h
17379 17228
17380 17229
17381 17230
17382 GNULIB_UNISTD_H_GETOPT=1
17383 fi 17231 fi
17384 17232
17385ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default" 17233ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
@@ -17631,12 +17479,15 @@ _ACEOF
17631 gl_dirsep_regex='[/\\]' 17479 gl_dirsep_regex='[/\\]'
17632 ;; 17480 ;;
17633 *) 17481 *)
17634 gl_dirsep_regex='/' 17482 gl_dirsep_regex='\/'
17635 ;; 17483 ;;
17636 esac 17484 esac
17485 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
17637 17486
17638 gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'stdint.h|{ 17487 gl_header_literal_regex=`echo 'stdint.h' \
17639 s|.*"\(.*'"${gl_dirsep_regex}"'stdint.h\)".*|\1| 17488 | sed -e "$gl_make_literal_regex_sed"`
17489 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
17490 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
17640 s|^/[^/]|//&| 17491 s|^/[^/]|//&|
17641 p 17492 p
17642 q 17493 q
@@ -17684,8 +17535,6 @@ else
17684/* end confdefs.h. */ 17535/* end confdefs.h. */
17685 17536
17686 17537
17687#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
17688#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
17689#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ 17538#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
17690#include <stdint.h> 17539#include <stdint.h>
17691/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */ 17540/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */
@@ -17854,8 +17703,6 @@ else
17854/* end confdefs.h. */ 17703/* end confdefs.h. */
17855 17704
17856 17705
17857#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
17858#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
17859#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ 17706#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
17860#include <stdint.h> 17707#include <stdint.h>
17861 17708
@@ -18294,6 +18141,7 @@ fi
18294 HAVE_DECL_IMAXDIV=1; 18141 HAVE_DECL_IMAXDIV=1;
18295 HAVE_DECL_STRTOIMAX=1; 18142 HAVE_DECL_STRTOIMAX=1;
18296 HAVE_DECL_STRTOUMAX=1; 18143 HAVE_DECL_STRTOUMAX=1;
18144 REPLACE_STRTOIMAX=0;
18297 INT32_MAX_LT_INTMAX_MAX=1; 18145 INT32_MAX_LT_INTMAX_MAX=1;
18298 INT64_MAX_EQ_LONG_MAX='defined _LP64'; 18146 INT64_MAX_EQ_LONG_MAX='defined _LP64';
18299 PRI_MACROS_BROKEN=0; 18147 PRI_MACROS_BROKEN=0;
@@ -18342,12 +18190,15 @@ _ACEOF
18342 gl_dirsep_regex='[/\\]' 18190 gl_dirsep_regex='[/\\]'
18343 ;; 18191 ;;
18344 *) 18192 *)
18345 gl_dirsep_regex='/' 18193 gl_dirsep_regex='\/'
18346 ;; 18194 ;;
18347 esac 18195 esac
18196 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
18348 18197
18349 gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'inttypes.h|{ 18198 gl_header_literal_regex=`echo 'inttypes.h' \
18350 s|.*"\(.*'"${gl_dirsep_regex}"'inttypes.h\)".*|\1| 18199 | sed -e "$gl_make_literal_regex_sed"`
18200 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
18201 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
18351 s|^/[^/]|//&| 18202 s|^/[^/]|//&|
18352 p 18203 p
18353 q 18204 q
@@ -18381,11 +18232,51 @@ $as_echo "$gl_cv_next_inttypes_h" >&6; }
18381 18232
18382 18233
18383 18234
18384$as_echo "#define GL_TRIGGER_STDC_LIMIT_MACROS 1" >>confdefs.h
18385 18235
18386 18236
18387 18237
18238 case "$host_os" in
18239 mingw*)
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit off_t" >&5
18241$as_echo_n "checking for 64-bit off_t... " >&6; }
18242if test "${gl_cv_type_off_t_64+set}" = set; then :
18243 $as_echo_n "(cached) " >&6
18244else
18245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18246/* end confdefs.h. */
18247#include <sys/types.h>
18248 int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1];
18388 18249
18250int
18251main ()
18252{
18253
18254 ;
18255 return 0;
18256}
18257_ACEOF
18258if ac_fn_c_try_compile "$LINENO"; then :
18259 gl_cv_type_off_t_64=yes
18260else
18261 gl_cv_type_off_t_64=no
18262fi
18263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18264
18265fi
18266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_off_t_64" >&5
18267$as_echo "$gl_cv_type_off_t_64" >&6; }
18268 if test $gl_cv_type_off_t_64 = no; then
18269 WINDOWS_64_BIT_OFF_T=1
18270 else
18271 WINDOWS_64_BIT_OFF_T=0
18272 fi
18273 WINDOWS_64_BIT_ST_SIZE=1
18274 ;;
18275 *)
18276 WINDOWS_64_BIT_OFF_T=0
18277 WINDOWS_64_BIT_ST_SIZE=0
18278 ;;
18279 esac
18389 18280
18390 18281
18391 GNULIB_FCHMODAT=0; 18282 GNULIB_FCHMODAT=0;
@@ -18434,10 +18325,12 @@ else
18434 echo >conftest.file 18325 echo >conftest.file
18435 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then 18326 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
18436 if test "$cross_compiling" = yes; then : 18327 if test "$cross_compiling" = yes; then :
18437 # When cross-compiling, be pessimistic so we will end up using the 18328 case "$host_os" in
18438 # replacement version of lstat that checks for trailing slashes and 18329 # Guess yes on glibc systems.
18439 # calls lstat a second time when necessary. 18330 *-gnu*) gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;;
18440 gl_cv_func_lstat_dereferences_slashed_symlink=no 18331 # If we don't know, assume the worst.
18332 *) gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;;
18333 esac
18441 18334
18442else 18335else
18443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -18468,19 +18361,22 @@ fi
18468 else 18361 else
18469 # If the 'ln -s' command failed, then we probably don't even 18362 # If the 'ln -s' command failed, then we probably don't even
18470 # have an lstat function. 18363 # have an lstat function.
18471 gl_cv_func_lstat_dereferences_slashed_symlink=no 18364 gl_cv_func_lstat_dereferences_slashed_symlink="guessing no"
18472 fi 18365 fi
18473 rm -f conftest.sym conftest.file 18366 rm -f conftest.sym conftest.file
18474 18367
18475fi 18368fi
18476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5 18369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5
18477$as_echo "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; } 18370$as_echo "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; }
18478 test $gl_cv_func_lstat_dereferences_slashed_symlink = yes && 18371 case "$gl_cv_func_lstat_dereferences_slashed_symlink" in
18372 *yes)
18479 18373
18480cat >>confdefs.h <<_ACEOF 18374cat >>confdefs.h <<_ACEOF
18481#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 18375#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
18482_ACEOF 18376_ACEOF
18483 18377
18378 ;;
18379 esac
18484 18380
18485 18381
18486 GNULIB_MKTIME=0; 18382 GNULIB_MKTIME=0;
@@ -18500,8 +18396,6 @@ _ACEOF
18500 18396
18501 18397
18502 18398
18503
18504
18505 GNULIB_PTHREAD_SIGMASK=0; 18399 GNULIB_PTHREAD_SIGMASK=0;
18506 GNULIB_RAISE=0; 18400 GNULIB_RAISE=0;
18507 GNULIB_SIGNAL_H_SIGPIPE=0; 18401 GNULIB_SIGNAL_H_SIGPIPE=0;
@@ -18524,6 +18418,8 @@ _ACEOF
18524 18418
18525 18419
18526 18420
18421
18422
18527 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" " 18423 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "
18528 #include <signal.h> 18424 #include <signal.h>
18529 /* Mingw defines sigset_t not in <signal.h>, but in <sys/types.h>. */ 18425 /* Mingw defines sigset_t not in <signal.h>, but in <sys/types.h>. */
@@ -18713,7 +18609,6 @@ $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
18713 GNULIB_GETCHAR=0; 18609 GNULIB_GETCHAR=0;
18714 GNULIB_GETDELIM=0; 18610 GNULIB_GETDELIM=0;
18715 GNULIB_GETLINE=0; 18611 GNULIB_GETLINE=0;
18716 GNULIB_GETS=0;
18717 GNULIB_OBSTACK_PRINTF=0; 18612 GNULIB_OBSTACK_PRINTF=0;
18718 GNULIB_OBSTACK_PRINTF_POSIX=0; 18613 GNULIB_OBSTACK_PRINTF_POSIX=0;
18719 GNULIB_PCLOSE=0; 18614 GNULIB_PCLOSE=0;
@@ -18989,6 +18884,14 @@ _ACEOF
18989 18884
18990fi 18885fi
18991 18886
18887
18888
18889
18890
18891
18892
18893
18894
18992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 18895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
18993$as_echo_n "checking for C/C++ restrict keyword... " >&6; } 18896$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
18994if test "${ac_cv_c_restrict+set}" = set; then : 18897if test "${ac_cv_c_restrict+set}" = set; then :
@@ -19171,12 +19074,15 @@ _ACEOF
19171 gl_dirsep_regex='[/\\]' 19074 gl_dirsep_regex='[/\\]'
19172 ;; 19075 ;;
19173 *) 19076 *)
19174 gl_dirsep_regex='/' 19077 gl_dirsep_regex='\/'
19175 ;; 19078 ;;
19176 esac 19079 esac
19080 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
19177 19081
19178 gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'time.h|{ 19082 gl_header_literal_regex=`echo 'time.h' \
19179 s|.*"\(.*'"${gl_dirsep_regex}"'time.h\)".*|\1| 19083 | sed -e "$gl_make_literal_regex_sed"`
19084 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
19085 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
19180 s|^/[^/]|//&| 19086 s|^/[^/]|//&|
19181 p 19087 p
19182 q 19088 q
@@ -19333,17 +19239,17 @@ else
19333 if test "$cross_compiling" = yes; then : 19239 if test "$cross_compiling" = yes; then :
19334 case "$host_os" in 19240 case "$host_os" in
19335 mingw*) # on this platform, dup2 always returns 0 for success 19241 mingw*) # on this platform, dup2 always returns 0 for success
19336 gl_cv_func_dup2_works=no;; 19242 gl_cv_func_dup2_works="guessing no" ;;
19337 cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0 19243 cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0
19338 gl_cv_func_dup2_works=no;; 19244 gl_cv_func_dup2_works="guessing no" ;;
19339 linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a 19245 linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a
19340 # closed fd may yield -EBADF instead of -1 / errno=EBADF. 19246 # closed fd may yield -EBADF instead of -1 / errno=EBADF.
19341 gl_cv_func_dup2_works=no;; 19247 gl_cv_func_dup2_works="guessing no" ;;
19342 freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF. 19248 freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF.
19343 gl_cv_func_dup2_works=no;; 19249 gl_cv_func_dup2_works="guessing no" ;;
19344 haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC. 19250 haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC.
19345 gl_cv_func_dup2_works=no;; 19251 gl_cv_func_dup2_works="guessing no" ;;
19346 *) gl_cv_func_dup2_works=yes;; 19252 *) gl_cv_func_dup2_works="guessing yes" ;;
19347 esac 19253 esac
19348else 19254else
19349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -19392,9 +19298,12 @@ fi
19392fi 19298fi
19393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5 19299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5
19394$as_echo "$gl_cv_func_dup2_works" >&6; } 19300$as_echo "$gl_cv_func_dup2_works" >&6; }
19395 if test "$gl_cv_func_dup2_works" = no; then 19301 case "$gl_cv_func_dup2_works" in
19396 REPLACE_DUP2=1 19302 *yes) ;;
19397 fi 19303 *)
19304 REPLACE_DUP2=1
19305 ;;
19306 esac
19398 fi 19307 fi
19399 19308
19400 19309
@@ -19988,12 +19897,14 @@ if test $REPLACE_GETOPT = 1; then
19988 19897
19989 19898
19990 19899
19900 GNULIB_GL_UNISTD_H_GETOPT=1
19991fi 19901fi
19992 19902
19993 19903
19994 19904
19995 19905
19996 19906
19907
19997 REPLACE_GETOPT=0 19908 REPLACE_GETOPT=0
19998 19909
19999 19910
@@ -20012,7 +19923,6 @@ $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h
20012 19923
20013 19924
20014 19925
20015 GNULIB_UNISTD_H_GETOPT=1
20016 fi 19926 fi
20017 19927
20018if test $REPLACE_GETOPT = 1; then 19928if test $REPLACE_GETOPT = 1; then
@@ -20039,17 +19949,22 @@ if test $REPLACE_GETOPT = 1; then
20039 19949
20040 19950
20041 19951
19952 GNULIB_GL_UNISTD_H_GETOPT=1
20042fi 19953fi
20043 19954
20044 19955
20045 19956
20046 19957
20047 19958
19959
19960
20048 if test $ac_cv_func_lstat = yes; then 19961 if test $ac_cv_func_lstat = yes; then
20049 19962
20050 if test $gl_cv_func_lstat_dereferences_slashed_symlink = no; then 19963 case "$gl_cv_func_lstat_dereferences_slashed_symlink" in
20051 REPLACE_LSTAT=1 19964 *no)
20052 fi 19965 REPLACE_LSTAT=1
19966 ;;
19967 esac
20053 else 19968 else
20054 HAVE_LSTAT=0 19969 HAVE_LSTAT=0
20055 fi 19970 fi
@@ -20344,6 +20259,8 @@ fi
20344 20259
20345 20260
20346 20261
20262
20263
20347 LIB_PTHREAD_SIGMASK= 20264 LIB_PTHREAD_SIGMASK=
20348 20265
20349 20266
@@ -20618,7 +20535,13 @@ else
20618 ln -s conftest.no-such conftest.link 20535 ln -s conftest.no-such conftest.link
20619 ln -s conftest.link conftest.lnk2 20536 ln -s conftest.link conftest.lnk2
20620 if test "$cross_compiling" = yes; then : 20537 if test "$cross_compiling" = yes; then :
20621 gl_cv_func_readlink_works="guessing no" 20538 case "$host_os" in
20539 # Guess yes on glibc systems.
20540 *-gnu*) gl_cv_func_readlink_works="guessing yes" ;;
20541 # If we don't know, assume the worst.
20542 *) gl_cv_func_readlink_works="guessing no" ;;
20543 esac
20544
20622else 20545else
20623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624/* end confdefs.h. */ 20547/* end confdefs.h. */
@@ -20646,14 +20569,19 @@ fi
20646fi 20569fi
20647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_readlink_works" >&5 20570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_readlink_works" >&5
20648$as_echo "$gl_cv_func_readlink_works" >&6; } 20571$as_echo "$gl_cv_func_readlink_works" >&6; }
20649 if test "$gl_cv_func_readlink_works" != yes; then 20572 case "$gl_cv_func_readlink_works" in
20573 *yes)
20574 if test "$gl_cv_decl_readlink_works" != yes; then
20575 REPLACE_READLINK=1
20576 fi
20577 ;;
20578 *)
20650 20579
20651$as_echo "#define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h 20580$as_echo "#define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h
20652 20581
20653 REPLACE_READLINK=1 20582 REPLACE_READLINK=1
20654 elif test "$gl_cv_decl_readlink_works" != yes; then 20583 ;;
20655 REPLACE_READLINK=1 20584 esac
20656 fi
20657 fi 20585 fi
20658 20586
20659if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then 20587if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
@@ -20717,12 +20645,15 @@ _ACEOF
20717 gl_dirsep_regex='[/\\]' 20645 gl_dirsep_regex='[/\\]'
20718 ;; 20646 ;;
20719 *) 20647 *)
20720 gl_dirsep_regex='/' 20648 gl_dirsep_regex='\/'
20721 ;; 20649 ;;
20722 esac 20650 esac
20651 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
20723 20652
20724 gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'signal.h|{ 20653 gl_header_literal_regex=`echo 'signal.h' \
20725 s|.*"\(.*'"${gl_dirsep_regex}"'signal.h\)".*|\1| 20654 | sed -e "$gl_make_literal_regex_sed"`
20655 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
20656 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
20726 s|^/[^/]|//&| 20657 s|^/[^/]|//&|
20727 p 20658 p
20728 q 20659 q
@@ -20878,6 +20809,72 @@ $as_echo "#define ssize_t int" >>confdefs.h
20878 fi 20809 fi
20879 20810
20880 20811
20812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working stdalign.h" >&5
20813$as_echo_n "checking for working stdalign.h... " >&6; }
20814if test "${gl_cv_header_working_stdalign_h+set}" = set; then :
20815 $as_echo_n "(cached) " >&6
20816else
20817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20818/* end confdefs.h. */
20819#include <stdalign.h>
20820 #include <stddef.h>
20821
20822 /* Test that alignof yields a result consistent with offsetof.
20823 This catches GCC bug 52023
20824 <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023>. */
20825 #ifdef __cplusplus
20826 template <class t> struct alignof_helper { char a; t b; };
20827 # define ao(type) offsetof (alignof_helper<type>, b)
20828 #else
20829 # define ao(type) offsetof (struct { char a; type b; }, b)
20830 #endif
20831 char test_double[ao (double) % _Alignof (double) == 0 ? 1 : -1];
20832 char test_long[ao (long int) % _Alignof (long int) == 0 ? 1 : -1];
20833 char test_alignof[alignof (double) == _Alignof (double) ? 1 : -1];
20834
20835 /* Test _Alignas only on platforms where gnulib can help. */
20836 #if \
20837 (__GNUC__ || __IBMC__ || __IBMCPP__ \
20838 || 0x5110 <= __SUNPRO_C || 1300 <= _MSC_VER)
20839 int alignas (8) alignas_int = 1;
20840 char test_alignas[_Alignof (alignas_int) == 8 ? 1 : -1];
20841 #endif
20842
20843int
20844main ()
20845{
20846
20847 ;
20848 return 0;
20849}
20850_ACEOF
20851if ac_fn_c_try_compile "$LINENO"; then :
20852 gl_cv_header_working_stdalign_h=yes
20853else
20854 gl_cv_header_working_stdalign_h=no
20855fi
20856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20857fi
20858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdalign_h" >&5
20859$as_echo "$gl_cv_header_working_stdalign_h" >&6; }
20860
20861 if test $gl_cv_header_working_stdalign_h = yes; then
20862 STDALIGN_H=''
20863 else
20864 STDALIGN_H='stdalign.h'
20865 fi
20866
20867
20868 if test -n "$STDALIGN_H"; then
20869 GL_GENERATE_STDALIGN_H_TRUE=
20870 GL_GENERATE_STDALIGN_H_FALSE='#'
20871else
20872 GL_GENERATE_STDALIGN_H_TRUE='#'
20873 GL_GENERATE_STDALIGN_H_FALSE=
20874fi
20875
20876
20877
20881 STDARG_H='' 20878 STDARG_H=''
20882 NEXT_STDARG_H='<stdarg.h>' 20879 NEXT_STDARG_H='<stdarg.h>'
20883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 20880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
@@ -20961,12 +20958,15 @@ _ACEOF
20961 gl_dirsep_regex='[/\\]' 20958 gl_dirsep_regex='[/\\]'
20962 ;; 20959 ;;
20963 *) 20960 *)
20964 gl_dirsep_regex='/' 20961 gl_dirsep_regex='\/'
20965 ;; 20962 ;;
20966 esac 20963 esac
20964 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
20967 20965
20968 gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'stdarg.h|{ 20966 gl_header_literal_regex=`echo 'stdarg.h' \
20969 s|.*"\(.*'"${gl_dirsep_regex}"'stdarg.h\)".*|\1| 20967 | sed -e "$gl_make_literal_regex_sed"`
20968 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
20969 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
20970 s|^/[^/]|//&| 20970 s|^/[^/]|//&|
20971 p 20971 p
20972 q 20972 q
@@ -21161,12 +21161,15 @@ _ACEOF
21161 gl_dirsep_regex='[/\\]' 21161 gl_dirsep_regex='[/\\]'
21162 ;; 21162 ;;
21163 *) 21163 *)
21164 gl_dirsep_regex='/' 21164 gl_dirsep_regex='\/'
21165 ;; 21165 ;;
21166 esac 21166 esac
21167 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
21167 21168
21168 gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'stddef.h|{ 21169 gl_header_literal_regex=`echo 'stddef.h' \
21169 s|.*"\(.*'"${gl_dirsep_regex}"'stddef.h\)".*|\1| 21170 | sed -e "$gl_make_literal_regex_sed"`
21171 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
21172 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
21170 s|^/[^/]|//&| 21173 s|^/[^/]|//&|
21171 p 21174 p
21172 q 21175 q
@@ -21231,12 +21234,15 @@ _ACEOF
21231 gl_dirsep_regex='[/\\]' 21234 gl_dirsep_regex='[/\\]'
21232 ;; 21235 ;;
21233 *) 21236 *)
21234 gl_dirsep_regex='/' 21237 gl_dirsep_regex='\/'
21235 ;; 21238 ;;
21236 esac 21239 esac
21240 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
21237 21241
21238 gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'stdio.h|{ 21242 gl_header_literal_regex=`echo 'stdio.h' \
21239 s|.*"\(.*'"${gl_dirsep_regex}"'stdio.h\)".*|\1| 21243 | sed -e "$gl_make_literal_regex_sed"`
21244 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
21245 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
21240 s|^/[^/]|//&| 21246 s|^/[^/]|//&|
21241 p 21247 p
21242 q 21248 q
@@ -21270,7 +21276,6 @@ $as_echo "$gl_cv_next_stdio_h" >&6; }
21270 GNULIB_GETC=1 21276 GNULIB_GETC=1
21271 GNULIB_GETCHAR=1 21277 GNULIB_GETCHAR=1
21272 GNULIB_FGETS=1 21278 GNULIB_FGETS=1
21273 GNULIB_GETS=1
21274 GNULIB_FREAD=1 21279 GNULIB_FREAD=1
21275 21280
21276 21281
@@ -21323,12 +21328,15 @@ _ACEOF
21323 gl_dirsep_regex='[/\\]' 21328 gl_dirsep_regex='[/\\]'
21324 ;; 21329 ;;
21325 *) 21330 *)
21326 gl_dirsep_regex='/' 21331 gl_dirsep_regex='\/'
21327 ;; 21332 ;;
21328 esac 21333 esac
21334 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
21329 21335
21330 gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'stdlib.h|{ 21336 gl_header_literal_regex=`echo 'stdlib.h' \
21331 s|.*"\(.*'"${gl_dirsep_regex}"'stdlib.h\)".*|\1| 21337 | sed -e "$gl_make_literal_regex_sed"`
21338 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
21339 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
21332 s|^/[^/]|//&| 21340 s|^/[^/]|//&|
21333 p 21341 p
21334 q 21342 q
@@ -21381,7 +21389,83 @@ $as_echo "#define my_strftime nstrftime" >>confdefs.h
21381 HAVE_DECL_STRTOIMAX=0 21389 HAVE_DECL_STRTOIMAX=0
21382 fi 21390 fi
21383 21391
21384if test $ac_cv_func_strtoimax = no; then 21392 if test $ac_cv_func_strtoimax = yes; then
21393 HAVE_STRTOIMAX=1
21394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtoimax works" >&5
21395$as_echo_n "checking whether strtoimax works... " >&6; }
21396if test "${gl_cv_func_strtoimax+set}" = set; then :
21397 $as_echo_n "(cached) " >&6
21398else
21399 if test "$cross_compiling" = yes; then :
21400 case "$host_os" in
21401 # Guess no on AIX 5.
21402 aix5*) gl_cv_func_strtoimax="guessing no" ;;
21403 # Guess yes otherwise.
21404 *) gl_cv_func_strtoimax="guessing yes" ;;
21405 esac
21406
21407else
21408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21409/* end confdefs.h. */
21410
21411#include <errno.h>
21412#include <string.h>
21413#include <inttypes.h>
21414int main ()
21415{
21416 if (sizeof (intmax_t) > sizeof (int))
21417 {
21418 const char *s = "4294967295";
21419 char *p;
21420 intmax_t res;
21421 errno = 0;
21422 res = strtoimax (s, &p, 10);
21423 if (p != s + strlen (s))
21424 return 1;
21425 if (errno != 0)
21426 return 2;
21427 if (res != (intmax_t) 65535 * (intmax_t) 65537)
21428 return 3;
21429 }
21430 else
21431 {
21432 const char *s = "2147483647";
21433 char *p;
21434 intmax_t res;
21435 errno = 0;
21436 res = strtoimax (s, &p, 10);
21437 if (p != s + strlen (s))
21438 return 1;
21439 if (errno != 0)
21440 return 2;
21441 if (res != 2147483647)
21442 return 3;
21443 }
21444 return 0;
21445}
21446
21447_ACEOF
21448if ac_fn_c_try_run "$LINENO"; then :
21449 gl_cv_func_strtoimax=yes
21450else
21451 gl_cv_func_strtoimax=no
21452fi
21453rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21454 conftest.$ac_objext conftest.beam conftest.$ac_ext
21455fi
21456
21457
21458fi
21459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strtoimax" >&5
21460$as_echo "$gl_cv_func_strtoimax" >&6; }
21461 case "$gl_cv_func_strtoimax" in
21462 *no) REPLACE_STRTOIMAX=1 ;;
21463 esac
21464 else
21465 HAVE_STRTOIMAX=0
21466 fi
21467
21468if test $HAVE_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1; then
21385 21469
21386 21470
21387 21471
@@ -21474,7 +21558,13 @@ if test "${gl_cv_func_symlink_works+set}" = set; then :
21474 $as_echo_n "(cached) " >&6 21558 $as_echo_n "(cached) " >&6
21475else 21559else
21476 if test "$cross_compiling" = yes; then : 21560 if test "$cross_compiling" = yes; then :
21477 gl_cv_func_symlink_works="guessing no" 21561 case "$host_os" in
21562 # Guess yes on glibc systems.
21563 *-gnu*) gl_cv_func_symlink_works="guessing yes" ;;
21564 # If we don't know, assume the worst.
21565 *) gl_cv_func_symlink_works="guessing no" ;;
21566 esac
21567
21478else 21568else
21479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21480/* end confdefs.h. */ 21570/* end confdefs.h. */
@@ -21509,9 +21599,12 @@ fi
21509fi 21599fi
21510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_symlink_works" >&5 21600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_symlink_works" >&5
21511$as_echo "$gl_cv_func_symlink_works" >&6; } 21601$as_echo "$gl_cv_func_symlink_works" >&6; }
21512 if test "$gl_cv_func_symlink_works" != yes; then 21602 case "$gl_cv_func_symlink_works" in
21513 REPLACE_SYMLINK=1 21603 *yes) ;;
21514 fi 21604 *)
21605 REPLACE_SYMLINK=1
21606 ;;
21607 esac
21515 fi 21608 fi
21516 21609
21517if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then 21610if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then
@@ -21580,12 +21673,15 @@ _ACEOF
21580 gl_dirsep_regex='[/\\]' 21673 gl_dirsep_regex='[/\\]'
21581 ;; 21674 ;;
21582 *) 21675 *)
21583 gl_dirsep_regex='/' 21676 gl_dirsep_regex='\/'
21584 ;; 21677 ;;
21585 esac 21678 esac
21679 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
21586 21680
21587 gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'sys/stat.h|{ 21681 gl_header_literal_regex=`echo 'sys/stat.h' \
21588 s|.*"\(.*'"${gl_dirsep_regex}"'sys/stat.h\)".*|\1| 21682 | sed -e "$gl_make_literal_regex_sed"`
21683 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
21684 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
21589 s|^/[^/]|//&| 21685 s|^/[^/]|//&|
21590 p 21686 p
21591 q 21687 q
@@ -21618,6 +21714,16 @@ $as_echo "$gl_cv_next_sys_stat_h" >&6; }
21618 21714
21619 21715
21620 21716
21717
21718
21719
21720
21721 if test $WINDOWS_64_BIT_ST_SIZE = 1; then
21722
21723$as_echo "#define _GL_WINDOWS_64_BIT_ST_SIZE 1" >>confdefs.h
21724
21725 fi
21726
21621 ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h> 21727 ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
21622 #include <sys/stat.h> 21728 #include <sys/stat.h>
21623" 21729"
@@ -21643,6 +21749,83 @@ fi
21643 21749
21644 21750
21645 21751
21752 if test $gl_cv_have_include_next = yes; then
21753 gl_cv_next_sys_types_h='<'sys/types.h'>'
21754 else
21755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/types.h>" >&5
21756$as_echo_n "checking absolute name of <sys/types.h>... " >&6; }
21757if test "${gl_cv_next_sys_types_h+set}" = set; then :
21758 $as_echo_n "(cached) " >&6
21759else
21760
21761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21762/* end confdefs.h. */
21763#include <sys/types.h>
21764
21765_ACEOF
21766 case "$host_os" in
21767 aix*) gl_absname_cpp="$ac_cpp -C" ;;
21768 *) gl_absname_cpp="$ac_cpp" ;;
21769 esac
21770
21771 case "$host_os" in
21772 mingw*)
21773 gl_dirsep_regex='[/\\]'
21774 ;;
21775 *)
21776 gl_dirsep_regex='\/'
21777 ;;
21778 esac
21779 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
21780
21781 gl_header_literal_regex=`echo 'sys/types.h' \
21782 | sed -e "$gl_make_literal_regex_sed"`
21783 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
21784 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
21785 s|^/[^/]|//&|
21786 p
21787 q
21788 }'
21789 gl_cv_next_sys_types_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
21790 sed -n "$gl_absolute_header_sed"`'"'
21791
21792
21793fi
21794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5
21795$as_echo "$gl_cv_next_sys_types_h" >&6; }
21796 fi
21797 NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h
21798
21799 if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
21800 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
21801 gl_next_as_first_directive='<'sys/types.h'>'
21802 else
21803 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
21804 gl_next_as_first_directive=$gl_cv_next_sys_types_h
21805 fi
21806 NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H=$gl_next_as_first_directive
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21646 if test $ac_cv_have_decl_localtime_r = no; then 21829 if test $ac_cv_have_decl_localtime_r = no; then
21647 HAVE_DECL_LOCALTIME_R=0 21830 HAVE_DECL_LOCALTIME_R=0
21648 fi 21831 fi
@@ -21760,12 +21943,15 @@ _ACEOF
21760 gl_dirsep_regex='[/\\]' 21943 gl_dirsep_regex='[/\\]'
21761 ;; 21944 ;;
21762 *) 21945 *)
21763 gl_dirsep_regex='/' 21946 gl_dirsep_regex='\/'
21764 ;; 21947 ;;
21765 esac 21948 esac
21949 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
21766 21950
21767 gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'unistd.h|{ 21951 gl_header_literal_regex=`echo 'unistd.h' \
21768 s|.*"\(.*'"${gl_dirsep_regex}"'unistd.h\)".*|\1| 21952 | sed -e "$gl_make_literal_regex_sed"`
21953 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
21954 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
21769 s|^/[^/]|//&| 21955 s|^/[^/]|//&|
21770 p 21956 p
21771 q 21957 q
@@ -21807,6 +21993,7 @@ $as_echo "$gl_cv_next_unistd_h" >&6; }
21807 21993
21808 21994
21809 21995
21996
21810 gl_gnulib_enabled_dosname=false 21997 gl_gnulib_enabled_dosname=false
21811 gl_gnulib_enabled_be453cec5eecf5731a274f2de7f2db36=false 21998 gl_gnulib_enabled_be453cec5eecf5731a274f2de7f2db36=false
21812 gl_gnulib_enabled_pathmax=false 21999 gl_gnulib_enabled_pathmax=false
@@ -21925,7 +22112,7 @@ fi
21925fi 22112fi
21926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_dir_slash" >&5 22113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_dir_slash" >&5
21927$as_echo "$gl_cv_func_stat_dir_slash" >&6; } 22114$as_echo "$gl_cv_func_stat_dir_slash" >&6; }
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5 22115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5
21929$as_echo_n "checking whether stat handles trailing slashes on files... " >&6; } 22116$as_echo_n "checking whether stat handles trailing slashes on files... " >&6; }
21930if test "${gl_cv_func_stat_file_slash+set}" = set; then : 22117if test "${gl_cv_func_stat_file_slash+set}" = set; then :
21931 $as_echo_n "(cached) " >&6 22118 $as_echo_n "(cached) " >&6
@@ -21936,7 +22123,13 @@ else
21936 ln -s conftest.tmp conftest.lnk 22123 ln -s conftest.tmp conftest.lnk
21937 fi 22124 fi
21938 if test "$cross_compiling" = yes; then : 22125 if test "$cross_compiling" = yes; then :
21939 gl_cv_func_stat_file_slash="guessing no" 22126 case "$host_os" in
22127 # Guess yes on glibc systems.
22128 *-gnu*) gl_cv_func_stat_file_slash="guessing yes" ;;
22129 # If we don't know, assume the worst.
22130 *) gl_cv_func_stat_file_slash="guessing no" ;;
22131 esac
22132
21940else 22133else
21941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21942/* end confdefs.h. */ 22135/* end confdefs.h. */
@@ -22149,18 +22342,18 @@ fi
22149 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then 22342 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
22150 func_gl_gnulib_m4code_stat 22343 func_gl_gnulib_m4code_stat
22151 fi 22344 fi
22152 if test $ac_cv_func_strtoimax = no; then 22345 if { test $HAVE_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1; } && test $ac_cv_type_long_long_int = yes; then
22153 func_gl_gnulib_m4code_verify
22154 fi
22155 if test $ac_cv_func_strtoimax = no && test $ac_cv_type_long_long_int = yes; then
22156 func_gl_gnulib_m4code_strtoll 22346 func_gl_gnulib_m4code_strtoll
22157 fi 22347 fi
22158 if test $ac_cv_func_strtoumax = no; then 22348 if test $HAVE_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1; then
22159 func_gl_gnulib_m4code_verify 22349 func_gl_gnulib_m4code_verify
22160 fi 22350 fi
22161 if test $ac_cv_func_strtoumax = no && test $ac_cv_type_unsigned_long_long_int = yes; then 22351 if test $ac_cv_func_strtoumax = no && test $ac_cv_type_unsigned_long_long_int = yes; then
22162 func_gl_gnulib_m4code_strtoull 22352 func_gl_gnulib_m4code_strtoull
22163 fi 22353 fi
22354 if test $ac_cv_func_strtoumax = no; then
22355 func_gl_gnulib_m4code_verify
22356 fi
22164 22357
22165 if $gl_gnulib_enabled_dosname; then 22358 if $gl_gnulib_enabled_dosname; then
22166 gl_GNULIB_ENABLED_dosname_TRUE= 22359 gl_GNULIB_ENABLED_dosname_TRUE=
@@ -22677,6 +22870,10 @@ if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FAL
22677 as_fn_error "conditional \"GL_GENERATE_STDINT_H\" was never defined. 22870 as_fn_error "conditional \"GL_GENERATE_STDINT_H\" was never defined.
22678Usually this means the macro was only invoked conditionally." "$LINENO" 5 22871Usually this means the macro was only invoked conditionally." "$LINENO" 5
22679fi 22872fi
22873if test -z "${GL_GENERATE_STDALIGN_H_TRUE}" && test -z "${GL_GENERATE_STDALIGN_H_FALSE}"; then
22874 as_fn_error "conditional \"GL_GENERATE_STDALIGN_H\" was never defined.
22875Usually this means the macro was only invoked conditionally." "$LINENO" 5
22876fi
22680if test -z "${GL_GENERATE_STDARG_H_TRUE}" && test -z "${GL_GENERATE_STDARG_H_FALSE}"; then 22877if test -z "${GL_GENERATE_STDARG_H_TRUE}" && test -z "${GL_GENERATE_STDARG_H_FALSE}"; then
22681 as_fn_error "conditional \"GL_GENERATE_STDARG_H\" was never defined. 22878 as_fn_error "conditional \"GL_GENERATE_STDARG_H\" was never defined.
22682Usually this means the macro was only invoked conditionally." "$LINENO" 5 22879Usually this means the macro was only invoked conditionally." "$LINENO" 5