From 4682deeb62247d34de87f8e777f99e2d337fd377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 20 Oct 2024 15:21:43 +0200 Subject: New upstream version 1.3 --- ChangeLog | 100 + DEPENDENCIES | 4 +- HACKING | 9 +- Makefile.in | 183 +- NEWS | 9 + README | 2 +- aclocal.m4 | 452 +- autogen.sh | 2 +- build-aux/compile | 11 +- build-aux/config.guess | 11 +- build-aux/config.rpath | 87 +- build-aux/config.sub | 729 +- build-aux/depcomp | 15 +- build-aux/gitlog-to-changelog | 50 +- build-aux/install-sh | 14 +- build-aux/ltmain.sh | 489 +- build-aux/mdate-sh | 8 +- build-aux/missing | 75 +- build-aux/run-test | 10 +- build-aux/test-driver | 15 +- build-aux/texi2html | 12 +- config.h.in | 613 +- configure | 13869 +- doc/Makefile.in | 177 +- doc/libunistring.info | 221 +- doc/libunistring_1.html | 4 +- doc/libunistring_10.html | 66 +- doc/libunistring_11.html | 58 +- doc/libunistring_12.html | 32 +- doc/libunistring_13.html | 100 +- doc/libunistring_14.html | 154 +- doc/libunistring_15.html | 4 +- doc/libunistring_16.html | 16 +- doc/libunistring_17.html | 6 +- doc/libunistring_18.html | 4 +- doc/libunistring_19.html | 4 +- doc/libunistring_2.html | 4 +- doc/libunistring_20.html | 4 +- doc/libunistring_21.html | 38 +- doc/libunistring_22.html | 525 +- doc/libunistring_23.html | 4 +- doc/libunistring_3.html | 4 +- doc/libunistring_4.html | 4 +- doc/libunistring_5.html | 4 +- doc/libunistring_6.html | 4 +- doc/libunistring_7.html | 4 +- doc/libunistring_8.html | 495 +- doc/libunistring_9.html | 26 +- doc/libunistring_abt.html | 6 +- doc/libunistring_fot.html | 4 +- doc/libunistring_toc.html | 4 +- doc/stamp-vti | 4 +- doc/unictype.texi | 3 + doc/version.texi | 4 +- gnulib-local/Makefile.am | 5 +- gnulib-local/Makefile.in | 160 +- gnulib-local/lib/unicase.in.h.diff | 19 - gnulib-local/lib/unictype.in.h.diff | 19 - gnulib-local/lib/unigbrk.in.h.diff | 19 - gnulib-local/lib/unistr.in.h.diff | 26 +- gnulib-m4/00gnulib.m4 | 3 +- gnulib-m4/__inline.m4 | 5 +- gnulib-m4/absolute-header.m4 | 3 +- gnulib-m4/alloca.m4 | 3 +- gnulib-m4/arpa_inet_h.m4 | 7 +- gnulib-m4/assert_h.m4 | 3 +- gnulib-m4/btowc.m4 | 3 +- gnulib-m4/build-to-host.m4 | 273 + gnulib-m4/builtin-expect.m4 | 6 +- gnulib-m4/c-bool.m4 | 6 +- gnulib-m4/c32rtomb.m4 | 152 +- gnulib-m4/calloc.m4 | 17 +- gnulib-m4/chdir-long.m4 | 30 + gnulib-m4/close.m4 | 3 +- gnulib-m4/closedir.m4 | 32 + gnulib-m4/codeset.m4 | 3 +- gnulib-m4/ctype_h.m4 | 3 +- gnulib-m4/d-ino.m4 | 59 + gnulib-m4/dirent_h.m4 | 98 + gnulib-m4/dirfd.m4 | 88 + gnulib-m4/double-slash-root.m4 | 3 +- gnulib-m4/dup.m4 | 55 + gnulib-m4/dup2.m4 | 3 +- gnulib-m4/eealloc.m4 | 3 +- gnulib-m4/environ.m4 | 3 +- gnulib-m4/errno_h.m4 | 11 +- gnulib-m4/error.m4 | 13 +- gnulib-m4/error_h.m4 | 18 +- gnulib-m4/exponentd.m4 | 3 +- gnulib-m4/exponentf.m4 | 3 +- gnulib-m4/exponentl.m4 | 3 +- gnulib-m4/extensions-aix.m4 | 25 + gnulib-m4/extensions.m4 | 24 +- gnulib-m4/extern-inline.m4 | 6 +- gnulib-m4/fchdir.m4 | 77 + gnulib-m4/fcntl-o.m4 | 3 +- gnulib-m4/fcntl.m4 | 5 +- gnulib-m4/fcntl_h.m4 | 4 +- gnulib-m4/fdopen.m4 | 3 +- gnulib-m4/fdopendir.m4 | 68 + gnulib-m4/filenamecat.m4 | 17 + gnulib-m4/flexmember.m4 | 11 +- gnulib-m4/float_h.m4 | 28 +- gnulib-m4/fpieee.m4 | 3 +- gnulib-m4/free.m4 | 11 +- gnulib-m4/frexp.m4 | 3 +- gnulib-m4/frexpl.m4 | 3 +- gnulib-m4/fseterr.m4 | 3 +- gnulib-m4/fstat.m4 | 3 +- gnulib-m4/fstatat.m4 | 66 + gnulib-m4/ftruncate.m4 | 10 +- gnulib-m4/getcwd-abort-bug.m4 | 148 + gnulib-m4/getcwd-path-max.m4 | 254 + gnulib-m4/getcwd.m4 | 15 +- gnulib-m4/getdtablesize.m4 | 3 +- gnulib-m4/getpagesize.m4 | 49 - gnulib-m4/getprogname.m4 | 14 +- gnulib-m4/gettimeofday.m4 | 10 +- gnulib-m4/gnulib-cache.m4 | 3 +- gnulib-m4/gnulib-common.m4 | 356 +- gnulib-m4/gnulib-comp.m4 | 1032 +- gnulib-m4/host-cpu-c-abi.m4 | 5 +- gnulib-m4/iconv.m4 | 42 +- gnulib-m4/iconv_h.m4 | 3 +- gnulib-m4/iconv_open.m4 | 3 +- gnulib-m4/include_next.m4 | 3 +- gnulib-m4/inet_pton.m4 | 3 +- gnulib-m4/inline.m4 | 3 +- gnulib-m4/intl-thread-locale.m4 | 3 +- gnulib-m4/intlmacosx.m4 | 3 +- gnulib-m4/intmax_t.m4 | 3 +- gnulib-m4/inttypes.m4 | 3 +- gnulib-m4/inttypes_h.m4 | 3 +- gnulib-m4/ioctl.m4 | 3 +- gnulib-m4/isblank.m4 | 3 +- gnulib-m4/isnand.m4 | 5 +- gnulib-m4/isnanf.m4 | 3 +- gnulib-m4/isnanl.m4 | 3 +- gnulib-m4/iswblank.m4 | 3 +- gnulib-m4/iswdigit.m4 | 23 +- gnulib-m4/iswpunct.m4 | 3 +- gnulib-m4/iswxdigit.m4 | 21 +- gnulib-m4/langinfo_h.m4 | 3 +- gnulib-m4/largefile.m4 | 45 +- gnulib-m4/lcmessage.m4 | 3 +- gnulib-m4/ldexpl.m4 | 3 +- gnulib-m4/lib-ld.m4 | 3 +- gnulib-m4/lib-link.m4 | 3 +- gnulib-m4/lib-prefix.m4 | 5 +- gnulib-m4/libunistring-base.m4 | 9 +- gnulib-m4/limits-h.m4 | 6 +- gnulib-m4/localcharset.m4 | 3 +- gnulib-m4/locale-ar.m4 | 10 +- gnulib-m4/locale-en.m4 | 137 + gnulib-m4/locale-fr.m4 | 27 +- gnulib-m4/locale-ja.m4 | 10 +- gnulib-m4/locale-tr.m4 | 10 +- gnulib-m4/locale-zh.m4 | 22 +- gnulib-m4/locale_h.m4 | 3 +- gnulib-m4/localename.m4 | 3 +- gnulib-m4/lock.m4 | 3 +- gnulib-m4/lstat.m4 | 11 +- gnulib-m4/malloc.m4 | 8 +- gnulib-m4/malloca.m4 | 3 +- gnulib-m4/math_h.m4 | 53 +- gnulib-m4/mbchar.m4 | 3 +- gnulib-m4/mbiter.m4 | 3 +- gnulib-m4/mbrtoc32.m4 | 63 +- gnulib-m4/mbrtowc.m4 | 35 +- gnulib-m4/mbsinit.m4 | 3 +- gnulib-m4/mbstate_t.m4 | 3 +- gnulib-m4/mbtowc.m4 | 3 +- gnulib-m4/memchr.m4 | 5 +- gnulib-m4/mempcpy.m4 | 30 + gnulib-m4/memrchr.m4 | 24 + gnulib-m4/minmax.m4 | 3 +- gnulib-m4/mmap-anon.m4 | 3 +- gnulib-m4/mode_t.m4 | 3 +- gnulib-m4/msvc-inval.m4 | 3 +- gnulib-m4/msvc-nothrow.m4 | 3 +- gnulib-m4/multiarch.m4 | 3 +- gnulib-m4/musl.m4 | 3 +- gnulib-m4/nan-mips.m4 | 3 +- gnulib-m4/nanosleep.m4 | 12 +- gnulib-m4/netinet_in_h.m4 | 3 +- gnulib-m4/nocrash.m4 | 3 +- gnulib-m4/off64_t.m4 | 31 + gnulib-m4/off_t.m4 | 3 +- gnulib-m4/once.m4 | 13 + gnulib-m4/open-cloexec.m4 | 6 +- gnulib-m4/open-slash.m4 | 3 +- gnulib-m4/open.m4 | 3 +- gnulib-m4/openat.m4 | 39 + gnulib-m4/opendir.m4 | 32 + gnulib-m4/pathmax.m4 | 3 +- gnulib-m4/perror.m4 | 3 +- gnulib-m4/pipe.m4 | 3 +- gnulib-m4/printf-frexp.m4 | 3 +- gnulib-m4/printf-frexpl.m4 | 3 +- gnulib-m4/printf.m4 | 40 +- gnulib-m4/pselect.m4 | 3 +- gnulib-m4/pthread-cond.m4 | 37 + gnulib-m4/pthread-mutex.m4 | 72 + gnulib-m4/pthread-once.m4 | 36 + gnulib-m4/pthread-rwlock.m4 | 461 + gnulib-m4/pthread-spin.m4 | 71 + gnulib-m4/pthread-thread.m4 | 3 +- gnulib-m4/pthread_h.m4 | 13 +- gnulib-m4/pthread_mutex_timedlock.m4 | 48 + gnulib-m4/pthread_rwlock_rdlock.m4 | 3 +- gnulib-m4/pthread_sigmask.m4 | 3 +- gnulib-m4/putenv.m4 | 5 +- gnulib-m4/raise.m4 | 3 +- gnulib-m4/random.m4 | 3 +- gnulib-m4/random_r.m4 | 1 + gnulib-m4/readdir.m4 | 23 + gnulib-m4/realloc.m4 | 8 +- gnulib-m4/reallocarray.m4 | 3 +- gnulib-m4/relocatable-lib.m4 | 7 +- gnulib-m4/rewinddir.m4 | 23 + gnulib-m4/save-cwd.m4 | 12 + gnulib-m4/sched_h.m4 | 13 +- gnulib-m4/sched_yield.m4 | 3 +- gnulib-m4/select.m4 | 3 +- gnulib-m4/semaphore.m4 | 3 +- gnulib-m4/setenv.m4 | 5 +- gnulib-m4/setlocale.m4 | 3 +- gnulib-m4/setlocale_null.m4 | 3 +- gnulib-m4/signal_h.m4 | 9 +- gnulib-m4/signalblocking.m4 | 3 +- gnulib-m4/signbit.m4 | 3 +- gnulib-m4/size_max.m4 | 3 +- gnulib-m4/sleep.m4 | 5 +- gnulib-m4/snan.m4 | 3 +- gnulib-m4/socketlib.m4 | 3 +- gnulib-m4/sockets.m4 | 3 +- gnulib-m4/socklen.m4 | 3 +- gnulib-m4/sockpfaf.m4 | 13 +- gnulib-m4/ssize_t.m4 | 3 +- gnulib-m4/stat-time.m4 | 14 +- gnulib-m4/stat.m4 | 11 +- gnulib-m4/stdalign.m4 | 8 +- gnulib-m4/stddef_h.m4 | 42 +- gnulib-m4/stdint.m4 | 3 +- gnulib-m4/stdint_h.m4 | 3 +- gnulib-m4/stdio_h.m4 | 15 +- gnulib-m4/stdlib_h.m4 | 21 +- gnulib-m4/stpcpy.m4 | 29 + gnulib-m4/strdup.m4 | 33 + gnulib-m4/strerror.m4 | 3 +- gnulib-m4/strerror_r.m4 | 3 +- gnulib-m4/string_h.m4 | 14 +- gnulib-m4/strncat.m4 | 5 +- gnulib-m4/strstr.m4 | 5 +- gnulib-m4/symlink.m4 | 5 +- gnulib-m4/sys_cdefs_h.m4 | 25 + gnulib-m4/sys_ioctl_h.m4 | 3 +- gnulib-m4/sys_select_h.m4 | 3 +- gnulib-m4/sys_socket_h.m4 | 3 +- gnulib-m4/sys_stat_h.m4 | 3 +- gnulib-m4/sys_time_h.m4 | 11 +- gnulib-m4/sys_types_h.m4 | 6 +- gnulib-m4/sys_uio_h.m4 | 3 +- gnulib-m4/thread.m4 | 3 +- gnulib-m4/threadlib.m4 | 3 +- gnulib-m4/time.m4 | 12 +- gnulib-m4/time_h.m4 | 21 +- gnulib-m4/uchar_h.m4 | 3 +- gnulib-m4/unicase_h.m4 | 3 +- gnulib-m4/unictype_h.m4 | 4 +- gnulib-m4/unimetadata_h.m4 | 3 +- gnulib-m4/uninorm_h.m4 | 3 +- gnulib-m4/unistd-safer.m4 | 11 + gnulib-m4/unistd_h.m4 | 4 +- gnulib-m4/usleep.m4 | 3 +- gnulib-m4/vasnprintf.m4 | 40 +- gnulib-m4/visibility.m4 | 3 +- gnulib-m4/warn-on-use.m4 | 3 +- gnulib-m4/wchar_h.m4 | 8 +- gnulib-m4/wchar_t.m4 | 24 - gnulib-m4/wcrtomb.m4 | 11 +- gnulib-m4/wctob.m4 | 3 +- gnulib-m4/wctomb.m4 | 3 +- gnulib-m4/wctype_h.m4 | 3 +- gnulib-m4/wcwidth.m4 | 8 +- gnulib-m4/wint_t.m4 | 3 +- gnulib-m4/xalloc.m4 | 3 +- gnulib-m4/xgetcwd.m4 | 11 + gnulib-m4/xsize.m4 | 3 +- gnulib-m4/yield.m4 | 3 +- gnulib-m4/zzgnulib.m4 | 3 +- lib/Makefile.am | 34 +- lib/Makefile.gnulib | 433 +- lib/Makefile.in | 3630 +- lib/_Noreturn.h | 2 +- lib/attribute.h | 117 +- lib/c++defs.h | 48 +- lib/c-strcaseeq.h | 10 + lib/c32is-impl.h | 2 +- lib/c32to-impl.h | 13 +- lib/c32width.c | 2 +- lib/declared.sh | 7 +- lib/errno.in.h | 9 +- lib/float.c | 95 +- lib/float.in.h | 152 + lib/fpucw.h | 10 + lib/glthread/lock.c | 42 - lib/glthread/lock.h | 151 +- lib/glthread/once.c | 80 + lib/glthread/once.h | 272 + lib/hard-locale.h | 12 +- lib/iconv.c | 10 +- lib/iconv.in.h | 6 +- lib/iconv_open-aix.h | 68 +- lib/iconv_open-hpux.h | 92 +- lib/iconv_open-irix.h | 42 +- lib/iconv_open-osf.h | 80 +- lib/iconv_open-solaris.h | 30 +- lib/iconv_open-zos.h | 102 +- lib/idx.h | 10 + lib/intprops-internal.h | 12 +- lib/inttypes.in.h | 16 +- lib/isnand-nolibm.h | 9 +- lib/isnanf-nolibm.h | 15 +- lib/isnanl-nolibm.h | 9 +- lib/langinfo.in.h | 4 +- lib/libunistring.sym | 2 + lib/locale.in.h | 16 +- lib/localename-unsafe.c | 13 +- lib/math.in.h | 658 +- lib/mbchar.h | 10 + lib/mbiterf.h | 10 + lib/mbrtoc32.c | 2 +- lib/mbsnlen.c | 2 +- lib/printf-args.c | 2 - lib/printf-args.h | 11 +- lib/printf-frexp.h | 10 + lib/printf-frexpl.h | 10 + lib/printf-parse.c | 6 - lib/pthread-once.c | 148 + lib/pthread.in.h | 2032 + lib/relocatable.h | 2 + lib/sched.in.h | 111 + lib/signbitd.c | 2 +- lib/signbitf.c | 2 +- lib/stdbool.mini.h | 119 - lib/stddef.in.h | 42 +- lib/stdint.in.h | 11 +- lib/stdlib.in.h | 410 +- lib/streq.h | 10 + lib/striconveh.c | 21 - lib/string.in.h | 146 +- lib/sys_types.in.h | 9 + lib/time.in.h | 651 + lib/uchar.in.h | 74 +- lib/unicase.in.h | 2 +- lib/unicase/cased.h | 10 +- lib/unicase/casefold.h | 10 + lib/unicase/caseprop.h | 10 + lib/unicase/ignorable.h | 52 +- lib/unicase/invariant.h | 10 + lib/unicase/locale-languages.h | 4 +- lib/unicase/special-casing-table.gperf | 2 +- lib/unicase/special-casing-table.h | 246 +- lib/unicase/special-casing.in.h | 10 + lib/unicase/tocasefold.h | 34 +- lib/unicase/tolower.h | 34 +- lib/unicase/totitle.h | 54 +- lib/unicase/toupper.h | 54 +- lib/unicase/unicasemap.h | 10 + lib/unictype.in.h | 8 +- lib/unictype/bidi_byname.h | 142 +- lib/unictype/bidi_of.h | 129 +- lib/unictype/blocks.h | 722 +- lib/unictype/categ_C.h | 136 +- lib/unictype/categ_Cc.h | 2 +- lib/unictype/categ_Cf.h | 2 +- lib/unictype/categ_Cn.h | 138 +- lib/unictype/categ_Co.h | 2 +- lib/unictype/categ_Cs.h | 2 +- lib/unictype/categ_L.h | 104 +- lib/unictype/categ_LC.h | 10 +- lib/unictype/categ_Ll.h | 10 +- lib/unictype/categ_Lm.h | 26 +- lib/unictype/categ_Lo.h | 92 +- lib/unictype/categ_Lt.h | 2 +- lib/unictype/categ_Lu.h | 8 +- lib/unictype/categ_M.h | 38 +- lib/unictype/categ_Mc.h | 18 +- lib/unictype/categ_Me.h | 2 +- lib/unictype/categ_Mn.h | 40 +- lib/unictype/categ_N.h | 58 +- lib/unictype/categ_Nd.h | 44 +- lib/unictype/categ_Nl.h | 2 +- lib/unictype/categ_No.h | 2 +- lib/unictype/categ_P.h | 40 +- lib/unictype/categ_Pc.h | 2 +- lib/unictype/categ_Pd.h | 10 +- lib/unictype/categ_Pe.h | 2 +- lib/unictype/categ_Pf.h | 2 +- lib/unictype/categ_Pi.h | 2 +- lib/unictype/categ_Po.h | 28 +- lib/unictype/categ_Ps.h | 2 +- lib/unictype/categ_S.h | 52 +- lib/unictype/categ_Sc.h | 2 +- lib/unictype/categ_Sk.h | 2 +- lib/unictype/categ_Sm.h | 14 +- lib/unictype/categ_So.h | 34 +- lib/unictype/categ_Z.h | 2 +- lib/unictype/categ_Zl.h | 2 +- lib/unictype/categ_Zp.h | 2 +- lib/unictype/categ_Zs.h | 2 +- lib/unictype/categ_byname.h | 210 +- lib/unictype/categ_of.c | 7 +- lib/unictype/categ_of.h | 872 +- lib/unictype/combiningclass.h | 80 +- lib/unictype/combiningclass_byname.h | 110 +- lib/unictype/ctype_alnum.h | 118 +- lib/unictype/ctype_alpha.h | 118 +- lib/unictype/ctype_blank.h | 2 +- lib/unictype/ctype_cntrl.h | 2 +- lib/unictype/ctype_digit.h | 2 +- lib/unictype/ctype_graph.h | 138 +- lib/unictype/ctype_lower.h | 14 +- lib/unictype/ctype_print.h | 138 +- lib/unictype/ctype_punct.h | 78 +- lib/unictype/ctype_space.h | 2 +- lib/unictype/ctype_upper.h | 8 +- lib/unictype/ctype_xdigit.h | 2 +- lib/unictype/decdigit.h | 48 +- lib/unictype/digit.h | 48 +- lib/unictype/incb_of.h | 414 +- lib/unictype/joininggroup_byname.gperf | 2 + lib/unictype/joininggroup_byname.h | 1321 +- lib/unictype/joininggroup_name.h | 1 + lib/unictype/joininggroup_of.h | 15 +- lib/unictype/joiningtype_byname.h | 38 +- lib/unictype/joiningtype_of.h | 18 +- lib/unictype/mirror.h | 4 +- lib/unictype/numeric.h | 62 +- lib/unictype/pr_alphabetic.h | 112 +- lib/unictype/pr_ascii_hex_digit.h | 2 +- lib/unictype/pr_bidi_arabic_digit.h | 4 +- lib/unictype/pr_bidi_arabic_right_to_left.h | 4 +- lib/unictype/pr_bidi_block_separator.h | 2 +- lib/unictype/pr_bidi_boundary_neutral.h | 2 +- lib/unictype/pr_bidi_common_separator.h | 2 +- lib/unictype/pr_bidi_control.h | 2 +- lib/unictype/pr_bidi_embedding_or_override.h | 2 +- lib/unictype/pr_bidi_eur_num_separator.h | 2 +- lib/unictype/pr_bidi_eur_num_terminator.h | 2 +- lib/unictype/pr_bidi_european_digit.h | 4 +- lib/unictype/pr_bidi_hebrew_right_to_left.h | 8 +- lib/unictype/pr_bidi_left_to_right.h | 68 +- lib/unictype/pr_bidi_non_spacing_mark.h | 40 +- lib/unictype/pr_bidi_other_neutral.h | 52 +- lib/unictype/pr_bidi_pdf.h | 2 +- lib/unictype/pr_bidi_segment_separator.h | 2 +- lib/unictype/pr_bidi_whitespace.h | 2 +- lib/unictype/pr_byname.c | 3 + lib/unictype/pr_byname.gperf | 2 + lib/unictype/pr_byname.h | 606 +- lib/unictype/pr_case_ignorable.h | 52 +- lib/unictype/pr_cased.h | 10 +- lib/unictype/pr_changes_when_casefolded.h | 8 +- lib/unictype/pr_changes_when_casemapped.h | 14 +- lib/unictype/pr_changes_when_lowercased.h | 8 +- lib/unictype/pr_changes_when_titlecased.h | 14 +- lib/unictype/pr_changes_when_uppercased.h | 14 +- lib/unictype/pr_combining.h | 38 +- lib/unictype/pr_composite.h | 32 +- lib/unictype/pr_currency_symbol.h | 2 +- lib/unictype/pr_dash.h | 10 +- lib/unictype/pr_decimal_digit.h | 44 +- lib/unictype/pr_default_ignorable_code_point.h | 2 +- lib/unictype/pr_deprecated.h | 2 +- lib/unictype/pr_diacritic.h | 64 +- lib/unictype/pr_emoji.h | 4 +- lib/unictype/pr_emoji_component.h | 2 +- lib/unictype/pr_emoji_modifier.h | 2 +- lib/unictype/pr_emoji_modifier_base.h | 2 +- lib/unictype/pr_emoji_presentation.h | 4 +- lib/unictype/pr_extended_pictographic.h | 2 +- lib/unictype/pr_extender.h | 32 +- lib/unictype/pr_format_control.h | 2 +- lib/unictype/pr_grapheme_base.h | 156 +- lib/unictype/pr_grapheme_extend.h | 66 +- lib/unictype/pr_grapheme_link.h | 12 +- lib/unictype/pr_hex_digit.h | 2 +- lib/unictype/pr_hyphen.h | 2 +- lib/unictype/pr_id_compat_math_continue.h | 2 +- lib/unictype/pr_id_compat_math_start.h | 2 +- lib/unictype/pr_id_continue.h | 120 +- lib/unictype/pr_id_start.h | 104 +- lib/unictype/pr_ideographic.h | 4 +- lib/unictype/pr_ids_binary_operator.h | 2 +- lib/unictype/pr_ids_trinary_operator.h | 2 +- lib/unictype/pr_ignorable_control.h | 2 +- lib/unictype/pr_iso_control.h | 2 +- lib/unictype/pr_join_control.h | 2 +- lib/unictype/pr_left_of_pair.h | 2 +- lib/unictype/pr_line_separator.h | 2 +- lib/unictype/pr_logical_order_exception.h | 2 +- lib/unictype/pr_lowercase.h | 10 +- lib/unictype/pr_math.h | 14 +- lib/unictype/pr_modifier_combining_mark.c | 43 + lib/unictype/pr_modifier_combining_mark.h | 184 + lib/unictype/pr_non_break.h | 2 +- lib/unictype/pr_not_a_character.h | 2 +- lib/unictype/pr_numeric.h | 58 +- lib/unictype/pr_other_alphabetic.h | 32 +- .../pr_other_default_ignorable_code_point.h | 2 +- lib/unictype/pr_other_grapheme_extend.h | 62 +- lib/unictype/pr_other_id_continue.h | 2 +- lib/unictype/pr_other_id_start.h | 2 +- lib/unictype/pr_other_lowercase.h | 2 +- lib/unictype/pr_other_math.h | 2 +- lib/unictype/pr_other_uppercase.h | 2 +- lib/unictype/pr_paired_punctuation.h | 2 +- lib/unictype/pr_paragraph_separator.h | 2 +- lib/unictype/pr_pattern_syntax.h | 2 +- lib/unictype/pr_pattern_white_space.h | 2 +- lib/unictype/pr_prepended_concatenation_mark.h | 2 +- lib/unictype/pr_private_use.h | 2 +- lib/unictype/pr_punctuation.h | 40 +- lib/unictype/pr_quotation_mark.h | 2 +- lib/unictype/pr_radical.h | 2 +- lib/unictype/pr_sentence_terminal.h | 38 +- lib/unictype/pr_soft_dotted.h | 2 +- lib/unictype/pr_space.h | 2 +- lib/unictype/pr_terminal_punctuation.h | 44 +- lib/unictype/pr_titlecase.h | 2 +- lib/unictype/pr_unassigned_code_value.h | 146 +- lib/unictype/pr_unified_ideograph.h | 2 +- lib/unictype/pr_uppercase.h | 8 +- lib/unictype/pr_variation_selector.h | 2 +- lib/unictype/pr_white_space.h | 2 +- lib/unictype/pr_xid_continue.h | 120 +- lib/unictype/pr_xid_start.h | 104 +- lib/unictype/pr_zero_width.h | 2 +- lib/unictype/scripts.c | 6 +- lib/unictype/scripts.h | 992 +- lib/unictype/scripts_byname.gperf | 9 +- lib/unictype/scripts_byname.h | 1342 +- lib/unictype/sy_c_ident.h | 2 +- lib/unictype/sy_java_ident.h | 122 +- lib/unigbrk.in.h | 2 +- lib/unigbrk/gbrkprop.h | 228 +- lib/unilbrk/lbrkprop1.h | 4 +- lib/unilbrk/lbrkprop2.h | 12398 +- lib/unilbrk/lbrktables.c | 87 +- lib/unilbrk/lbrktables.h | 88 +- lib/unilbrk/u16-possible-linebreaks.c | 310 +- lib/unilbrk/u32-possible-linebreaks.c | 302 +- lib/unilbrk/u8-possible-linebreaks.c | 310 +- lib/unilbrk/ulc-common.h | 10 + lib/unimetadata/u-version.c | 4 +- lib/uniname/gen-uninames.lisp | 9 +- lib/uniname/uninames.h | 222898 ++++++++++-------- lib/uninorm/composition-table-bounds.h | 25 + lib/uninorm/composition-table.gperf | 22 +- lib/uninorm/composition-table.h | 3176 +- lib/uninorm/composition.c | 3 +- lib/uninorm/decompose-internal.h | 10 + lib/uninorm/decomposition-table1.h | 6 +- lib/uninorm/decomposition-table2.h | 675 +- lib/unistd.in.h | 391 +- lib/unistr.in.h | 2 +- lib/unistr/u16-mbtoucr.c | 24 +- lib/unistr/u16-strlen.c | 24 +- lib/unistr/u16-to-u32.c | 24 +- lib/unitypes.in.h | 10 + lib/uniwbrk/wbrkprop.h | 402 +- lib/uniwbrk/wbrktable.h | 8 + lib/uniwidth/width0.h | 39 +- lib/uniwidth/width2.h | 2 +- lib/vasnprintf.c | 607 +- lib/verify.h | 24 +- lib/warn-on-use.h | 8 +- lib/wchar.in.h | 178 +- lib/wctype.in.h | 26 +- lib/windows-mutex.c | 24 + lib/windows-mutex.h | 1 + lib/windows-once.c | 49 +- lib/windows-once.h | 5 +- lib/xalloc-oversized.h | 3 +- lib/xsize.h | 28 +- m4/exported.m4 | 5 +- m4/init-package-version.m4 | 5 +- m4/libtool.m4 | 299 +- m4/ltoptions.m4 | 106 +- m4/ltsugar.m4 | 2 +- m4/ltversion.m4 | 12 +- m4/lt~obsolete.m4 | 2 +- m4/woe32-dll.m4 | 5 +- tests/Makefile.gnulib | 881 +- tests/Makefile.in | 2710 +- tests/_Noreturn.h | 2 +- tests/arpa_inet.c | 21 + tests/arpa_inet.in.h | 56 +- tests/assure.h | 57 + tests/at-func.c | 146 + tests/atomic-int-posix.h | 179 + tests/binary-io.h | 10 + tests/btoc32.c | 2 +- tests/c++defs.h | 48 +- tests/c32rtomb.c | 2 +- tests/c32tob.c | 2 +- tests/cdefs.h | 2 +- tests/chdir-long.c | 263 + tests/chdir-long.h | 40 + tests/cloexec.h | 10 + tests/closedir.c | 77 + tests/concat-filename.c | 73 + tests/concat-filename.h | 51 + tests/dirent-private.h | 67 + tests/dirent.in.h | 430 + tests/dirfd.c | 44 + tests/dup-safer-flag.c | 38 + tests/dup-safer.c | 34 + tests/dup.c | 92 + tests/error.c | 169 +- tests/error.in.h | 63 +- tests/exitfail.h | 10 + tests/fchdir.c | 204 + tests/fcntl.in.h | 15 +- tests/fd-safer-flag.c | 52 + tests/fd-safer.c | 49 + tests/fdopendir.c | 238 + tests/filenamecat-lgpl.c | 90 + tests/filenamecat.h | 47 + tests/fstatat.c | 148 + tests/getcwd.c | 567 + tests/getpagesize.c | 39 - tests/glthread/thread.c | 1 - tests/inet_pton.c | 8 +- tests/init.sh | 14 +- tests/intprops-internal.h | 12 +- tests/libc-config.h | 5 + tests/macros.h | 43 +- tests/mempcpy.c | 33 + tests/memrchr.c | 161 + tests/msvc-nothrow.h | 8 + tests/nan.h | 24 +- tests/nap.h | 14 +- tests/openat-die.c | 62 + tests/openat-priv.h | 74 + tests/openat-proc.c | 154 + tests/openat.c | 315 + tests/openat.h | 137 + tests/opendir.c | 186 + tests/pipe-safer.c | 52 + tests/pthread-cond.c | 199 + tests/pthread-mutex.c | 258 + tests/pthread-rwlock.c | 624 + tests/pthread.in.h | 2022 - tests/pthread_mutex_timedlock.c | 91 + tests/putenv.c | 71 +- tests/qemu.h | 98 + tests/randomd.c | 1 + tests/randoml.c | 1 + tests/readdir.c | 109 + tests/rewinddir.c | 60 + tests/same-inode.h | 10 + tests/save-cwd.c | 96 + tests/save-cwd.h | 44 + tests/sched.in.h | 111 - tests/setenv.c | 95 +- tests/signal.in.h | 69 +- tests/signed-nan.h | 76 +- tests/signed-snan.h | 22 +- tests/snan.h | 27 +- tests/sockets.h | 9 + tests/stdio.in.h | 543 +- tests/stpcpy.c | 49 + tests/strdup.c | 54 + tests/strerror-override.c | 5 + tests/strerror-override.h | 73 +- tests/strerror_r.c | 7 +- tests/sys_ioctl.in.h | 10 +- tests/sys_select.in.h | 14 +- tests/sys_socket.in.h | 116 +- tests/sys_stat.in.h | 96 +- tests/sys_time.in.h | 4 +- tests/test-accept.c | 2 +- tests/test-alignasof.c | 2 +- tests/test-alloca-opt.c | 2 +- tests/test-array-mergesort.c | 2 +- tests/test-binary-io.c | 2 +- tests/test-bind.c | 2 +- tests/test-btoc32-3.sh | 16 +- tests/test-btoc32.c | 6 +- tests/test-btowc-3.sh | 16 +- tests/test-btowc.c | 6 +- tests/test-c-ctype.c | 16 +- tests/test-c-strcasecmp.c | 2 +- tests/test-c-strncasecmp.c | 2 +- tests/test-c32isalnum.c | 12 +- tests/test-c32isalnum.sh | 11 +- tests/test-c32isalpha.c | 16 +- tests/test-c32isalpha.sh | 11 +- tests/test-c32isblank.c | 14 +- tests/test-c32isblank.sh | 11 +- tests/test-c32iscntrl.c | 24 +- tests/test-c32iscntrl.sh | 11 +- tests/test-c32isdigit.c | 12 +- tests/test-c32isdigit.sh | 11 +- tests/test-c32isgraph.c | 24 +- tests/test-c32isgraph.sh | 11 +- tests/test-c32islower.c | 16 +- tests/test-c32islower.sh | 11 +- tests/test-c32isprint.c | 24 +- tests/test-c32isprint.sh | 11 +- tests/test-c32ispunct.c | 20 +- tests/test-c32ispunct.sh | 11 +- tests/test-c32isspace.c | 12 +- tests/test-c32isspace.sh | 11 +- tests/test-c32isupper.c | 12 +- tests/test-c32isupper.sh | 11 +- tests/test-c32isxdigit.c | 12 +- tests/test-c32isxdigit.sh | 11 +- tests/test-c32rtomb-w32.c | 4 +- tests/test-c32rtomb.c | 12 +- tests/test-c32rtomb.sh | 11 +- tests/test-c32tolower.c | 14 +- tests/test-c32tolower.sh | 11 +- tests/test-c32width.c | 4 +- tests/test-calloc-gnu.c | 2 +- tests/test-chdir.c | 33 + tests/test-cloexec.c | 2 +- tests/test-close.c | 10 +- tests/test-connect.c | 2 +- tests/test-dirent.c | 32 + tests/test-dirfd.c | 47 + tests/test-dup-safer.c | 183 + tests/test-dup.c | 53 + tests/test-dup2.c | 4 +- tests/test-errno.c | 223 +- tests/test-error.c | 2 +- tests/test-fchdir.c | 117 + tests/test-fcntl-h.c | 1 + tests/test-fcntl.c | 4 +- tests/test-fdopen.c | 2 +- tests/test-fdopendir.c | 87 + tests/test-fgetc.c | 2 +- tests/test-float.c | 147 +- tests/test-fputc.c | 2 +- tests/test-fread.c | 2 +- tests/test-free.c | 11 +- tests/test-frexp.c | 2 +- tests/test-frexpl.c | 2 +- tests/test-fstat.c | 2 +- tests/test-fstatat.c | 107 + tests/test-ftruncate.c | 2 +- tests/test-fwrite.c | 2 +- tests/test-getcwd-lgpl.c | 2 +- tests/test-getcwd.c | 267 + tests/test-getcwd.sh | 7 + tests/test-getdtablesize.c | 4 +- tests/test-gettimeofday.c | 2 +- tests/test-iconv.c | 2 +- tests/test-inet_pton.c | 2 +- tests/test-intprops.c | 9 +- tests/test-ioctl.c | 2 +- tests/test-isblank.c | 2 +- tests/test-isnand.h | 2 +- tests/test-isnanf.h | 2 +- tests/test-isnanl.h | 2 +- tests/test-iswblank.c | 2 +- tests/test-iswdigit.c | 10 +- tests/test-iswdigit.sh | 11 +- tests/test-iswpunct.c | 2 +- tests/test-iswxdigit.c | 10 +- tests/test-iswxdigit.sh | 11 +- tests/test-limits-h.c | 2 +- tests/test-listen.c | 4 +- tests/test-localename.c | 4 +- tests/test-lock.c | 1 + tests/test-lstat.c | 3 +- tests/test-malloc-gnu.c | 2 +- tests/test-math.c | 44 +- tests/test-mbrtoc32-3.sh | 16 +- tests/test-mbrtoc32-w32.c | 4 +- tests/test-mbrtoc32.c | 68 +- tests/test-mbrtowc-3.sh | 16 +- tests/test-mbrtowc-w32.c | 4 +- tests/test-mbrtowc.c | 66 +- tests/test-mbsinit.c | 2 +- tests/test-mbsinit.sh | 16 +- tests/test-mbsnlen.c | 90 + tests/test-mbsnlen.sh | 23 + tests/test-memchr.c | 2 +- tests/test-memrchr.c | 98 + tests/test-nanosleep.c | 2 +- tests/test-once.c | 4 +- tests/test-open.c | 3 +- tests/test-open.h | 2 +- tests/test-openat.c | 98 + tests/test-perror2.c | 4 +- tests/test-pipe.c | 2 +- tests/test-printf-frexp.c | 2 +- tests/test-printf-frexpl.c | 2 +- tests/test-pselect.c | 3 +- tests/test-pthread-cond.c | 301 + tests/test-pthread-mutex-type.c | 127 + tests/test-pthread-mutex.c | 365 + tests/test-pthread-once1.c | 43 + tests/test-pthread-once2.c | 283 + tests/test-pthread-rwlock.c | 229 + tests/test-pthread-thread.c | 2 +- tests/test-pthread.c | 2 + tests/test-pthread_sigmask1.c | 13 +- tests/test-pthread_sigmask2.c | 13 +- tests/test-putenv.c | 67 + tests/test-raise.c | 2 +- tests/test-random.c | 4 +- tests/test-random_r.c | 2 +- tests/test-realloc-gnu.c | 2 +- tests/test-reallocarray.c | 2 +- tests/test-select.c | 3 +- tests/test-select.h | 2 +- tests/test-setenv.c | 2 +- tests/test-setlocale1.c | 2 +- tests/test-setlocale_null-mt-all.c | 2 +- tests/test-setlocale_null-mt-one.c | 2 +- tests/test-setsockopt.c | 2 +- tests/test-signbit.c | 2 +- tests/test-sigprocmask.c | 13 +- tests/test-sleep.c | 2 +- tests/test-stat-time.c | 2 +- tests/test-stat.c | 3 +- tests/test-stdint.c | 6 +- tests/test-stdio.c | 3 +- tests/test-strerror.c | 2 +- tests/test-strerror_r.c | 2 +- tests/test-striconveh.c | 2 +- tests/test-striconveha.c | 2 +- tests/test-strncat.c | 2 +- tests/test-strstr.c | 2 +- tests/test-symlink.c | 3 +- tests/test-sys_socket.c | 45 +- tests/test-sys_types.c | 1 + tests/test-thread_create.c | 2 +- tests/test-time.c | 2 +- tests/test-unistd.c | 1 + tests/test-unsetenv.c | 2 +- tests/test-usleep.c | 2 +- tests/test-wcrtomb-w32.c | 4 +- tests/test-wcrtomb.c | 10 +- tests/test-wcrtomb.sh | 11 +- tests/test-wctype-h.c | 2 +- tests/test-wcwidth.c | 2 +- tests/test-windows-mutex-type.c | 78 + tests/test-windows-recmutex-type.c | 78 + tests/test-windows-timedmutex-type.c | 78 + tests/test-windows-timedrecmutex-type.c | 78 + tests/time.in.h | 589 - tests/unicase/test-cased.c | 8 +- tests/unicase/test-ignorable.c | 21 +- tests/unicase/test-locale-language.c | 2 +- tests/unicase/test-mapping-part2.h | 2 +- tests/unicase/test-predicate-part2.h | 2 +- tests/unicase/test-u16-casecmp.c | 2 +- tests/unicase/test-u16-casecoll.c | 2 +- tests/unicase/test-u16-casefold.c | 2 +- tests/unicase/test-u16-is-cased.c | 2 +- tests/unicase/test-u16-is-casefolded.c | 2 +- tests/unicase/test-u16-is-lowercase.c | 2 +- tests/unicase/test-u16-is-titlecase.c | 2 +- tests/unicase/test-u16-is-uppercase.c | 2 +- tests/unicase/test-u16-tolower.c | 2 +- tests/unicase/test-u16-totitle.c | 2 +- tests/unicase/test-u16-toupper.c | 2 +- tests/unicase/test-u32-casecmp.c | 2 +- tests/unicase/test-u32-casecoll.c | 2 +- tests/unicase/test-u32-casefold.c | 2 +- tests/unicase/test-u32-is-cased.c | 2 +- tests/unicase/test-u32-is-casefolded.c | 2 +- tests/unicase/test-u32-is-lowercase.c | 2 +- tests/unicase/test-u32-is-titlecase.c | 2 +- tests/unicase/test-u32-is-uppercase.c | 2 +- tests/unicase/test-u32-tolower.c | 2 +- tests/unicase/test-u32-totitle.c | 2 +- tests/unicase/test-u32-toupper.c | 2 +- tests/unicase/test-u8-casecmp.c | 2 +- tests/unicase/test-u8-casecoll.c | 2 +- tests/unicase/test-u8-casefold.c | 2 +- tests/unicase/test-u8-is-cased.c | 2 +- tests/unicase/test-u8-is-casefolded.c | 2 +- tests/unicase/test-u8-is-lowercase.c | 2 +- tests/unicase/test-u8-is-titlecase.c | 2 +- tests/unicase/test-u8-is-uppercase.c | 2 +- tests/unicase/test-u8-tolower.c | 2 +- tests/unicase/test-u8-totitle.c | 2 +- tests/unicase/test-u8-toupper.c | 2 +- tests/unicase/test-uc_tolower.c | 29 +- tests/unicase/test-uc_totitle.c | 29 +- tests/unicase/test-uc_toupper.c | 29 +- tests/unicase/test-ulc-casecmp.c | 4 +- tests/unicase/test-ulc-casecoll.c | 2 +- tests/uniconv/test-u16-conv-from-enc.c | 2 +- tests/uniconv/test-u16-conv-to-enc.c | 2 +- tests/uniconv/test-u16-strconv-from-enc.c | 2 +- tests/uniconv/test-u16-strconv-to-enc.c | 2 +- tests/uniconv/test-u32-conv-from-enc.c | 2 +- tests/uniconv/test-u32-conv-to-enc.c | 2 +- tests/uniconv/test-u32-strconv-from-enc.c | 2 +- tests/uniconv/test-u32-strconv-to-enc.c | 2 +- tests/uniconv/test-u8-conv-from-enc.c | 2 +- tests/uniconv/test-u8-conv-to-enc.c | 2 +- tests/uniconv/test-u8-strconv-from-enc.c | 2 +- tests/uniconv/test-u8-strconv-to-enc.c | 2 +- tests/unictype/test-bidi_byname.c | 2 +- tests/unictype/test-bidi_longname.c | 2 +- tests/unictype/test-bidi_name.c | 2 +- tests/unictype/test-bidi_of.c | 2 +- tests/unictype/test-bidi_test.c | 2 +- tests/unictype/test-block_list.c | 2 +- tests/unictype/test-block_of.c | 2 +- tests/unictype/test-block_test.c | 2 +- tests/unictype/test-categ_C.c | 80 +- tests/unictype/test-categ_Cn.c | 80 +- tests/unictype/test-categ_L.c | 25 +- tests/unictype/test-categ_LC.c | 8 +- tests/unictype/test-categ_Ll.c | 4 + tests/unictype/test-categ_Lm.c | 4 + tests/unictype/test-categ_Lo.c | 19 +- tests/unictype/test-categ_Lu.c | 5 + tests/unictype/test-categ_M.c | 15 +- tests/unictype/test-categ_Mc.c | 8 + tests/unictype/test-categ_Mn.c | 17 +- tests/unictype/test-categ_N.c | 7 + tests/unictype/test-categ_Nd.c | 7 + tests/unictype/test-categ_P.c | 9 +- tests/unictype/test-categ_Pd.c | 1 + tests/unictype/test-categ_Po.c | 8 +- tests/unictype/test-categ_S.c | 21 +- tests/unictype/test-categ_Sm.c | 1 + tests/unictype/test-categ_So.c | 20 +- tests/unictype/test-categ_and.c | 2 +- tests/unictype/test-categ_and_not.c | 2 +- tests/unictype/test-categ_byname.c | 2 +- tests/unictype/test-categ_longname.c | 2 +- tests/unictype/test-categ_name.c | 2 +- tests/unictype/test-categ_none.c | 2 +- tests/unictype/test-categ_of.c | 2 +- tests/unictype/test-categ_or.c | 2 +- tests/unictype/test-categ_test_withtable.c | 2 +- tests/unictype/test-combiningclass.c | 2 +- tests/unictype/test-combiningclass_byname.c | 2 +- tests/unictype/test-combiningclass_longname.c | 2 +- tests/unictype/test-combiningclass_name.c | 2 +- tests/unictype/test-ctype_alnum.c | 30 +- tests/unictype/test-ctype_alpha.c | 30 +- tests/unictype/test-ctype_graph.c | 62 +- tests/unictype/test-ctype_lower.c | 9 +- tests/unictype/test-ctype_print.c | 62 +- tests/unictype/test-ctype_punct.c | 45 +- tests/unictype/test-ctype_upper.c | 5 + tests/unictype/test-decdigit.c | 2 +- tests/unictype/test-decdigit.h | 82 +- tests/unictype/test-digit.c | 2 +- tests/unictype/test-digit.h | 82 +- tests/unictype/test-incb_byname.c | 2 +- tests/unictype/test-incb_name.c | 2 +- tests/unictype/test-incb_of.c | 2 +- tests/unictype/test-incb_of.h | 1312 +- tests/unictype/test-joininggroup_byname.c | 2 +- tests/unictype/test-joininggroup_name.c | 2 +- tests/unictype/test-joininggroup_of.c | 2 +- tests/unictype/test-joininggroup_of.h | 9 +- tests/unictype/test-joiningtype_byname.c | 2 +- tests/unictype/test-joiningtype_longname.c | 2 +- tests/unictype/test-joiningtype_name.c | 2 +- tests/unictype/test-joiningtype_of.c | 2 +- tests/unictype/test-joiningtype_of.h | 5 +- tests/unictype/test-mirror.c | 2 +- tests/unictype/test-numeric.c | 2 +- tests/unictype/test-numeric.h | 82 +- tests/unictype/test-pr_alphabetic.c | 36 +- tests/unictype/test-pr_bidi_arabic_digit.c | 1 + tests/unictype/test-pr_bidi_arabic_right_to_left.c | 1 + tests/unictype/test-pr_bidi_european_digit.c | 1 + tests/unictype/test-pr_bidi_hebrew_right_to_left.c | 9 +- tests/unictype/test-pr_bidi_left_to_right.c | 55 +- tests/unictype/test-pr_bidi_non_spacing_mark.c | 17 +- tests/unictype/test-pr_bidi_other_neutral.c | 26 +- tests/unictype/test-pr_byname.c | 2 +- tests/unictype/test-pr_case_ignorable.c | 21 +- tests/unictype/test-pr_cased.c | 8 +- tests/unictype/test-pr_changes_when_casefolded.c | 6 +- tests/unictype/test-pr_changes_when_casemapped.c | 14 +- tests/unictype/test-pr_changes_when_lowercased.c | 5 + tests/unictype/test-pr_changes_when_titlecased.c | 9 +- tests/unictype/test-pr_changes_when_uppercased.c | 9 +- tests/unictype/test-pr_combining.c | 15 +- tests/unictype/test-pr_composite.c | 10 + tests/unictype/test-pr_dash.c | 1 + tests/unictype/test-pr_decimal_digit.c | 7 + tests/unictype/test-pr_diacritic.c | 21 +- tests/unictype/test-pr_emoji.c | 9 +- tests/unictype/test-pr_emoji_presentation.c | 9 +- tests/unictype/test-pr_extender.c | 8 + tests/unictype/test-pr_grapheme_base.c | 93 +- tests/unictype/test-pr_grapheme_extend.c | 62 +- tests/unictype/test-pr_grapheme_link.c | 4 +- tests/unictype/test-pr_id_continue.c | 38 +- tests/unictype/test-pr_id_start.c | 25 +- tests/unictype/test-pr_ideographic.c | 2 +- tests/unictype/test-pr_lowercase.c | 4 + tests/unictype/test-pr_math.c | 1 + tests/unictype/test-pr_modifier_combining_mark.c | 31 + tests/unictype/test-pr_numeric.c | 7 + tests/unictype/test-pr_other_alphabetic.c | 12 +- tests/unictype/test-pr_other_grapheme_extend.c | 28 +- tests/unictype/test-pr_punctuation.c | 9 +- tests/unictype/test-pr_sentence_terminal.c | 9 +- tests/unictype/test-pr_terminal_punctuation.c | 12 +- tests/unictype/test-pr_test.c | 2 +- tests/unictype/test-pr_unassigned_code_value.c | 80 +- tests/unictype/test-pr_uppercase.c | 5 + tests/unictype/test-pr_xid_continue.c | 38 +- tests/unictype/test-pr_xid_start.c | 25 +- tests/unictype/test-predicate-part2.h | 2 +- tests/unictype/test-scripts.c | 2 +- tests/unictype/test-sy_c_ident.c | 2 +- tests/unictype/test-sy_java_ident.c | 2 +- tests/unigbrk/GraphemeBreakTest.txt | 464 +- tests/unigbrk/test-u16-grapheme-breaks.c | 2 +- tests/unigbrk/test-u16-grapheme-next.c | 2 +- tests/unigbrk/test-u16-grapheme-prev.c | 2 +- tests/unigbrk/test-u32-grapheme-breaks.c | 2 +- tests/unigbrk/test-u32-grapheme-next.c | 2 +- tests/unigbrk/test-u32-grapheme-prev.c | 2 +- tests/unigbrk/test-u8-grapheme-breaks.c | 2 +- tests/unigbrk/test-u8-grapheme-next.c | 2 +- tests/unigbrk/test-u8-grapheme-prev.c | 2 +- tests/unigbrk/test-uc-gbrk-prop.c | 2 +- tests/unigbrk/test-uc-gbrk-prop.h | 87 +- tests/unigbrk/test-uc-grapheme-breaks.c | 23 +- tests/unigbrk/test-uc-is-grapheme-break.c | 25 +- tests/unigbrk/test-ulc-grapheme-breaks.c | 2 +- tests/unilbrk/LineBreakTest.txt | 16740 ++ tests/unilbrk/test-u16-possible-linebreaks.c | 2 +- tests/unilbrk/test-u16-width-linebreaks.c | 2 +- tests/unilbrk/test-u32-possible-linebreaks.c | 2 +- tests/unilbrk/test-u32-width-linebreaks.c | 2 +- tests/unilbrk/test-u8-possible-linebreaks.c | 2 +- tests/unilbrk/test-u8-width-linebreaks.c | 2 +- tests/unilbrk/test-uc-possible-linebreaks.c | 189 + tests/unilbrk/test-uc-possible-linebreaks.sh | 3 + tests/unilbrk/test-ulc-possible-linebreaks.c | 2 +- tests/unilbrk/test-ulc-width-linebreaks.c | 2 +- tests/unimetadata/test-u-version.c | 2 +- tests/uniname/NameAliases.txt | 13 +- tests/uniname/UnicodeData.txt | 5203 +- tests/uninorm/NormalizationTest.txt | 905 +- tests/uninorm/test-canonical-decomposition.c | 2 +- tests/uninorm/test-compat-decomposition.c | 2 +- tests/uninorm/test-composition.c | 2 +- tests/uninorm/test-decomposing-form.c | 2 +- tests/uninorm/test-decomposition.c | 2 +- tests/uninorm/test-nfc.c | 4 +- tests/uninorm/test-nfd.c | 4 +- tests/uninorm/test-nfkc.c | 4 +- tests/uninorm/test-nfkd.c | 4 +- tests/uninorm/test-u16-nfc.c | 1 + tests/uninorm/test-u16-nfd.c | 1 + tests/uninorm/test-u16-nfkc.c | 1 + tests/uninorm/test-u16-nfkd.c | 1 + tests/uninorm/test-u16-normcmp.c | 2 +- tests/uninorm/test-u16-normcoll.c | 2 +- tests/uninorm/test-u32-nfc-big.c | 3 +- tests/uninorm/test-u32-nfc.c | 1 + tests/uninorm/test-u32-nfd-big.c | 3 +- tests/uninorm/test-u32-nfd.c | 1 + tests/uninorm/test-u32-nfkc-big.c | 3 +- tests/uninorm/test-u32-nfkc.c | 1 + tests/uninorm/test-u32-nfkd-big.c | 3 +- tests/uninorm/test-u32-nfkd.c | 1 + tests/uninorm/test-u32-normalize-big.c | 9 +- tests/uninorm/test-u32-normalize-big.h | 2 +- tests/uninorm/test-u32-normcmp.c | 2 +- tests/uninorm/test-u32-normcoll.c | 2 +- tests/uninorm/test-u8-nfc.c | 1 + tests/uninorm/test-u8-nfd.c | 1 + tests/uninorm/test-u8-nfkc.c | 1 + tests/uninorm/test-u8-nfkd.c | 1 + tests/uninorm/test-u8-normcmp.c | 2 +- tests/uninorm/test-u8-normcoll.c | 2 +- tests/uninorm/test-uninorm-filter-nfc.c | 2 +- tests/unistd--.h | 32 + tests/unistd-safer.h | 41 + tests/unistdio/test-u16-asnprintf1.c | 2 +- tests/unistdio/test-u16-asnprintf1.h | 55 + tests/unistdio/test-u16-printf1.h | 82 + tests/unistdio/test-u16-vasnprintf1.c | 2 +- tests/unistdio/test-u16-vasnprintf2.c | 65 +- tests/unistdio/test-u16-vasnprintf3.c | 65 +- tests/unistdio/test-u16-vasprintf1.c | 2 +- tests/unistdio/test-u16-vsnprintf1.c | 2 +- tests/unistdio/test-u16-vsprintf1.c | 2 +- tests/unistdio/test-u32-asnprintf1.c | 2 +- tests/unistdio/test-u32-asnprintf1.h | 55 + tests/unistdio/test-u32-printf1.h | 82 + tests/unistdio/test-u32-vasnprintf1.c | 2 +- tests/unistdio/test-u32-vasnprintf2.c | 65 +- tests/unistdio/test-u32-vasnprintf3.c | 65 +- tests/unistdio/test-u32-vasprintf1.c | 2 +- tests/unistdio/test-u32-vsnprintf1.c | 2 +- tests/unistdio/test-u32-vsprintf1.c | 2 +- tests/unistdio/test-u8-asnprintf1.c | 2 +- tests/unistdio/test-u8-asnprintf1.h | 55 + tests/unistdio/test-u8-printf1.h | 64 + tests/unistdio/test-u8-vasnprintf1.c | 2 +- tests/unistdio/test-u8-vasnprintf2.c | 50 +- tests/unistdio/test-u8-vasnprintf3.c | 50 +- tests/unistdio/test-u8-vasprintf1.c | 2 +- tests/unistdio/test-u8-vsnprintf1.c | 2 +- tests/unistdio/test-u8-vsprintf1.c | 2 +- tests/unistdio/test-ulc-asnprintf1.c | 3 +- tests/unistdio/test-ulc-asnprintf1.h | 55 + tests/unistdio/test-ulc-vasnprintf1.c | 3 +- tests/unistdio/test-ulc-vasnprintf2.c | 76 +- tests/unistdio/test-ulc-vasnprintf3.c | 76 +- tests/unistdio/test-ulc-vasprintf1.c | 2 +- tests/unistdio/test-ulc-vsnprintf1.c | 2 +- tests/unistdio/test-ulc-vsprintf1.c | 2 +- tests/unistr/test-chr.h | 2 +- tests/unistr/test-cmp2.h | 2 +- tests/unistr/test-cpy-alloc.h | 2 +- tests/unistr/test-cpy.h | 2 +- tests/unistr/test-move.h | 2 +- tests/unistr/test-pcpy.h | 2 +- tests/unistr/test-set.h | 2 +- tests/unistr/test-stpcpy.h | 2 +- tests/unistr/test-strcat.h | 2 +- tests/unistr/test-strcpy.h | 2 +- tests/unistr/test-strdup.h | 2 +- tests/unistr/test-u16-check.c | 2 +- tests/unistr/test-u16-cmp.c | 2 +- tests/unistr/test-u16-mblen.c | 2 +- tests/unistr/test-u16-mbsnlen.c | 2 +- tests/unistr/test-u16-mbtouc-unsafe.c | 2 +- tests/unistr/test-u16-mbtouc.c | 2 +- tests/unistr/test-u16-mbtoucr.c | 2 +- tests/unistr/test-u16-next.c | 2 +- tests/unistr/test-u16-prev.c | 2 +- tests/unistr/test-u16-stpncpy.c | 2 +- tests/unistr/test-u16-strchr.c | 2 +- tests/unistr/test-u16-strcmp.c | 2 +- tests/unistr/test-u16-strcoll.c | 2 +- tests/unistr/test-u16-strlen.c | 2 +- tests/unistr/test-u16-strmblen.c | 2 +- tests/unistr/test-u16-strmbtouc.c | 2 +- tests/unistr/test-u16-strncat.c | 2 +- tests/unistr/test-u16-strncmp.c | 2 +- tests/unistr/test-u16-strncpy.c | 2 +- tests/unistr/test-u16-strnlen.c | 2 +- tests/unistr/test-u16-strstr.c | 5 +- tests/unistr/test-u16-strtok.c | 2 +- tests/unistr/test-u16-to-u32.c | 2 +- tests/unistr/test-u16-to-u8.c | 2 +- tests/unistr/test-u16-uctomb.c | 2 +- tests/unistr/test-u32-check.c | 2 +- tests/unistr/test-u32-cmp.c | 2 +- tests/unistr/test-u32-mblen.c | 2 +- tests/unistr/test-u32-mbsnlen.c | 4 +- tests/unistr/test-u32-mbtouc-unsafe.c | 2 +- tests/unistr/test-u32-mbtouc.c | 2 +- tests/unistr/test-u32-mbtoucr.c | 2 +- tests/unistr/test-u32-next.c | 2 +- tests/unistr/test-u32-prev.c | 2 +- tests/unistr/test-u32-stpncpy.c | 2 +- tests/unistr/test-u32-strchr.c | 2 +- tests/unistr/test-u32-strcmp.c | 2 +- tests/unistr/test-u32-strcoll.c | 2 +- tests/unistr/test-u32-strlen.c | 2 +- tests/unistr/test-u32-strmblen.c | 2 +- tests/unistr/test-u32-strmbtouc.c | 2 +- tests/unistr/test-u32-strncat.c | 2 +- tests/unistr/test-u32-strncmp.c | 2 +- tests/unistr/test-u32-strncpy.c | 2 +- tests/unistr/test-u32-strnlen.c | 2 +- tests/unistr/test-u32-strstr.c | 5 +- tests/unistr/test-u32-strtok.c | 2 +- tests/unistr/test-u32-to-u16.c | 2 +- tests/unistr/test-u32-to-u8.c | 2 +- tests/unistr/test-u32-uctomb.c | 2 +- tests/unistr/test-u8-check.c | 2 +- tests/unistr/test-u8-cmp.c | 2 +- tests/unistr/test-u8-mblen.c | 2 +- tests/unistr/test-u8-mbsnlen.c | 2 +- tests/unistr/test-u8-mbtouc-unsafe.c | 2 +- tests/unistr/test-u8-mbtouc.c | 2 +- tests/unistr/test-u8-mbtoucr.c | 2 +- tests/unistr/test-u8-next.c | 2 +- tests/unistr/test-u8-prev.c | 2 +- tests/unistr/test-u8-stpncpy.c | 2 +- tests/unistr/test-u8-strchr.c | 2 +- tests/unistr/test-u8-strcmp.c | 2 +- tests/unistr/test-u8-strcoll.c | 2 +- tests/unistr/test-u8-strlen.c | 2 +- tests/unistr/test-u8-strmblen.c | 2 +- tests/unistr/test-u8-strmbtouc.c | 2 +- tests/unistr/test-u8-strncat.c | 2 +- tests/unistr/test-u8-strncmp.c | 2 +- tests/unistr/test-u8-strncpy.c | 2 +- tests/unistr/test-u8-strnlen.c | 2 +- tests/unistr/test-u8-strstr.c | 5 +- tests/unistr/test-u8-strtok.c | 2 +- tests/unistr/test-u8-to-u16.c | 2 +- tests/unistr/test-u8-to-u32.c | 2 +- tests/unistr/test-u8-uctomb.c | 2 +- tests/uniwbrk/WordBreakTest.txt | 8 +- tests/uniwbrk/test-u16-wordbreaks.c | 2 +- tests/uniwbrk/test-u32-wordbreaks.c | 2 +- tests/uniwbrk/test-u8-wordbreaks.c | 2 +- tests/uniwbrk/test-uc-wordbreaks.c | 28 +- tests/uniwbrk/test-ulc-wordbreaks.c | 2 +- tests/uniwidth/test-u16-strwidth.c | 2 +- tests/uniwidth/test-u16-width.c | 2 +- tests/uniwidth/test-u32-strwidth.c | 2 +- tests/uniwidth/test-u32-width.c | 2 +- tests/uniwidth/test-u8-strwidth.c | 2 +- tests/uniwidth/test-u8-width.c | 2 +- tests/uniwidth/test-uc_width.c | 2 +- tests/uniwidth/test-uc_width2.c | 2 +- tests/uniwidth/test-uc_width2.sh | 42 +- tests/unsetenv.c | 32 +- tests/verify.h | 24 +- tests/virtualbox.h | 134 + tests/warn-on-use.h | 8 +- tests/windows-cond.c | 428 + tests/windows-cond.h | 79 + tests/windows-initguard.h | 35 + tests/windows-timedmutex.c | 265 + tests/windows-timedmutex.h | 57 + tests/windows-timedrecmutex.c | 271 + tests/windows-timedrecmutex.h | 62 + tests/windows-timedrwlock.c | 669 + tests/windows-timedrwlock.h | 76 + tests/xconcat-filename.c | 41 + tests/xgetcwd.c | 41 + tests/xgetcwd.h | 35 + tests/xmalloc.c | 14 +- tests/zerosize-ptr.h | 2 +- version.sh | 6 +- woe32dll/unistring-exports.c | 5 + 1249 files changed, 208886 insertions(+), 129245 deletions(-) delete mode 100644 gnulib-local/lib/unicase.in.h.diff delete mode 100644 gnulib-local/lib/unictype.in.h.diff delete mode 100644 gnulib-local/lib/unigbrk.in.h.diff create mode 100644 gnulib-m4/build-to-host.m4 create mode 100644 gnulib-m4/chdir-long.m4 create mode 100644 gnulib-m4/closedir.m4 create mode 100644 gnulib-m4/d-ino.m4 create mode 100644 gnulib-m4/dirent_h.m4 create mode 100644 gnulib-m4/dirfd.m4 create mode 100644 gnulib-m4/dup.m4 create mode 100644 gnulib-m4/extensions-aix.m4 create mode 100644 gnulib-m4/fchdir.m4 create mode 100644 gnulib-m4/fdopendir.m4 create mode 100644 gnulib-m4/filenamecat.m4 create mode 100644 gnulib-m4/fstatat.m4 create mode 100644 gnulib-m4/getcwd-abort-bug.m4 create mode 100644 gnulib-m4/getcwd-path-max.m4 delete mode 100644 gnulib-m4/getpagesize.m4 create mode 100644 gnulib-m4/locale-en.m4 create mode 100644 gnulib-m4/mempcpy.m4 create mode 100644 gnulib-m4/memrchr.m4 create mode 100644 gnulib-m4/off64_t.m4 create mode 100644 gnulib-m4/once.m4 create mode 100644 gnulib-m4/openat.m4 create mode 100644 gnulib-m4/opendir.m4 create mode 100644 gnulib-m4/pthread-cond.m4 create mode 100644 gnulib-m4/pthread-mutex.m4 create mode 100644 gnulib-m4/pthread-once.m4 create mode 100644 gnulib-m4/pthread-rwlock.m4 create mode 100644 gnulib-m4/pthread-spin.m4 create mode 100644 gnulib-m4/pthread_mutex_timedlock.m4 create mode 100644 gnulib-m4/readdir.m4 create mode 100644 gnulib-m4/rewinddir.m4 create mode 100644 gnulib-m4/save-cwd.m4 create mode 100644 gnulib-m4/stpcpy.m4 create mode 100644 gnulib-m4/strdup.m4 create mode 100644 gnulib-m4/sys_cdefs_h.m4 create mode 100644 gnulib-m4/unistd-safer.m4 delete mode 100644 gnulib-m4/wchar_t.m4 create mode 100644 gnulib-m4/xgetcwd.m4 create mode 100644 lib/glthread/once.c create mode 100644 lib/glthread/once.h create mode 100644 lib/pthread-once.c create mode 100644 lib/pthread.in.h create mode 100644 lib/sched.in.h delete mode 100644 lib/stdbool.mini.h create mode 100644 lib/time.in.h create mode 100644 lib/unictype/pr_modifier_combining_mark.c create mode 100644 lib/unictype/pr_modifier_combining_mark.h create mode 100644 lib/uninorm/composition-table-bounds.h create mode 100644 tests/arpa_inet.c create mode 100644 tests/assure.h create mode 100644 tests/at-func.c create mode 100644 tests/atomic-int-posix.h create mode 100644 tests/chdir-long.c create mode 100644 tests/chdir-long.h create mode 100644 tests/closedir.c create mode 100644 tests/concat-filename.c create mode 100644 tests/concat-filename.h create mode 100644 tests/dirent-private.h create mode 100644 tests/dirent.in.h create mode 100644 tests/dirfd.c create mode 100644 tests/dup-safer-flag.c create mode 100644 tests/dup-safer.c create mode 100644 tests/dup.c create mode 100644 tests/fchdir.c create mode 100644 tests/fd-safer-flag.c create mode 100644 tests/fd-safer.c create mode 100644 tests/fdopendir.c create mode 100644 tests/filenamecat-lgpl.c create mode 100644 tests/filenamecat.h create mode 100644 tests/fstatat.c create mode 100644 tests/getcwd.c delete mode 100644 tests/getpagesize.c create mode 100644 tests/mempcpy.c create mode 100644 tests/memrchr.c create mode 100644 tests/openat-die.c create mode 100644 tests/openat-priv.h create mode 100644 tests/openat-proc.c create mode 100644 tests/openat.c create mode 100644 tests/openat.h create mode 100644 tests/opendir.c create mode 100644 tests/pipe-safer.c create mode 100644 tests/pthread-cond.c create mode 100644 tests/pthread-mutex.c create mode 100644 tests/pthread-rwlock.c delete mode 100644 tests/pthread.in.h create mode 100644 tests/pthread_mutex_timedlock.c create mode 100644 tests/qemu.h create mode 100644 tests/readdir.c create mode 100644 tests/rewinddir.c create mode 100644 tests/save-cwd.c create mode 100644 tests/save-cwd.h delete mode 100644 tests/sched.in.h create mode 100644 tests/stpcpy.c create mode 100644 tests/strdup.c create mode 100644 tests/test-chdir.c create mode 100644 tests/test-dirent.c create mode 100644 tests/test-dirfd.c create mode 100644 tests/test-dup-safer.c create mode 100644 tests/test-dup.c create mode 100644 tests/test-fchdir.c create mode 100644 tests/test-fdopendir.c create mode 100644 tests/test-fstatat.c create mode 100644 tests/test-getcwd.c create mode 100755 tests/test-getcwd.sh create mode 100644 tests/test-mbsnlen.c create mode 100755 tests/test-mbsnlen.sh create mode 100644 tests/test-memrchr.c create mode 100644 tests/test-openat.c create mode 100644 tests/test-pthread-cond.c create mode 100644 tests/test-pthread-mutex-type.c create mode 100644 tests/test-pthread-mutex.c create mode 100644 tests/test-pthread-once1.c create mode 100644 tests/test-pthread-once2.c create mode 100644 tests/test-pthread-rwlock.c create mode 100644 tests/test-putenv.c create mode 100644 tests/test-windows-mutex-type.c create mode 100644 tests/test-windows-recmutex-type.c create mode 100644 tests/test-windows-timedmutex-type.c create mode 100644 tests/test-windows-timedrecmutex-type.c delete mode 100644 tests/time.in.h create mode 100644 tests/unictype/test-pr_modifier_combining_mark.c create mode 100644 tests/unilbrk/LineBreakTest.txt create mode 100644 tests/unilbrk/test-uc-possible-linebreaks.c create mode 100755 tests/unilbrk/test-uc-possible-linebreaks.sh create mode 100644 tests/unistd--.h create mode 100644 tests/unistd-safer.h create mode 100644 tests/virtualbox.h create mode 100644 tests/windows-cond.c create mode 100644 tests/windows-cond.h create mode 100644 tests/windows-initguard.h create mode 100644 tests/windows-timedmutex.c create mode 100644 tests/windows-timedmutex.h create mode 100644 tests/windows-timedrecmutex.c create mode 100644 tests/windows-timedrecmutex.h create mode 100644 tests/windows-timedrwlock.c create mode 100644 tests/windows-timedrwlock.h create mode 100644 tests/xconcat-filename.c create mode 100644 tests/xgetcwd.c create mode 100644 tests/xgetcwd.h diff --git a/ChangeLog b/ChangeLog index 22f6e0ce..9d34dd1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,103 @@ +2024-10-16 Bruno Haible + + Prepare for 1.3 release. + * version.sh: Bump version number, date, gnulib version. + * README: Update version. + * lib/Makefile.am (LTV_*): Update to 7:0:2 (determined with help from + gnulib's libtool-next-version). + +2024-10-16 Bruno Haible + + Assume the target system has . + * gnulib-local/lib/unistr.in.h.diff: Simplify. + * gnulib-local/lib/unicase.in.h.diff: Remove file. + * gnulib-local/lib/unictype.in.h.diff: Remove file. + * gnulib-local/lib/unigbrk.in.h.diff: Remove file. + * gnulib-local/Makefile.am (EXTRA_DIST): Remove them. + * lib/stdbool.mini.h: Remove file. + * lib/Makefile.am (nobase_nodist_include_HEADERS): Remove unistring/stdbool.h. + (unistring/stdbool.h): Remove rule. + (BUILT_SOURCES, MOSTLYCLEANFILES, CLEANFILES, EXTRA_DIST): Update. + +2024-10-16 Bruno Haible + + Fix list of exports on Windows platforms. + * woe32dll/unistring-exports.c (UC_PROPERTY_ID_COMPAT_MATH_START, + UC_PROPERTY_ID_COMPAT_MATH_CONTINUE, UC_PROPERTY_IDS_UNARY_OPERATOR): Add, + missing since 2024-01-31. + (UC_PROPERTY_PREPENDED_CONCATENATION_MARK): Add, missing since 2024-02-12. + (UC_PROPERTY_MODIFIER_COMBINING_MARK): Add, missing since 2024-09-13. + +2024-10-16 Bruno Haible + + Work around a libtool bug. + Reported at . + + * m4/libtool.m4: Protect access to $multilib. + +2024-09-26 Bruno Haible + + Upgrade to libtool 2.5.3. + * m4/libtool.m4: Update from libtool-2.5.3. + * m4/ltoptions.m4: Likewise. + * m4/ltsugar.m4: Likewise. + * m4/ltversion.m4: Likewise. + * m4/lt~obsolete.m4: Likewise. + * build-aux/ltmain.sh: Likewise. + +2024-09-13 Bruno Haible + + Update to Unicode 16.0.0. + * gnulib-m4/gnulib-cache.m4: Regenerated. + * doc/unictype.texi (Joining group): Document UC_JOINING_GROUP_KASHMIRI_YEH. + (Properties as objects): Document UC_PROPERTY_MODIFIER_COMBINING_MARK. + (Properties as functions): Document uc_is_property_modifier_combining_mark. + * NEWS: Mention the changes. + +2024-09-01 Bruno Haible + + Replace FSF snail-mail addresses with URLs. + * build-aux/texi2html: Update GPL license notice. + +2024-08-24 Bruno Haible + + Fix shared library support in 32-bit mode on FreeBSD/powerpc64. + Patch from . + + * m4/libtool.m4: On FreeBSD, fix shlibpath_var. + +2024-07-12 Bruno Haible + + Switch to autoconf 2.72, automake 1.17. + * autogen.sh: Update comments. + +2024-06-20 Bruno Haible + + Update NEWS. + * NEWS: Mention the u*_*printf fix, done in gnulib on 2024-06-18. + +2024-06-10 Bruno Haible + + Update HACKING. + * HACKING: Mention the multi-platform continuous integration. + +2024-06-05 Bruno Haible + + Update DEPENDENCIES. + * DEPENDENCIES: libiconv is needed again on macOS 14. Mention win-iconv as an + alternative. + +2024-04-04 Bruno Haible + + Fix macro file 'serial' numbers for 'aclocal --install'. + * m4/exported.m4: Make 'serial' effective. + * m4/init-package-version.m4: Likewise. + * m4/woe32-dll.m4: Likewise. + +2024-02-24 Bruno Haible + + Add a list of manual steps for making a release. + 2024-02-24 Bruno Haible Prepare for 1.2 release. diff --git a/DEPENDENCIES b/DEPENDENCIES index 797bdb4c..066cb230 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -2,7 +2,7 @@ The following packages should be installed before GNU libunistring is installed (runtime dependencies that are also build dependencies): * GNU libiconv - + Not needed on systems with glibc, on macOS, and NetBSD. + + Not needed on systems with glibc and on NetBSD. But highly recommended on all other systems. Needed for character set conversion of strings from/to Unicode. + Homepage: @@ -15,6 +15,8 @@ installed (runtime dependencies that are also build dependencies): - Other: https://repology.org/project/libiconv/versions + If it is installed in a nonstandard directory, pass the option --with-libiconv-prefix=DIR to 'configure'. + + On mingw, a slim alternative is the 'win-iconv' package version 0.0.8 + from https://github.com/win-iconv/win-iconv . The following packages should be installed when GNU libunistring is installed diff --git a/HACKING b/HACKING index 9edbdfd6..20c9abc6 100644 --- a/HACKING +++ b/HACKING @@ -104,10 +104,15 @@ To speed up the build: Continuous integration ====================== -The package is built automatically, at regular intervals. You find the latest -build results here: +There are two continuous integrations that regularly build and test +libunistring: +* On a Linux/glibc system only: https://gitlab.com/gnu-libunistring/ci-distcheck/pipelines https://gitlab.com/gnu-libunistring/ci-distcheck/-/jobs?scope=finished + This one will catch only the most blatant mistakes. +* On many platforms: + https://github.com/gnu-libunistring/ci-check/actions + This one catches platform-specific bugs. Running the testsuite in valgrind diff --git a/Makefile.in b/Makefile.in index f9adf556..ca614758 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.5 from Makefile.am. +# Makefile.in generated by automake 1.17 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2024 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -69,6 +69,8 @@ am__make_running_with_option = \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +am__rm_f = rm -f $(am__rm_f_notfound) +am__rm_rf = rm -rf $(am__rm_f_notfound) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -96,15 +98,21 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/arpa_inet_h.m4 \ $(top_srcdir)/gnulib-m4/assert_h.m4 \ $(top_srcdir)/gnulib-m4/btowc.m4 \ + $(top_srcdir)/gnulib-m4/build-to-host.m4 \ $(top_srcdir)/gnulib-m4/builtin-expect.m4 \ $(top_srcdir)/gnulib-m4/c-bool.m4 \ $(top_srcdir)/gnulib-m4/c32rtomb.m4 \ $(top_srcdir)/gnulib-m4/calloc.m4 \ + $(top_srcdir)/gnulib-m4/chdir-long.m4 \ $(top_srcdir)/gnulib-m4/close.m4 \ + $(top_srcdir)/gnulib-m4/closedir.m4 \ $(top_srcdir)/gnulib-m4/codeset.m4 \ $(top_srcdir)/gnulib-m4/ctype_h.m4 \ + $(top_srcdir)/gnulib-m4/d-ino.m4 \ + $(top_srcdir)/gnulib-m4/dirent_h.m4 \ + $(top_srcdir)/gnulib-m4/dirfd.m4 \ $(top_srcdir)/gnulib-m4/double-slash-root.m4 \ - $(top_srcdir)/gnulib-m4/dup2.m4 \ + $(top_srcdir)/gnulib-m4/dup.m4 $(top_srcdir)/gnulib-m4/dup2.m4 \ $(top_srcdir)/gnulib-m4/eealloc.m4 \ $(top_srcdir)/gnulib-m4/environ.m4 \ $(top_srcdir)/gnulib-m4/errno_h.m4 \ @@ -113,12 +121,16 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/exponentd.m4 \ $(top_srcdir)/gnulib-m4/exponentf.m4 \ $(top_srcdir)/gnulib-m4/exponentl.m4 \ + $(top_srcdir)/gnulib-m4/extensions-aix.m4 \ $(top_srcdir)/gnulib-m4/extensions.m4 \ $(top_srcdir)/gnulib-m4/extern-inline.m4 \ + $(top_srcdir)/gnulib-m4/fchdir.m4 \ $(top_srcdir)/gnulib-m4/fcntl-o.m4 \ $(top_srcdir)/gnulib-m4/fcntl.m4 \ $(top_srcdir)/gnulib-m4/fcntl_h.m4 \ $(top_srcdir)/gnulib-m4/fdopen.m4 \ + $(top_srcdir)/gnulib-m4/fdopendir.m4 \ + $(top_srcdir)/gnulib-m4/filenamecat.m4 \ $(top_srcdir)/gnulib-m4/flexmember.m4 \ $(top_srcdir)/gnulib-m4/float_h.m4 \ $(top_srcdir)/gnulib-m4/fpieee.m4 \ @@ -127,10 +139,12 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/frexpl.m4 \ $(top_srcdir)/gnulib-m4/fseterr.m4 \ $(top_srcdir)/gnulib-m4/fstat.m4 \ + $(top_srcdir)/gnulib-m4/fstatat.m4 \ $(top_srcdir)/gnulib-m4/ftruncate.m4 \ + $(top_srcdir)/gnulib-m4/getcwd-abort-bug.m4 \ + $(top_srcdir)/gnulib-m4/getcwd-path-max.m4 \ $(top_srcdir)/gnulib-m4/getcwd.m4 \ $(top_srcdir)/gnulib-m4/getdtablesize.m4 \ - $(top_srcdir)/gnulib-m4/getpagesize.m4 \ $(top_srcdir)/gnulib-m4/getprogname.m4 \ $(top_srcdir)/gnulib-m4/gettimeofday.m4 \ $(top_srcdir)/gnulib-m4/gnulib-common.m4 \ @@ -167,6 +181,7 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/limits-h.m4 \ $(top_srcdir)/gnulib-m4/localcharset.m4 \ $(top_srcdir)/gnulib-m4/locale-ar.m4 \ + $(top_srcdir)/gnulib-m4/locale-en.m4 \ $(top_srcdir)/gnulib-m4/locale-fr.m4 \ $(top_srcdir)/gnulib-m4/locale-ja.m4 \ $(top_srcdir)/gnulib-m4/locale-tr.m4 \ @@ -186,6 +201,8 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/mbstate_t.m4 \ $(top_srcdir)/gnulib-m4/mbtowc.m4 \ $(top_srcdir)/gnulib-m4/memchr.m4 \ + $(top_srcdir)/gnulib-m4/mempcpy.m4 \ + $(top_srcdir)/gnulib-m4/memrchr.m4 \ $(top_srcdir)/gnulib-m4/minmax.m4 \ $(top_srcdir)/gnulib-m4/mmap-anon.m4 \ $(top_srcdir)/gnulib-m4/mode_t.m4 \ @@ -197,10 +214,14 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/nanosleep.m4 \ $(top_srcdir)/gnulib-m4/netinet_in_h.m4 \ $(top_srcdir)/gnulib-m4/nocrash.m4 \ + $(top_srcdir)/gnulib-m4/off64_t.m4 \ $(top_srcdir)/gnulib-m4/off_t.m4 \ + $(top_srcdir)/gnulib-m4/once.m4 \ $(top_srcdir)/gnulib-m4/open-cloexec.m4 \ $(top_srcdir)/gnulib-m4/open-slash.m4 \ $(top_srcdir)/gnulib-m4/open.m4 \ + $(top_srcdir)/gnulib-m4/openat.m4 \ + $(top_srcdir)/gnulib-m4/opendir.m4 \ $(top_srcdir)/gnulib-m4/pathmax.m4 \ $(top_srcdir)/gnulib-m4/perror.m4 \ $(top_srcdir)/gnulib-m4/pipe.m4 \ @@ -208,17 +229,26 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/printf-frexpl.m4 \ $(top_srcdir)/gnulib-m4/printf.m4 \ $(top_srcdir)/gnulib-m4/pselect.m4 \ + $(top_srcdir)/gnulib-m4/pthread-cond.m4 \ + $(top_srcdir)/gnulib-m4/pthread-mutex.m4 \ + $(top_srcdir)/gnulib-m4/pthread-once.m4 \ + $(top_srcdir)/gnulib-m4/pthread-rwlock.m4 \ + $(top_srcdir)/gnulib-m4/pthread-spin.m4 \ $(top_srcdir)/gnulib-m4/pthread-thread.m4 \ $(top_srcdir)/gnulib-m4/pthread_h.m4 \ + $(top_srcdir)/gnulib-m4/pthread_mutex_timedlock.m4 \ $(top_srcdir)/gnulib-m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/gnulib-m4/pthread_sigmask.m4 \ $(top_srcdir)/gnulib-m4/putenv.m4 \ $(top_srcdir)/gnulib-m4/raise.m4 \ $(top_srcdir)/gnulib-m4/random.m4 \ $(top_srcdir)/gnulib-m4/random_r.m4 \ + $(top_srcdir)/gnulib-m4/readdir.m4 \ $(top_srcdir)/gnulib-m4/realloc.m4 \ $(top_srcdir)/gnulib-m4/reallocarray.m4 \ $(top_srcdir)/gnulib-m4/relocatable-lib.m4 \ + $(top_srcdir)/gnulib-m4/rewinddir.m4 \ + $(top_srcdir)/gnulib-m4/save-cwd.m4 \ $(top_srcdir)/gnulib-m4/sched_h.m4 \ $(top_srcdir)/gnulib-m4/sched_yield.m4 \ $(top_srcdir)/gnulib-m4/select.m4 \ @@ -245,12 +275,15 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/stdint_h.m4 \ $(top_srcdir)/gnulib-m4/stdio_h.m4 \ $(top_srcdir)/gnulib-m4/stdlib_h.m4 \ + $(top_srcdir)/gnulib-m4/stpcpy.m4 \ + $(top_srcdir)/gnulib-m4/strdup.m4 \ $(top_srcdir)/gnulib-m4/strerror.m4 \ $(top_srcdir)/gnulib-m4/strerror_r.m4 \ $(top_srcdir)/gnulib-m4/string_h.m4 \ $(top_srcdir)/gnulib-m4/strncat.m4 \ $(top_srcdir)/gnulib-m4/strstr.m4 \ $(top_srcdir)/gnulib-m4/symlink.m4 \ + $(top_srcdir)/gnulib-m4/sys_cdefs_h.m4 \ $(top_srcdir)/gnulib-m4/sys_ioctl_h.m4 \ $(top_srcdir)/gnulib-m4/sys_select_h.m4 \ $(top_srcdir)/gnulib-m4/sys_socket_h.m4 \ @@ -267,13 +300,13 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/unictype_h.m4 \ $(top_srcdir)/gnulib-m4/unimetadata_h.m4 \ $(top_srcdir)/gnulib-m4/uninorm_h.m4 \ + $(top_srcdir)/gnulib-m4/unistd-safer.m4 \ $(top_srcdir)/gnulib-m4/unistd_h.m4 \ $(top_srcdir)/gnulib-m4/usleep.m4 \ $(top_srcdir)/gnulib-m4/vasnprintf.m4 \ $(top_srcdir)/gnulib-m4/visibility.m4 \ $(top_srcdir)/gnulib-m4/warn-on-use.m4 \ $(top_srcdir)/gnulib-m4/wchar_h.m4 \ - $(top_srcdir)/gnulib-m4/wchar_t.m4 \ $(top_srcdir)/gnulib-m4/wcrtomb.m4 \ $(top_srcdir)/gnulib-m4/wctob.m4 \ $(top_srcdir)/gnulib-m4/wctomb.m4 \ @@ -281,6 +314,7 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/wcwidth.m4 \ $(top_srcdir)/gnulib-m4/wint_t.m4 \ $(top_srcdir)/gnulib-m4/xalloc.m4 \ + $(top_srcdir)/gnulib-m4/xgetcwd.m4 \ $(top_srcdir)/gnulib-m4/xsize.m4 \ $(top_srcdir)/gnulib-m4/yield.m4 \ $(top_srcdir)/gnulib-m4/zzgnulib.m4 \ @@ -376,8 +410,8 @@ distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ - find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ - && rm -rf "$(distdir)" \ + find "$(distdir)" -type d ! -perm -700 -exec chmod u+rwx {} ';' \ + ; rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) @@ -407,14 +441,16 @@ am__relativize = \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz -GZIP_ENV = --best +GZIP_ENV = -9 DIST_TARGETS = dist-xz dist-gzip # Exists only to be overridden by the user if desired. AM_DISTCHECK_DVI_TARGET = dvi distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' -distcleancheck_listfiles = find . -type f -print +distcleancheck_listfiles = \ + find . \( -type f -a \! \ + \( -name .nfs* -o -name .smb* -o -name .__afs* \) \) -print ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ @@ -434,6 +470,7 @@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ +CAN_PRINT_STACK_TRACE = @CAN_PRINT_STACK_TRACE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ @@ -447,6 +484,7 @@ CXX_HAS_UCHAR_TYPES = @CXX_HAS_UCHAR_TYPES@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DIR_HAS_FD_MEMBER = @DIR_HAS_FD_MEMBER@ DLLTOOL = @DLLTOOL@ DLL_VARIABLE = @DLL_VARIABLE@ DSYMUTIL = @DSYMUTIL@ @@ -472,12 +510,14 @@ GLOBAL_SYMBOL_PIPE = @GLOBAL_SYMBOL_PIPE@ GL_CFLAG_ALLOW_WARNINGS = @GL_CFLAG_ALLOW_WARNINGS@ GL_CFLAG_GNULIB_WARNINGS = @GL_CFLAG_GNULIB_WARNINGS@ GL_CXXFLAG_ALLOW_WARNINGS = @GL_CXXFLAG_ALLOW_WARNINGS@ +GL_GNULIB_ABORT_DEBUG = @GL_GNULIB_ABORT_DEBUG@ GL_GNULIB_ACCEPT = @GL_GNULIB_ACCEPT@ GL_GNULIB_ACCEPT4 = @GL_GNULIB_ACCEPT4@ GL_GNULIB_ACCESS = @GL_GNULIB_ACCESS@ GL_GNULIB_ACOSF = @GL_GNULIB_ACOSF@ GL_GNULIB_ACOSL = @GL_GNULIB_ACOSL@ GL_GNULIB_ALIGNED_ALLOC = @GL_GNULIB_ALIGNED_ALLOC@ +GL_GNULIB_ALPHASORT = @GL_GNULIB_ALPHASORT@ GL_GNULIB_ASINF = @GL_GNULIB_ASINF@ GL_GNULIB_ASINL = @GL_GNULIB_ASINL@ GL_GNULIB_ATAN2F = @GL_GNULIB_ATAN2F@ @@ -525,6 +565,7 @@ GL_GNULIB_CHDIR = @GL_GNULIB_CHDIR@ GL_GNULIB_CHMOD = @GL_GNULIB_CHMOD@ GL_GNULIB_CHOWN = @GL_GNULIB_CHOWN@ GL_GNULIB_CLOSE = @GL_GNULIB_CLOSE@ +GL_GNULIB_CLOSEDIR = @GL_GNULIB_CLOSEDIR@ GL_GNULIB_CONNECT = @GL_GNULIB_CONNECT@ GL_GNULIB_COPYSIGN = @GL_GNULIB_COPYSIGN@ GL_GNULIB_COPYSIGNF = @GL_GNULIB_COPYSIGNF@ @@ -535,11 +576,13 @@ GL_GNULIB_COSHF = @GL_GNULIB_COSHF@ GL_GNULIB_COSL = @GL_GNULIB_COSL@ GL_GNULIB_CREAT = @GL_GNULIB_CREAT@ GL_GNULIB_CTIME = @GL_GNULIB_CTIME@ +GL_GNULIB_DIRFD = @GL_GNULIB_DIRFD@ GL_GNULIB_DPRINTF = @GL_GNULIB_DPRINTF@ GL_GNULIB_DUP = @GL_GNULIB_DUP@ GL_GNULIB_DUP2 = @GL_GNULIB_DUP2@ GL_GNULIB_DUP3 = @GL_GNULIB_DUP3@ GL_GNULIB_DUPLOCALE = @GL_GNULIB_DUPLOCALE@ +GL_GNULIB_DZPRINTF = @GL_GNULIB_DZPRINTF@ GL_GNULIB_ENVIRON = @GL_GNULIB_ENVIRON@ GL_GNULIB_EUIDACCESS = @GL_GNULIB_EUIDACCESS@ GL_GNULIB_EXECL = @GL_GNULIB_EXECL@ @@ -568,6 +611,7 @@ GL_GNULIB_FCLOSE = @GL_GNULIB_FCLOSE@ GL_GNULIB_FCNTL = @GL_GNULIB_FCNTL@ GL_GNULIB_FDATASYNC = @GL_GNULIB_FDATASYNC@ GL_GNULIB_FDOPEN = @GL_GNULIB_FDOPEN@ +GL_GNULIB_FDOPENDIR = @GL_GNULIB_FDOPENDIR@ GL_GNULIB_FFLUSH = @GL_GNULIB_FFLUSH@ GL_GNULIB_FFSL = @GL_GNULIB_FFSL@ GL_GNULIB_FFSLL = @GL_GNULIB_FFSLL@ @@ -606,6 +650,7 @@ GL_GNULIB_FTELLO = @GL_GNULIB_FTELLO@ GL_GNULIB_FTRUNCATE = @GL_GNULIB_FTRUNCATE@ GL_GNULIB_FUTIMENS = @GL_GNULIB_FUTIMENS@ GL_GNULIB_FWRITE = @GL_GNULIB_FWRITE@ +GL_GNULIB_FZPRINTF = @GL_GNULIB_FZPRINTF@ GL_GNULIB_GETC = @GL_GNULIB_GETC@ GL_GNULIB_GETCHAR = @GL_GNULIB_GETCHAR@ GL_GNULIB_GETCWD = @GL_GNULIB_GETCWD@ @@ -623,6 +668,9 @@ GL_GNULIB_GETOPT_POSIX = @GL_GNULIB_GETOPT_POSIX@ GL_GNULIB_GETPAGESIZE = @GL_GNULIB_GETPAGESIZE@ GL_GNULIB_GETPASS = @GL_GNULIB_GETPASS@ GL_GNULIB_GETPASS_GNU = @GL_GNULIB_GETPASS_GNU@ +GL_GNULIB_GETPAYLOAD = @GL_GNULIB_GETPAYLOAD@ +GL_GNULIB_GETPAYLOADF = @GL_GNULIB_GETPAYLOADF@ +GL_GNULIB_GETPAYLOADL = @GL_GNULIB_GETPAYLOADL@ GL_GNULIB_GETPEERNAME = @GL_GNULIB_GETPEERNAME@ GL_GNULIB_GETPROGNAME = @GL_GNULIB_GETPROGNAME@ GL_GNULIB_GETSOCKNAME = @GL_GNULIB_GETSOCKNAME@ @@ -684,6 +732,9 @@ GL_GNULIB_LOGBF = @GL_GNULIB_LOGBF@ GL_GNULIB_LOGBL = @GL_GNULIB_LOGBL@ GL_GNULIB_LOGF = @GL_GNULIB_LOGF@ GL_GNULIB_LOGL = @GL_GNULIB_LOGL@ +GL_GNULIB_LOGP1 = @GL_GNULIB_LOGP1@ +GL_GNULIB_LOGP1F = @GL_GNULIB_LOGP1F@ +GL_GNULIB_LOGP1L = @GL_GNULIB_LOGP1L@ GL_GNULIB_LSEEK = @GL_GNULIB_LSEEK@ GL_GNULIB_LSTAT = @GL_GNULIB_LSTAT@ GL_GNULIB_MALLOC_GNU = @GL_GNULIB_MALLOC_GNU@ @@ -787,8 +838,10 @@ GL_GNULIB_NL_LANGINFO = @GL_GNULIB_NL_LANGINFO@ GL_GNULIB_NONBLOCKING = @GL_GNULIB_NONBLOCKING@ GL_GNULIB_OBSTACK_PRINTF = @GL_GNULIB_OBSTACK_PRINTF@ GL_GNULIB_OBSTACK_PRINTF_POSIX = @GL_GNULIB_OBSTACK_PRINTF_POSIX@ +GL_GNULIB_OBSTACK_ZPRINTF = @GL_GNULIB_OBSTACK_ZPRINTF@ GL_GNULIB_OPEN = @GL_GNULIB_OPEN@ GL_GNULIB_OPENAT = @GL_GNULIB_OPENAT@ +GL_GNULIB_OPENDIR = @GL_GNULIB_OPENDIR@ GL_GNULIB_OVERRIDES_STRUCT_STAT = @GL_GNULIB_OVERRIDES_STRUCT_STAT@ GL_GNULIB_PCLOSE = @GL_GNULIB_PCLOSE@ GL_GNULIB_PERROR = @GL_GNULIB_PERROR@ @@ -825,6 +878,7 @@ GL_GNULIB_RANDOM = @GL_GNULIB_RANDOM@ GL_GNULIB_RANDOM_R = @GL_GNULIB_RANDOM_R@ GL_GNULIB_RAWMEMCHR = @GL_GNULIB_RAWMEMCHR@ GL_GNULIB_READ = @GL_GNULIB_READ@ +GL_GNULIB_READDIR = @GL_GNULIB_READDIR@ GL_GNULIB_READLINK = @GL_GNULIB_READLINK@ GL_GNULIB_READLINKAT = @GL_GNULIB_READLINKAT@ GL_GNULIB_REALLOCARRAY = @GL_GNULIB_REALLOCARRAY@ @@ -839,6 +893,7 @@ GL_GNULIB_REMAINDERL = @GL_GNULIB_REMAINDERL@ GL_GNULIB_REMOVE = @GL_GNULIB_REMOVE@ GL_GNULIB_RENAME = @GL_GNULIB_RENAME@ GL_GNULIB_RENAMEAT = @GL_GNULIB_RENAMEAT@ +GL_GNULIB_REWINDDIR = @GL_GNULIB_REWINDDIR@ GL_GNULIB_RINT = @GL_GNULIB_RINT@ GL_GNULIB_RINTF = @GL_GNULIB_RINTF@ GL_GNULIB_RINTL = @GL_GNULIB_RINTL@ @@ -847,6 +902,7 @@ GL_GNULIB_ROUND = @GL_GNULIB_ROUND@ GL_GNULIB_ROUNDF = @GL_GNULIB_ROUNDF@ GL_GNULIB_ROUNDL = @GL_GNULIB_ROUNDL@ GL_GNULIB_RPMATCH = @GL_GNULIB_RPMATCH@ +GL_GNULIB_SCANDIR = @GL_GNULIB_SCANDIR@ GL_GNULIB_SCANF = @GL_GNULIB_SCANF@ GL_GNULIB_SCHED_YIELD = @GL_GNULIB_SCHED_YIELD@ GL_GNULIB_SECURE_GETENV = @GL_GNULIB_SECURE_GETENV@ @@ -857,8 +913,15 @@ GL_GNULIB_SETENV = @GL_GNULIB_SETENV@ GL_GNULIB_SETHOSTNAME = @GL_GNULIB_SETHOSTNAME@ GL_GNULIB_SETLOCALE = @GL_GNULIB_SETLOCALE@ GL_GNULIB_SETLOCALE_NULL = @GL_GNULIB_SETLOCALE_NULL@ +GL_GNULIB_SETPAYLOAD = @GL_GNULIB_SETPAYLOAD@ +GL_GNULIB_SETPAYLOADF = @GL_GNULIB_SETPAYLOADF@ +GL_GNULIB_SETPAYLOADL = @GL_GNULIB_SETPAYLOADL@ +GL_GNULIB_SETPAYLOADSIG = @GL_GNULIB_SETPAYLOADSIG@ +GL_GNULIB_SETPAYLOADSIGF = @GL_GNULIB_SETPAYLOADSIGF@ +GL_GNULIB_SETPAYLOADSIGL = @GL_GNULIB_SETPAYLOADSIGL@ GL_GNULIB_SETSOCKOPT = @GL_GNULIB_SETSOCKOPT@ GL_GNULIB_SHUTDOWN = @GL_GNULIB_SHUTDOWN@ +GL_GNULIB_SIG2STR = @GL_GNULIB_SIG2STR@ GL_GNULIB_SIGABBREV_NP = @GL_GNULIB_SIGABBREV_NP@ GL_GNULIB_SIGACTION = @GL_GNULIB_SIGACTION@ GL_GNULIB_SIGDESCR_NP = @GL_GNULIB_SIGDESCR_NP@ @@ -870,10 +933,12 @@ GL_GNULIB_SINHF = @GL_GNULIB_SINHF@ GL_GNULIB_SINL = @GL_GNULIB_SINL@ GL_GNULIB_SLEEP = @GL_GNULIB_SLEEP@ GL_GNULIB_SNPRINTF = @GL_GNULIB_SNPRINTF@ +GL_GNULIB_SNZPRINTF = @GL_GNULIB_SNZPRINTF@ GL_GNULIB_SOCKET = @GL_GNULIB_SOCKET@ GL_GNULIB_SPRINTF_POSIX = @GL_GNULIB_SPRINTF_POSIX@ GL_GNULIB_SQRTF = @GL_GNULIB_SQRTF@ GL_GNULIB_SQRTL = @GL_GNULIB_SQRTL@ +GL_GNULIB_STACK_TRACE = @GL_GNULIB_STACK_TRACE@ GL_GNULIB_STAT = @GL_GNULIB_STAT@ GL_GNULIB_STDIO_H_NONBLOCKING = @GL_GNULIB_STDIO_H_NONBLOCKING@ GL_GNULIB_STDIO_H_SIGPIPE = @GL_GNULIB_STDIO_H_SIGPIPE@ @@ -908,6 +973,7 @@ GL_GNULIB_STRVERSCMP = @GL_GNULIB_STRVERSCMP@ GL_GNULIB_SYMLINK = @GL_GNULIB_SYMLINK@ GL_GNULIB_SYMLINKAT = @GL_GNULIB_SYMLINKAT@ GL_GNULIB_SYSTEM_POSIX = @GL_GNULIB_SYSTEM_POSIX@ +GL_GNULIB_SZPRINTF = @GL_GNULIB_SZPRINTF@ GL_GNULIB_TANF = @GL_GNULIB_TANF@ GL_GNULIB_TANHF = @GL_GNULIB_TANHF@ GL_GNULIB_TANL = @GL_GNULIB_TANL@ @@ -921,12 +987,16 @@ GL_GNULIB_TMPFILE = @GL_GNULIB_TMPFILE@ GL_GNULIB_TOTALORDER = @GL_GNULIB_TOTALORDER@ GL_GNULIB_TOTALORDERF = @GL_GNULIB_TOTALORDERF@ GL_GNULIB_TOTALORDERL = @GL_GNULIB_TOTALORDERL@ +GL_GNULIB_TOTALORDERMAG = @GL_GNULIB_TOTALORDERMAG@ +GL_GNULIB_TOTALORDERMAGF = @GL_GNULIB_TOTALORDERMAGF@ +GL_GNULIB_TOTALORDERMAGL = @GL_GNULIB_TOTALORDERMAGL@ GL_GNULIB_TOWCTRANS = @GL_GNULIB_TOWCTRANS@ GL_GNULIB_TRUNC = @GL_GNULIB_TRUNC@ GL_GNULIB_TRUNCATE = @GL_GNULIB_TRUNCATE@ GL_GNULIB_TRUNCF = @GL_GNULIB_TRUNCF@ GL_GNULIB_TRUNCL = @GL_GNULIB_TRUNCL@ GL_GNULIB_TTYNAME_R = @GL_GNULIB_TTYNAME_R@ +GL_GNULIB_TZNAME = @GL_GNULIB_TZNAME@ GL_GNULIB_TZSET = @GL_GNULIB_TZSET@ GL_GNULIB_UNICASE_EMPTY_PREFIX_CONTEXT_DLL_VARIABLE = @GL_GNULIB_UNICASE_EMPTY_PREFIX_CONTEXT_DLL_VARIABLE@ GL_GNULIB_UNICASE_EMPTY_SUFFIX_CONTEXT_DLL_VARIABLE = @GL_GNULIB_UNICASE_EMPTY_SUFFIX_CONTEXT_DLL_VARIABLE@ @@ -1031,6 +1101,7 @@ GL_GNULIB_UNICTYPE_PROPERTY_LINE_SEPARATOR_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PR GL_GNULIB_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_LOWERCASE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_LOWERCASE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_MATH_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_MATH_DLL_VARIABLE@ +GL_GNULIB_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_NON_BREAK_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_NON_BREAK_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_NOT_A_CHARACTER_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_NOT_A_CHARACTER_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_NUMERIC_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_NUMERIC_DLL_VARIABLE@ @@ -1080,15 +1151,21 @@ GL_GNULIB_UNSETENV = @GL_GNULIB_UNSETENV@ GL_GNULIB_USLEEP = @GL_GNULIB_USLEEP@ GL_GNULIB_UTIMENSAT = @GL_GNULIB_UTIMENSAT@ GL_GNULIB_VASPRINTF = @GL_GNULIB_VASPRINTF@ +GL_GNULIB_VASZPRINTF = @GL_GNULIB_VASZPRINTF@ GL_GNULIB_VDPRINTF = @GL_GNULIB_VDPRINTF@ +GL_GNULIB_VDZPRINTF = @GL_GNULIB_VDZPRINTF@ GL_GNULIB_VFPRINTF = @GL_GNULIB_VFPRINTF@ GL_GNULIB_VFPRINTF_POSIX = @GL_GNULIB_VFPRINTF_POSIX@ GL_GNULIB_VFSCANF = @GL_GNULIB_VFSCANF@ +GL_GNULIB_VFZPRINTF = @GL_GNULIB_VFZPRINTF@ GL_GNULIB_VPRINTF = @GL_GNULIB_VPRINTF@ GL_GNULIB_VPRINTF_POSIX = @GL_GNULIB_VPRINTF_POSIX@ GL_GNULIB_VSCANF = @GL_GNULIB_VSCANF@ GL_GNULIB_VSNPRINTF = @GL_GNULIB_VSNPRINTF@ +GL_GNULIB_VSNZPRINTF = @GL_GNULIB_VSNZPRINTF@ GL_GNULIB_VSPRINTF_POSIX = @GL_GNULIB_VSPRINTF_POSIX@ +GL_GNULIB_VSZPRINTF = @GL_GNULIB_VSZPRINTF@ +GL_GNULIB_VZPRINTF = @GL_GNULIB_VZPRINTF@ GL_GNULIB_WCPCPY = @GL_GNULIB_WCPCPY@ GL_GNULIB_WCPNCPY = @GL_GNULIB_WCPNCPY@ GL_GNULIB_WCRTOMB = @GL_GNULIB_WCRTOMB@ @@ -1129,6 +1206,7 @@ GL_GNULIB_WMEMMOVE = @GL_GNULIB_WMEMMOVE@ GL_GNULIB_WMEMPCPY = @GL_GNULIB_WMEMPCPY@ GL_GNULIB_WMEMSET = @GL_GNULIB_WMEMSET@ GL_GNULIB_WRITE = @GL_GNULIB_WRITE@ +GL_GNULIB_ZPRINTF = @GL_GNULIB_ZPRINTF@ GL_GNULIB__EXIT = @GL_GNULIB__EXIT@ GNULIBHEADERS_OVERRIDE_CHAR16_T = @GNULIBHEADERS_OVERRIDE_CHAR16_T@ GNULIBHEADERS_OVERRIDE_CHAR32_T = @GNULIBHEADERS_OVERRIDE_CHAR32_T@ @@ -1141,6 +1219,7 @@ HAVE_ACOSF = @HAVE_ACOSF@ HAVE_ACOSL = @HAVE_ACOSL@ HAVE_ALIGNED_ALLOC = @HAVE_ALIGNED_ALLOC@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ +HAVE_ALPHASORT = @HAVE_ALPHASORT@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ASINF = @HAVE_ASINF@ HAVE_ASINL = @HAVE_ASINL@ @@ -1156,6 +1235,7 @@ HAVE_CBRT = @HAVE_CBRT@ HAVE_CBRTF = @HAVE_CBRTF@ HAVE_CBRTL = @HAVE_CBRTL@ HAVE_CHOWN = @HAVE_CHOWN@ +HAVE_CLOSEDIR = @HAVE_CLOSEDIR@ HAVE_COPYSIGN = @HAVE_COPYSIGN@ HAVE_COPYSIGNL = @HAVE_COPYSIGNL@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ @@ -1172,6 +1252,7 @@ HAVE_DECL_CEILF = @HAVE_DECL_CEILF@ HAVE_DECL_CEILL = @HAVE_DECL_CEILL@ HAVE_DECL_COPYSIGNF = @HAVE_DECL_COPYSIGNF@ HAVE_DECL_COSL = @HAVE_DECL_COSL@ +HAVE_DECL_DIRFD = @HAVE_DECL_DIRFD@ HAVE_DECL_ECVT = @HAVE_DECL_ECVT@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXECVPE = @HAVE_DECL_EXECVPE@ @@ -1184,6 +1265,7 @@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FCLOSEALL = @HAVE_DECL_FCLOSEALL@ HAVE_DECL_FCVT = @HAVE_DECL_FCVT@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ +HAVE_DECL_FDOPENDIR = @HAVE_DECL_FDOPENDIR@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ @@ -1200,6 +1282,8 @@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_GETW = @HAVE_DECL_GETW@ +HAVE_DECL_HTONL = @HAVE_DECL_HTONL@ +HAVE_DECL_HTONS = @HAVE_DECL_HTONS@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ @@ -1215,6 +1299,8 @@ HAVE_DECL_LOGB = @HAVE_DECL_LOGB@ HAVE_DECL_LOGL = @HAVE_DECL_LOGL@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ +HAVE_DECL_NTOHL = @HAVE_DECL_NTOHL@ +HAVE_DECL_NTOHS = @HAVE_DECL_NTOHS@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_PROGRAM_INVOCATION_NAME = @HAVE_DECL_PROGRAM_INVOCATION_NAME@ HAVE_DECL_PUTW = @HAVE_DECL_PUTW@ @@ -1249,6 +1335,7 @@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCSDUP = @HAVE_DECL_WCSDUP@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ +HAVE_DIRENT_H = @HAVE_DIRENT_H@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_DUPLOCALE = @HAVE_DUPLOCALE@ @@ -1270,6 +1357,7 @@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ +HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ @@ -1293,6 +1381,9 @@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ +HAVE_GETPAYLOAD = @HAVE_GETPAYLOAD@ +HAVE_GETPAYLOADF = @HAVE_GETPAYLOADF@ +HAVE_GETPAYLOADL = @HAVE_GETPAYLOADL@ HAVE_GETPROGNAME = @HAVE_GETPROGNAME@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ @@ -1336,6 +1427,9 @@ HAVE_LOGBF = @HAVE_LOGBF@ HAVE_LOGBL = @HAVE_LOGBL@ HAVE_LOGF = @HAVE_LOGF@ HAVE_LOGL = @HAVE_LOGL@ +HAVE_LOGP1 = @HAVE_LOGP1@ +HAVE_LOGP1F = @HAVE_LOGP1F@ +HAVE_LOGP1L = @HAVE_LOGP1L@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ @@ -1366,7 +1460,9 @@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_NEWLOCALE = @HAVE_NEWLOCALE@ HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ +HAVE_OFF64_T = @HAVE_OFF64_T@ HAVE_OPENAT = @HAVE_OPENAT@ +HAVE_OPENDIR = @HAVE_OPENDIR@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ @@ -1446,6 +1542,7 @@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ +HAVE_READDIR = @HAVE_READDIR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ @@ -1453,17 +1550,26 @@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_REMAINDER = @HAVE_REMAINDER@ HAVE_REMAINDERF = @HAVE_REMAINDERF@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ +HAVE_REWINDDIR = @HAVE_REWINDDIR@ HAVE_RINT = @HAVE_RINT@ HAVE_RINTL = @HAVE_RINTL@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = @HAVE_SAME_LONG_DOUBLE_AS_DOUBLE@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ +HAVE_SCANDIR = @HAVE_SCANDIR@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ +HAVE_SETPAYLOAD = @HAVE_SETPAYLOAD@ +HAVE_SETPAYLOADF = @HAVE_SETPAYLOADF@ +HAVE_SETPAYLOADL = @HAVE_SETPAYLOADL@ +HAVE_SETPAYLOADSIG = @HAVE_SETPAYLOADSIG@ +HAVE_SETPAYLOADSIGF = @HAVE_SETPAYLOADSIGF@ +HAVE_SETPAYLOADSIGL = @HAVE_SETPAYLOADSIGL@ HAVE_SETSTATE = @HAVE_SETSTATE@ +HAVE_SIG2STR = @HAVE_SIG2STR@ HAVE_SIGABBREV_NP = @HAVE_SIGABBREV_NP@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGDESCR_NP = @HAVE_SIGDESCR_NP@ @@ -1482,6 +1588,7 @@ HAVE_SQRTL = @HAVE_SQRTL@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ +HAVE_STR2SIG = @HAVE_STR2SIG@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRERRORNAME_NP = @HAVE_STRERRORNAME_NP@ @@ -1525,7 +1632,11 @@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TOTALORDER = @HAVE_TOTALORDER@ HAVE_TOTALORDERF = @HAVE_TOTALORDERF@ HAVE_TOTALORDERL = @HAVE_TOTALORDERL@ +HAVE_TOTALORDERMAG = @HAVE_TOTALORDERMAG@ +HAVE_TOTALORDERMAGF = @HAVE_TOTALORDERMAGF@ +HAVE_TOTALORDERMAGL = @HAVE_TOTALORDERMAGL@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ +HAVE_TZALLOC = @HAVE_TZALLOC@ HAVE_UCHAR_H = @HAVE_UCHAR_H@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNISTRING_WOE32DLL_H = @HAVE_UNISTRING_WOE32DLL_H@ @@ -1537,7 +1648,6 @@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ -HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ @@ -1576,6 +1686,7 @@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMPCPY = @HAVE_WMEMPCPY@ HAVE_WMEMSET = @HAVE_WMEMSET@ +HAVE_WORKING_C32RTOMB = @HAVE_WORKING_C32RTOMB@ HAVE_WORKING_MBRTOC32 = @HAVE_WORKING_MBRTOC32@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE_XLOCALE_H = @HAVE_XLOCALE_H@ @@ -1641,6 +1752,7 @@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ LOCALENAME_ENHANCE_LOCALE_FUNCS = @LOCALENAME_ENHANCE_LOCALE_FUNCS@ LOCALE_AR = @LOCALE_AR@ +LOCALE_EN_UTF8 = @LOCALE_EN_UTF8@ LOCALE_FR = @LOCALE_FR@ LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ LOCALE_JA = @LOCALE_JA@ @@ -1664,6 +1776,7 @@ NEXT_ASSERT_H = @NEXT_ASSERT_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ASSERT_H = @NEXT_AS_FIRST_DIRECTIVE_ASSERT_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ +NEXT_AS_FIRST_DIRECTIVE_DIRENT_H = @NEXT_AS_FIRST_DIRECTIVE_DIRENT_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_ERROR_H = @NEXT_AS_FIRST_DIRECTIVE_ERROR_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ @@ -1696,6 +1809,7 @@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ +NEXT_DIRENT_H = @NEXT_DIRENT_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_ERROR_H = @NEXT_ERROR_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ @@ -1729,6 +1843,7 @@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ NM = @NM@ NMEDIT = @NMEDIT@ +NULLPTR_T_NEEDS_STDDEF = @NULLPTR_T_NEEDS_STDDEF@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ @@ -1751,6 +1866,7 @@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ RC = @RC@ RELOCATABLE = @RELOCATABLE@ +REPLACE_ABORT = @REPLACE_ABORT@ REPLACE_ACCESS = @REPLACE_ACCESS@ REPLACE_ACOSF = @REPLACE_ACOSF@ REPLACE_ALIGNED_ALLOC = @REPLACE_ALIGNED_ALLOC@ @@ -1770,11 +1886,13 @@ REPLACE_CEILL = @REPLACE_CEILL@ REPLACE_CHMOD = @REPLACE_CHMOD@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ +REPLACE_CLOSEDIR = @REPLACE_CLOSEDIR@ REPLACE_COPY_FILE_RANGE = @REPLACE_COPY_FILE_RANGE@ REPLACE_COSF = @REPLACE_COSF@ REPLACE_COSHF = @REPLACE_COSHF@ REPLACE_CREAT = @REPLACE_CREAT@ REPLACE_CTIME = @REPLACE_CTIME@ +REPLACE_DIRFD = @REPLACE_DIRFD@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ @@ -1805,6 +1923,7 @@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDATASYNC = @REPLACE_FDATASYNC@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ +REPLACE_FDOPENDIR = @REPLACE_FDOPENDIR@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FFSLL = @REPLACE_FFSLL@ REPLACE_FLOOR = @REPLACE_FLOOR@ @@ -1846,9 +1965,13 @@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETPASS_FOR_GETPASS_GNU = @REPLACE_GETPASS_FOR_GETPASS_GNU@ +REPLACE_GETPAYLOAD = @REPLACE_GETPAYLOAD@ +REPLACE_GETPAYLOADF = @REPLACE_GETPAYLOADF@ +REPLACE_GETPAYLOADL = @REPLACE_GETPAYLOADL@ REPLACE_GETPROGNAME = @REPLACE_GETPROGNAME@ REPLACE_GETSUBOPT = @REPLACE_GETSUBOPT@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ +REPLACE_GETUSERSHELL = @REPLACE_GETUSERSHELL@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_HUGE_VAL = @REPLACE_HUGE_VAL@ REPLACE_HYPOT = @REPLACE_HYPOT@ @@ -1884,6 +2007,7 @@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALECONV = @REPLACE_LOCALECONV@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ +REPLACE_LOCALTIME_RZ = @REPLACE_LOCALTIME_RZ@ REPLACE_LOG = @REPLACE_LOG@ REPLACE_LOG10 = @REPLACE_LOG10@ REPLACE_LOG10F = @REPLACE_LOG10F@ @@ -1927,6 +2051,7 @@ REPLACE_MKOSTEMP = @REPLACE_MKOSTEMP@ REPLACE_MKOSTEMPS = @REPLACE_MKOSTEMPS@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ +REPLACE_MKTIME_Z = @REPLACE_MKTIME_Z@ REPLACE_MODF = @REPLACE_MODF@ REPLACE_MODFF = @REPLACE_MODFF@ REPLACE_MODFL = @REPLACE_MODFL@ @@ -1938,6 +2063,7 @@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ +REPLACE_OPENDIR = @REPLACE_OPENDIR@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_PIPE2 = @REPLACE_PIPE2@ REPLACE_POPEN = @REPLACE_POPEN@ @@ -2008,6 +2134,7 @@ REPLACE_RAND = @REPLACE_RAND@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ +REPLACE_READDIR = @REPLACE_READDIR@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOCARRAY = @REPLACE_REALLOCARRAY@ @@ -2020,6 +2147,7 @@ REPLACE_REMAINDERL = @REPLACE_REMAINDERL@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ +REPLACE_REWINDDIR = @REPLACE_REWINDDIR@ REPLACE_RINTL = @REPLACE_RINTL@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_ROUND = @REPLACE_ROUND@ @@ -2082,6 +2210,9 @@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TOTALORDER = @REPLACE_TOTALORDER@ REPLACE_TOTALORDERF = @REPLACE_TOTALORDERF@ REPLACE_TOTALORDERL = @REPLACE_TOTALORDERL@ +REPLACE_TOTALORDERMAG = @REPLACE_TOTALORDERMAG@ +REPLACE_TOTALORDERMAGF = @REPLACE_TOTALORDERMAGF@ +REPLACE_TOTALORDERMAGL = @REPLACE_TOTALORDERMAGL@ REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ @@ -2130,6 +2261,7 @@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ SMALL_WCHAR_T = @SMALL_WCHAR_T@ STDCKDINT_H = @STDCKDINT_H@ STDDEF_H = @STDDEF_H@ +STDDEF_NOT_IDEMPOTENT = @STDDEF_NOT_IDEMPOTENT@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ @@ -2163,8 +2295,10 @@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ +am__rm_f_notfound = @am__rm_f_notfound@ am__tar = @am__tar@ am__untar = @am__untar@ +am__xargs_n = @am__xargs_n@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ @@ -2204,6 +2338,8 @@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ +reloc_final_prefix_c = @reloc_final_prefix_c@ +reloc_final_prefix_c_make = @reloc_final_prefix_c_make@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ @@ -2270,12 +2406,12 @@ config.h: stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status - @rm -f stamp-h1 - cd $(top_builddir) && $(SHELL) ./config.status config.h + $(AM_V_at)rm -f stamp-h1 + $(AM_V_GEN)cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(am__configure_deps) - ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) - rm -f stamp-h1 - touch $@ + $(AM_V_GEN)($(am__cd) $(top_srcdir) && $(AUTOHEADER)) + $(AM_V_at)rm -f stamp-h1 + $(AM_V_at)touch $@ distclean-hdr: -rm -f config.h stamp-h1 @@ -2403,7 +2539,7 @@ distdir: $(BUILT_SOURCES) distdir-am: $(DISTFILES) $(am__remove_distdir) - test -d "$(distdir)" || mkdir "$(distdir)" + $(AM_V_at)$(MKDIR_P) "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ @@ -2516,7 +2652,7 @@ dist dist-all: distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ - eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ + eval GZIP= gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ @@ -2526,7 +2662,7 @@ distcheck: dist *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ - eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ + eval GZIP= gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ *.tar.zst*) \ @@ -2626,8 +2762,8 @@ mostlyclean-generic: clean-generic: distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -$(am__rm_f) $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @@ -2744,3 +2880,10 @@ gen-ChangeLog: # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: + +# Tell GNU make to disable its built-in pattern rules. +%:: %,v +%:: RCS/%,v +%:: RCS/% +%:: s.% +%:: SCCS/s.% diff --git a/NEWS b/NEWS index 9cf213be..87aeff18 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,12 @@ +New in 1.3: +* The data tables and algorithms have been updated to Unicode version 16.0.0. +* New function + uc_is_property_modifier_combining_mark + and new constant + UC_PROPERTY_MODIFIER_COMBINING_MARK. +* Fixed a bug in the *printf functions: The %ls and %lc directives could + lead to a crash on Solaris and MSVC. + New in 1.2: * The data tables and algorithms have been updated to Unicode version 15.1.0. * New functions u8_pcpy, u16_pcpy, u32_pcpy, similar to mempcpy. diff --git a/README b/README index ef2e1c04..20713791 100644 --- a/README +++ b/README @@ -69,7 +69,7 @@ The documentation is under another license; see in the documentation. Download -------- - https://ftp.gnu.org/gnu/libunistring/libunistring-1.2.tar.gz + https://ftp.gnu.org/gnu/libunistring/libunistring-1.3.tar.gz Homepage -------- diff --git a/aclocal.m4 b/aclocal.m4 index 5dd7ee54..2b77afde 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.16.5 -*- Autoconf -*- +# generated automatically by aclocal 1.17 -*- Autoconf -*- -# Copyright (C) 1996-2021 Free Software Foundation, Inc. +# Copyright (C) 1996-2024 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -20,7 +20,7 @@ You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -# Copyright (C) 2002-2021 Free Software Foundation, Inc. +# Copyright (C) 2002-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -32,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.]) # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.16' +[am__api_version='1.17' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.16.5], [], +m4_if([$1], [1.17], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], []) # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.16.5])dnl +[AM_AUTOMAKE_VERSION([1.17])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# Copyright (C) 2001-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd` # AM_COND_IF -*- Autoconf -*- -# Copyright (C) 2008-2021 Free Software Foundation, Inc. +# Copyright (C) 2008-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -147,7 +147,7 @@ fi[]dnl # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997-2021 Free Software Foundation, Inc. +# Copyright (C) 1997-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -178,7 +178,7 @@ AC_CONFIG_COMMANDS_PRE( Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999-2021 Free Software Foundation, Inc. +# Copyright (C) 1999-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -310,7 +310,7 @@ AC_CACHE_CHECK([dependency style of $depcc], # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: + # When given -MP, icc 7.0 and 7.1 complain thus: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported @@ -369,7 +369,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl # Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999-2021 Free Software Foundation, Inc. +# Copyright (C) 1999-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -437,7 +437,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996-2021 Free Software Foundation, Inc. +# Copyright (C) 1996-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -571,7 +571,7 @@ if test -z "$CSCOPE"; then fi AC_SUBST([CSCOPE]) -AC_REQUIRE([AM_SILENT_RULES])dnl +AC_REQUIRE([_AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. @@ -579,47 +579,9 @@ AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl -# POSIX will say in a future version that running "rm -f" with no argument -# is OK; and we want to be able to make that assumption in our Makefile -# recipes. So use an aggressive probe to check that the usage we want is -# actually supported "in the wild" to an acceptable degree. -# See automake bug#10828. -# To make any issue more visible, cause the running configure to be aborted -# by default if the 'rm' program in use doesn't match our expectations; the -# user can still override this though. -if rm -f && rm -fr && rm -rf; then : OK; else - cat >&2 <<'END' -Oops! - -Your 'rm' program seems unable to run without file operands specified -on the command line, even when the '-f' option is present. This is contrary -to the behaviour of most rm programs out there, and not conforming with -the upcoming POSIX standard: - -Please tell bug-automake@gnu.org about your system, including the value -of your $PATH and any error possibly output before this message. This -can help us improve future automake versions. +AC_REQUIRE([_AM_PROG_RM_F]) +AC_REQUIRE([_AM_PROG_XARGS_N]) -END - if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then - echo 'Configuration will proceed anyway, since you have set the' >&2 - echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 - echo >&2 - else - cat >&2 <<'END' -Aborting the configuration process, to ensure you take notice of the issue. - -You can download and install GNU coreutils to get an 'rm' implementation -that behaves properly: . - -If you want to complete the configuration process using your problematic -'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM -to "yes", and re-run configure. - -END - AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) - fi -fi dnl The trailing newline in this macro's definition is deliberate, for dnl backward compatibility and to allow trailing 'dnl'-style comments dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. @@ -652,7 +614,7 @@ for _am_header in $config_headers :; do done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# Copyright (C) 2001-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -673,7 +635,7 @@ if test x"${install_sh+set}" != xset; then fi AC_SUBST([install_sh])]) -# Copyright (C) 2003-2021 Free Software Foundation, Inc. +# Copyright (C) 2003-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -694,7 +656,7 @@ AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# Copyright (C) 2001-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -737,7 +699,7 @@ AC_SUBST([am__quote])]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997-2021 Free Software Foundation, Inc. +# Copyright (C) 1997-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -771,7 +733,7 @@ fi # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# Copyright (C) 2001-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -800,7 +762,7 @@ AC_DEFUN([_AM_SET_OPTIONS], AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 1999-2021 Free Software Foundation, Inc. +# Copyright (C) 1999-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -847,7 +809,23 @@ AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# Copyright (C) 2022-2024 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_PROG_RM_F +# --------------- +# Check whether 'rm -f' without any arguments works. +# https://bugs.gnu.org/10828 +AC_DEFUN([_AM_PROG_RM_F], +[am__rm_f_notfound= +AS_IF([(rm -f && rm -fr && rm -rf) 2>/dev/null], [], [am__rm_f_notfound='""']) +AC_SUBST(am__rm_f_notfound) +]) + +# Copyright (C) 2001-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -866,16 +844,169 @@ AC_DEFUN([AM_RUN_LOG], # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996-2021 Free Software Foundation, Inc. +# Copyright (C) 1996-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. +# _AM_SLEEP_FRACTIONAL_SECONDS +# ---------------------------- +AC_DEFUN([_AM_SLEEP_FRACTIONAL_SECONDS], [dnl +AC_CACHE_CHECK([whether sleep supports fractional seconds], + am_cv_sleep_fractional_seconds, [dnl +AS_IF([sleep 0.001 2>/dev/null], [am_cv_sleep_fractional_seconds=yes], + [am_cv_sleep_fractional_seconds=no]) +])]) + +# _AM_FILESYSTEM_TIMESTAMP_RESOLUTION +# ----------------------------------- +# Determine the filesystem's resolution for file modification +# timestamps. The coarsest we know of is FAT, with a resolution +# of only two seconds, even with the most recent "exFAT" extensions. +# The finest (e.g. ext4 with large inodes, XFS, ZFS) is one +# nanosecond, matching clock_gettime. However, it is probably not +# possible to delay execution of a shell script for less than one +# millisecond, due to process creation overhead and scheduling +# granularity, so we don't check for anything finer than that. (See below.) +AC_DEFUN([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION], [dnl +AC_REQUIRE([_AM_SLEEP_FRACTIONAL_SECONDS]) +AC_CACHE_CHECK([filesystem timestamp resolution], + am_cv_filesystem_timestamp_resolution, [dnl +# Default to the worst case. +am_cv_filesystem_timestamp_resolution=2 + +# Only try to go finer than 1 sec if sleep can do it. +# Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work, +# - 1 sec is not much of a win compared to 2 sec, and +# - it takes 2 seconds to perform the test whether 1 sec works. +# +# Instead, just use the default 2s on platforms that have 1s resolution, +# accept the extra 1s delay when using $sleep in the Automake tests, in +# exchange for not incurring the 2s delay for running the test for all +# packages. +# +am_try_resolutions= +if test "$am_cv_sleep_fractional_seconds" = yes; then + # Even a millisecond often causes a bunch of false positives, + # so just try a hundredth of a second. The time saved between .001 and + # .01 is not terribly consequential. + am_try_resolutions="0.01 0.1 $am_try_resolutions" +fi + +# In order to catch current-generation FAT out, we must *modify* files +# that already exist; the *creation* timestamp is finer. Use names +# that make ls -t sort them differently when they have equal +# timestamps than when they have distinct timestamps, keeping +# in mind that ls -t prints the *newest* file first. +rm -f conftest.ts? +: > conftest.ts1 +: > conftest.ts2 +: > conftest.ts3 + +# Make sure ls -t actually works. Do 'set' in a subshell so we don't +# clobber the current shell's arguments. (Outer-level square brackets +# are removed by m4; they're present so that m4 does not expand +# ; be careful, easy to get confused.) +if ( + set X `[ls -t conftest.ts[12]]` && + { + test "$[]*" != "X conftest.ts1 conftest.ts2" || + test "$[]*" != "X conftest.ts2 conftest.ts1"; + } +); then :; else + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + _AS_ECHO_UNQUOTED( + ["Bad output from ls -t: \"`[ls -t conftest.ts[12]]`\""], + [AS_MESSAGE_LOG_FD]) + AC_MSG_FAILURE([ls -t produces unexpected output. +Make sure there is not a broken ls alias in your environment.]) +fi + +for am_try_res in $am_try_resolutions; do + # Any one fine-grained sleep might happen to cross the boundary + # between two values of a coarser actual resolution, but if we do + # two fine-grained sleeps in a row, at least one of them will fall + # entirely within a coarse interval. + echo alpha > conftest.ts1 + sleep $am_try_res + echo beta > conftest.ts2 + sleep $am_try_res + echo gamma > conftest.ts3 + + # We assume that 'ls -t' will make use of high-resolution + # timestamps if the operating system supports them at all. + if (set X `ls -t conftest.ts?` && + test "$[]2" = conftest.ts3 && + test "$[]3" = conftest.ts2 && + test "$[]4" = conftest.ts1); then + # + # Ok, ls -t worked. If we're at a resolution of 1 second, we're done, + # because we don't need to test make. + make_ok=true + if test $am_try_res != 1; then + # But if we've succeeded so far with a subsecond resolution, we + # have one more thing to check: make. It can happen that + # everything else supports the subsecond mtimes, but make doesn't; + # notably on macOS, which ships make 3.81 from 2006 (the last one + # released under GPLv2). https://bugs.gnu.org/68808 + # + # We test $MAKE if it is defined in the environment, else "make". + # It might get overridden later, but our hope is that in practice + # it does not matter: it is the system "make" which is (by far) + # the most likely to be broken, whereas if the user overrides it, + # probably they did so with a better, or at least not worse, make. + # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html + # + # Create a Makefile (real tab character here): + rm -f conftest.mk + echo 'conftest.ts1: conftest.ts2' >conftest.mk + echo ' touch conftest.ts2' >>conftest.mk + # + # Now, running + # touch conftest.ts1; touch conftest.ts2; make + # should touch ts1 because ts2 is newer. This could happen by luck, + # but most often, it will fail if make's support is insufficient. So + # test for several consecutive successes. + # + # (We reuse conftest.ts[12] because we still want to modify existing + # files, not create new ones, per above.) + n=0 + make=${MAKE-make} + until test $n -eq 3; do + echo one > conftest.ts1 + sleep $am_try_res + echo two > conftest.ts2 # ts2 should now be newer than ts1 + if $make -f conftest.mk | grep 'up to date' >/dev/null; then + make_ok=false + break # out of $n loop + fi + n=`expr $n + 1` + done + fi + # + if $make_ok; then + # Everything we know to check worked out, so call this resolution good. + am_cv_filesystem_timestamp_resolution=$am_try_res + break # out of $am_try_res loop + fi + # Otherwise, we'll go on to check the next resolution. + fi +done +rm -f conftest.ts? +# (end _am_filesystem_timestamp_resolution) +])]) + # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], -[AC_MSG_CHECKING([whether build environment is sane]) +[AC_REQUIRE([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION]) +# This check should not be cached, as it may vary across builds of +# different projects. +AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' @@ -894,49 +1025,40 @@ esac # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). -if ( - am_has_slept=no - for am_try in 1 2; do - echo "timestamp, slept: $am_has_slept" > conftest.file - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$[*]" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - if test "$[*]" != "X $srcdir/configure conftest.file" \ - && test "$[*]" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken - alias in your environment]) - fi - if test "$[2]" = conftest.file || test $am_try -eq 2; then - break - fi - # Just in case. - sleep 1 - am_has_slept=yes - done - test "$[2]" = conftest.file - ) -then - # Ok. - : -else - AC_MSG_ERROR([newly created file is older than distributed files! +am_build_env_is_sane=no +am_has_slept=no +rm -f conftest.file +for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + if ( + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$[]*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + test "$[]2" = conftest.file + ); then + am_build_env_is_sane=yes + break + fi + # Just in case. + sleep "$am_cv_filesystem_timestamp_resolution" + am_has_slept=yes +done + +AC_MSG_RESULT([$am_build_env_is_sane]) +if test "$am_build_env_is_sane" = no; then + AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi -AC_MSG_RESULT([yes]) + # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= -if grep 'slept: no' conftest.file >/dev/null 2>&1; then - ( sleep 1 ) & +AS_IF([test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1],, [dnl + ( sleep "$am_cv_filesystem_timestamp_resolution" ) & am_sleep_pid=$! -fi +]) AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then @@ -947,18 +1069,18 @@ AC_CONFIG_COMMANDS_PRE( rm -f conftest.file ]) -# Copyright (C) 2009-2021 Free Software Foundation, Inc. +# Copyright (C) 2009-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# AM_SILENT_RULES([DEFAULT]) -# -------------------------- -# Enable less verbose build rules; with the default set to DEFAULT -# ("yes" being less verbose, "no" or empty being verbose). -AC_DEFUN([AM_SILENT_RULES], -[AC_ARG_ENABLE([silent-rules], [dnl +# _AM_SILENT_RULES +# ---------------- +# Enable less verbose build rules support. +AC_DEFUN([_AM_SILENT_RULES], +[AM_DEFAULT_VERBOSITY=1 +AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) @@ -966,11 +1088,6 @@ AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) -case $enable_silent_rules in @%:@ ((( - yes) AM_DEFAULT_VERBOSITY=0;; - no) AM_DEFAULT_VERBOSITY=1;; - *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; -esac dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. @@ -989,14 +1106,6 @@ am__doit: else am_cv_make_support_nested_variables=no fi]) -if test $am_cv_make_support_nested_variables = yes; then - dnl Using '$V' instead of '$(V)' breaks IRIX make. - AM_V='$(V)' - AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' -else - AM_V=$AM_DEFAULT_VERBOSITY - AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY -fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl @@ -1005,9 +1114,33 @@ AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl +dnl Delay evaluation of AM_DEFAULT_VERBOSITY to the end to allow multiple calls +dnl to AM_SILENT_RULES to change the default value. +AC_CONFIG_COMMANDS_PRE([dnl +case $enable_silent_rules in @%:@ ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; +esac +if test $am_cv_make_support_nested_variables = yes; then + dnl Using '$V' instead of '$(V)' breaks IRIX make. + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +])dnl ]) -# Copyright (C) 2001-2021 Free Software Foundation, Inc. +# AM_SILENT_RULES([DEFAULT]) +# -------------------------- +# Set the default verbosity level to DEFAULT ("yes" being less verbose, "no" or +# empty being verbose). +AC_DEFUN([AM_SILENT_RULES], +[AC_REQUIRE([_AM_SILENT_RULES]) +AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1])]) + +# Copyright (C) 2001-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1035,7 +1168,7 @@ fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006-2021 Free Software Foundation, Inc. +# Copyright (C) 2006-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1054,7 +1187,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004-2021 Free Software Foundation, Inc. +# Copyright (C) 2004-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1100,15 +1233,19 @@ m4_if([$1], [v7], am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) - if test $am_uid -le $am_max_uid; then - AC_MSG_RESULT([yes]) + if test x$am_uid = xunknown; then + AC_MSG_WARN([ancient id detected; assuming current UID is ok, but dist-ustar might not work]) + elif test $am_uid -le $am_max_uid; then + AC_MSG_RESULT([yes]) else - AC_MSG_RESULT([no]) - _am_tools=none + AC_MSG_RESULT([no]) + _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) - if test $am_gid -le $am_max_gid; then - AC_MSG_RESULT([yes]) + if test x$gm_gid = xunknown; then + AC_MSG_WARN([ancient id detected; assuming current GID is ok, but dist-ustar might not work]) + elif test $am_gid -le $am_max_gid; then + AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none @@ -1185,6 +1322,26 @@ AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR +# Copyright (C) 2022-2024 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_PROG_XARGS_N +# ---------------- +# Check whether 'xargs -n' works. It should work everywhere, so the fallback +# is not optimized at all as we never expect to use it. +AC_DEFUN([_AM_PROG_XARGS_N], +[AC_CACHE_CHECK([xargs -n works], am_cv_xargs_n_works, [dnl +AS_IF([test "`echo 1 2 3 | xargs -n2 echo`" = "1 2 +3"], [am_cv_xargs_n_works=yes], [am_cv_xargs_n_works=no])]) +AS_IF([test "$am_cv_xargs_n_works" = yes], [am__xargs_n='xargs -n'], [dnl + am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "$@" "$am__xargs_n_arg"; done; }' +])dnl +AC_SUBST(am__xargs_n) +]) + m4_include([gnulib-m4/00gnulib.m4]) m4_include([gnulib-m4/__inline.m4]) m4_include([gnulib-m4/absolute-header.m4]) @@ -1192,14 +1349,21 @@ m4_include([gnulib-m4/alloca.m4]) m4_include([gnulib-m4/arpa_inet_h.m4]) m4_include([gnulib-m4/assert_h.m4]) m4_include([gnulib-m4/btowc.m4]) +m4_include([gnulib-m4/build-to-host.m4]) m4_include([gnulib-m4/builtin-expect.m4]) m4_include([gnulib-m4/c-bool.m4]) m4_include([gnulib-m4/c32rtomb.m4]) m4_include([gnulib-m4/calloc.m4]) +m4_include([gnulib-m4/chdir-long.m4]) m4_include([gnulib-m4/close.m4]) +m4_include([gnulib-m4/closedir.m4]) m4_include([gnulib-m4/codeset.m4]) m4_include([gnulib-m4/ctype_h.m4]) +m4_include([gnulib-m4/d-ino.m4]) +m4_include([gnulib-m4/dirent_h.m4]) +m4_include([gnulib-m4/dirfd.m4]) m4_include([gnulib-m4/double-slash-root.m4]) +m4_include([gnulib-m4/dup.m4]) m4_include([gnulib-m4/dup2.m4]) m4_include([gnulib-m4/eealloc.m4]) m4_include([gnulib-m4/environ.m4]) @@ -1209,12 +1373,16 @@ m4_include([gnulib-m4/error_h.m4]) m4_include([gnulib-m4/exponentd.m4]) m4_include([gnulib-m4/exponentf.m4]) m4_include([gnulib-m4/exponentl.m4]) +m4_include([gnulib-m4/extensions-aix.m4]) m4_include([gnulib-m4/extensions.m4]) m4_include([gnulib-m4/extern-inline.m4]) +m4_include([gnulib-m4/fchdir.m4]) m4_include([gnulib-m4/fcntl-o.m4]) m4_include([gnulib-m4/fcntl.m4]) m4_include([gnulib-m4/fcntl_h.m4]) m4_include([gnulib-m4/fdopen.m4]) +m4_include([gnulib-m4/fdopendir.m4]) +m4_include([gnulib-m4/filenamecat.m4]) m4_include([gnulib-m4/flexmember.m4]) m4_include([gnulib-m4/float_h.m4]) m4_include([gnulib-m4/fpieee.m4]) @@ -1223,10 +1391,12 @@ m4_include([gnulib-m4/frexp.m4]) m4_include([gnulib-m4/frexpl.m4]) m4_include([gnulib-m4/fseterr.m4]) m4_include([gnulib-m4/fstat.m4]) +m4_include([gnulib-m4/fstatat.m4]) m4_include([gnulib-m4/ftruncate.m4]) +m4_include([gnulib-m4/getcwd-abort-bug.m4]) +m4_include([gnulib-m4/getcwd-path-max.m4]) m4_include([gnulib-m4/getcwd.m4]) m4_include([gnulib-m4/getdtablesize.m4]) -m4_include([gnulib-m4/getpagesize.m4]) m4_include([gnulib-m4/getprogname.m4]) m4_include([gnulib-m4/gettimeofday.m4]) m4_include([gnulib-m4/gnulib-common.m4]) @@ -1263,6 +1433,7 @@ m4_include([gnulib-m4/libunistring-base.m4]) m4_include([gnulib-m4/limits-h.m4]) m4_include([gnulib-m4/localcharset.m4]) m4_include([gnulib-m4/locale-ar.m4]) +m4_include([gnulib-m4/locale-en.m4]) m4_include([gnulib-m4/locale-fr.m4]) m4_include([gnulib-m4/locale-ja.m4]) m4_include([gnulib-m4/locale-tr.m4]) @@ -1282,6 +1453,8 @@ m4_include([gnulib-m4/mbsinit.m4]) m4_include([gnulib-m4/mbstate_t.m4]) m4_include([gnulib-m4/mbtowc.m4]) m4_include([gnulib-m4/memchr.m4]) +m4_include([gnulib-m4/mempcpy.m4]) +m4_include([gnulib-m4/memrchr.m4]) m4_include([gnulib-m4/minmax.m4]) m4_include([gnulib-m4/mmap-anon.m4]) m4_include([gnulib-m4/mode_t.m4]) @@ -1293,10 +1466,14 @@ m4_include([gnulib-m4/nan-mips.m4]) m4_include([gnulib-m4/nanosleep.m4]) m4_include([gnulib-m4/netinet_in_h.m4]) m4_include([gnulib-m4/nocrash.m4]) +m4_include([gnulib-m4/off64_t.m4]) m4_include([gnulib-m4/off_t.m4]) +m4_include([gnulib-m4/once.m4]) m4_include([gnulib-m4/open-cloexec.m4]) m4_include([gnulib-m4/open-slash.m4]) m4_include([gnulib-m4/open.m4]) +m4_include([gnulib-m4/openat.m4]) +m4_include([gnulib-m4/opendir.m4]) m4_include([gnulib-m4/pathmax.m4]) m4_include([gnulib-m4/perror.m4]) m4_include([gnulib-m4/pipe.m4]) @@ -1304,17 +1481,26 @@ m4_include([gnulib-m4/printf-frexp.m4]) m4_include([gnulib-m4/printf-frexpl.m4]) m4_include([gnulib-m4/printf.m4]) m4_include([gnulib-m4/pselect.m4]) +m4_include([gnulib-m4/pthread-cond.m4]) +m4_include([gnulib-m4/pthread-mutex.m4]) +m4_include([gnulib-m4/pthread-once.m4]) +m4_include([gnulib-m4/pthread-rwlock.m4]) +m4_include([gnulib-m4/pthread-spin.m4]) m4_include([gnulib-m4/pthread-thread.m4]) m4_include([gnulib-m4/pthread_h.m4]) +m4_include([gnulib-m4/pthread_mutex_timedlock.m4]) m4_include([gnulib-m4/pthread_rwlock_rdlock.m4]) m4_include([gnulib-m4/pthread_sigmask.m4]) m4_include([gnulib-m4/putenv.m4]) m4_include([gnulib-m4/raise.m4]) m4_include([gnulib-m4/random.m4]) m4_include([gnulib-m4/random_r.m4]) +m4_include([gnulib-m4/readdir.m4]) m4_include([gnulib-m4/realloc.m4]) m4_include([gnulib-m4/reallocarray.m4]) m4_include([gnulib-m4/relocatable-lib.m4]) +m4_include([gnulib-m4/rewinddir.m4]) +m4_include([gnulib-m4/save-cwd.m4]) m4_include([gnulib-m4/sched_h.m4]) m4_include([gnulib-m4/sched_yield.m4]) m4_include([gnulib-m4/select.m4]) @@ -1341,12 +1527,15 @@ m4_include([gnulib-m4/stdint.m4]) m4_include([gnulib-m4/stdint_h.m4]) m4_include([gnulib-m4/stdio_h.m4]) m4_include([gnulib-m4/stdlib_h.m4]) +m4_include([gnulib-m4/stpcpy.m4]) +m4_include([gnulib-m4/strdup.m4]) m4_include([gnulib-m4/strerror.m4]) m4_include([gnulib-m4/strerror_r.m4]) m4_include([gnulib-m4/string_h.m4]) m4_include([gnulib-m4/strncat.m4]) m4_include([gnulib-m4/strstr.m4]) m4_include([gnulib-m4/symlink.m4]) +m4_include([gnulib-m4/sys_cdefs_h.m4]) m4_include([gnulib-m4/sys_ioctl_h.m4]) m4_include([gnulib-m4/sys_select_h.m4]) m4_include([gnulib-m4/sys_socket_h.m4]) @@ -1363,13 +1552,13 @@ m4_include([gnulib-m4/unicase_h.m4]) m4_include([gnulib-m4/unictype_h.m4]) m4_include([gnulib-m4/unimetadata_h.m4]) m4_include([gnulib-m4/uninorm_h.m4]) +m4_include([gnulib-m4/unistd-safer.m4]) m4_include([gnulib-m4/unistd_h.m4]) m4_include([gnulib-m4/usleep.m4]) m4_include([gnulib-m4/vasnprintf.m4]) m4_include([gnulib-m4/visibility.m4]) m4_include([gnulib-m4/warn-on-use.m4]) m4_include([gnulib-m4/wchar_h.m4]) -m4_include([gnulib-m4/wchar_t.m4]) m4_include([gnulib-m4/wcrtomb.m4]) m4_include([gnulib-m4/wctob.m4]) m4_include([gnulib-m4/wctomb.m4]) @@ -1377,6 +1566,7 @@ m4_include([gnulib-m4/wctype_h.m4]) m4_include([gnulib-m4/wcwidth.m4]) m4_include([gnulib-m4/wint_t.m4]) m4_include([gnulib-m4/xalloc.m4]) +m4_include([gnulib-m4/xgetcwd.m4]) m4_include([gnulib-m4/xsize.m4]) m4_include([gnulib-m4/yield.m4]) m4_include([gnulib-m4/zzgnulib.m4]) diff --git a/autogen.sh b/autogen.sh index 5a8d43aa..f74d13bc 100755 --- a/autogen.sh +++ b/autogen.sh @@ -4,7 +4,7 @@ # also regenerates all aclocal.m4, config.h.in, Makefile.in, configure files # with new versions of autoconf or automake. # -# This script requires autoconf-2.65..2.71 and automake-1.16.4 in the PATH. +# This script requires autoconf-2.65..2.72 and automake-1.16.4..1.17 in the PATH. # It also requires # - the gperf program. diff --git a/build-aux/compile b/build-aux/compile index df363c8f..49b3d05f 100755 --- a/build-aux/compile +++ b/build-aux/compile @@ -1,9 +1,9 @@ #! /bin/sh # Wrapper for compilers which do not understand '-c -o'. -scriptversion=2018-03-07.03; # UTC +scriptversion=2024-06-19.01; # UTC -# Copyright (C) 1999-2021 Free Software Foundation, Inc. +# Copyright (C) 1999-2024 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify @@ -143,7 +143,7 @@ func_cl_wrapper () # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in - *.o | *.[oO][bB][jJ]) + *.o | *.lo | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift @@ -248,14 +248,17 @@ If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . +GNU Automake home page: . +General help using GNU software: . EOF exit $? ;; -v | --v*) - echo "compile $scriptversion" + echo "compile (GNU Automake) $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ + clang-cl | *[/\\]clang-cl | clang-cl.exe | *[/\\]clang-cl.exe | \ icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; diff --git a/build-aux/config.guess b/build-aux/config.guess index f6d217a4..48a68460 100755 --- a/build-aux/config.guess +++ b/build-aux/config.guess @@ -4,7 +4,7 @@ # shellcheck disable=SC2006,SC2268 # see below for rationale -timestamp='2024-01-01' +timestamp='2024-07-27' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -123,7 +123,7 @@ set_cc_for_build() { dummy=$tmp/dummy case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in ,,) echo "int x;" > "$dummy.c" - for driver in cc gcc c89 c99 ; do + for driver in cc gcc c17 c99 c89 ; do if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then CC_FOR_BUILD=$driver break @@ -634,7 +634,8 @@ EOF sed 's/^ //' << EOF > "$dummy.c" #include - main() + int + main () { if (!__power_pc()) exit(1); @@ -718,7 +719,8 @@ EOF #include #include - int main () + int + main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); @@ -1621,6 +1623,7 @@ cat > "$dummy.c" <." +} + +# func_version +# outputs to stdout the --version message. +func_version () +{ + echo "config.rpath (GNU gnulib, module havelib)" + echo "Copyright (C) 2024 Free Software Foundation, Inc. +License: All-Permissive. +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law." + echo + printf 'Written by %s.\n' "Bruno Haible" +} + +# func_fatal_error message +# outputs to stderr a fatal error message, and terminates the program. +func_fatal_error () +{ + echo "config.rpath: *** $1" 1>&2 + echo "config.rpath: *** Stop." 1>&2 + exit 1 +} + +# Command-line option processing. +while test $# -gt 0; do + case "$1" in + --help | --hel | --he | --h ) + func_usage + exit 0 ;; + --version | --versio | --versi | --vers | --ver | --ve | --v ) + func_version + exit 0 ;; + -- ) # Stop option processing + shift; break ;; + -* ) + func_fatal_error "unrecognized option: $1" + ;; + * ) + break ;; + esac +done + +if test $# -gt 1; then + func_fatal_error "too many arguments" +fi +if test $# -lt 1; then + func_fatal_error "too few arguments" +fi + # All known linkers require a '.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a diff --git a/build-aux/config.sub b/build-aux/config.sub index 2c6a07ab..4aaae46f 100755 --- a/build-aux/config.sub +++ b/build-aux/config.sub @@ -2,9 +2,9 @@ # Configuration validation subroutine script. # Copyright 1992-2024 Free Software Foundation, Inc. -# shellcheck disable=SC2006,SC2268 # see below for rationale +# shellcheck disable=SC2006,SC2268,SC2162 # see below for rationale -timestamp='2024-01-01' +timestamp='2024-05-27' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -120,7 +120,6 @@ case $# in esac # Split fields of configuration type -# shellcheck disable=SC2162 saved_IFS=$IFS IFS="-" read field1 field2 field3 field4 <&2 exit 1 ;; - kfreebsd*-gnu*- | kopensolaris*-gnu*-) + kfreebsd*-gnu*- | knetbsd*-gnu*- | netbsd*-gnu*- | kopensolaris*-gnu*-) ;; vxworks-simlinux- | vxworks-simwindows- | vxworks-spe-) ;; @@ -1864,6 +2245,8 @@ case $kernel-$os-$obj in ;; os2-emx-) ;; + rtmk-nova-) + ;; *-eabi*- | *-gnueabi*-) ;; none--*) @@ -1890,7 +2273,7 @@ case $vendor in *-riscix*) vendor=acorn ;; - *-sunos*) + *-sunos* | *-solaris*) vendor=sun ;; *-cnk* | *-aix*) diff --git a/build-aux/depcomp b/build-aux/depcomp index 715e3431..1f0aa972 100755 --- a/build-aux/depcomp +++ b/build-aux/depcomp @@ -1,9 +1,9 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2018-03-07.03; # UTC +scriptversion=2024-06-19.01; # UTC -# Copyright (C) 1999-2021 Free Software Foundation, Inc. +# Copyright (C) 1999-2024 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -47,11 +47,13 @@ Environment variables: libtool Whether libtool is used (yes/no). Report bugs to . +GNU Automake home page: . +General help using GNU software: . EOF exit $? ;; -v | --v*) - echo "depcomp $scriptversion" + echo "depcomp (GNU Automake) $scriptversion" exit $? ;; esac @@ -113,7 +115,6 @@ nl=' # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz -digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then @@ -128,7 +129,7 @@ tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" -# Avoid interferences from the environment. +# Avoid interference from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We @@ -198,8 +199,8 @@ gcc3) ;; gcc) -## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. -## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. +## Note that this doesn't just cater to obsolete pre-3.x GCC compilers. +## but also to in-use compilers like IBM xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: diff --git a/build-aux/gitlog-to-changelog b/build-aux/gitlog-to-changelog index 16a9405a..90a53ef7 100755 --- a/build-aux/gitlog-to-changelog +++ b/build-aux/gitlog-to-changelog @@ -35,12 +35,14 @@ eval 'exec perl -wSx "$0" "$@"' if 0; -my $VERSION = '2023-06-24 21:59'; # UTC +my $VERSION = '2024-07-17 02:20'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook # do its job. Otherwise, update this string manually. +(my $copyright_year = $VERSION) =~ s/^(\d*)-.*$/$1/; + use strict; use warnings; use Getopt::Long; @@ -97,6 +99,7 @@ OPTIONS: --strip-cherry-pick remove data inserted by "git cherry-pick"; this includes the "cherry picked from commit ..." line, and the possible final "Conflicts:" paragraph. + --commit-timezone use dates respecting the timezone commits were made in. --help display this help and exit --version output version information and exit @@ -137,11 +140,24 @@ s/all tile types/all file types/ # Change the author to be Paul. Note the escaped "@": s,Jim .*>,Paul Eggert , +Send patches and bug reports to . EOF } exit $exit_code; } +sub print_version () +{ + print "$ME version $VERSION\n"; + print "Copyright (C) $copyright_year Free Software Foundation, Inc.\n"; + print "License GPLv3+: GNU GPL version 3 or later \n" + . "This is free software: you are free to change and redistribute it.\n" + . "There is NO WARRANTY, to the extent permitted by law.\n"; + print "\n"; + my $author = "Jim Meyering"; + print "Written by $author.\n"; +} + # If the string $S is a well-behaved file name, simply return it. # If it contains white space, quotes, etc., quote it, and return the new string. sub shell_quote($) @@ -247,11 +263,12 @@ sub git_dir_option($) my $ignore_line; my $strip_tab = 0; my $strip_cherry_pick = 0; + my $commit_timezone = 0; my $srcdir; GetOptions ( help => sub { usage 0 }, - version => sub { print "$ME version $VERSION\n"; exit }, + version => sub { print_version; exit }, 'since=s' => \$since_date, 'until=s' => \$until_date, 'format=s' => \$format_string, @@ -262,6 +279,7 @@ sub git_dir_option($) 'ignore-line=s' => \$ignore_line, 'strip-tab' => \$strip_tab, 'strip-cherry-pick' => \$strip_cherry_pick, + 'commit-timezone' => \$commit_timezone, 'srcdir=s' => \$srcdir, ) or usage 1; @@ -274,10 +292,12 @@ sub git_dir_option($) # that makes a correction in the log or attribution of that commit. my $amend_code = defined $amend_file ? parse_amend_file $amend_file : {}; + my $commit_time_format = $commit_timezone ? '%cI' : '%ct'; my @cmd = ('git', git_dir_option $srcdir, qw(log --log-size), - '--pretty=format:%H:%ct %an <%ae>%n%n'.$format_string, @ARGV); + ("--pretty=format:%H:$commit_time_format" + . ' %an <%ae>%n%n'.$format_string, @ARGV)); open PIPE, '-|', @cmd or die ("$ME: failed to run '". quoted_cmd (@cmd) ."': $!\n" . "(Is your Git too old? Version 1.5.1 or later is required.)\n"); @@ -350,17 +370,31 @@ sub git_dir_option($) my $author_line = shift @line; defined $author_line or die "$ME:$.: unexpected EOF\n"; - $author_line =~ /^(\d+) (.*>)$/ + $author_line =~ /^(\S+) (.*>)$/ or die "$ME:$.: Invalid line " . "(expected date/author/email):\n$author_line\n"; + # Author + my $author = $2; + + my $commit_date = $1; + if (! $commit_timezone) + { + # Seconds since the Epoch. + $commit_date = strftime "%Y-%m-%d", localtime ($commit_date); + } + else + { + # ISO 8601 date. + $commit_date =~ s/T.*$//; + } + # Format 'Copyright-paperwork-exempt: Yes' as a standard ChangeLog # '(tiny change)' annotation. my $tiny = (grep (/^(?:Copyright-paperwork-exempt|Tiny-change):\s+[Yy]es$/, @line) ? ' (tiny change)' : ''); - my $date_line = sprintf "%s %s$tiny\n", - strftime ("%Y-%m-%d", localtime ($1)), $2; + my $date_line = "$commit_date $author$tiny\n"; my @coauthors = grep /^Co-authored-by:.*$/, @line; # Omit meta-data lines we've already interpreted. @@ -495,7 +529,7 @@ sub git_dir_option($) # Complain about any unused entry in the --amend=F specified file. my $fail = 0; - foreach my $sha (keys %$amend_code) + foreach my $sha (sort keys %$amend_code) { warn "$ME:$amend_file: unused entry: $sha\n"; $fail = 1; @@ -507,7 +541,7 @@ sub git_dir_option($) # Local Variables: # mode: perl # indent-tabs-mode: nil -# eval: (add-hook 'before-save-hook 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-line-limit: 50 # time-stamp-start: "my $VERSION = '" # time-stamp-format: "%:y-%02m-%02d %02H:%02M" diff --git a/build-aux/install-sh b/build-aux/install-sh index ec298b53..b1d7a6f6 100755 --- a/build-aux/install-sh +++ b/build-aux/install-sh @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2020-11-14.01; # UTC +scriptversion=2024-06-19.01; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -124,9 +124,9 @@ it's up to you to specify -f if you want it. If -S is not specified, no backups are attempted. -Email bug reports to bug-automake@gnu.org. -Automake home page: https://www.gnu.org/software/automake/ -" +Report bugs to . +GNU Automake home page: . +General help using GNU software: ." while test $# -ne 0; do case $1 in @@ -170,7 +170,7 @@ while test $# -ne 0; do -T) is_target_a_directory=never;; - --version) echo "$0 $scriptversion"; exit $?;; + --version) echo "$0 (GNU Automake) $scriptversion"; exit $?;; --) shift break;; @@ -345,7 +345,7 @@ do ' 0 # Because "mkdir -p" follows existing symlinks and we likely work - # directly in world-writeable /tmp, make sure that the '$tmpdir' + # directly in world-writable /tmp, make sure that the '$tmpdir' # directory is successfully created first before we actually test # 'mkdir -p'. if (umask $mkdir_umask && @@ -353,7 +353,7 @@ do exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 then if test -z "$dir_arg" || { - # Check for POSIX incompatibilities with -m. + # Check for POSIX incompatibility with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh index 2a50d7f6..def0a431 100644 --- a/build-aux/ltmain.sh +++ b/build-aux/ltmain.sh @@ -2,11 +2,11 @@ ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in ## by inline-source v2019-02-19.15 -# libtool (GNU libtool) 2.4.7 +# libtool (GNU libtool) 2.5.3 # Provide generalized library-building support services. # Written by Gordon Matzigkeit , 1996 -# Copyright (C) 1996-2019, 2021-2022 Free Software Foundation, Inc. +# Copyright (C) 1996-2019, 2021-2024 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. @@ -31,8 +31,8 @@ PROGRAM=libtool PACKAGE=libtool -VERSION=2.4.7 -package_revision=2.4.7 +VERSION=2.5.3 +package_revision=2.5.3 ## ------ ## @@ -72,11 +72,11 @@ scriptversion=2019-02-19.15; # UTC # This is free software. There is NO warranty; not even for # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # -# Copyright (C) 2004-2019, 2021 Bootstrap Authors +# Copyright (C) 2004-2019, 2021, 2023-2024 Bootstrap Authors # # This file is dual licensed under the terms of the MIT license -# , and GPL version 2 or later -# . You must apply one of +# , and GPL version 2 or later +# . You must apply one of # these licenses when using or redistributing this software or any of # the files within it. See the URLs above, or the file `LICENSE` # included in the Bootstrap distribution for the full license texts. @@ -143,7 +143,7 @@ nl=' ' IFS="$sp $nl" -# There are apparently some retarded systems that use ';' as a PATH separator! +# There are apparently some systems that use ';' as a PATH separator! if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { @@ -1536,11 +1536,11 @@ func_lt_ver () # This is free software. There is NO warranty; not even for # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # -# Copyright (C) 2010-2019, 2021 Bootstrap Authors +# Copyright (C) 2010-2019, 2021, 2023-2024 Bootstrap Authors # # This file is dual licensed under the terms of the MIT license -# , and GPL version 2 or later -# . You must apply one of +# , and GPL version 2 or later +# . You must apply one of # these licenses when using or redistributing this software or any of # the files within it. See the URLs above, or the file `LICENSE` # included in the Bootstrap distribution for the full license texts. @@ -2215,7 +2215,7 @@ func_version () # End: # Set a version string. -scriptversion='(GNU libtool) 2.4.7' +scriptversion='(GNU libtool) 2.5.3' # func_echo ARG... @@ -2306,13 +2306,13 @@ include the following information: compiler: $LTCC compiler flags: $LTCFLAGS linker: $LD (gnu? $with_gnu_ld) - version: $progname (GNU libtool) 2.4.7 + version: $progname (GNU libtool) 2.5.3 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` Report bugs to . -GNU libtool home page: . -General help using GNU software: ." +GNU libtool home page: . +General help using GNU software: ." exit 0 } @@ -2668,10 +2668,10 @@ libtool_validate_options () # preserve --debug test : = "$debug_cmd" || func_append preserve_args " --debug" - case $host in + case $host_os in # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452 # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788 - *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*) + cygwin* | mingw* | windows* | pw32* | cegcc* | solaris2* | os2*) # don't eliminate duplications in $postdeps and $predeps opt_duplicate_compiler_generated_deps=: ;; @@ -3003,7 +3003,7 @@ EOF # func_convert_core_file_wine_to_w32 ARG # Helper function used by file name conversion functions when $build is *nix, -# and $host is mingw, cygwin, or some other w32 environment. Relies on a +# and $host is mingw, windows, cygwin, or some other w32 environment. Relies on a # correctly configured wine environment available, with the winepath program # in $build's $PATH. # @@ -3035,9 +3035,10 @@ func_convert_core_file_wine_to_w32 () # func_convert_core_path_wine_to_w32 ARG # Helper function used by path conversion functions when $build is *nix, and -# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly -# configured wine environment available, with the winepath program in $build's -# $PATH. Assumes ARG has no leading or trailing path separator characters. +# $host is mingw, windows, cygwin, or some other w32 environment. Relies on a +# correctly configured wine environment available, with the winepath program +# in $build's $PATH. Assumes ARG has no leading or trailing path separator +# characters. # # ARG is path to be converted from $build format to win32. # Result is available in $func_convert_core_path_wine_to_w32_result. @@ -3692,7 +3693,7 @@ func_mode_compile () # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in - cygwin* | mingw* | pw32* | os2* | cegcc*) + cygwin* | mingw* | windows* | pw32* | os2* | cegcc*) pic_mode=default ;; esac @@ -4569,7 +4570,7 @@ func_mode_install () 'exit $?' tstripme=$stripme case $host_os in - cygwin* | mingw* | pw32* | cegcc*) + cygwin* | mingw* | windows* | pw32* | cegcc*) case $realname in *.dll.a) tstripme= @@ -4682,7 +4683,7 @@ func_mode_install () # Do a test to see if this is really a libtool program. case $host in - *cygwin* | *mingw*) + *cygwin* | *mingw* | *windows*) if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" wrapper=$func_ltwrapper_scriptname_result @@ -4910,7 +4911,7 @@ extern \"C\" { $RM $export_symbols eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in - *cygwin* | *mingw* | *cegcc* ) + *cygwin* | *mingw* | *windows* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; @@ -4922,7 +4923,7 @@ extern \"C\" { eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' case $host in - *cygwin* | *mingw* | *cegcc* ) + *cygwin* | *mingw* | *windows* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; @@ -4936,7 +4937,7 @@ extern \"C\" { func_basename "$dlprefile" name=$func_basename_result case $host in - *cygwin* | *mingw* | *cegcc* ) + *cygwin* | *mingw* | *windows* | *cegcc* ) # if an import library, we need to obtain dlname if func_win32_import_lib_p "$dlprefile"; then func_tr_sh "$dlprefile" @@ -4962,8 +4963,16 @@ extern \"C\" { eval '$ECHO ": $name " >> "$nlist"' fi func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 - eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | - $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" + case $host in + i[3456]86-*-mingw32*) + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | + $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" + ;; + *) + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | + $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/__nm_//' >> '$nlist'" + ;; + esac } else # not an import lib $opt_dry_run || { @@ -5111,7 +5120,7 @@ static const void *lt_preloaded_setup() { # Transform the symbol file into the correct name. symfileobj=$output_objdir/${my_outputname}S.$objext case $host in - *cygwin* | *mingw* | *cegcc* ) + *cygwin* | *mingw* | *windows* | *cegcc* ) if test -f "$output_objdir/$my_outputname.def"; then compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` @@ -5187,7 +5196,7 @@ func_win32_libid () *ar\ archive*) # could be an import, or static # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | - $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)' >/dev/null; then case $nm_interface in "MS dumpbin") if func_cygming_ms_implib_p "$1" || @@ -5454,7 +5463,7 @@ func_extract_archives () # # Emit a libtool wrapper script on stdout. # Don't directly open a file because we may want to -# incorporate the script contents within a cygwin/mingw +# incorporate the script contents within a cygwin/mingw/windows # wrapper executable. Must ONLY be called from within # func_mode_link because it depends on a number of variables # set therein. @@ -5462,7 +5471,7 @@ func_extract_archives () # ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR # variable will take. If 'yes', then the emitted script # will assume that the directory where it is stored is -# the $objdir directory. This is a cygwin/mingw-specific +# the $objdir directory. This is a cygwin/mingw/windows-specific # behavior. func_emit_wrapper () { @@ -5587,7 +5596,7 @@ func_exec_program_core () " case $host in # Backslashes separate directories on plain windows - *-*-mingw | *-*-os2* | *-cegcc*) + *-*-mingw* | *-*-windows* | *-*-os2* | *-cegcc*) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2 @@ -5655,7 +5664,7 @@ func_exec_program () file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` done - # Usually 'no', except on cygwin/mingw when embedded into + # Usually 'no', except on cygwin/mingw/windows when embedded into # the cwrapper. WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then @@ -5787,7 +5796,7 @@ EOF #endif #include #include -#ifdef _MSC_VER +#if defined _WIN32 && !defined __GNUC__ # include # include # include @@ -5812,7 +5821,7 @@ EOF /* declarations of non-ANSI functions */ #if defined __MINGW32__ # ifdef __STRICT_ANSI__ -int _putenv (const char *); +_CRTIMP int __cdecl _putenv (const char *); # endif #elif defined __CYGWIN__ # ifdef __STRICT_ANSI__ @@ -6010,7 +6019,7 @@ main (int argc, char *argv[]) { EOF case $host in - *mingw* | *cygwin* ) + *mingw* | *windows* | *cygwin* ) # make stdout use "unix" line endings echo " setmode(1,_O_BINARY);" ;; @@ -6029,7 +6038,7 @@ EOF { /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX namespace, but it is not one of the ones we know about and - have already dealt with, above (inluding dump-script), then + have already dealt with, above (including dump-script), then report an error. Otherwise, targets might begin to believe they are allowed to use options in the LTWRAPPER_OPTION_PREFIX namespace. The first time any user complains about this, we'll @@ -6113,7 +6122,7 @@ EOF EOF case $host_os in - mingw*) + mingw* | windows*) cat <<"EOF" { char* p; @@ -6155,7 +6164,7 @@ EOF EOF case $host_os in - mingw*) + mingw* | windows*) cat <<"EOF" /* execv doesn't actually work on mingw as expected on unix */ newargz = prepare_spawn (newargz); @@ -6574,7 +6583,7 @@ lt_update_lib_path (const char *name, const char *value) EOF case $host_os in - mingw*) + mingw* | windows*) cat <<"EOF" /* Prepares an argument vector before calling spawn(). @@ -6749,7 +6758,7 @@ func_mode_link () $debug_cmd case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-os2* | *-cegcc*) # It is impossible to link a dll without this setting, and # we shouldn't force the makefile maintainer to figure out # what system we are compiling for in order to pass an extra @@ -6813,10 +6822,12 @@ func_mode_link () xrpath= perm_rpath= temp_rpath= + temp_rpath_tail= thread_safe=no vinfo= vinfo_number=no weak_libs= + rpath_arg= single_module=$wl-single_module func_infer_tag $base_compile @@ -7079,7 +7090,7 @@ func_mode_link () case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) - func_fatal_error "only absolute run-paths are allowed" + func_fatal_error "argument to -rpath is not absolute: $arg" ;; esac if test rpath = "$prev"; then @@ -7255,7 +7266,7 @@ func_mode_link () ;; esac case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; @@ -7275,7 +7286,7 @@ func_mode_link () -l*) if test X-lc = "X$arg" || test X-lm = "X$arg"; then case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) + *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) # These systems don't actually have a C or math library (as such) continue ;; @@ -7283,7 +7294,7 @@ func_mode_link () # These systems don't actually have a C library (as such) test X-lc = "X$arg" && continue ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*) + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-midnightbsd*) # Do not include libc due to us having libc/libc_r. test X-lc = "X$arg" && continue ;; @@ -7303,7 +7314,7 @@ func_mode_link () esac elif test X-lc_r = "X$arg"; then case $host in - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*) + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-midnightbsd*) # Do not include libc_r directly, use -pthread flag. continue ;; @@ -7347,7 +7358,7 @@ func_mode_link () continue ;; -mt|-mthreads|-kthread|-Kthread|-pthreads|--thread-safe \ - |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + |-threads|-fopenmp|-fopenmp=*|-openmp|-mp|-xopenmp|-omp|-qsmp=*) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" @@ -7370,7 +7381,7 @@ func_mode_link () -no-install) case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) + *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) # The PATH hackery in wrapper scripts is required on Windows # and Darwin in order for the loader to find any dlls it needs. func_warning "'-no-install' is ignored for $host" @@ -7430,7 +7441,7 @@ func_mode_link () dir=$lt_sysroot$func_stripname_result ;; *) - func_fatal_error "only absolute run-paths are allowed" + func_fatal_error "argument ($arg) to '-R' is not an absolute path: $dir" ;; esac case "$xrpath " in @@ -7555,13 +7566,29 @@ func_mode_link () # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization # -specs=* GCC specs files # -stdlib=* select c++ std lib with clang + # -fdiagnostics-color* simply affects output + # -frecord-gcc-switches used to verify flags were respected # -fsanitize=* Clang/GCC memory and address sanitizer + # -fno-sanitize* Clang/GCC memory and address sanitizer + # -shared-libsan Link with shared sanitizer runtimes (Clang) + # -static-libsan Link with static sanitizer runtimes (Clang) + # -no-canonical-prefixes Do not expand any symbolic links # -fuse-ld=* Linker select flags for GCC + # -static-* direct GCC to link specific libraries statically + # -fcilkplus Cilk Plus language extension features for C/C++ + # -rtlib=* select c runtime lib with clang + # --unwindlib=* select unwinder library with clang + # -f{file|debug|macro|profile}-prefix-map=* needed for lto linking # -Wa,* Pass flags directly to the assembler + # -Werror, -Werror=* Report (specified) warnings as errors -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ - -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ - -specs=*|-fsanitize=*|-fuse-ld=*|-Wa,*) + -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-no-canonical-prefixes| \ + -stdlib=*|-rtlib=*|--unwindlib=*| \ + -specs=*|-fsanitize=*|-fno-sanitize*|-shared-libsan|-static-libsan| \ + -ffile-prefix-map=*|-fdebug-prefix-map=*|-fmacro-prefix-map=*|-fprofile-prefix-map=*| \ + -fdiagnostics-color*|-frecord-gcc-switches| \ + -fuse-ld=*|-static-*|-fcilkplus|-Wa,*|-Werror|-Werror=*) func_quote_arg pretty "$arg" arg=$func_quote_arg_result func_append compile_command " $arg" @@ -7719,8 +7746,20 @@ func_mode_link () # Now actually substitute the argument into the commands. if test -n "$arg"; then - func_append compile_command " $arg" - func_append finalize_command " $arg" + if test -n "$rpath_arg"; then + func_append finalize_rpath " ${arg##*,}" + unset rpath_arg + else + case $arg in + -Wl,-rpath,*) + func_append finalize_rpath " ${arg##*,}";; + -Wl,-rpath) + rpath_arg=1;; + *) + func_append compile_command " $arg" + func_append finalize_command " $arg" + esac + fi fi done # argument parsing loop @@ -7891,7 +7930,7 @@ func_mode_link () found=false case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ - |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + |-threads|-fopenmp|-fopenmp=*|-openmp|-mp|-xopenmp|-omp|-qsmp=*) if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" @@ -8068,18 +8107,15 @@ func_mode_link () ;; esac if $valid_a_lib; then - echo - $ECHO "*** Warning: Linking the shared library $output against the" - $ECHO "*** static library $deplib is not portable!" + func_warning "Linking the shared library $output against the static library $deplib is not portable!" deplibs="$deplib $deplibs" else - echo - $ECHO "*** Warning: Trying to link with static lib archive $deplib." - echo "*** I have the capability to make that library automatically link in when" - echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have" - echo "*** because the file extensions .$libext of this argument makes me believe" - echo "*** that it is just a static archive that I should not use here." + func_warning "Trying to link with static lib archive $deplib." + func_warning "I have the capability to make that library automatically link in when" + func_warning "you link to this library. But I can only do this if you have a" + func_warning "shared version of the library, which you do not appear to have" + func_warning "because the file extensions .$libext of this argument makes me believe" + func_warning "that it is just a static archive that I should not use here." fi ;; esac @@ -8274,7 +8310,7 @@ func_mode_link () fi case $host in # special handling for platforms with PE-DLLs. - *cygwin* | *mingw* | *cegcc* ) + *cygwin* | *mingw* | *windows* | *cegcc* ) # Linker will automatically link against shared library if both # static and shared are present. Therefore, ensure we extract # symbols from the import library if a shared library is present @@ -8374,7 +8410,10 @@ func_mode_link () # Make sure the rpath contains only unique directories. case $temp_rpath: in *"$absdir:"*) ;; - *) func_append temp_rpath "$absdir:" ;; + *) case $absdir in + "$progdir/"*) func_append temp_rpath "$absdir:" ;; + *) func_append temp_rpath_tail "$absdir:" ;; + esac esac fi @@ -8386,7 +8425,9 @@ func_mode_link () *) case "$compile_rpath " in *" $absdir "*) ;; - *) func_append compile_rpath " $absdir" ;; + *) case $absdir in + "$progdir/"*) func_append compile_rpath " $absdir" ;; + esac esac ;; esac @@ -8417,8 +8458,8 @@ func_mode_link () fi if test -n "$library_names" && { test no = "$use_static_libs" || test -z "$old_library"; }; then - case $host in - *cygwin* | *mingw* | *cegcc* | *os2*) + case $host_os in + cygwin* | mingw* | windows* | cegcc* | os2*) # No point in relinking DLLs because paths are not encoded func_append notinst_deplibs " $lib" need_relink=no @@ -8444,11 +8485,11 @@ func_mode_link () if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then echo if test prog = "$linkmode"; then - $ECHO "*** Warning: Linking the executable $output against the loadable module" + func_warning "Linking the executable $output against the loadable module" else - $ECHO "*** Warning: Linking the shared library $output against the loadable module" + func_warning "Linking the shared library $output against the loadable module" fi - $ECHO "*** $linklib is not portable!" + func_warning "$linklib is not portable!" fi if test lib = "$linkmode" && test yes = "$hardcode_into_libs"; then @@ -8460,7 +8501,9 @@ func_mode_link () *) case "$compile_rpath " in *" $absdir "*) ;; - *) func_append compile_rpath " $absdir" ;; + *) case $absdir in + "$progdir/"*) func_append compile_rpath " $absdir" ;; + esac esac ;; esac @@ -8487,8 +8530,8 @@ func_mode_link () soname=$dlname elif test -n "$soname_spec"; then # bleh windows - case $host in - *cygwin* | mingw* | *cegcc* | *os2*) + case $host_os in + cygwin* | mingw* | windows* | cegcc* | os2*) func_arith $current - $age major=$func_arith_result versuffix=-$major @@ -8543,11 +8586,10 @@ func_mode_link () if /usr/bin/file -L $add 2> /dev/null | $GREP ": [^:]* bundle" >/dev/null; then if test "X$dlopenmodule" != "X$lib"; then - $ECHO "*** Warning: lib $linklib is a module, not a shared library" + func_warning "lib $linklib is a module, not a shared library" if test -z "$old_library"; then - echo - echo "*** And there doesn't seem to be a static archive available" - echo "*** The link will probably fail, sorry" + func_warning "And there doesn't seem to be a static archive available" + func_warning "The link will probably fail, sorry" else add=$dir/$old_library fi @@ -8630,7 +8672,7 @@ func_mode_link () test no = "$hardcode_direct_absolute"; then add=$libdir/$linklib elif test yes = "$hardcode_minus_L"; then - add_dir=-L$libdir + add_dir=-L$lt_sysroot$libdir add=-l$name elif test yes = "$hardcode_shlibpath_var"; then case :$finalize_shlibpath: in @@ -8647,7 +8689,7 @@ func_mode_link () fi else # We cannot seem to hardcode it, guess we'll fake it. - add_dir=-L$libdir + add_dir=-L$lt_sysroot$libdir # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in @@ -8687,21 +8729,19 @@ func_mode_link () # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. - echo - $ECHO "*** Warning: This system cannot link to static lib archive $lib." - echo "*** I have the capability to make that library automatically link in when" - echo "*** you link to this library. But I can only do this if you have a" - echo "*** shared version of the library, which you do not appear to have." + func_warning "This system cannot link to static lib archive $lib." + func_warning "I have the capability to make that library automatically link in when" + func_warning "you link to this library. But I can only do this if you have a" + func_warning "shared version of the library, which you do not appear to have." if test yes = "$module"; then - echo "*** But as you try to build a module library, libtool will still create " - echo "*** a static module, that should work as long as the dlopening application" - echo "*** is linked with the -dlopen flag to resolve symbols at runtime." + func_warning "But as you try to build a module library, libtool will still create " + func_warning "a static module, that should work as long as the dlopening application" + func_warning "is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then - echo - echo "*** However, this would only work if libtool was able to extract symbol" - echo "*** lists from a program, using 'nm' or equivalent, but libtool could" - echo "*** not find such a program. So, this module is probably useless." - echo "*** 'nm' from GNU binutils and a full rebuild may help." + func_warning "However, this would only work if libtool was able to extract symbol" + func_warning "lists from a program, using 'nm' or equivalent, but libtool could" + func_warning "not find such a program. So, this module is probably useless." + func_warning "'nm' from GNU binutils and a full rebuild may help." fi if test no = "$build_old_libs"; then build_libtool_libs=module @@ -8824,6 +8864,8 @@ func_mode_link () fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs + + func_append temp_rpath "$temp_rpath_tail" if test link = "$pass"; then if test prog = "$linkmode"; then compile_deplibs="$new_inherited_linker_flags $compile_deplibs" @@ -8861,42 +8903,46 @@ func_mode_link () # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= + # FIXME: Pedantically, this is the right thing to do, so + # that some nasty dependency loop isn't accidentally + # broken: new_libs="$deplib $new_libs" for deplib in $tmp_libs; do - # FIXME: Pedantically, this is the right thing to do, so - # that some nasty dependency loop isn't accidentally - # broken: - #new_libs="$deplib $new_libs" - # Pragmatically, this seems to cause very few problems in - # practice: - case $deplib in - -L*) new_libs="$deplib $new_libs" ;; - -R*) ;; - *) - # And here is the reason: when a library appears more - # than once as an explicit dependence of a library, or - # is implicitly linked in more than once by the - # compiler, it is considered special, and multiple - # occurrences thereof are not removed. Compare this - # with having the same library being listed as a - # dependency of multiple other libraries: in this case, - # we know (pedantically, we assume) the library does not - # need to be listed more than once, so we keep only the - # last copy. This is not always right, but it is rare - # enough that we require users that really mean to play - # such unportable linking tricks to link the library - # using -Wl,-lname, so that libtool does not consider it - # for duplicate removal. - case " $specialdeplibs " in - *" $deplib "*) new_libs="$deplib $new_libs" ;; + if $opt_preserve_dup_deps; then + new_libs="$deplib $new_libs" + else + # Pragmatically, this seems to cause very few problems in + # practice: + case $deplib in + -L*) new_libs="$deplib $new_libs" ;; + -R*) ;; *) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$deplib $new_libs" ;; - esac - ;; + # And here is the reason: when a library appears more + # than once as an explicit dependence of a library, or + # is implicitly linked in more than once by the + # compiler, it is considered special, and multiple + # occurrences thereof are not removed. Compare this + # with having the same library being listed as a + # dependency of multiple other libraries: in this case, + # we know (pedantically, we assume) the library does not + # need to be listed more than once, so we keep only the + # last copy. This is not always right, but it is rare + # enough that we require users that really mean to play + # such unportable linking tricks to link the library + # using -Wl,-lname, so that libtool does not consider it + # for duplicate removal. And if not possible for portability + # reasons, then --preserve-dup-deps should be used. + case " $specialdeplibs " in + *" $deplib "*) new_libs="$deplib $new_libs" ;; + *) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$deplib $new_libs" ;; + esac + ;; + esac + ;; esac - ;; - esac + fi done tmp_libs= for deplib in $new_libs; do @@ -9028,9 +9074,7 @@ func_mode_link () if test pass_all != "$deplibs_check_method"; then func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs" else - echo - $ECHO "*** Warning: Linking the shared library $output against the non-libtool" - $ECHO "*** objects $objs is not portable!" + func_warning "Linking the shared library $output against the non-libtool objects $objs is not portable!" func_append libobjs " $objs" fi fi @@ -9091,13 +9135,13 @@ func_mode_link () # case $version_type in # correct linux to gnu/linux during the next big refactor - darwin|freebsd-elf|linux|midnightbsd-elf|osf|windows|none) + darwin|freebsd-elf|linux|midnightbsd-elf|osf|qnx|windows|none) func_arith $number_major + $number_minor current=$func_arith_result age=$number_minor revision=$number_revision ;; - freebsd-aout|qnx|sunos) + freebsd-aout|sco|sunos) current=$number_major revision=$number_minor age=0 @@ -9244,8 +9288,9 @@ func_mode_link () ;; qnx) - major=.$current - versuffix=.$current + func_arith $current - $age + major=.$func_arith_result + versuffix=$major.$age.$revision ;; sco) @@ -9398,7 +9443,7 @@ func_mode_link () if test yes = "$build_libtool_libs"; then if test -n "$rpath"; then case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) + *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) @@ -9449,108 +9494,6 @@ func_mode_link () # implementing what was already the behavior. newdeplibs=$deplibs ;; - test_compile) - # This code stresses the "libraries are programs" paradigm to its - # limits. Maybe even breaks it. We compile a program, linking it - # against the deplibs as a proxy for the library. Then we can check - # whether they linked in statically or dynamically with ldd. - $opt_dry_run || $RM conftest.c - cat > conftest.c <, June 1995 # # This program is free software; you can redistribute it and/or modify @@ -50,11 +50,13 @@ Pretty-print the modification day of FILE, in the format: 1 January 1970 Report bugs to . +GNU Automake home page: . +General help using GNU software: . EOF exit $? ;; -v | --v*) - echo "mdate-sh $scriptversion" + echo "mdate-sh (GNU Automake) $scriptversion" exit $? ;; esac diff --git a/build-aux/missing b/build-aux/missing index 1fe1611f..7e7d78ec 100755 --- a/build-aux/missing +++ b/build-aux/missing @@ -1,9 +1,11 @@ #! /bin/sh -# Common wrapper for a few potentially missing GNU programs. +# Common wrapper for a few potentially missing GNU and other programs. -scriptversion=2018-03-07.03; # UTC +scriptversion=2024-06-07.14; # UTC -# Copyright (C) 1996-2021 Free Software Foundation, Inc. +# shellcheck disable=SC2006,SC2268 # we must support pre-POSIX shells + +# Copyright (C) 1996-2024 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify @@ -54,18 +56,20 @@ Options: -v, --version output version information and exit Supported PROGRAM values: - aclocal autoconf autoheader autom4te automake makeinfo - bison yacc flex lex help2man +aclocal autoconf autogen autoheader autom4te automake autoreconf +bison flex help2man lex makeinfo perl yacc Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. -Send bug reports to ." +Report bugs to . +GNU Automake home page: . +General help using GNU software: ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) - echo "missing $scriptversion (GNU Automake)" + echo "missing (GNU Automake) $scriptversion" exit $? ;; @@ -108,7 +112,7 @@ gnu_software_URL=https://www.gnu.org/software program_details () { case $1 in - aclocal|automake) + aclocal|automake|autoreconf) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" @@ -123,6 +127,9 @@ program_details () echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; + *) + : + ;; esac } @@ -137,48 +144,55 @@ give_advice () printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" + autoheader_deps="'acconfig.h'" + automake_deps="'Makefile.am'" + aclocal_deps="'acinclude.m4'" case $normalized_program in + aclocal*) + echo "You should only need it if you modified $aclocal_deps or" + echo "$configure_deps." + ;; autoconf*) - echo "You should only need it if you modified 'configure.ac'," - echo "or m4 files included by it." - program_details 'autoconf' + echo "You should only need it if you modified $configure_deps." + ;; + autogen*) + echo "You should only need it if you modified a '.def' or '.tpl' file." + echo "You may want to install the GNU AutoGen package:" + echo "<$gnu_software_URL/autogen/>" ;; autoheader*) - echo "You should only need it if you modified 'acconfig.h' or" + echo "You should only need it if you modified $autoheader_deps or" echo "$configure_deps." - program_details 'autoheader' ;; automake*) - echo "You should only need it if you modified 'Makefile.am' or" - echo "$configure_deps." - program_details 'automake' - ;; - aclocal*) - echo "You should only need it if you modified 'acinclude.m4' or" + echo "You should only need it if you modified $automake_deps or" echo "$configure_deps." - program_details 'aclocal' ;; - autom4te*) + autom4te*) echo "You might have modified some maintainer files that require" echo "the 'autom4te' program to be rebuilt." - program_details 'autom4te' + ;; + autoreconf*) + echo "You should only need it if you modified $aclocal_deps or" + echo "$automake_deps or $autoheader_deps or $automake_deps or" + echo "$configure_deps." ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; - lex*|flex*) - echo "You should only need it if you modified a '.l' file." - echo "You may want to install the Fast Lexical Analyzer package:" - echo "<$flex_URL>" - ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; + lex*|flex*) + echo "You should only need it if you modified a '.l' file." + echo "You may want to install the Fast Lexical Analyzer package:" + echo "<$flex_URL>" + ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." @@ -189,6 +203,12 @@ give_advice () echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; + perl*) + echo "You should only need it to run GNU Autoconf, GNU Automake, " + echo " assorted other tools, or if you modified a Perl source file." + echo "You may want to install the Perl 5 language interpreter:" + echo "<$perl_URL>" + ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" @@ -197,6 +217,7 @@ give_advice () echo "case some other package contains this missing '$1' program." ;; esac + program_details "$normalized_program" } give_advice "$1" | sed -e '1s/^/WARNING: /' \ diff --git a/build-aux/run-test b/build-aux/run-test index 56d4a3a4..94ef7fd9 100755 --- a/build-aux/run-test +++ b/build-aux/run-test @@ -39,7 +39,7 @@ configured with wrapper scripts, and CFLAGS=\"-g\" so that valgrind shows line numbers. -Report bugs to Bruno Haible." +Send patches and bug reports to ." } # func_version @@ -48,12 +48,12 @@ func_version () { echo "\ run-test (GNU gnulib) -Copyright (C) 2019 Free Software Foundation, Inc. +Copyright (C) 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. -There is NO WARRANTY, to the extent permitted by law. - -Written by" "Bruno Haible" +There is NO WARRANTY, to the extent permitted by law." + echo + printf 'Written by %s.\n' "Bruno Haible" } # func_fatal_error message diff --git a/build-aux/test-driver b/build-aux/test-driver index 8b6ec6c4..16d153e9 100755 --- a/build-aux/test-driver +++ b/build-aux/test-driver @@ -1,9 +1,9 @@ #! /bin/sh # test-driver - basic testsuite driver script. -scriptversion=2018-03-07.03; # UTC +scriptversion=2024-06-19.01; # UTC -# Copyright (C) 2011-2021 Free Software Foundation, Inc. +# Copyright (C) 2011-2024 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -44,11 +44,16 @@ print_usage () Usage: test-driver --test-name NAME --log-file PATH --trs-file PATH [--expect-failure {yes|no}] [--color-tests {yes|no}] + [--collect-skipped-logs {yes|no}] [--enable-hard-errors {yes|no}] [--] TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS] The '--test-name', '--log-file' and '--trs-file' options are mandatory. See the GNU Automake documentation for information. + +Report bugs to . +GNU Automake home page: . +General help using GNU software: . END } @@ -57,15 +62,17 @@ log_file= # Where to save the output of the test script. trs_file= # Where to save the metadata of the test run. expect_failure=no color_tests=no +collect_skipped_logs=yes enable_hard_errors=yes while test $# -gt 0; do case $1 in --help) print_usage; exit $?;; - --version) echo "test-driver $scriptversion"; exit $?;; + --version) echo "test-driver (GNU Automake) $scriptversion"; exit $?;; --test-name) test_name=$2; shift;; --log-file) log_file=$2; shift;; --trs-file) trs_file=$2; shift;; --color-tests) color_tests=$2; shift;; + --collect-skipped-logs) collect_skipped_logs=$2; shift;; --expect-failure) expect_failure=$2; shift;; --enable-hard-errors) enable_hard_errors=$2; shift;; --) shift; break;; @@ -124,7 +131,7 @@ fi case $tweaked_estatus:$expect_failure in 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; 0:*) col=$grn res=PASS recheck=no gcopy=no;; - 77:*) col=$blu res=SKIP recheck=no gcopy=yes;; + 77:*) col=$blu res=SKIP recheck=no gcopy=$collect_skipped_logs;; 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;; *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;; *:*) col=$red res=FAIL recheck=yes gcopy=yes;; diff --git a/build-aux/texi2html b/build-aux/texi2html index 618274ef..bfad7a1c 100755 --- a/build-aux/texi2html +++ b/build-aux/texi2html @@ -10,10 +10,10 @@ # Adrian Aichner , # & others. # -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 2 of the License, +# or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -21,9 +21,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA +# along with this program. If not, see . # #-############################################################################## # The man page for this program is included at the end of this file and can be diff --git a/config.h.in b/config.h.in index 61d44652..43513c8d 100644 --- a/config.h.in +++ b/config.h.in @@ -48,9 +48,22 @@ /* Define as the word index where to find the sign of 'double'. */ #undef DBL_SIGNBIT_WORD +/* the name of the file descriptor member of DIR */ +#undef DIR_FD_MEMBER_NAME + +#ifdef DIR_FD_MEMBER_NAME +# define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME) +#else +# define DIR_TO_FD(Dir_p) -1 +#endif + + /* Define to 1 if // is a file system root distinct from /. */ #undef DOUBLE_SLASH_IS_DISTINCT_ROOT +/* Define if struct dirent has a member d_ino that actually works. */ +#undef D_INO_IN_DIRENT + /* Define to 1 if the package shall run at any location in the file system. */ #undef ENABLE_RELOCATABLE @@ -81,22 +94,74 @@ declaration of the second argument to gettimeofday. */ #undef GETTIMEOFDAY_TIMEZONE +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module accept shall be considered present. */ +#undef GNULIB_ACCEPT + +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module bind shall be considered present. */ +#undef GNULIB_BIND + +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module close shall be considered present. */ +#undef GNULIB_CLOSE + +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module connect shall be considered present. */ +#undef GNULIB_CONNECT + +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module fdopendir shall be considered present. */ +#undef GNULIB_FDOPENDIR + +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module fd-safer-flag shall be considered present. */ +#undef GNULIB_FD_SAFER_FLAG + /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module fscanf shall be considered present. */ #undef GNULIB_FSCANF +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module fstat shall be considered present. */ +#undef GNULIB_FSTAT + +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module fstatat shall be considered present. */ +#undef GNULIB_FSTATAT + +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module getcwd shall be considered present. */ +#undef GNULIB_GETCWD + +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module ioctl shall be considered present. */ +#undef GNULIB_IOCTL + /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module isblank shall be considered present. */ #undef GNULIB_ISBLANK +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module listen shall be considered present. */ +#undef GNULIB_LISTEN + /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module lock shall be considered present. */ #undef GNULIB_LOCK +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module lstat shall be considered present. */ +#undef GNULIB_LSTAT + /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module msvc-nothrow shall be considered present. */ #undef GNULIB_MSVC_NOTHROW +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module openat shall be considered present. */ +#undef GNULIB_OPENAT + /* Define to 1 if printf and friends should be labeled with attribute "__gnu_printf__" instead of "__printf__" */ #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU @@ -109,6 +174,22 @@ whether the gnulib module scanf shall be considered present. */ #undef GNULIB_SCANF +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module select shall be considered present. */ +#undef GNULIB_SELECT + +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module setsockopt shall be considered present. */ +#undef GNULIB_SETSOCKOPT + +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module socket shall be considered present. */ +#undef GNULIB_SOCKET + +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module stat shall be considered present. */ +#undef GNULIB_STAT + /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module strerror shall be considered present. */ #undef GNULIB_STRERROR @@ -183,27 +264,45 @@ /* Define to 1 when the gnulib module calloc-posix should be tested. */ #undef GNULIB_TEST_CALLOC_POSIX +/* Define to 1 when the gnulib module chdir should be tested. */ +#undef GNULIB_TEST_CHDIR + /* Define to 1 when the gnulib module cloexec should be tested. */ #undef GNULIB_TEST_CLOEXEC /* Define to 1 when the gnulib module close should be tested. */ #undef GNULIB_TEST_CLOSE +/* Define to 1 when the gnulib module closedir should be tested. */ +#undef GNULIB_TEST_CLOSEDIR + /* Define to 1 when the gnulib module connect should be tested. */ #undef GNULIB_TEST_CONNECT +/* Define to 1 when the gnulib module dirfd should be tested. */ +#undef GNULIB_TEST_DIRFD + +/* Define to 1 when the gnulib module dup should be tested. */ +#undef GNULIB_TEST_DUP + /* Define to 1 when the gnulib module dup2 should be tested. */ #undef GNULIB_TEST_DUP2 /* Define to 1 when the gnulib module environ should be tested. */ #undef GNULIB_TEST_ENVIRON +/* Define to 1 when the gnulib module fchdir should be tested. */ +#undef GNULIB_TEST_FCHDIR + /* Define to 1 when the gnulib module fcntl should be tested. */ #undef GNULIB_TEST_FCNTL /* Define to 1 when the gnulib module fdopen should be tested. */ #undef GNULIB_TEST_FDOPEN +/* Define to 1 when the gnulib module fdopendir should be tested. */ +#undef GNULIB_TEST_FDOPENDIR + /* Define to 1 when the gnulib module fgetc should be tested. */ #undef GNULIB_TEST_FGETC @@ -237,6 +336,9 @@ /* Define to 1 when the gnulib module fstat should be tested. */ #undef GNULIB_TEST_FSTAT +/* Define to 1 when the gnulib module fstatat should be tested. */ +#undef GNULIB_TEST_FSTATAT + /* Define to 1 when the gnulib module ftruncate should be tested. */ #undef GNULIB_TEST_FTRUNCATE @@ -255,9 +357,6 @@ /* Define to 1 when the gnulib module getdtablesize should be tested. */ #undef GNULIB_TEST_GETDTABLESIZE -/* Define to 1 when the gnulib module getpagesize should be tested. */ -#undef GNULIB_TEST_GETPAGESIZE - /* Define to 1 when the gnulib module getprogname should be tested. */ #undef GNULIB_TEST_GETPROGNAME @@ -315,12 +414,24 @@ /* Define to 1 when the gnulib module memchr should be tested. */ #undef GNULIB_TEST_MEMCHR +/* Define to 1 when the gnulib module mempcpy should be tested. */ +#undef GNULIB_TEST_MEMPCPY + +/* Define to 1 when the gnulib module memrchr should be tested. */ +#undef GNULIB_TEST_MEMRCHR + /* Define to 1 when the gnulib module nanosleep should be tested. */ #undef GNULIB_TEST_NANOSLEEP /* Define to 1 when the gnulib module open should be tested. */ #undef GNULIB_TEST_OPEN +/* Define to 1 when the gnulib module openat should be tested. */ +#undef GNULIB_TEST_OPENAT + +/* Define to 1 when the gnulib module opendir should be tested. */ +#undef GNULIB_TEST_OPENDIR + /* Define to 1 when the gnulib module perror should be tested. */ #undef GNULIB_TEST_PERROR @@ -333,6 +444,22 @@ /* Define to 1 when the gnulib module pselect should be tested. */ #undef GNULIB_TEST_PSELECT +/* Define to 1 when the gnulib module pthread-cond should be tested. */ +#undef GNULIB_TEST_PTHREAD_COND + +/* Define to 1 when the gnulib module pthread-mutex should be tested. */ +#undef GNULIB_TEST_PTHREAD_MUTEX + +/* Define to 1 when the gnulib module pthread_mutex_timedlock should be + tested. */ +#undef GNULIB_TEST_PTHREAD_MUTEX_TIMEDLOCK + +/* Define to 1 when the gnulib module pthread-once should be tested. */ +#undef GNULIB_TEST_PTHREAD_ONCE + +/* Define to 1 when the gnulib module pthread-rwlock should be tested. */ +#undef GNULIB_TEST_PTHREAD_RWLOCK + /* Define to 1 when the gnulib module pthread_sigmask should be tested. */ #undef GNULIB_TEST_PTHREAD_SIGMASK @@ -360,6 +487,9 @@ /* Define to 1 when the gnulib module random_r should be tested. */ #undef GNULIB_TEST_RANDOM_R +/* Define to 1 when the gnulib module readdir should be tested. */ +#undef GNULIB_TEST_READDIR + /* Define to 1 when the gnulib module reallocarray should be tested. */ #undef GNULIB_TEST_REALLOCARRAY @@ -369,6 +499,9 @@ /* Define to 1 when the gnulib module realloc-posix should be tested. */ #undef GNULIB_TEST_REALLOC_POSIX +/* Define to 1 when the gnulib module rewinddir should be tested. */ +#undef GNULIB_TEST_REWINDDIR + /* Define to 1 when the gnulib module scanf should be tested. */ #undef GNULIB_TEST_SCANF @@ -405,6 +538,12 @@ /* Define to 1 when the gnulib module stat should be tested. */ #undef GNULIB_TEST_STAT +/* Define to 1 when the gnulib module stpcpy should be tested. */ +#undef GNULIB_TEST_STPCPY + +/* Define to 1 when the gnulib module strdup should be tested. */ +#undef GNULIB_TEST_STRDUP + /* Define to 1 when the gnulib module strerror should be tested. */ #undef GNULIB_TEST_STRERROR @@ -575,6 +714,9 @@ whether the gnulib module xalloc-die shall be considered present. */ #undef GNULIB_XALLOC_DIE +/* Define to 1 if you have the header file. */ +#undef HAVE_AFUNIX_H + /* Define if the __locale_t type contains the name of the LC_MESSAGES category. */ #undef HAVE_AIX72_LOCALES @@ -609,6 +751,9 @@ the CoreFoundation framework. */ #undef HAVE_CFPREFERENCESCOPYAPPVALUE +/* Define to 1 if you have the 'closedir' function. */ +#undef HAVE_CLOSEDIR + /* Define if the copysignf function is declared in and available in libc. */ #undef HAVE_COPYSIGNF_IN_LIBC @@ -652,6 +797,10 @@ don't. */ #undef HAVE_DECL_COPYSIGNL +/* Define to 1 if you have the declaration of 'dirfd', and to 0 if you don't. + */ +#undef HAVE_DECL_DIRFD + /* Define to 1 if you have the declaration of 'ecvt', and to 0 if you don't. */ #undef HAVE_DECL_ECVT @@ -660,6 +809,10 @@ don't. */ #undef HAVE_DECL_EXECVPE +/* Define to 1 if you have the declaration of 'fchdir', and to 0 if you don't. + */ +#undef HAVE_DECL_FCHDIR + /* Define to 1 if you have the declaration of 'fcloseall', and to 0 if you don't. */ #undef HAVE_DECL_FCLOSEALL @@ -668,10 +821,18 @@ */ #undef HAVE_DECL_FCVT +/* Define to 1 if you have the declaration of 'fdopendir', and to 0 if you + don't. */ +#undef HAVE_DECL_FDOPENDIR + /* Define to 1 if you have the declaration of 'gcvt', and to 0 if you don't. */ #undef HAVE_DECL_GCVT +/* Define to 1 if you have the declaration of 'getcwd', and to 0 if you don't. + */ +#undef HAVE_DECL_GETCWD + /* Define to 1 if you have the declaration of 'getdtablesize', and to 0 if you don't. */ #undef HAVE_DECL_GETDTABLESIZE @@ -700,6 +861,10 @@ don't. */ #undef HAVE_DECL_MBSINIT +/* Define to 1 if you have the declaration of 'memrchr', and to 0 if you + don't. */ +#undef HAVE_DECL_MEMRCHR + /* Define to 1 if you have the declaration of 'program_invocation_name', and to 0 if you don't. */ #undef HAVE_DECL_PROGRAM_INVOCATION_NAME @@ -724,6 +889,10 @@ */ #undef HAVE_DECL_SLEEP +/* Define to 1 if you have the declaration of 'strdup', and to 0 if you don't. + */ +#undef HAVE_DECL_STRDUP + /* Define to 1 if you have the declaration of 'strerror_r', and to 0 if you don't. */ #undef HAVE_DECL_STRERROR_R @@ -764,6 +933,12 @@ */ #undef HAVE_DECL___ARGV +/* Define to 1 if you have the header file. */ +#undef HAVE_DIRENT_H + +/* Define to 1 if you have the 'dirfd' function. */ +#undef HAVE_DIRFD + /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H @@ -783,9 +958,15 @@ OpenBSD. */ #undef HAVE_FAKE_LOCALES +/* Define to 1 if you have the 'fchdir' function. */ +#undef HAVE_FCHDIR + /* Define to 1 if you have the 'fcntl' function. */ #undef HAVE_FCNTL +/* Define to 1 if you have the 'fdopendir' function. */ +#undef HAVE_FDOPENDIR + /* Define to 1 if you have the header file. */ #undef HAVE_FEATURES_H @@ -801,9 +982,16 @@ /* Define if the frexp function is available in libc. */ #undef HAVE_FREXP_IN_LIBC +/* Define to 1 if you have the 'fstatat' function. */ +#undef HAVE_FSTATAT + /* Define to 1 if you have the `ftruncate' function. */ #undef HAVE_FTRUNCATE +/* Define to 1 if getcwd works, but with shorter paths than is generally + tested with the replacement. */ +#undef HAVE_GETCWD_SHORTER + /* Define to 1 if you have the 'getdtablesize' function. */ #undef HAVE_GETDTABLESIZE @@ -923,6 +1111,16 @@ /* Define to 1 if you have the `mbtowc' function. */ #undef HAVE_MBTOWC +/* Define to 1 if you have the `mempcpy' function. */ +#undef HAVE_MEMPCPY + +/* Define to 1 if you have the 'memrchr' function. */ +#undef HAVE_MEMRCHR + +/* Define to 1 if getcwd minimally works, that is, its result can be trusted + when it succeeds. */ +#undef HAVE_MINIMALLY_WORKING_GETCWD + /* Define to 1 if you have the header file. */ #undef HAVE_MINIX_CONFIG_H @@ -955,8 +1153,15 @@ /* Define to 1 if you have the `nl_langinfo' function. */ #undef HAVE_NL_LANGINFO -/* Define to 1 if you have the header file. */ -#undef HAVE_OS_H +/* Define to 1 if you have the 'openat' function. */ +#undef HAVE_OPENAT + +/* Define to 1 if you have the 'opendir' function. */ +#undef HAVE_OPENDIR + +/* Define to 1 if getcwd works, except it sometimes fails when it shouldn't, + setting errno to ERANGE, ENAMETOOLONG, or ENOENT. */ +#undef HAVE_PARTLY_WORKING_GETCWD /* Define to 1 if you have the 'pipe' function. */ #undef HAVE_PIPE @@ -1001,9 +1206,15 @@ /* Define to 1 if you have the 'random_r' function. */ #undef HAVE_RANDOM_R +/* Define to 1 if you have the 'readdir' function. */ +#undef HAVE_READDIR + /* Define to 1 if you have the `reallocarray' function. */ #undef HAVE_REALLOCARRAY +/* Define to 1 if you have the 'rewinddir' function. */ +#undef HAVE_REWINDDIR + /* Define to 1 if 'long double' and 'double' have the same representation. */ #undef HAVE_SAME_LONG_DOUBLE_AS_DOUBLE @@ -1137,9 +1348,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_BITYPES_H -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_CDEFS_H - /* Define to 1 if you have the header file. */ #undef HAVE_SYS_INTTYPES_H @@ -1173,6 +1381,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_UIO_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_UN_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_WAIT_H @@ -1194,6 +1405,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if defines AF_UNIX. */ +#undef HAVE_UNIXSOCKET + /* Define to 1 if you have the 'unsetenv' function. */ #undef HAVE_UNSETENV @@ -1216,9 +1430,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WCHAR_H -/* Define if you have the 'wchar_t' type. */ -#undef HAVE_WCHAR_T - /* Define to 1 if you have the 'wcrtomb' function. */ #undef HAVE_WCRTOMB @@ -1244,6 +1455,13 @@ /* Define if you have the 'wint_t' type. */ #undef HAVE_WINT_T +/* Define if the c32rtomb function basically works. */ +#undef HAVE_WORKING_C32RTOMB + +/* Define to 1 if fstatat (..., 0) works. For example, it does not work in AIX + 7.1. */ +#undef HAVE_WORKING_FSTATAT_ZERO_FLAG + /* Define if the mbrtoc32 function basically works. */ #undef HAVE_WORKING_MBRTOC32 @@ -1445,6 +1663,10 @@ */ #undef MBRTOC32_IN_C_LOCALE_MAYBE_EILSEQ +/* Define if the mbrtoc32 function does not accept the input bytes one-by-one. + */ +#undef MBRTOC32_MULTIBYTE_LOCALE_BUG + /* Define if the mbrtowc function does not return (size_t) -2 for empty input. */ #undef MBRTOWC_EMPTY_INPUT_BUG @@ -1590,6 +1812,19 @@ /* Define if the pthread_in_use() detection is hard. */ #undef PTHREAD_IN_USE_DETECTION_HARD +/* Define if the 'robust' attribute of pthread_mutex* doesn't exist. */ +#undef PTHREAD_MUTEXATTR_ROBUST_UNIMPLEMENTED + +/* Define if the pthread_rwlock wait queue handling is not reasonable. */ +#undef PTHREAD_RWLOCK_BAD_WAITQUEUE + +/* Define if the functions pthread_rwlock_timedrdlock and + pthread_rwlock_timedwrlock don't exist. */ +#undef PTHREAD_RWLOCK_LACKS_TIMEOUT + +/* Define if all pthread_rwlock* functions don't exist. */ +#undef PTHREAD_RWLOCK_UNIMPLEMENTED + /* Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno. */ #undef PTHREAD_SIGMASK_FAILS_WITH_ERRNO @@ -1604,10 +1839,17 @@ 'ptrdiff_t'. */ #undef PTRDIFF_T_SUFFIX +/* Define to 1 if gnulib's fchdir() replacement is used. */ +#undef REPLACE_FCHDIR + /* Define to 1 if stat needs help when passed a file name with a trailing slash */ #undef REPLACE_FUNC_STAT_FILE +/* Define to 1 if open() should work around the inability to open a directory. + */ +#undef REPLACE_OPEN_DIRECTORY + /* Define to 1 if strerror(0) does not return a message implying success. */ #undef REPLACE_STRERROR_0 @@ -1661,6 +1903,13 @@ /* Define if the ISO C multithreading library can be used. */ #undef USE_ISOC_THREADS +/* Define to enable the declarations of ISO C 23 Annex K types and functions. */ +#if !(defined __STDC_WANT_LIB_EXT1__ && __STDC_WANT_LIB_EXT1__) +#undef/**/__STDC_WANT_LIB_EXT1__ +#define __STDC_WANT_LIB_EXT1__ 1 +#endif + + /* Define if the POSIX multithreading library can be used. */ #undef USE_POSIX_THREADS @@ -1808,10 +2057,22 @@ /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS -/* True if the compiler says it groks GNU C version MAJOR.MINOR. */ -#if defined __GNUC__ && defined __GNUC_MINOR__ +/* True if the compiler says it groks GNU C version MAJOR.MINOR. + Except that + - clang groks GNU C 4.2, even on Windows, where it does not define + __GNUC__. + - The OpenMandriva-modified clang compiler pretends that it groks + GNU C version 13.1, but it doesn't: It does not support + __attribute__ ((__malloc__ (f, i))), nor does it support + __attribute__ ((__warning__ (message))) on a function redeclaration. + - Users can make clang lie as well, through the -fgnuc-version option. */ +#if defined __GNUC__ && defined __GNUC_MINOR__ && !defined __clang__ # define _GL_GNUC_PREREQ(major, minor) \ ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__)) +#elif defined __clang__ + /* clang really only groks GNU C 4.2. */ +# define _GL_GNUC_PREREQ(major, minor) \ + ((major) < 4 + ((minor) <= 2)) #else # define _GL_GNUC_PREREQ(major, minor) 0 #endif @@ -1826,6 +2087,9 @@ /* Define to 1 on Solaris. */ #undef _LCONV_C99 +/* Define so that AIX headers are more compatible with GNU/Linux. */ +#undef _LINUX_SOURCE_COMPAT + /* The _Noreturn keyword of C11. */ #ifndef _Noreturn # if (defined __cplusplus \ @@ -1950,8 +2214,10 @@ # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3) # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7) # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96) +# define _GL_ATTR_reproducible 0 /* not yet supported, as of GCC 14 */ # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9) # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0) +# define _GL_ATTR_unsequenced 0 /* not yet supported, as of GCC 14 */ # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7) # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4) # endif @@ -1967,6 +2233,23 @@ # define _GL_HAVE___HAS_C_ATTRIBUTE 0 #endif +/* Attributes in bracket syntax [[...]] vs. attributes in __attribute__((...)) + syntax, in function declarations. There are two problems here. + (Last tested with gcc/g++ 14 and clang/clang++ 18.) + + 1) We want that the _GL_ATTRIBUTE_* can be cumulated on the same declaration + in any order. + =========================== foo.c = foo.cc =========================== + __attribute__ ((__deprecated__)) [[__nodiscard__]] int bar1 (int); + [[__nodiscard__]] __attribute__ ((__deprecated__)) int bar2 (int); + ====================================================================== + This gives a syntax error + - in C mode with gcc + , and + - in C++ mode with clang++ version < 16, and + - in C++ mode, inside extern "C" {}, still in newer clang++ versions + . + */ /* Define if, in a function declaration, the attributes in bracket syntax [[...]] must come before the attributes in __attribute__((...)) syntax. If this is defined, it is best to avoid the bracket syntax, so that the @@ -1981,13 +2264,183 @@ # define _GL_BRACKET_BEFORE_ATTRIBUTE 1 # endif #endif +/* + 2) We want that the _GL_ATTRIBUTE_* can be placed in a declaration + - without 'extern', in C as well as in C++, + - with 'extern', in C, + - with 'extern "C"', in C++ + in the same position. That is, we don't want to be forced to use a + macro which arranges for the attribute to come before 'extern' in + one case and after 'extern' in the other case, because such a macro + would make the source code of .h files pretty ugly. + =========================== foo.c = foo.cc =========================== + #ifdef __cplusplus + # define CC "C" + #else + # define CC + #endif + + #define ND [[__nodiscard__]] + #define WUR __attribute__((__warn_unused_result__)) + + #ifdef __cplusplus + extern "C" { + #endif + // gcc clang g++ clang++ + + ND int foo (int); + int ND foo (int); // warn error warn error + int foo ND (int); + int foo (int) ND; // warn error warn error + + WUR int foo (int); + int WUR foo (int); + int fo1 WUR (int); // error error error error + int foo (int) WUR; + + #ifdef __cplusplus + } + #endif + + // gcc clang g++ clang++ + + ND extern CC int foo (int); // error error + extern CC ND int foo (int); // error error + extern CC int ND foo (int); // warn error warn error + extern CC int foo ND (int); + extern CC int foo (int) ND; // warn error warn error + + WUR extern CC int foo (int); // warn + extern CC WUR int foo (int); + extern CC int WUR foo (int); + extern CC int foo WUR (int); // error error error error + extern CC int foo (int) WUR; + + ND EXTERN_C_FUNC int foo (int); // error error + EXTERN_C_FUNC ND int foo (int); + EXTERN_C_FUNC int ND foo (int); // warn error warn error + EXTERN_C_FUNC int foo ND (int); + EXTERN_C_FUNC int foo (int) ND; // warn error warn error + + WUR EXTERN_C_FUNC int foo (int); // warn + EXTERN_C_FUNC WUR int foo (int); + EXTERN_C_FUNC int WUR foo (int); + EXTERN_C_FUNC int fo2 WUR (int); // error error error error + EXTERN_C_FUNC int foo (int) WUR; + ====================================================================== + So, if we insist on using the 'extern' keyword ('extern CC' idiom): + * If _GL_ATTRIBUTE_* expands to bracket syntax [[...]] + in both C and C++, there is one available position: + - between the function name and the parameter list. + * If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax + in both C and C++, there are several available positions: + - before the return type, + - between return type and function name, + - at the end of the declaration. + * If _GL_ATTRIBUTE_* expands to bracket syntax [[...]] in C and to + __attribute__((...)) syntax in C++, there is no available position: + it would need to come before 'extern' in C but after 'extern "C"' + in C++. + * If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax in C and + to bracket syntax [[...]] in C++, there is one available position: + - before the return type. + Whereas, if we use the 'EXTERN_C_FUNC' idiom, which conditionally + omits the 'extern' keyword: + * If _GL_ATTRIBUTE_* expands to bracket syntax [[...]] + in both C and C++, there are two available positions: + - before the return type, + - between the function name and the parameter list. + * If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax + in both C and C++, there are several available positions: + - before the return type, + - between return type and function name, + - at the end of the declaration. + * If _GL_ATTRIBUTE_* expands to bracket syntax [[...]] in C and to + __attribute__((...)) syntax in C++, there is one available position: + - before the return type. + * If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax in C and + to bracket syntax [[...]] in C++, there is one available position: + - before the return type. + The best choice is therefore to use the 'EXTERN_C_FUNC' idiom and + put the attributes before the return type. This works regardless + to what the _GL_ATTRIBUTE_* macros expand. + */ + +/* Attributes in bracket syntax [[...]] vs. attributes in __attribute__((...)) + syntax, in static/inline function definitions. + + There are similar constraints as for function declarations. However, here, + we cannot omit the storage-class specifier. Therefore, the following rule + applies: + * The macros + _GL_ATTRIBUTE_CONST + _GL_ATTRIBUTE_DEPRECATED + _GL_ATTRIBUTE_MAYBE_UNUSED + _GL_ATTRIBUTE_NODISCARD + _GL_ATTRIBUTE_PURE + _GL_ATTRIBUTE_REPRODUCIBLE + _GL_ATTRIBUTE_UNSEQUENCED + which may expand to bracket syntax [[...]], must come first, before the + storage-class specifier. + * Other _GL_ATTRIBUTE_* macros, that expand to __attribute__((...)) syntax, + are better placed between the storage-class specifier and the return + type. + */ + +/* Attributes in bracket syntax [[...]] vs. attributes in __attribute__((...)) + syntax, in variable declarations. + + At which position can they be placed? + (Last tested with gcc/g++ 14 and clang/clang++ 18.) + + =========================== foo.c = foo.cc =========================== + #ifdef __cplusplus + # define CC "C" + #else + # define CC + #endif + + #define BD [[__deprecated__]] + #define AD __attribute__ ((__deprecated__)) + + // gcc clang g++ clang++ + + BD extern CC int var; // error error + extern CC BD int var; // error error + extern CC int BD var; // warn error warn error + extern CC int var BD; + + AD extern CC int var; // warn + extern CC AD int var; + extern CC int AD var; + extern CC int var AD; + + BD extern CC int z[]; // error error + extern CC BD int z[]; // error error + extern CC int BD z[]; // warn error warn error + extern CC int z1 BD []; + extern CC int z[] BD; // warn error error + + AD extern CC int z[]; // warn + extern CC AD int z[]; + extern CC int AD z[]; + extern CC int z2 AD []; // error error error error + extern CC int z[] AD; + ====================================================================== + + * For non-array variables, the only good position is after the variable name, + that is, at the end of the declaration. + * For array variables, you will need to distinguish C and C++: + - In C, before the 'extern' keyword. + - In C++, between the 'extern "C"' and the variable's type. + */ /* _GL_ATTRIBUTE_ALLOC_SIZE ((N)) declares that the Nth argument of the function is the size of the returned memory block. _GL_ATTRIBUTE_ALLOC_SIZE ((M, N)) declares that the Mth argument multiplied by the Nth argument of the function is the size of the returned memory block. */ -/* Applies to: function, pointer to function, function types. */ +/* Applies to: functions, pointer to functions, function types. */ #ifndef _GL_ATTRIBUTE_ALLOC_SIZE # if _GL_HAS_ATTRIBUTE (alloc_size) # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args)) @@ -1998,7 +2451,7 @@ /* _GL_ATTRIBUTE_ALWAYS_INLINE tells that the compiler should always inline the function and report an error if it cannot do so. */ -/* Applies to: function. */ +/* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_ALWAYS_INLINE # if _GL_HAS_ATTRIBUTE (always_inline) # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__)) @@ -2010,7 +2463,7 @@ /* _GL_ATTRIBUTE_ARTIFICIAL declares that the function is not important to show in stack traces when debugging. The compiler should omit the function from stack traces. */ -/* Applies to: function. */ +/* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_ARTIFICIAL # if _GL_HAS_ATTRIBUTE (artificial) # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__)) @@ -2036,18 +2489,23 @@ # endif #endif -/* _GL_ATTRIBUTE_CONST declares that it is OK for a compiler to omit duplicate - calls to the function with the same arguments. - This attribute is safe for a function that neither depends on nor affects - observable state, and always returns exactly once - e.g., does not loop - forever, and does not call longjmp. - (This attribute is stricter than _GL_ATTRIBUTE_PURE.) */ +/* _GL_ATTRIBUTE_CONST declares: + It is OK for a compiler to move calls to the function and to omit + calls to the function if another call has the same arguments or the + result is not used. + This attribute is safe for a function that neither depends on + nor affects state, and always returns exactly once - + e.g., does not raise an exception, call longjmp, or loop forever. + (This attribute is stricter than _GL_ATTRIBUTE_PURE because the + function cannot observe state. It is stricter than + _GL_ATTRIBUTE_UNSEQUENCED because the function must return exactly + once and cannot depend on state addressed by its arguments.) */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_CONST # if _GL_HAS_ATTRIBUTE (const) # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) # else -# define _GL_ATTRIBUTE_CONST +# define _GL_ATTRIBUTE_CONST _GL_ATTRIBUTE_UNSEQUENCED # endif #endif @@ -2316,7 +2774,7 @@ other attributes. */ #ifndef _GL_ATTRIBUTE_NOTHROW # if defined __cplusplus -# if _GL_GNUC_PREREQ (2, 8) || __clang_major >= 4 +# if _GL_GNUC_PREREQ (2, 8) || __clang_major__ >= 4 # if __cplusplus >= 201103L # define _GL_ATTRIBUTE_NOTHROW noexcept (true) # else @@ -2341,25 +2799,58 @@ /* Applies to: struct members, struct, union, in C++ also: class. */ #ifndef _GL_ATTRIBUTE_PACKED -# if _GL_HAS_ATTRIBUTE (packed) +/* Oracle Studio 12.6 miscompiles code with __attribute__ ((__packed__)) despite + __has_attribute OK. */ +# if _GL_HAS_ATTRIBUTE (packed) && !defined __SUNPRO_C # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__)) # else # define _GL_ATTRIBUTE_PACKED # endif #endif -/* _GL_ATTRIBUTE_PURE declares that It is OK for a compiler to omit duplicate - calls to the function with the same arguments if observable state is not - changed between calls. - This attribute is safe for a function that does not affect - observable state, and always returns exactly once. - (This attribute is looser than _GL_ATTRIBUTE_CONST.) */ +/* _GL_ATTRIBUTE_PURE declares: + It is OK for a compiler to move calls to the function and to omit + calls to the function if another call has the same arguments or the + result is not used, and if observable state is the same. + This attribute is safe for a function that does not affect observable state + and always returns exactly once. + (This attribute is looser than _GL_ATTRIBUTE_CONST because the function + can depend on observable state. It is stricter than + _GL_ATTRIBUTE_REPRODUCIBLE because the function must return exactly + once and cannot affect state addressed by its arguments.) */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_PURE # if _GL_HAS_ATTRIBUTE (pure) # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) # else -# define _GL_ATTRIBUTE_PURE +# define _GL_ATTRIBUTE_PURE _GL_ATTRIBUTE_REPRODUCIBLE +# endif +#endif + +/* _GL_ATTRIBUTE_REPRODUCIBLE declares: + It is OK for a compiler to move calls to the function and to omit duplicate + calls to the function with the same arguments, so long as the state + addressed by its arguments is the same and is updated in time for + the rest of the program. + This attribute is safe for a function that is effectless and idempotent; see + ISO C 23 § 6.7.12.7 for a definition of these terms. + (This attribute is looser than _GL_ATTRIBUTE_UNSEQUENCED because + the function need not be stateless and idempotent. It is looser + than _GL_ATTRIBUTE_PURE because the function need not return + exactly once and can affect state addressed by its arguments.) + See also and + . */ +/* Applies to: functions, pointer to functions, function types. */ +#ifndef _GL_ATTRIBUTE_REPRODUCIBLE +/* This may be revisited when gcc and clang support [[reproducible]] or possibly + __attribute__ ((__reproducible__)). */ +# ifndef _GL_BRACKET_BEFORE_ATTRIBUTE +# if _GL_HAS_ATTRIBUTE (reproducible) +# define _GL_ATTRIBUTE_REPRODUCIBLE [[reproducible]] +# endif +# endif +# ifndef _GL_ATTRIBUTE_REPRODUCIBLE +# define _GL_ATTRIBUTE_REPRODUCIBLE # endif #endif @@ -2387,6 +2878,33 @@ # endif #endif +/* _GL_ATTRIBUTE_UNSEQUENCED declares: + It is OK for a compiler to move calls to the function and to omit duplicate + calls to the function with the same arguments, so long as the state + addressed by its arguments is the same. + This attribute is safe for a function that is effectless, idempotent, + stateless, and independent; see ISO C 23 § 6.7.12.7 for a definition of + these terms. + (This attribute is stricter than _GL_ATTRIBUTE_REPRODUCIBLE because + the function must be stateless and independent. It is looser than + _GL_ATTRIBUTE_CONST because the function need not return exactly + once and can depend on state addressed by its arguments.) + See also and + . */ +/* Applies to: functions, pointer to functions, function types. */ +#ifndef _GL_ATTRIBUTE_UNSEQUENCED +/* This may be revisited when gcc and clang support [[unsequenced]] or possibly + __attribute__ ((__unsequenced__)). */ +# ifndef _GL_BRACKET_BEFORE_ATTRIBUTE +# if _GL_HAS_ATTRIBUTE (unsequenced) +# define _GL_ATTRIBUTE_UNSEQUENCED [[unsequenced]] +# endif +# endif +# ifndef _GL_ATTRIBUTE_UNSEQUENCED +# define _GL_ATTRIBUTE_UNSEQUENCED +# endif +#endif + /* A helper macro. Don't use it directly. */ #ifndef _GL_ATTRIBUTE_UNUSED # if _GL_HAS_ATTRIBUTE (unused) @@ -2411,6 +2929,35 @@ # endif #endif +/* The following attributes enable detection of multithread-safety problems + and resource leaks at compile-time, by clang ≥ 15, when the warning option + -Wthread-safety is enabled. For usage, see + . */ +#ifndef _GL_ATTRIBUTE_CAPABILITY_TYPE +# if __clang_major__ >= 15 +# define _GL_ATTRIBUTE_CAPABILITY_TYPE(concept) \ + __attribute__ ((__capability__ (concept))) +#else +# define _GL_ATTRIBUTE_CAPABILITY_TYPE(concept) +# endif +#endif +#ifndef _GL_ATTRIBUTE_ACQUIRE_CAPABILITY +# if __clang_major__ >= 15 +# define _GL_ATTRIBUTE_ACQUIRE_CAPABILITY(resource) \ + __attribute__ ((__acquire_capability__ (resource))) +# else +# define _GL_ATTRIBUTE_ACQUIRE_CAPABILITY(resource) +# endif +#endif +#ifndef _GL_ATTRIBUTE_RELEASE_CAPABILITY +# if __clang_major__ >= 15 +# define _GL_ATTRIBUTE_RELEASE_CAPABILITY(resource) \ + __attribute__ ((__release_capability__ (resource))) +# else +# define _GL_ATTRIBUTE_RELEASE_CAPABILITY(resource) +# endif +#endif + /* In C++, there is the concept of "language linkage", that encompasses name mangling and function calling conventions. @@ -2535,7 +3082,7 @@ References: ISO C23 (latest free draft - ) + ) sections 6.5.3.4, 6.7.5, 7.15. C++11 (latest free draft ) diff --git a/configure b/configure index 5f268804..54594aba 100755 --- a/configure +++ b/configure @@ -679,8 +679,16 @@ GL_CFLAG_GNULIB_WARNINGS YIELD_LIB GL_COND_OBJ_WINDOWS_TLS_FALSE GL_COND_OBJ_WINDOWS_TLS_TRUE +GL_COND_OBJ_WINDOWS_TIMEDRWLOCK_FALSE +GL_COND_OBJ_WINDOWS_TIMEDRWLOCK_TRUE +GL_COND_OBJ_WINDOWS_TIMEDRECMUTEX_FALSE +GL_COND_OBJ_WINDOWS_TIMEDRECMUTEX_TRUE +GL_COND_OBJ_WINDOWS_TIMEDMUTEX_FALSE +GL_COND_OBJ_WINDOWS_TIMEDMUTEX_TRUE GL_COND_OBJ_WINDOWS_THREAD_FALSE GL_COND_OBJ_WINDOWS_THREAD_TRUE +GL_COND_OBJ_WINDOWS_COND_FALSE +GL_COND_OBJ_WINDOWS_COND_TRUE GL_COND_OBJ_WCTOMB_FALSE GL_COND_OBJ_WCTOMB_TRUE GL_COND_OBJ_WCTOB_FALSE @@ -692,15 +700,42 @@ GL_COND_OBJ_USLEEP_TRUE GL_COND_OBJ_UNSETENV_FALSE GL_COND_OBJ_UNSETENV_TRUE LOCALE_AR -TIME_H_DEFINES_TIME_UTC -UNISTD_H_DEFINES_STRUCT_TIMESPEC -PTHREAD_H_DEFINES_STRUCT_TIMESPEC -SYS_TIME_H_DEFINES_STRUCT_TIMESPEC -TIME_H_DEFINES_STRUCT_TIMESPEC -NEXT_AS_FIRST_DIRECTIVE_TIME_H -NEXT_TIME_H GL_COND_OBJ_TIME_FALSE GL_COND_OBJ_TIME_TRUE +OS_IS_ANDROID_FALSE +OS_IS_ANDROID_TRUE +PLATFORM_IS_MSVC_FALSE +PLATFORM_IS_MSVC_TRUE +PLATFORM_IS_MINGW_FALSE +PLATFORM_IS_MINGW_TRUE +OS_IS_NATIVE_WINDOWS_FALSE +OS_IS_NATIVE_WINDOWS_TRUE +OS_IS_CYGWIN_FALSE +OS_IS_CYGWIN_TRUE +OS_IS_SOLARIS11_FALSE +OS_IS_SOLARIS11_TRUE +OS_IS_AIX_FALSE +OS_IS_AIX_TRUE +OS_IS_OPENBSD_FALSE +OS_IS_OPENBSD_TRUE +OS_IS_NETBSD_FALSE +OS_IS_NETBSD_TRUE +OS_IS_FREEBSD_FALSE +OS_IS_FREEBSD_TRUE +OS_IS_MACOS14_FALSE +OS_IS_MACOS14_TRUE +OS_IS_MACOS13_FALSE +OS_IS_MACOS13_TRUE +OS_IS_MACOS12_FALSE +OS_IS_MACOS12_TRUE +OS_IS_MACOS11_FALSE +OS_IS_MACOS11_TRUE +OS_IS_MACOS_FALSE +OS_IS_MACOS_TRUE +LIBC_IS_MUSL_FALSE +LIBC_IS_MUSL_TRUE +LIBC_IS_GNU_FALSE +LIBC_IS_GNU_TRUE HAVE_SYS_UIO_H NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H NEXT_SYS_UIO_H @@ -713,6 +748,10 @@ GL_COND_OBJ_STRERROR_OVERRIDE_FALSE GL_COND_OBJ_STRERROR_OVERRIDE_TRUE GL_COND_OBJ_STRERROR_FALSE GL_COND_OBJ_STRERROR_TRUE +GL_COND_OBJ_STRDUP_FALSE +GL_COND_OBJ_STRDUP_TRUE +GL_COND_OBJ_STPCPY_FALSE +GL_COND_OBJ_STPCPY_TRUE GL_COND_OBJ_STDIO_WRITE_FALSE GL_COND_OBJ_STDIO_WRITE_TRUE GL_COND_OBJ_STDIO_READ_FALSE @@ -744,16 +783,12 @@ SELECT_LIB LIBSOCKET GL_COND_OBJ_SCHED_YIELD_FALSE GL_COND_OBJ_SCHED_YIELD_TRUE -GL_GNULIB_SCHED_YIELD -HAVE_SYS_CDEFS_H -HAVE_STRUCT_SCHED_PARAM -HAVE_SCHED_H -NEXT_AS_FIRST_DIRECTIVE_SCHED_H -NEXT_SCHED_H -REPLACE_SCHED_YIELD -HAVE_SCHED_YIELD +GL_COND_OBJ_REWINDDIR_FALSE +GL_COND_OBJ_REWINDDIR_TRUE GL_COND_OBJ_REALLOCARRAY_FALSE GL_COND_OBJ_REALLOCARRAY_TRUE +GL_COND_OBJ_READDIR_FALSE +GL_COND_OBJ_READDIR_TRUE GL_COND_OBJ_RANDOM_R_FALSE GL_COND_OBJ_RANDOM_R_TRUE GL_COND_OBJ_RANDOM_FALSE @@ -765,6 +800,7 @@ GL_COND_OBJ_PUTENV_TRUE GL_GNULIB_SIGACTION GL_GNULIB_SIGPROCMASK GL_GNULIB_SIGNAL_H_SIGPIPE +GL_GNULIB_SIG2STR GL_GNULIB_RAISE GL_GNULIB_PTHREAD_SIGMASK GL_COND_OBJ_PTHREAD_SIGMASK_FALSE @@ -776,134 +812,24 @@ REPLACE_PTHREAD_SIGMASK HAVE_SIGHANDLER_T HAVE_TYPE_VOLATILE_SIG_ATOMIC_T HAVE_STRUCT_SIGACTION_SA_SIGACTION +HAVE_STR2SIG HAVE_SIGACTION HAVE_SIGINFO_T HAVE_SIGSET_T +HAVE_SIG2STR HAVE_RAISE HAVE_PTHREAD_SIGMASK HAVE_POSIX_SIGNALBLOCKING +GL_COND_OBJ_PTHREAD_MUTEX_TIMEDLOCK_FALSE +GL_COND_OBJ_PTHREAD_MUTEX_TIMEDLOCK_TRUE GL_COND_OBJ_PTHREAD_THREAD_FALSE GL_COND_OBJ_PTHREAD_THREAD_TRUE -GL_GNULIB_PTHREAD_MUTEX_TIMEDLOCK -GL_GNULIB_PTHREAD_SPIN -GL_GNULIB_PTHREAD_TSS -GL_GNULIB_PTHREAD_COND -GL_GNULIB_PTHREAD_RWLOCK -GL_GNULIB_PTHREAD_MUTEX -GL_GNULIB_PTHREAD_ONCE -GL_GNULIB_PTHREAD_THREAD -LIB_PTHREAD -HAVE_PTHREAD_H -NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H -NEXT_PTHREAD_H -REPLACE_PTHREAD_SPIN_DESTROY -REPLACE_PTHREAD_SPIN_UNLOCK -REPLACE_PTHREAD_SPIN_TRYLOCK -REPLACE_PTHREAD_SPIN_LOCK -REPLACE_PTHREAD_SPIN_INIT -REPLACE_PTHREAD_KEY_DELETE -REPLACE_PTHREAD_GETSPECIFIC -REPLACE_PTHREAD_SETSPECIFIC -REPLACE_PTHREAD_KEY_CREATE -REPLACE_PTHREAD_COND_DESTROY -REPLACE_PTHREAD_COND_BROADCAST -REPLACE_PTHREAD_COND_SIGNAL -REPLACE_PTHREAD_COND_TIMEDWAIT -REPLACE_PTHREAD_COND_WAIT -REPLACE_PTHREAD_CONDATTR_DESTROY -REPLACE_PTHREAD_CONDATTR_INIT -REPLACE_PTHREAD_COND_INIT -REPLACE_PTHREAD_RWLOCK_DESTROY -REPLACE_PTHREAD_RWLOCK_UNLOCK -REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK -REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK -REPLACE_PTHREAD_RWLOCK_TRYWRLOCK -REPLACE_PTHREAD_RWLOCK_TRYRDLOCK -REPLACE_PTHREAD_RWLOCK_WRLOCK -REPLACE_PTHREAD_RWLOCK_RDLOCK -REPLACE_PTHREAD_RWLOCKATTR_DESTROY -REPLACE_PTHREAD_RWLOCKATTR_INIT -REPLACE_PTHREAD_RWLOCK_INIT -REPLACE_PTHREAD_MUTEX_DESTROY -REPLACE_PTHREAD_MUTEX_UNLOCK -REPLACE_PTHREAD_MUTEX_TIMEDLOCK -REPLACE_PTHREAD_MUTEX_TRYLOCK -REPLACE_PTHREAD_MUTEX_LOCK -REPLACE_PTHREAD_MUTEXATTR_DESTROY -REPLACE_PTHREAD_MUTEXATTR_SETROBUST -REPLACE_PTHREAD_MUTEXATTR_GETROBUST -REPLACE_PTHREAD_MUTEXATTR_SETTYPE -REPLACE_PTHREAD_MUTEXATTR_GETTYPE -REPLACE_PTHREAD_MUTEXATTR_INIT -REPLACE_PTHREAD_MUTEX_INIT -REPLACE_PTHREAD_ONCE -REPLACE_PTHREAD_EXIT -REPLACE_PTHREAD_JOIN -REPLACE_PTHREAD_DETACH -REPLACE_PTHREAD_EQUAL -REPLACE_PTHREAD_SELF -REPLACE_PTHREAD_ATTR_DESTROY -REPLACE_PTHREAD_ATTR_SETDETACHSTATE -REPLACE_PTHREAD_ATTR_GETDETACHSTATE -REPLACE_PTHREAD_ATTR_INIT -REPLACE_PTHREAD_CREATE -HAVE_PTHREAD_SPIN_DESTROY -HAVE_PTHREAD_SPIN_UNLOCK -HAVE_PTHREAD_SPIN_TRYLOCK -HAVE_PTHREAD_SPIN_LOCK -HAVE_PTHREAD_SPIN_INIT -HAVE_PTHREAD_KEY_DELETE -HAVE_PTHREAD_GETSPECIFIC -HAVE_PTHREAD_SETSPECIFIC -HAVE_PTHREAD_KEY_CREATE -HAVE_PTHREAD_COND_DESTROY -HAVE_PTHREAD_COND_BROADCAST -HAVE_PTHREAD_COND_SIGNAL -HAVE_PTHREAD_COND_TIMEDWAIT -HAVE_PTHREAD_COND_WAIT -HAVE_PTHREAD_CONDATTR_DESTROY -HAVE_PTHREAD_CONDATTR_INIT -HAVE_PTHREAD_COND_INIT -HAVE_PTHREAD_RWLOCK_DESTROY -HAVE_PTHREAD_RWLOCK_UNLOCK -HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK -HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK -HAVE_PTHREAD_RWLOCK_TRYWRLOCK -HAVE_PTHREAD_RWLOCK_TRYRDLOCK -HAVE_PTHREAD_RWLOCK_WRLOCK -HAVE_PTHREAD_RWLOCK_RDLOCK -HAVE_PTHREAD_RWLOCKATTR_DESTROY -HAVE_PTHREAD_RWLOCKATTR_INIT -HAVE_PTHREAD_RWLOCK_INIT -HAVE_PTHREAD_MUTEX_DESTROY -HAVE_PTHREAD_MUTEX_UNLOCK -HAVE_PTHREAD_MUTEX_TIMEDLOCK -HAVE_PTHREAD_MUTEX_TRYLOCK -HAVE_PTHREAD_MUTEX_LOCK -HAVE_PTHREAD_MUTEXATTR_DESTROY -HAVE_PTHREAD_MUTEXATTR_SETROBUST -HAVE_PTHREAD_MUTEXATTR_GETROBUST -HAVE_PTHREAD_MUTEXATTR_SETTYPE -HAVE_PTHREAD_MUTEXATTR_GETTYPE -HAVE_PTHREAD_MUTEXATTR_INIT -HAVE_PTHREAD_MUTEX_INIT -HAVE_PTHREAD_ONCE -HAVE_PTHREAD_EXIT -HAVE_PTHREAD_JOIN -HAVE_PTHREAD_DETACH -HAVE_PTHREAD_EQUAL -HAVE_PTHREAD_SELF -HAVE_PTHREAD_ATTR_DESTROY -HAVE_PTHREAD_ATTR_SETDETACHSTATE -HAVE_PTHREAD_ATTR_GETDETACHSTATE -HAVE_PTHREAD_ATTR_INIT -HAVE_PTHREAD_CREATE -HAVE_PTHREAD_PROCESS_SHARED -HAVE_PTHREAD_MUTEX_ROBUST -HAVE_PTHREAD_MUTEX_RECURSIVE -HAVE_PTHREAD_CREATE_DETACHED -HAVE_PTHREAD_SPINLOCK_T -HAVE_PTHREAD_T +GL_COND_OBJ_PTHREAD_RWLOCK_FALSE +GL_COND_OBJ_PTHREAD_RWLOCK_TRUE +GL_COND_OBJ_PTHREAD_MUTEX_FALSE +GL_COND_OBJ_PTHREAD_MUTEX_TRUE +GL_COND_OBJ_PTHREAD_COND_FALSE +GL_COND_OBJ_PTHREAD_COND_TRUE GL_GNULIB_SELECT GL_GNULIB_PSELECT GL_COND_OBJ_PSELECT_FALSE @@ -918,6 +844,10 @@ GL_COND_OBJ_PIPE_FALSE GL_COND_OBJ_PIPE_TRUE GL_COND_OBJ_PERROR_FALSE GL_COND_OBJ_PERROR_TRUE +GL_COND_OBJ_OPENDIR_FALSE +GL_COND_OBJ_OPENDIR_TRUE +GL_COND_OBJ_OPENAT_FALSE +GL_COND_OBJ_OPENAT_TRUE GL_COND_OBJ_OPEN_FALSE GL_COND_OBJ_OPEN_TRUE GL_GENERATE_NETINET_IN_H_FALSE @@ -926,47 +856,18 @@ NETINET_IN_H HAVE_NETINET_IN_H NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H NEXT_NETINET_IN_H -GL_GNULIB_MDA_TZSET -GL_GNULIB_TZSET -GL_GNULIB_TIME_RZ -GL_GNULIB_TIME_R -GL_GNULIB_TIMESPEC_GETRES -GL_GNULIB_TIMESPEC_GET -GL_GNULIB_TIMEGM -GL_GNULIB_TIME -GL_GNULIB_STRPTIME -GL_GNULIB_STRFTIME -GL_GNULIB_NANOSLEEP -GL_GNULIB_LOCALTIME -GL_GNULIB_MKTIME -GL_GNULIB_CTIME GL_COND_OBJ_NANOSLEEP_FALSE GL_COND_OBJ_NANOSLEEP_TRUE LIB_NANOSLEEP NANOSLEEP_LIB -REPLACE_TZSET -REPLACE_TIMESPEC_GETRES -REPLACE_TIMESPEC_GET -REPLACE_TIMEGM -REPLACE_TIME -REPLACE_STRFTIME -REPLACE_NANOSLEEP -REPLACE_MKTIME -REPLACE_LOCALTIME_R -REPLACE_LOCALTIME -REPLACE_GMTIME -REPLACE_CTIME -HAVE_TIMEZONE_T -HAVE_TIMESPEC_GETRES -HAVE_TIMESPEC_GET -HAVE_TIMEGM -HAVE_STRPTIME -HAVE_NANOSLEEP -HAVE_DECL_LOCALTIME_R GL_COND_OBJ_MSVC_NOTHROW_FALSE GL_COND_OBJ_MSVC_NOTHROW_TRUE GL_COND_OBJ_MSVC_INVAL_FALSE GL_COND_OBJ_MSVC_INVAL_TRUE +GL_COND_OBJ_MEMRCHR_FALSE +GL_COND_OBJ_MEMRCHR_TRUE +GL_COND_OBJ_MEMPCPY_FALSE +GL_COND_OBJ_MEMPCPY_TRUE GL_COND_OBJ_MBTOWC_FALSE GL_COND_OBJ_MBTOWC_TRUE GL_COND_OBJ_LSTAT_FALSE @@ -996,14 +897,16 @@ LTLIBINTL LIBINTL GL_COND_OBJ_GETPROGNAME_FALSE GL_COND_OBJ_GETPROGNAME_TRUE -GL_COND_OBJ_GETPAGESIZE_FALSE -GL_COND_OBJ_GETPAGESIZE_TRUE GL_COND_OBJ_GETDTABLESIZE_FALSE GL_COND_OBJ_GETDTABLESIZE_TRUE GL_COND_OBJ_GETCWD_LGPL_FALSE GL_COND_OBJ_GETCWD_LGPL_TRUE +GL_COND_OBJ_GETCWD_FALSE +GL_COND_OBJ_GETCWD_TRUE GL_COND_OBJ_FTRUNCATE_FALSE GL_COND_OBJ_FTRUNCATE_TRUE +GL_COND_OBJ_FSTATAT_FALSE +GL_COND_OBJ_FSTATAT_TRUE GL_GNULIB_MDA_UMASK GL_GNULIB_MDA_MKDIR GL_GNULIB_MDA_CHMOD @@ -1055,26 +958,37 @@ HAVE_GETUMASK HAVE_FUTIMENS HAVE_FSTATAT HAVE_FCHMODAT +GL_COND_OBJ_FDOPENDIR_FALSE +GL_COND_OBJ_FDOPENDIR_TRUE GL_GNULIB_MDA_TEMPNAM GL_GNULIB_MDA_PUTW GL_GNULIB_MDA_GETW GL_GNULIB_MDA_FILENO GL_GNULIB_MDA_FDOPEN GL_GNULIB_MDA_FCLOSEALL +GL_GNULIB_ZPRINTF +GL_GNULIB_VZPRINTF +GL_GNULIB_VSZPRINTF GL_GNULIB_VSPRINTF_POSIX +GL_GNULIB_VSNZPRINTF GL_GNULIB_VSNPRINTF GL_GNULIB_VPRINTF_POSIX GL_GNULIB_VPRINTF +GL_GNULIB_VFZPRINTF GL_GNULIB_VFPRINTF_POSIX GL_GNULIB_VFPRINTF +GL_GNULIB_VDZPRINTF GL_GNULIB_VDPRINTF GL_GNULIB_VSCANF GL_GNULIB_VFSCANF +GL_GNULIB_VASZPRINTF GL_GNULIB_VASPRINTF GL_GNULIB_TMPFILE +GL_GNULIB_SZPRINTF GL_GNULIB_STDIO_H_SIGPIPE GL_GNULIB_STDIO_H_NONBLOCKING GL_GNULIB_SPRINTF_POSIX +GL_GNULIB_SNZPRINTF GL_GNULIB_SNPRINTF GL_GNULIB_SCANF GL_GNULIB_RENAMEAT @@ -1088,12 +1002,14 @@ GL_GNULIB_PRINTF GL_GNULIB_POPEN GL_GNULIB_PERROR GL_GNULIB_PCLOSE +GL_GNULIB_OBSTACK_ZPRINTF GL_GNULIB_OBSTACK_PRINTF_POSIX GL_GNULIB_OBSTACK_PRINTF GL_GNULIB_GETLINE GL_GNULIB_GETDELIM GL_GNULIB_GETCHAR GL_GNULIB_GETC +GL_GNULIB_FZPRINTF GL_GNULIB_FWRITE GL_GNULIB_FTELLO GL_GNULIB_FTELL @@ -1114,6 +1030,7 @@ GL_GNULIB_FGETC GL_GNULIB_FFLUSH GL_GNULIB_FDOPEN GL_GNULIB_FCLOSE +GL_GNULIB_DZPRINTF GL_GNULIB_DPRINTF GL_COND_OBJ_FDOPEN_FALSE GL_COND_OBJ_FDOPEN_TRUE @@ -1186,6 +1103,8 @@ REPLACE_FCNTL REPLACE_CREAT HAVE_OPENAT HAVE_FCNTL +GL_COND_OBJ_FCHDIR_FALSE +GL_COND_OBJ_FCHDIR_TRUE GL_COND_OBJ_ERROR_FALSE GL_COND_OBJ_ERROR_TRUE REPLACE_ERROR_AT_LINE @@ -1197,20 +1116,60 @@ NEXT_AS_FIRST_DIRECTIVE_ERROR_H NEXT_ERROR_H GL_COND_OBJ_DUP2_FALSE GL_COND_OBJ_DUP2_TRUE +GL_COND_OBJ_DUP_FALSE +GL_COND_OBJ_DUP_TRUE +GL_COND_OBJ_DIRFD_FALSE +GL_COND_OBJ_DIRFD_TRUE +HAVE_DIRENT_H +NEXT_AS_FIRST_DIRECTIVE_DIRENT_H +NEXT_DIRENT_H GL_GNULIB_ISBLANK NEXT_AS_FIRST_DIRECTIVE_CTYPE_H NEXT_CTYPE_H HAVE_ISBLANK GL_COND_OBJ_CONNECT_FALSE GL_COND_OBJ_CONNECT_TRUE +GL_GNULIB_ALPHASORT +GL_GNULIB_SCANDIR +GL_GNULIB_FDOPENDIR +GL_GNULIB_DIRFD +GL_GNULIB_CLOSEDIR +GL_GNULIB_REWINDDIR +GL_GNULIB_READDIR +GL_GNULIB_OPENDIR +GL_COND_OBJ_CLOSEDIR_FALSE +GL_COND_OBJ_CLOSEDIR_TRUE +DIR_HAS_FD_MEMBER +REPLACE_FDOPENDIR +REPLACE_DIRFD +REPLACE_CLOSEDIR +REPLACE_REWINDDIR +REPLACE_READDIR +REPLACE_OPENDIR +HAVE_ALPHASORT +HAVE_SCANDIR +HAVE_FDOPENDIR +HAVE_DECL_FDOPENDIR +HAVE_DECL_DIRFD +HAVE_CLOSEDIR +HAVE_REWINDDIR +HAVE_READDIR +HAVE_OPENDIR GL_COND_OBJ_CLOSE_FALSE GL_COND_OBJ_CLOSE_TRUE HAVE_MSVC_INVALID_PARAMETER_HANDLER +GL_COND_OBJ_CHDIR_LONG_FALSE +GL_COND_OBJ_CHDIR_LONG_TRUE GL_COND_OBJ_C32RTOMB_FALSE GL_COND_OBJ_C32RTOMB_TRUE LOCALE_TR_UTF8 GL_COND_OBJ_BTOWC_FALSE GL_COND_OBJ_BTOWC_TRUE +LC_MONETARY_IMPLEMENTED +LC_TIME_IMPLEMENTED +LC_NUMERIC_IMPLEMENTED +LC_COLLATE_IMPLEMENTED +LOCALE_FR_UTF8 GL_COND_OBJ_BIND_FALSE GL_COND_OBJ_BIND_TRUE GL_GNULIB_INET_PTON @@ -1220,8 +1179,12 @@ NEXT_ARPA_INET_H HAVE_ARPA_INET_H REPLACE_INET_PTON REPLACE_INET_NTOP +HAVE_DECL_NTOHS +HAVE_DECL_NTOHL HAVE_DECL_INET_PTON HAVE_DECL_INET_NTOP +HAVE_DECL_HTONS +HAVE_DECL_HTONL GL_GNULIB_ACCEPT4 GL_GNULIB_SHUTDOWN GL_GNULIB_SETSOCKOPT @@ -1776,6 +1739,7 @@ REPLACE_LINKAT REPLACE_LINK REPLACE_LCHOWN REPLACE_ISATTY +REPLACE_GETUSERSHELL REPLACE_GETPASS_FOR_GETPASS_GNU REPLACE_GETPASS REPLACE_GETPAGESIZE @@ -2030,6 +1994,8 @@ LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NOT_A_CHARACTER_FALSE LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NOT_A_CHARACTER_TRUE LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NON_BREAK_FALSE LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_NON_BREAK_TRUE +LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_FALSE +LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_TRUE LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MATH_FALSE LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MATH_TRUE LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_LOWERCASE_FALSE @@ -2382,6 +2348,7 @@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_CONTROL_DLL_VARIABLE +GL_GNULIB_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_LINK_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_DLL_VARIABLE @@ -2627,7 +2594,52 @@ GL_GNULIB_UNICASE_EMPTY_SUFFIX_CONTEXT_DLL_VARIABLE GL_GNULIB_UNICASE_EMPTY_PREFIX_CONTEXT_DLL_VARIABLE LIBUNISTRING_UNICASE_H HAVE_UNISTRING_WOE32DLL_H +GL_GNULIB_MDA_TZSET +GL_GNULIB_TZSET +GL_GNULIB_TZNAME +GL_GNULIB_TIME_RZ +GL_GNULIB_TIME_R +GL_GNULIB_TIMESPEC_GETRES +GL_GNULIB_TIMESPEC_GET +GL_GNULIB_TIMEGM +GL_GNULIB_TIME +GL_GNULIB_STRPTIME +GL_GNULIB_STRFTIME +GL_GNULIB_NANOSLEEP +GL_GNULIB_LOCALTIME +GL_GNULIB_MKTIME +GL_GNULIB_CTIME +TIME_H_DEFINES_TIME_UTC +UNISTD_H_DEFINES_STRUCT_TIMESPEC +PTHREAD_H_DEFINES_STRUCT_TIMESPEC +SYS_TIME_H_DEFINES_STRUCT_TIMESPEC +TIME_H_DEFINES_STRUCT_TIMESPEC +NEXT_AS_FIRST_DIRECTIVE_TIME_H +NEXT_TIME_H +REPLACE_TZSET +REPLACE_TIMESPEC_GETRES +REPLACE_TIMESPEC_GET +REPLACE_TIMEGM +REPLACE_TIME +REPLACE_STRFTIME +REPLACE_NANOSLEEP +REPLACE_MKTIME_Z +REPLACE_MKTIME +REPLACE_LOCALTIME_RZ +REPLACE_LOCALTIME_R +REPLACE_LOCALTIME +REPLACE_GMTIME +REPLACE_CTIME +HAVE_TZALLOC +HAVE_TIMEZONE_T +HAVE_TIMESPEC_GETRES +HAVE_TIMESPEC_GET +HAVE_TIMEGM +HAVE_STRPTIME +HAVE_NANOSLEEP +HAVE_DECL_LOCALTIME_R WINDOWS_STAT_INODES +HAVE_OFF64_T WINDOWS_64_BIT_OFF_T NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H NEXT_SYS_TYPES_H @@ -2650,7 +2662,139 @@ GL_COND_OBJ_SIGNBIT3_FALSE GL_COND_OBJ_SIGNBIT3_TRUE GL_COND_OBJ_SETLOCALE_LOCK_FALSE GL_COND_OBJ_SETLOCALE_LOCK_TRUE +GL_GNULIB_SCHED_YIELD +HAVE_STRUCT_SCHED_PARAM +HAVE_SCHED_H +NEXT_AS_FIRST_DIRECTIVE_SCHED_H +NEXT_SCHED_H +HAVE_SYS_CDEFS_H +REPLACE_SCHED_YIELD +HAVE_SCHED_YIELD +reloc_final_prefix_c_make +reloc_final_prefix_c RELOCATABLE +GL_COND_OBJ_PTHREAD_ONCE_FALSE +GL_COND_OBJ_PTHREAD_ONCE_TRUE +GL_GNULIB_PTHREAD_MUTEX_TIMEDLOCK +GL_GNULIB_PTHREAD_SPIN +GL_GNULIB_PTHREAD_TSS +GL_GNULIB_PTHREAD_COND +GL_GNULIB_PTHREAD_RWLOCK +GL_GNULIB_PTHREAD_MUTEX +GL_GNULIB_PTHREAD_ONCE +GL_GNULIB_PTHREAD_THREAD +LIB_PTHREAD +HAVE_PTHREAD_H +NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H +NEXT_PTHREAD_H +REPLACE_PTHREAD_SPIN_DESTROY +REPLACE_PTHREAD_SPIN_UNLOCK +REPLACE_PTHREAD_SPIN_TRYLOCK +REPLACE_PTHREAD_SPIN_LOCK +REPLACE_PTHREAD_SPIN_INIT +REPLACE_PTHREAD_KEY_DELETE +REPLACE_PTHREAD_GETSPECIFIC +REPLACE_PTHREAD_SETSPECIFIC +REPLACE_PTHREAD_KEY_CREATE +REPLACE_PTHREAD_COND_DESTROY +REPLACE_PTHREAD_COND_BROADCAST +REPLACE_PTHREAD_COND_SIGNAL +REPLACE_PTHREAD_COND_TIMEDWAIT +REPLACE_PTHREAD_COND_WAIT +REPLACE_PTHREAD_CONDATTR_DESTROY +REPLACE_PTHREAD_CONDATTR_INIT +REPLACE_PTHREAD_COND_INIT +REPLACE_PTHREAD_RWLOCK_DESTROY +REPLACE_PTHREAD_RWLOCK_UNLOCK +REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK +REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK +REPLACE_PTHREAD_RWLOCK_TRYWRLOCK +REPLACE_PTHREAD_RWLOCK_TRYRDLOCK +REPLACE_PTHREAD_RWLOCK_WRLOCK +REPLACE_PTHREAD_RWLOCK_RDLOCK +REPLACE_PTHREAD_RWLOCKATTR_DESTROY +REPLACE_PTHREAD_RWLOCKATTR_INIT +REPLACE_PTHREAD_RWLOCK_INIT +REPLACE_PTHREAD_MUTEX_DESTROY +REPLACE_PTHREAD_MUTEX_UNLOCK +REPLACE_PTHREAD_MUTEX_TIMEDLOCK +REPLACE_PTHREAD_MUTEX_TRYLOCK +REPLACE_PTHREAD_MUTEX_LOCK +REPLACE_PTHREAD_MUTEXATTR_DESTROY +REPLACE_PTHREAD_MUTEXATTR_SETROBUST +REPLACE_PTHREAD_MUTEXATTR_GETROBUST +REPLACE_PTHREAD_MUTEXATTR_SETTYPE +REPLACE_PTHREAD_MUTEXATTR_GETTYPE +REPLACE_PTHREAD_MUTEXATTR_INIT +REPLACE_PTHREAD_MUTEX_INIT +REPLACE_PTHREAD_ONCE +REPLACE_PTHREAD_EXIT +REPLACE_PTHREAD_JOIN +REPLACE_PTHREAD_DETACH +REPLACE_PTHREAD_EQUAL +REPLACE_PTHREAD_SELF +REPLACE_PTHREAD_ATTR_DESTROY +REPLACE_PTHREAD_ATTR_SETDETACHSTATE +REPLACE_PTHREAD_ATTR_GETDETACHSTATE +REPLACE_PTHREAD_ATTR_INIT +REPLACE_PTHREAD_CREATE +HAVE_PTHREAD_SPIN_DESTROY +HAVE_PTHREAD_SPIN_UNLOCK +HAVE_PTHREAD_SPIN_TRYLOCK +HAVE_PTHREAD_SPIN_LOCK +HAVE_PTHREAD_SPIN_INIT +HAVE_PTHREAD_KEY_DELETE +HAVE_PTHREAD_GETSPECIFIC +HAVE_PTHREAD_SETSPECIFIC +HAVE_PTHREAD_KEY_CREATE +HAVE_PTHREAD_COND_DESTROY +HAVE_PTHREAD_COND_BROADCAST +HAVE_PTHREAD_COND_SIGNAL +HAVE_PTHREAD_COND_TIMEDWAIT +HAVE_PTHREAD_COND_WAIT +HAVE_PTHREAD_CONDATTR_DESTROY +HAVE_PTHREAD_CONDATTR_INIT +HAVE_PTHREAD_COND_INIT +HAVE_PTHREAD_RWLOCK_DESTROY +HAVE_PTHREAD_RWLOCK_UNLOCK +HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK +HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK +HAVE_PTHREAD_RWLOCK_TRYWRLOCK +HAVE_PTHREAD_RWLOCK_TRYRDLOCK +HAVE_PTHREAD_RWLOCK_WRLOCK +HAVE_PTHREAD_RWLOCK_RDLOCK +HAVE_PTHREAD_RWLOCKATTR_DESTROY +HAVE_PTHREAD_RWLOCKATTR_INIT +HAVE_PTHREAD_RWLOCK_INIT +HAVE_PTHREAD_MUTEX_DESTROY +HAVE_PTHREAD_MUTEX_UNLOCK +HAVE_PTHREAD_MUTEX_TIMEDLOCK +HAVE_PTHREAD_MUTEX_TRYLOCK +HAVE_PTHREAD_MUTEX_LOCK +HAVE_PTHREAD_MUTEXATTR_DESTROY +HAVE_PTHREAD_MUTEXATTR_SETROBUST +HAVE_PTHREAD_MUTEXATTR_GETROBUST +HAVE_PTHREAD_MUTEXATTR_SETTYPE +HAVE_PTHREAD_MUTEXATTR_GETTYPE +HAVE_PTHREAD_MUTEXATTR_INIT +HAVE_PTHREAD_MUTEX_INIT +HAVE_PTHREAD_ONCE +HAVE_PTHREAD_EXIT +HAVE_PTHREAD_JOIN +HAVE_PTHREAD_DETACH +HAVE_PTHREAD_EQUAL +HAVE_PTHREAD_SELF +HAVE_PTHREAD_ATTR_DESTROY +HAVE_PTHREAD_ATTR_SETDETACHSTATE +HAVE_PTHREAD_ATTR_GETDETACHSTATE +HAVE_PTHREAD_ATTR_INIT +HAVE_PTHREAD_CREATE +HAVE_PTHREAD_PROCESS_SHARED +HAVE_PTHREAD_MUTEX_ROBUST +HAVE_PTHREAD_MUTEX_RECURSIVE +HAVE_PTHREAD_CREATE_DETACHED +HAVE_PTHREAD_SPINLOCK_T +HAVE_PTHREAD_T GL_COND_OBJ_MEMCHR_FALSE GL_COND_OBJ_MEMCHR_TRUE UNDEFINE_STRTOK_R @@ -2817,9 +2961,10 @@ NEXT_LOCALE_H HAVE_XLOCALE_H NEXT_AS_FIRST_DIRECTIVE_STDDEF_H NEXT_STDDEF_H -HAVE_WCHAR_T HAVE_MAX_ALIGN_T REPLACE_NULL +STDDEF_NOT_IDEMPOTENT +NULLPTR_T_NEEDS_STDDEF LOCALENAME_ENHANCE_LOCALE_FUNCS REPLACE_STRUCT_LCONV REPLACE_FREELOCALE @@ -2961,6 +3106,9 @@ GL_GNULIB_MDA_J0 GL_GNULIB_TRUNCL GL_GNULIB_TRUNCF GL_GNULIB_TRUNC +GL_GNULIB_TOTALORDERMAGL +GL_GNULIB_TOTALORDERMAGF +GL_GNULIB_TOTALORDERMAG GL_GNULIB_TOTALORDERL GL_GNULIB_TOTALORDERF GL_GNULIB_TOTALORDER @@ -2973,6 +3121,12 @@ GL_GNULIB_SINHF GL_GNULIB_SINL GL_GNULIB_SINF GL_GNULIB_SIGNBIT +GL_GNULIB_SETPAYLOADSIGL +GL_GNULIB_SETPAYLOADSIGF +GL_GNULIB_SETPAYLOADSIG +GL_GNULIB_SETPAYLOADL +GL_GNULIB_SETPAYLOADF +GL_GNULIB_SETPAYLOAD GL_GNULIB_ROUNDL GL_GNULIB_ROUNDF GL_GNULIB_ROUND @@ -2986,6 +3140,9 @@ GL_GNULIB_POWF GL_GNULIB_MODFL GL_GNULIB_MODFF GL_GNULIB_MODF +GL_GNULIB_LOGP1L +GL_GNULIB_LOGP1F +GL_GNULIB_LOGP1 GL_GNULIB_LOGBL GL_GNULIB_LOGBF GL_GNULIB_LOGB @@ -3016,6 +3173,9 @@ GL_GNULIB_ILOGB GL_GNULIB_HYPOTL GL_GNULIB_HYPOTF GL_GNULIB_HYPOT +GL_GNULIB_GETPAYLOADL +GL_GNULIB_GETPAYLOADF +GL_GNULIB_GETPAYLOAD GL_GNULIB_FREXPL GL_GNULIB_FREXP GL_GNULIB_FREXPF @@ -3060,6 +3220,9 @@ GL_GNULIB_ACOSF REPLACE_TRUNCL REPLACE_TRUNCF REPLACE_TRUNC +REPLACE_TOTALORDERMAGL +REPLACE_TOTALORDERMAGF +REPLACE_TOTALORDERMAG REPLACE_TOTALORDERL REPLACE_TOTALORDERF REPLACE_TOTALORDER @@ -3109,6 +3272,9 @@ REPLACE_HYPOTL REPLACE_HYPOTF REPLACE_HYPOT REPLACE_HUGE_VAL +REPLACE_GETPAYLOADL +REPLACE_GETPAYLOADF +REPLACE_GETPAYLOAD REPLACE_FREXPL REPLACE_FREXP REPLACE_FREXPF @@ -3176,6 +3342,9 @@ HAVE_DECL_CBRTF HAVE_DECL_ATANL HAVE_DECL_ASINL HAVE_DECL_ACOSL +HAVE_TOTALORDERMAGL +HAVE_TOTALORDERMAGF +HAVE_TOTALORDERMAG HAVE_TOTALORDERL HAVE_TOTALORDERF HAVE_TOTALORDER @@ -3187,6 +3356,12 @@ HAVE_SQRTF HAVE_SINHF HAVE_SINL HAVE_SINF +HAVE_SETPAYLOADSIGL +HAVE_SETPAYLOADSIGF +HAVE_SETPAYLOADSIG +HAVE_SETPAYLOADL +HAVE_SETPAYLOADF +HAVE_SETPAYLOAD HAVE_RINTL HAVE_RINT HAVE_REMAINDERF @@ -3194,6 +3369,9 @@ HAVE_REMAINDER HAVE_POWF HAVE_MODFL HAVE_MODFF +HAVE_LOGP1L +HAVE_LOGP1F +HAVE_LOGP1 HAVE_LOGBL HAVE_LOGBF HAVE_LOG1PL @@ -3212,6 +3390,9 @@ HAVE_ILOGBF HAVE_ILOGB HAVE_HYPOTL HAVE_HYPOTF +HAVE_GETPAYLOADL +HAVE_GETPAYLOADF +HAVE_GETPAYLOAD HAVE_FREXPF HAVE_FMODL HAVE_FMODF @@ -3255,6 +3436,7 @@ GL_GNULIB_STRTOLD GL_GNULIB_STRTOL GL_GNULIB_STRTOF GL_GNULIB_STRTOD +GL_GNULIB_STACK_TRACE GL_GNULIB_SETENV GL_GNULIB_SECURE_GETENV GL_GNULIB_RPMATCH @@ -3290,9 +3472,11 @@ GL_GNULIB_CALLOC_POSIX GL_GNULIB_CALLOC_GNU GL_GNULIB_ATOLL GL_GNULIB_ALIGNED_ALLOC +GL_GNULIB_ABORT_DEBUG GL_GNULIB__EXIT GL_COND_OBJ_FREE_FALSE GL_COND_OBJ_FREE_TRUE +CAN_PRINT_STACK_TRACE REPLACE_WCTOMB REPLACE_UNSETENV REPLACE_STRTOULL @@ -3334,6 +3518,7 @@ REPLACE_CANONICALIZE_FILE_NAME REPLACE_CALLOC_FOR_CALLOC_POSIX REPLACE_CALLOC_FOR_CALLOC_GNU REPLACE_ALIGNED_ALLOC +REPLACE_ABORT REPLACE__EXIT HAVE_DECL_UNSETENV HAVE_UNLOCKPT @@ -3434,14 +3619,11 @@ GL_GNULIB_C32ISBLANK GL_GNULIB_C32ISALPHA GL_GNULIB_C32ISALNUM GL_GNULIB_BTOC32 +HAVE_WORKING_C32RTOMB HAVE_WORKING_MBRTOC32 LOCALE_FR LOCALE_ZH_CN -LC_MONETARY_IMPLEMENTED -LC_TIME_IMPLEMENTED -LC_NUMERIC_IMPLEMENTED -LC_COLLATE_IMPLEMENTED -LOCALE_FR_UTF8 +LOCALE_EN_UTF8 LOCALE_JA REPLACE_WMEMPCPY REPLACE_WMEMCMP @@ -3590,6 +3772,8 @@ CPPFLAGS LDFLAGS CFLAGS CC +am__xargs_n +am__rm_f_notfound AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V @@ -3669,8 +3853,10 @@ enable_largefile enable_threads enable_shared enable_static +enable_pic with_pic enable_fast_install +enable_aix_soname with_aix_soname with_gnu_ld with_sysroot @@ -4329,8 +4515,13 @@ Optional Features: --disable-threads build without multithread safety --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] + --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use + both] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] + --enable-aix-soname=aix|svr4|both + shared library versioning (aka "SONAME") variant to + provide on AIX, [default=aix]. --disable-libtool-lock avoid locking (might break parallel builds) --enable-cross-guesses={conservative|risky} specify policy for cross-compilation guesses @@ -4343,11 +4534,6 @@ Optional Features: Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use - both] - --with-aix-soname=aix|svr4|both - shared library versioning (aka "SONAME") variant to - provide on AIX, [default=aix]. --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-sysroot[=DIR] Search for dependent libraries within DIR (or the compiler's sysroot if not specified). @@ -5739,8 +5925,10 @@ as_fn_append ac_header_c_list " math.h math_h HAVE_MATH_H" as_fn_append ac_header_c_list " sys/mman.h sys_mman_h HAVE_SYS_MMAN_H" as_fn_append ac_func_c_list " mprotect HAVE_MPROTECT" gl_printf_safe=yes +as_fn_append ac_header_c_list " pthread.h pthread_h HAVE_PTHREAD_H" as_fn_append ac_header_c_list " stdbool.h stdbool_h HAVE_STDBOOL_H" as_fn_append ac_header_c_list " stdckdint.h stdckdint_h HAVE_STDCKDINT_H" +as_fn_append ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H" as_fn_append ac_header_c_list " features.h features_h HAVE_FEATURES_H" as_fn_append ac_func_c_list " snprintf HAVE_SNPRINTF" as_fn_append ac_func_c_list " strdup HAVE_STRDUP" @@ -5748,32 +5936,35 @@ as_fn_append ac_func_c_list " wcwidth HAVE_WCWIDTH" as_fn_append ac_header_c_list " sys/socket.h sys_socket_h HAVE_SYS_SOCKET_H" as_fn_append ac_header_c_list " arpa/inet.h arpa_inet_h HAVE_ARPA_INET_H" as_fn_append ac_func_c_list " btowc HAVE_BTOWC" +as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H" as_fn_append ac_func_c_list " _set_invalid_parameter_handler HAVE__SET_INVALID_PARAMETER_HANDLER" +as_fn_append ac_func_c_list " fchdir HAVE_FCHDIR" +as_fn_append ac_header_c_list " dirent.h dirent_h HAVE_DIRENT_H" as_fn_append ac_header_c_list " error.h error_h HAVE_ERROR_H" as_fn_append ac_func_c_list " fcntl HAVE_FCNTL" as_fn_append ac_func_c_list " symlink HAVE_SYMLINK" +as_fn_append ac_func_c_list " fdopendir HAVE_FDOPENDIR" +as_fn_append ac_func_c_list " fstatat HAVE_FSTATAT" as_fn_append ac_func_c_list " getdtablesize HAVE_GETDTABLESIZE" as_fn_append ac_func_c_list " getexecname HAVE_GETEXECNAME" -as_fn_append ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H" as_fn_append ac_func_c_list " gettimeofday HAVE_GETTIMEOFDAY" as_fn_append ac_header_c_list " netdb.h netdb_h HAVE_NETDB_H" as_fn_append ac_header_c_list " netinet/in.h netinet_in_h HAVE_NETINET_IN_H" as_fn_append ac_func_c_list " isblank HAVE_ISBLANK" as_fn_append ac_header_c_list " semaphore.h semaphore_h HAVE_SEMAPHORE_H" as_fn_append ac_func_c_list " lstat HAVE_LSTAT" -as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H" +as_fn_append ac_func_c_list " openat HAVE_OPENAT" as_fn_append ac_func_c_list " __xpg_strerror_r HAVE___XPG_STRERROR_R" as_fn_append ac_func_c_list " pipe HAVE_PIPE" as_fn_append ac_header_c_list " sys/select.h sys_select_h HAVE_SYS_SELECT_H" as_fn_append ac_func_c_list " pselect HAVE_PSELECT" as_fn_append ac_header_c_list " sys/wait.h sys_wait_h HAVE_SYS_WAIT_H" -as_fn_append ac_header_c_list " pthread.h pthread_h HAVE_PTHREAD_H" as_fn_append ac_func_c_list " pthread_sigmask HAVE_PTHREAD_SIGMASK" -as_fn_append ac_header_c_list " sys/cdefs.h sys_cdefs_h HAVE_SYS_CDEFS_H" as_fn_append ac_func_c_list " setenv HAVE_SETENV" as_fn_append ac_func_c_list " sleep HAVE_SLEEP" as_fn_append ac_header_c_list " sys/ioctl.h sys_ioctl_h HAVE_SYS_IOCTL_H" as_fn_append ac_func_c_list " shutdown HAVE_SHUTDOWN" +as_fn_append ac_header_c_list " sys/un.h sys_un_h HAVE_SYS_UN_H" as_fn_append ac_header_c_list " sys/uio.h sys_uio_h HAVE_SYS_UIO_H" as_fn_append ac_func_c_list " usleep HAVE_USLEEP" as_fn_append ac_func_c_list " wcrtomb HAVE_WCRTOMB" @@ -5954,7 +6145,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -am__api_version='1.16' +am__api_version='1.17' @@ -6057,6 +6248,165 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5 +printf %s "checking whether sleep supports fractional seconds... " >&6; } +if test ${am_cv_sleep_fractional_seconds+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) if sleep 0.001 2>/dev/null +then : + am_cv_sleep_fractional_seconds=yes +else case e in #( + e) am_cv_sleep_fractional_seconds=no ;; +esac +fi + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5 +printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; } + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5 +printf %s "checking filesystem timestamp resolution... " >&6; } +if test ${am_cv_filesystem_timestamp_resolution+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) # Default to the worst case. +am_cv_filesystem_timestamp_resolution=2 + +# Only try to go finer than 1 sec if sleep can do it. +# Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work, +# - 1 sec is not much of a win compared to 2 sec, and +# - it takes 2 seconds to perform the test whether 1 sec works. +# +# Instead, just use the default 2s on platforms that have 1s resolution, +# accept the extra 1s delay when using $sleep in the Automake tests, in +# exchange for not incurring the 2s delay for running the test for all +# packages. +# +am_try_resolutions= +if test "$am_cv_sleep_fractional_seconds" = yes; then + # Even a millisecond often causes a bunch of false positives, + # so just try a hundredth of a second. The time saved between .001 and + # .01 is not terribly consequential. + am_try_resolutions="0.01 0.1 $am_try_resolutions" +fi + +# In order to catch current-generation FAT out, we must *modify* files +# that already exist; the *creation* timestamp is finer. Use names +# that make ls -t sort them differently when they have equal +# timestamps than when they have distinct timestamps, keeping +# in mind that ls -t prints the *newest* file first. +rm -f conftest.ts? +: > conftest.ts1 +: > conftest.ts2 +: > conftest.ts3 + +# Make sure ls -t actually works. Do 'set' in a subshell so we don't +# clobber the current shell's arguments. (Outer-level square brackets +# are removed by m4; they're present so that m4 does not expand +# ; be careful, easy to get confused.) +if ( + set X `ls -t conftest.ts[12]` && + { + test "$*" != "X conftest.ts1 conftest.ts2" || + test "$*" != "X conftest.ts2 conftest.ts1"; + } +); then :; else + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} +as_fn_error $? "ls -t produces unexpected output. +Make sure there is not a broken ls alias in your environment. +See 'config.log' for more details" "$LINENO" 5; } +fi + +for am_try_res in $am_try_resolutions; do + # Any one fine-grained sleep might happen to cross the boundary + # between two values of a coarser actual resolution, but if we do + # two fine-grained sleeps in a row, at least one of them will fall + # entirely within a coarse interval. + echo alpha > conftest.ts1 + sleep $am_try_res + echo beta > conftest.ts2 + sleep $am_try_res + echo gamma > conftest.ts3 + + # We assume that 'ls -t' will make use of high-resolution + # timestamps if the operating system supports them at all. + if (set X `ls -t conftest.ts?` && + test "$2" = conftest.ts3 && + test "$3" = conftest.ts2 && + test "$4" = conftest.ts1); then + # + # Ok, ls -t worked. If we're at a resolution of 1 second, we're done, + # because we don't need to test make. + make_ok=true + if test $am_try_res != 1; then + # But if we've succeeded so far with a subsecond resolution, we + # have one more thing to check: make. It can happen that + # everything else supports the subsecond mtimes, but make doesn't; + # notably on macOS, which ships make 3.81 from 2006 (the last one + # released under GPLv2). https://bugs.gnu.org/68808 + # + # We test $MAKE if it is defined in the environment, else "make". + # It might get overridden later, but our hope is that in practice + # it does not matter: it is the system "make" which is (by far) + # the most likely to be broken, whereas if the user overrides it, + # probably they did so with a better, or at least not worse, make. + # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html + # + # Create a Makefile (real tab character here): + rm -f conftest.mk + echo 'conftest.ts1: conftest.ts2' >conftest.mk + echo ' touch conftest.ts2' >>conftest.mk + # + # Now, running + # touch conftest.ts1; touch conftest.ts2; make + # should touch ts1 because ts2 is newer. This could happen by luck, + # but most often, it will fail if make's support is insufficient. So + # test for several consecutive successes. + # + # (We reuse conftest.ts[12] because we still want to modify existing + # files, not create new ones, per above.) + n=0 + make=${MAKE-make} + until test $n -eq 3; do + echo one > conftest.ts1 + sleep $am_try_res + echo two > conftest.ts2 # ts2 should now be newer than ts1 + if $make -f conftest.mk | grep 'up to date' >/dev/null; then + make_ok=false + break # out of $n loop + fi + n=`expr $n + 1` + done + fi + # + if $make_ok; then + # Everything we know to check worked out, so call this resolution good. + am_cv_filesystem_timestamp_resolution=$am_try_res + break # out of $am_try_res loop + fi + # Otherwise, we'll go on to check the next resolution. + fi +done +rm -f conftest.ts? +# (end _am_filesystem_timestamp_resolution) + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5 +printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; } + +# This check should not be cached, as it may vary across builds of +# different projects. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 printf %s "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory @@ -6077,49 +6427,45 @@ esac # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). -if ( - am_has_slept=no - for am_try in 1 2; do - echo "timestamp, slept: $am_has_slept" > conftest.file - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - as_fn_error $? "ls -t appears to fail. Make sure there is not a broken - alias in your environment" "$LINENO" 5 - fi - if test "$2" = conftest.file || test $am_try -eq 2; then - break - fi - # Just in case. - sleep 1 - am_has_slept=yes - done - test "$2" = conftest.file - ) -then - # Ok. - : -else - as_fn_error $? "newly created file is older than distributed files! +am_build_env_is_sane=no +am_has_slept=no +rm -f conftest.file +for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + if ( + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + test "$2" = conftest.file + ); then + am_build_env_is_sane=yes + break + fi + # Just in case. + sleep "$am_cv_filesystem_timestamp_resolution" + am_has_slept=yes +done + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5 +printf "%s\n" "$am_build_env_is_sane" >&6; } +if test "$am_build_env_is_sane" = no; then + as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= -if grep 'slept: no' conftest.file >/dev/null 2>&1; then - ( sleep 1 ) & +if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1 +then : + +else case e in #( + e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) & am_sleep_pid=$! + ;; +esac fi rm -f conftest.file @@ -6409,17 +6755,13 @@ else fi rmdir .tst 2>/dev/null +AM_DEFAULT_VERBOSITY=1 # Check whether --enable-silent-rules was given. if test ${enable_silent_rules+y} then : enableval=$enable_silent_rules; fi -case $enable_silent_rules in # ((( - yes) AM_DEFAULT_VERBOSITY=0;; - no) AM_DEFAULT_VERBOSITY=1;; - *) AM_DEFAULT_VERBOSITY=1;; -esac am_make=${MAKE-make} { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 printf %s "checking whether $am_make supports nested variables... " >&6; } @@ -6442,15 +6784,45 @@ esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } -if test $am_cv_make_support_nested_variables = yes; then - AM_V='$(V)' - AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' -else - AM_V=$AM_DEFAULT_VERBOSITY - AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY -fi AM_BACKSLASH='\' +am__rm_f_notfound= +if (rm -f && rm -fr && rm -rf) 2>/dev/null +then : + +else case e in #( + e) am__rm_f_notfound='""' ;; +esac +fi + + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5 +printf %s "checking xargs -n works... " >&6; } +if test ${am_cv_xargs_n_works+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2 +3" +then : + am_cv_xargs_n_works=yes +else case e in #( + e) am_cv_xargs_n_works=no ;; +esac +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5 +printf "%s\n" "$am_cv_xargs_n_works" >&6; } +if test "$am_cv_xargs_n_works" = yes +then : + am__xargs_n='xargs -n' +else case e in #( + e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }' + ;; +esac +fi + if test "`cd $srcdir && pwd`" != "`pwd`"; then @@ -6531,47 +6903,9 @@ fi -# POSIX will say in a future version that running "rm -f" with no argument -# is OK; and we want to be able to make that assumption in our Makefile -# recipes. So use an aggressive probe to check that the usage we want is -# actually supported "in the wild" to an acceptable degree. -# See automake bug#10828. -# To make any issue more visible, cause the running configure to be aborted -# by default if the 'rm' program in use doesn't match our expectations; the -# user can still override this though. -if rm -f && rm -fr && rm -rf; then : OK; else - cat >&2 <<'END' -Oops! - -Your 'rm' program seems unable to run without file operands specified -on the command line, even when the '-f' option is present. This is contrary -to the behaviour of most rm programs out there, and not conforming with -the upcoming POSIX standard: -Please tell bug-automake@gnu.org about your system, including the value -of your $PATH and any error possibly output before this message. This -can help us improve future automake versions. -END - if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then - echo 'Configuration will proceed anyway, since you have set the' >&2 - echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 - echo >&2 - else - cat >&2 <<'END' -Aborting the configuration process, to ensure you take notice of the issue. -You can download and install GNU coreutils to get an 'rm' implementation -that behaves properly: . - -If you want to complete the configuration process using your problematic -'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM -to "yes", and re-run configure. - -END - as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 - fi -fi PACKAGE=libunistring @@ -7922,7 +8256,7 @@ else case e in #( # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: + # When given -MP, icc 7.0 and 7.1 complain thus: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported @@ -8369,6 +8703,8 @@ printf "%s\n" "#define _ISOC11_SOURCE 1" >>confdefs.h esac + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5 printf %s "checking for egrep -e... " >&6; } if test ${ac_cv_path_EGREP_TRADITIONAL+y} @@ -8772,6 +9108,11 @@ fi +printf "%s\n" "#define _LINUX_SOURCE_COMPAT 1" >>confdefs.h + + + + # IEEE behaviour is the default on all CPUs except Alpha and SH # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4 @@ -8806,18 +9147,18 @@ then : fi if test "$enable_largefile,$enable_year2038" != no,no then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5 -printf %s "checking for $CC option to enable large file support... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to support large files" >&5 +printf %s "checking for $CC option to support large files... " >&6; } if test ${ac_cv_sys_largefile_opts+y} then : printf %s "(cached) " >&6 else case e in #( - e) ac_save_CC="$CC" + e) ac_save_CPPFLAGS=$CPPFLAGS ac_opt_found=no - for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do + for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1"; do if test x"$ac_opt" != x"none needed" then : - CC="$ac_save_CC $ac_opt" + CPPFLAGS="$ac_save_CPPFLAGS $ac_opt" fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -8846,12 +9187,12 @@ then : if test x"$ac_opt" = x"none needed" then : # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t. - CC="$CC -DFTYPE=ino_t" + CPPFLAGS="$CPPFLAGS -DFTYPE=ino_t" if ac_fn_c_try_compile "$LINENO" then : else case e in #( - e) CC="$CC -D_FILE_OFFSET_BITS=64" + e) CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" if ac_fn_c_try_compile "$LINENO" then : ac_opt='-D_FILE_OFFSET_BITS=64' @@ -8867,7 +9208,7 @@ fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext test $ac_opt_found = no || break done - CC="$ac_save_CC" + CPPFLAGS=$ac_save_CPPFLAGS if test $ac_opt_found != yes; then @@ -8903,16 +9244,14 @@ printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h ;; #( - "-n32") : - CC="$CC -n32" ;; #( *) : as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;; esac if test "$enable_year2038" != no then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5 -printf %s "checking for $CC option for timestamps after 2038... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to support timestamps after 2038" >&5 +printf %s "checking for $CC option to support timestamps after 2038... " >&6; } if test ${ac_cv_sys_year2038_opts+y} then : printf %s "(cached) " >&6 @@ -9074,6 +9413,8 @@ fi # Code from module array-mergesort-tests: # Code from module assert-h: # Code from module assert-h-tests: + # Code from module assure: + # Code from module at-internal: # Code from module attribute: # Code from module basename-lgpl: # Code from module binary-io: @@ -9125,15 +9466,27 @@ fi # Code from module calloc-gnu: # Code from module calloc-gnu-tests: # Code from module calloc-posix: + # Code from module chdir: + # Code from module chdir-long: + # Code from module chdir-tests: # Code from module cloexec: # Code from module cloexec-tests: # Code from module close: # Code from module close-tests: + # Code from module closedir: + # Code from module concat-filename: # Code from module connect: # Code from module connect-tests: # Code from module ctype: # Code from module ctype-tests: + # Code from module d-ino: + # Code from module dirent: + # Code from module dirent-tests: + # Code from module dirfd: + # Code from module dirfd-tests: # Code from module double-slash-root: + # Code from module dup: + # Code from module dup-tests: # Code from module dup2: # Code from module dup2-tests: # Code from module environ: @@ -9145,16 +9498,26 @@ fi # Code from module error-tests: # Code from module exitfail: # Code from module extensions: + # This is actually already done in the pre-early phase. + # AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + # Code from module extensions-aix: + # Code from module extern-inline: + # Code from module fchdir: + # Code from module fchdir-tests: # Code from module fcntl: # Code from module fcntl-h: # Code from module fcntl-h-tests: # Code from module fcntl-tests: # Code from module fd-hook: + # Code from module fd-safer-flag: # Code from module fdopen: # Code from module fdopen-tests: + # Code from module fdopendir: + # Code from module fdopendir-tests: # Code from module fgetc-tests: # Code from module filename: + # Code from module filenamecat-lgpl: # Code from module flexmember: # Code from module float: # Code from module float-tests: @@ -9173,15 +9536,18 @@ fi # Code from module fseterr-tests: # Code from module fstat: # Code from module fstat-tests: + # Code from module fstatat: + # Code from module fstatat-tests: # Code from module ftruncate: # Code from module ftruncate-tests: # Code from module fwrite-tests: # Code from module gen-header: + # Code from module getcwd: # Code from module getcwd-lgpl: # Code from module getcwd-lgpl-tests: + # Code from module getcwd-tests: # Code from module getdtablesize: # Code from module getdtablesize-tests: - # Code from module getpagesize: # Code from module getprogname: # Code from module getprogname-tests: # Code from module gettext-h: @@ -9266,12 +9632,17 @@ fi # Code from module mbsinit: # Code from module mbsinit-tests: # Code from module mbsnlen: + # Code from module mbsnlen-tests: # Code from module mbszero: # Code from module mbtowc: # Code from module memchr: # Code from module memchr-tests: # Code from module memcmp2: + # Code from module mempcpy: + # Code from module memrchr: + # Code from module memrchr-tests: # Code from module minmax: + # Code from module mixin/printf-posix: # Code from module msvc-inval: # Code from module msvc-nothrow: # Code from module multiarch: @@ -9281,8 +9652,15 @@ fi # Code from module netinet_in: # Code from module netinet_in-tests: # Code from module nocrash: + # Code from module once: + # Code from module once-tests: # Code from module open: # Code from module open-tests: + # Code from module openat: + # Code from module openat-die: + # Code from module openat-h: + # Code from module openat-tests: + # Code from module opendir: # Code from module pathmax: # Code from module pathmax-tests: # Code from module perror: @@ -9296,6 +9674,8 @@ fi # Code from module printf-safe: # Code from module pselect: # Code from module pselect-tests: + # Code from module pthread-cond: + # Code from module pthread-cond-tests: # Code from module pthread-h: @@ -9322,24 +9702,35 @@ fi fi # Code from module pthread-h-tests: + # Code from module pthread-mutex: + # Code from module pthread-mutex-tests: + # Code from module pthread-once: + # Code from module pthread-once-tests: + # Code from module pthread-rwlock: + # Code from module pthread-rwlock-tests: # Code from module pthread-thread: # Code from module pthread-thread-tests: + # Code from module pthread_mutex_timedlock: # Code from module pthread_sigmask: # Code from module pthread_sigmask-tests: - # Code from module putenv: + # Code from module putenv-gnu: + # Code from module putenv-gnu-tests: # Code from module raise: # Code from module raise-tests: # Code from module random: # Code from module random-tests: # Code from module random_r: # Code from module random_r-tests: + # Code from module readdir: # Code from module realloc-gnu: # Code from module realloc-gnu-tests: # Code from module realloc-posix: # Code from module reallocarray: # Code from module reallocarray-tests: # Code from module relocatable-lib-lgpl: + # Code from module rewinddir: # Code from module same-inode: + # Code from module save-cwd: # Code from module sched: # Code from module sched-tests: # Code from module sched_yield: @@ -9399,6 +9790,8 @@ fi # Code from module stdio-tests: # Code from module stdlib: # Code from module stdlib-tests: + # Code from module stpcpy: + # Code from module strdup-posix: # Code from module streq: # Code from module strerror: # Code from module strerror-override: @@ -9429,11 +9822,13 @@ fi # Code from module sys_time: # Code from module sys_time-tests: # Code from module sys_types: + # Code from module sys_types-tests: # Code from module sys_uio: # Code from module sys_uio-tests: # Code from module test-framework-sh: # Code from module test-framework-sh-tests: + # Code from module test-xfail: # Code from module thread: # Code from module thread-optim: # Code from module thread-tests: @@ -9901,6 +10296,8 @@ fi # Code from module unictype/property-lowercase-tests: # Code from module unictype/property-math: # Code from module unictype/property-math-tests: + # Code from module unictype/property-modifier-combining-mark: + # Code from module unictype/property-modifier-combining-mark-tests: # Code from module unictype/property-non-break: # Code from module unictype/property-non-break-tests: # Code from module unictype/property-not-a-character: @@ -10076,6 +10473,8 @@ fi # Code from module uninorm/u8-normcoll-tests: # Code from module uninorm/u8-normxfrm: # Code from module unistd: + # Code from module unistd-safer: + # Code from module unistd-safer-tests: # Code from module unistd-tests: # Code from module unistdio/base: # Code from module unistdio/u-printf-args: @@ -10440,16 +10839,26 @@ fi # Code from module wctype-h-tests: # Code from module wcwidth: # Code from module wcwidth-tests: + # Code from module windows-cond: # Code from module windows-mutex: + # Code from module windows-mutex-tests: # Code from module windows-once: # Code from module windows-recmutex: + # Code from module windows-recmutex-tests: # Code from module windows-rwlock: # Code from module windows-thread: + # Code from module windows-timedmutex: + # Code from module windows-timedmutex-tests: + # Code from module windows-timedrecmutex: + # Code from module windows-timedrecmutex-tests: + # Code from module windows-timedrwlock: # Code from module windows-tls: # Code from module xalloc: # Code from module xalloc-die: # Code from module xalloc-die-tests: # Code from module xalloc-oversized: + # Code from module xconcat-filename: + # Code from module xgetcwd: # Code from module xsize: # Code from module yield: @@ -10519,8 +10928,8 @@ esac -macro_version='2.4.7' -macro_revision='2.4.7' +macro_version='2.5.3' +macro_revision='2.5.3' @@ -10954,7 +11363,7 @@ if test yes = "$GCC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 printf %s "checking for ld used by $CC... " >&6; } case $host in - *-*-mingw*) + *-*-mingw* | *-*-windows*) # gcc leaves a trailing carriage return, which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) @@ -11067,10 +11476,7 @@ else case e in #( lt_cv_path_NM=$NM else lt_nm_to_check=${ac_tool_prefix}nm - if test -n "$ac_tool_prefix" \ - && { test "$build" = "$host" \ - || { test "$build_os" = cygwin && test "$host_os" = mingw32; }; \ - }; then + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do @@ -11086,7 +11492,7 @@ else # Tru64's nm complains that /dev/null is an invalid object file # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty case $build_os in - mingw*) lt_bad_file=conftest.nm/nofile ;; + mingw* | windows*) lt_bad_file=conftest.nm/nofile ;; *) lt_bad_file=/dev/null ;; esac case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in @@ -11319,7 +11725,7 @@ else case e in #( lt_cv_sys_max_cmd_len=-1; ;; - cygwin* | mingw* | cegcc*) + cygwin* | mingw* | windows* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, @@ -11341,7 +11747,7 @@ else case e in #( lt_cv_sys_max_cmd_len=8192; ;; - bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*) + darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` @@ -11484,7 +11890,7 @@ else case e in #( e) case $host in *-*-mingw* ) case $build in - *-*-mingw* ) # actually msys + *-*-mingw* | *-*-windows* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) @@ -11497,7 +11903,7 @@ else case e in #( ;; *-*-cygwin* ) case $build in - *-*-mingw* ) # actually msys + *-*-mingw* | *-*-windows* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) @@ -11533,9 +11939,9 @@ else case e in #( e) #assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in - *-*-mingw* ) + *-*-mingw* | *-*-windows* ) case $build in - *-*-mingw* ) # actually msys + *-*-mingw* | *-*-windows* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac @@ -11571,7 +11977,7 @@ case $reload_flag in esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in - cygwin* | mingw* | pw32* | cegcc*) + cygwin* | mingw* | windows* | pw32* | cegcc*) if test yes != "$GCC"; then reload_cmds=false fi @@ -11593,9 +11999,8 @@ esac -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args. -set dummy ${ac_tool_prefix}file; ac_word=$2 +# Extract the first word of "file", so it can be a program name with args. +set dummy file; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_FILECMD+y} @@ -11616,7 +12021,7 @@ do esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then - ac_cv_prog_FILECMD="${ac_tool_prefix}file" + ac_cv_prog_FILECMD="file" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi @@ -11624,6 +12029,7 @@ done done IFS=$as_save_IFS + test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":" fi ;; esac fi @@ -11637,66 +12043,6 @@ printf "%s\n" "no" >&6; } fi -fi -if test -z "$ac_cv_prog_FILECMD"; then - ac_ct_FILECMD=$FILECMD - # Extract the first word of "file", so it can be a program name with args. -set dummy file; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_ac_ct_FILECMD+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$ac_ct_FILECMD"; then - ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_FILECMD="file" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi ;; -esac -fi -ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD -if test -n "$ac_ct_FILECMD"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5 -printf "%s\n" "$ac_ct_FILECMD" >&6; } -else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } -fi - - if test "x$ac_ct_FILECMD" = x; then - FILECMD=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - FILECMD=$ac_ct_FILECMD - fi -else - FILECMD="$ac_cv_prog_FILECMD" -fi - @@ -11828,7 +12174,6 @@ lt_cv_deplibs_check_method='unknown' # 'none' -- dependencies not supported. # 'unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # that responds to the $file_magic_cmd with a given extended regex. # If you have 'file' or equivalent on your system and you're not sure @@ -11855,7 +12200,7 @@ cygwin*) lt_cv_file_magic_cmd='func_win32_libid' ;; -mingw* | pw32*) +mingw* | windows* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. @@ -11864,7 +12209,7 @@ mingw* | pw32*) lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. - lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; @@ -11955,7 +12300,7 @@ newos6*) lt_cv_deplibs_check_method=pass_all ;; -openbsd* | bitrig*) +openbsd*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else @@ -12023,7 +12368,7 @@ file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in - mingw* | pw32*) + mingw* | windows* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else @@ -12179,7 +12524,7 @@ else case e in #( e) lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in -cygwin* | mingw* | pw32* | cegcc*) +cygwin* | mingw* | windows* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh; # decide which one to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in @@ -12331,7 +12676,7 @@ fi # Use ARFLAGS variable as AR's operation code to sync the variable naming with # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have -# higher priority because thats what people were doing historically (setting +# higher priority because that's what people were doing historically (setting # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS # variable obsoleted/removed. @@ -12523,109 +12868,6 @@ test -z "$STRIP" && STRIP=: -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_RANLIB+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi ;; -esac -fi -RANLIB=$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -printf "%s\n" "$RANLIB" >&6; } -else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_RANLIB"; then - ac_ct_RANLIB=$RANLIB - # Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_ac_ct_RANLIB+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_RANLIB="ranlib" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi ;; -esac -fi -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -if test -n "$ac_ct_RANLIB"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -printf "%s\n" "$ac_ct_RANLIB" >&6; } -else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } -fi - - if test "x$ac_ct_RANLIB" = x; then - RANLIB=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - RANLIB=$ac_ct_RANLIB - fi -else - RANLIB="$ac_cv_prog_RANLIB" -fi test -z "$RANLIB" && RANLIB=: @@ -12640,15 +12882,8 @@ old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then - case $host_os in - bitrig* | openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" - ;; - esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in @@ -12728,7 +12963,7 @@ case $host_os in aix*) symcode='[BCDT]' ;; -cygwin* | mingw* | pw32* | cegcc*) +cygwin* | mingw* | windows* | pw32* | cegcc*) symcode='[ABCDGISTW]' ;; hpux*) @@ -12807,7 +13042,7 @@ $lt_c_name_lib_hook\ # Handle CRLF in mingw tool chain opt_cr= case $build_os in -mingw*) +mingw* | windows*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac @@ -12858,7 +13093,7 @@ void nm_test_func(void){} #ifdef __cplusplus } #endif -int main(){nm_test_var='a';nm_test_func();return(0);} +int main(void){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 @@ -13043,7 +13278,9 @@ lt_sysroot= case $with_sysroot in #( yes) if test yes = "$GCC"; then - lt_sysroot=`$CC --print-sysroot 2>/dev/null` + # Trim trailing / since we'll always append absolute paths and we want + # to avoid //, if only for less confusing output for the user. + lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'` fi ;; #( /*) @@ -13529,23 +13766,23 @@ fi test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } -if test ${lt_cv_path_mainfest_tool+y} +if test ${lt_cv_path_manifest_tool+y} then : printf %s "(cached) " >&6 else case e in #( - e) lt_cv_path_mainfest_tool=no + e) lt_cv_path_manifest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&5 if $GREP 'Manifest Tool' conftest.out > /dev/null; then - lt_cv_path_mainfest_tool=yes + lt_cv_path_manifest_tool=yes fi rm -f conftest* ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 -printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; } -if test yes != "$lt_cv_path_mainfest_tool"; then +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5 +printf "%s\n" "$lt_cv_path_manifest_tool" >&6; } +if test yes != "$lt_cv_path_manifest_tool"; then MANIFEST_TOOL=: fi @@ -14140,6 +14377,45 @@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; } + # Feature test to disable chained fixups since it is not + # compatible with '-undefined dynamic_lookup' + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5 +printf %s "checking for -no_fixup_chains linker flag... " >&6; } +if test ${lt_cv_support_no_fixup_chains+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + lt_cv_support_no_fixup_chains=yes +else case e in #( + e) lt_cv_support_no_fixup_chains=no + ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5 +printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 printf %s "checking for -exported_symbols_list linker flag... " >&6; } if test ${lt_cv_ld_exported_symbols_list+y} @@ -14194,7 +14470,7 @@ _LT_EOF echo "$RANLIB libconftest.a" >&5 $RANLIB libconftest.a 2>&5 cat > conftest.c << _LT_EOF -int main() { return 0;} +int main(void) { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err @@ -14223,7 +14499,11 @@ printf "%s\n" "$lt_cv_ld_force_load" >&6; } 10.[012],*|,*powerpc*-darwin[5-8]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; *) - _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' + if test yes = "$lt_cv_support_no_fixup_chains"; then + as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains' + fi + ;; esac ;; esac @@ -14294,7 +14574,7 @@ fi enable_win32_dll=yes case $host in -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) +*-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. set dummy ${ac_tool_prefix}as; ac_word=$2 @@ -14700,31 +14980,54 @@ fi - -# Check whether --with-pic was given. + # Check whether --enable-pic was given. +if test ${enable_pic+y} +then : + enableval=$enable_pic; lt_p=${PACKAGE-default} + case $enableval in + yes|no) pic_mode=$enableval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for lt_pkg in $enableval; do + IFS=$lt_save_ifs + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS=$lt_save_ifs + ;; + esac +else case e in #( + e) # Check whether --with-pic was given. if test ${with_pic+y} then : withval=$with_pic; lt_p=${PACKAGE-default} - case $withval in - yes|no) pic_mode=$withval ;; - *) - pic_mode=default - # Look at the argument we got. We use all the common list separators. - lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, - for lt_pkg in $withval; do - IFS=$lt_save_ifs - if test "X$lt_pkg" = "X$lt_p"; then - pic_mode=yes - fi - done - IFS=$lt_save_ifs - ;; - esac + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for lt_pkg in $withval; do + IFS=$lt_save_ifs + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS=$lt_save_ifs + ;; + esac else case e in #( e) pic_mode=default ;; esac fi + ;; +esac +fi + @@ -14769,18 +15072,29 @@ case $host,$enable_shared in power*-*-aix[5-9]*,yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 printf %s "checking which variant of shared library versioning to provide... " >&6; } - -# Check whether --with-aix-soname was given. + # Check whether --enable-aix-soname was given. +if test ${enable_aix_soname+y} +then : + enableval=$enable_aix_soname; case $enableval in + aix|svr4|both) + ;; + *) + as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5 + ;; + esac + lt_cv_with_aix_soname=$enable_aix_soname +else case e in #( + e) # Check whether --with-aix-soname was given. if test ${with_aix_soname+y} then : withval=$with_aix_soname; case $withval in - aix|svr4|both) - ;; - *) - as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 - ;; - esac - lt_cv_with_aix_soname=$with_aix_soname + aix|svr4|both) + ;; + *) + as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 + ;; + esac + lt_cv_with_aix_soname=$with_aix_soname else case e in #( e) if test ${lt_cv_with_aix_soname+y} then : @@ -14788,12 +15102,16 @@ then : else case e in #( e) lt_cv_with_aix_soname=aix ;; esac +fi + ;; +esac fi - with_aix_soname=$lt_cv_with_aix_soname ;; + enable_aix_soname=$lt_cv_with_aix_soname ;; esac fi + with_aix_soname=$enable_aix_soname { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 printf "%s\n" "$with_aix_soname" >&6; } if test aix != "$with_aix_soname"; then @@ -14827,7 +15145,7 @@ esac LIBTOOL_DEPS=$ltmain # Always use our own libtool. -LIBTOOL="${CONFIG_SHELL-$SHELL} "'$(top_builddir)/libtool' +LIBTOOL='$(SHELL) $(top_builddir)/libtool' @@ -15109,7 +15427,7 @@ objext=$objext lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}' +lt_simple_link_test_code='int main(void){return(0);}' @@ -15251,7 +15569,7 @@ lt_prog_compiler_static= # PIC is the default for these OSes. ;; - mingw* | cygwin* | pw32* | os2* | cegcc*) + mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style @@ -15354,7 +15672,7 @@ lt_prog_compiler_static= esac ;; - mingw* | cygwin* | pw32* | os2* | cegcc*) + mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' @@ -15395,6 +15713,12 @@ lt_prog_compiler_static= lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; + *flang* | ftn) + # Flang compiler. + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) @@ -15866,7 +16190,7 @@ printf %s "checking whether the $compiler linker ($LD) supports shared libraries extract_expsyms_cmds= case $host_os in - cygwin* | mingw* | pw32* | cegcc*) + cygwin* | mingw* | windows* | pw32* | cegcc*) # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++ or Intel C++ Compiler. @@ -15878,7 +16202,7 @@ printf %s "checking whether the $compiler linker ($LD) supports shared libraries # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC) with_gnu_ld=yes ;; - openbsd* | bitrig*) + openbsd*) with_gnu_ld=no ;; esac @@ -15981,7 +16305,7 @@ _LT_EOF fi ;; - cygwin* | mingw* | pw32* | cegcc*) + cygwin* | mingw* | windows* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' @@ -16037,7 +16361,7 @@ _LT_EOF cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' - old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' + old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' enable_shared_with_static_runtimes=yes file_list_spec='@' ;; @@ -16528,7 +16852,7 @@ fi export_dynamic_flag_spec=-rdynamic ;; - cygwin* | mingw* | pw32* | cegcc*) + cygwin* | mingw* | windows* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++ or Intel C++ Compiler. # hardcode_libdir_flag_spec is actually meaningless, as there is @@ -16545,14 +16869,14 @@ fi # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' + archive_cmds='$CC -Fe $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ - $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + $CC -Fe $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, )='true' @@ -16861,7 +17185,7 @@ printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } *nto* | *qnx*) ;; - openbsd* | bitrig*) + openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes hardcode_shlibpath_var=no @@ -16904,7 +17228,7 @@ printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' - old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' + old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' enable_shared_with_static_runtimes=yes file_list_spec='@' ;; @@ -17346,7 +17670,7 @@ if test yes = "$GCC"; then *) lt_awk_arg='/^libraries:/' ;; esac case $host_os in - mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; + mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; *) lt_sed_strip_eq='s|=/|/|g' ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` @@ -17404,7 +17728,7 @@ BEGIN {RS = " "; FS = "/|\n";} { # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in - mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's|/\([A-Za-z]:\)|\1|g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` @@ -17478,7 +17802,7 @@ aix[4-9]*) # Unfortunately, runtime linking may impact performance, so we do # not want this to be the default eventually. Also, we use the # versioned .so libs for executables only if there is the -brtl - # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. + # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only. # To allow for filename-based versioning support, we need to create # libNAME.so.V as an archive file, containing: # *) an Import File, referring to the versioned filename of the @@ -17572,7 +17896,7 @@ bsdi[45]*) # libtool to hard-code these into programs ;; -cygwin* | mingw* | pw32* | cegcc*) +cygwin* | mingw* | windows* | pw32* | cegcc*) version_type=windows shrext_cmds=.dll need_version=no @@ -17583,6 +17907,19 @@ cygwin* | mingw* | pw32* | cegcc*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds + # If user builds GCC with mulitlibs enabled, + # it should just install on $(libdir) + # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones. + if test xyes = x"$multilib"; then + postinstall_cmds='base_file=`basename \$file`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + $install_prog $dir/$dlname $destdir/$dlname~ + chmod a+x $destdir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib $destdir/$dlname'\'' || exit \$?; + fi' + else postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ @@ -17592,6 +17929,7 @@ cygwin* | mingw* | pw32* | cegcc*) if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' + fi postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' @@ -17604,7 +17942,7 @@ cygwin* | mingw* | pw32* | cegcc*) sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" ;; - mingw* | cegcc*) + mingw* | windows* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' ;; @@ -17623,7 +17961,7 @@ cygwin* | mingw* | pw32* | cegcc*) library_names_spec='$libname.dll.lib' case $build_os in - mingw*) + mingw* | windows*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' @@ -17730,7 +18068,28 @@ freebsd* | dragonfly* | midnightbsd*) need_version=yes ;; esac + case $host_cpu in + powerpc64) + # On FreeBSD bi-arch platforms, a different variable is used for 32-bit + # binaries. See . + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int test_pointer_size[sizeof (void *) - 5]; + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : shlibpath_var=LD_LIBRARY_PATH +else case e in #( + e) shlibpath_var=LD_32_LIBRARY_PATH ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ;; + *) + shlibpath_var=LD_LIBRARY_PATH + ;; + esac case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes @@ -17942,7 +18301,7 @@ fi # before this can be enabled. hardcode_into_libs=yes - # Ideally, we could use ldconfig to report *all* directores which are + # Ideally, we could use ldconfig to report *all* directories which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, @@ -17999,7 +18358,7 @@ newsos6) dynamic_linker='ldqnx.so' ;; -openbsd* | bitrig*) +openbsd*) version_type=sunos sys_lib_dlsearch_path_spec=/usr/lib need_lib_prefix=no @@ -18340,7 +18699,7 @@ else lt_cv_dlopen_self=yes ;; - mingw* | pw32* | cegcc*) + mingw* | windows* | pw32* | cegcc*) lt_cv_dlopen=LoadLibrary lt_cv_dlopen_libs= ;; @@ -18713,11 +19072,11 @@ else /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) -int fnord () __attribute__((visibility("default"))); +int fnord (void) __attribute__((visibility("default"))); #endif -int fnord () { return 42; } -int main () +int fnord (void) { return 42; } +int main (void) { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; @@ -18821,11 +19180,11 @@ else /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) -int fnord () __attribute__((visibility("default"))); +int fnord (void) __attribute__((visibility("default"))); #endif -int fnord () { return 42; } -int main () +int fnord (void) { return 42; } +int main (void) { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; @@ -20226,10 +20585,11 @@ _ACEOF test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets - # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", + # "ar" or "ara" as "Arabic" or "Arabic_Saudi Arabia.1256", + # "en" or "eng" as "English" or "English_United States.1252", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", - # "ja" as "Japanese" or "Japanese_Japan.932", + # "ja" or "jpn" as "Japanese" or "Japanese_Japan.932", # and similar. mingw* | windows*) # Note that on native Windows, the Japanese locale is @@ -20258,7 +20618,7 @@ _ACEOF if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC else - # Test for the Solaris 7 locale name. + # Test for the Solaris 10 locale name. if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja else @@ -20295,16 +20655,16 @@ printf "%s\n" "$as_me: WARNING: invalid locale \"$LOCALE_JA\"; assuming \"none\" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 -printf %s "checking for a french Unicode locale... " >&6; } -if test ${gt_cv_locale_fr_utf8+y} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an english Unicode locale" >&5 +printf %s "checking for an english Unicode locale... " >&6; } +if test ${gt_cv_locale_en_utf8+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in *-musl* | midipix*) - gt_cv_locale_fr_utf8=fr_FR.UTF-8 + gt_cv_locale_en_utf8=en_US.UTF-8 ;; *) cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -20336,16 +20696,12 @@ int main () { # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif - /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". - On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) - is empty, and the behaviour of Tcl 8.4 in this locale is not useful. - On OpenBSD 4.0, when an unsupported locale is specified, setlocale() - succeeds but then nl_langinfo(CODESET) is "646". In this situation, - some unit tests fail. */ + /* Check whether nl_langinfo(CODESET) is "UTF-8" or equivalent. */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); - if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + if (!(strcmp (cs, "UTF-8") == 0 || strcmp (cs, "UTF8") == 0 + || strcmp (cs, "utf-8") == 0 || strcmp (cs, "utf8") == 0)) return 1; } # endif @@ -20355,19 +20711,14 @@ int main () { LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif - /* Check whether in the abbreviation of the second month, the second - character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is - two bytes long, with UTF-8 encoding. */ - t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; - if (strftime (buf, sizeof (buf), "%b", &t) < 4 - || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') + /* Check the third month name. */ + t.tm_year = 1975 - 1900; t.tm_mon = 3 - 1; t.tm_mday = 24; + if (strftime (buf, sizeof (buf), "%B", &t) < 5 || strcmp (buf, "March") != 0) return 1; #endif #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ - /* Check whether the decimal separator is a comma. - On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point - are nl_langinfo(RADIXCHAR) are both ".". */ - if (localeconv () ->decimal_point[0] != ',') return 1; + /* Check whether the decimal separator is a dot. */ + if (localeconv () ->decimal_point[0] != '.') return 1; #endif return 0; } @@ -20380,18 +20731,19 @@ _ACEOF test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets - # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", + # "ar" or "ara" as "Arabic" or "Arabic_Saudi Arabia.1256", + # "en" or "eng" as "English" or "English_United States.1252", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", - # "ja" as "Japanese" or "Japanese_Japan.932", + # "ja" or "jpn" as "Japanese" or "Japanese_Japan.932", # and similar. mingw* | windows*) # Test for the hypothetical native Windows locale name. - if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then - gt_cv_locale_fr_utf8=French_France.65001 + if (LC_ALL='English_United States.65001' LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_en_utf8='English_United States.65001' else # None found. - gt_cv_locale_fr_utf8=none + gt_cv_locale_en_utf8=none fi ;; *) @@ -20399,20 +20751,21 @@ _ACEOF # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. - # Test for the usual locale name. - if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then - gt_cv_locale_fr_utf8=fr_FR + # Test for the locale name with explicit encoding suffix first + # (this is necessary on Haiku). + if (LC_ALL=en_US.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_en_utf8=en_US.UTF-8 else - # Test for the locale name with explicit encoding suffix. - if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then - gt_cv_locale_fr_utf8=fr_FR.UTF-8 + # Test for the locale name without encoding suffix. + if (LC_ALL=en_US LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_en_utf8=en_US else - # Test for the Solaris 7 locale name. - if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then - gt_cv_locale_fr_utf8=fr.UTF-8 + # Test for the Solaris 10 locale name. + if (LC_ALL=en.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_en_utf8=en.UTF-8 else # None found. - gt_cv_locale_fr_utf8=none + gt_cv_locale_en_utf8=none fi fi fi @@ -20425,39 +20778,20 @@ _ACEOF ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 -printf "%s\n" "$gt_cv_locale_fr_utf8" >&6; } - LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 - case $LOCALE_FR_UTF8 in #( - '' | *[[:space:]\"\$\'*[]*) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: invalid locale \"$LOCALE_FR_UTF8\"; assuming \"none\"" >&5 -printf "%s\n" "$as_me: WARNING: invalid locale \"$LOCALE_FR_UTF8\"; assuming \"none\"" >&2;} - LOCALE_FR_UTF8=none;; - esac - - - case "$host_os" in - *-musl* | midipix*) - LC_COLLATE_IMPLEMENTED=false - LC_NUMERIC_IMPLEMENTED=false - LC_TIME_IMPLEMENTED=false - LC_MONETARY_IMPLEMENTED=false - ;; - *) - LC_COLLATE_IMPLEMENTED=true - LC_NUMERIC_IMPLEMENTED=true - LC_TIME_IMPLEMENTED=true - LC_MONETARY_IMPLEMENTED=true - ;; +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_en_utf8" >&5 +printf "%s\n" "$gt_cv_locale_en_utf8" >&6; } + LOCALE_EN_UTF8="$gt_cv_locale_en_utf8" + case "$LOCALE_EN_UTF8" in #( + '' | *[\"\$\'*[]*) + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: invalid locale \"$LOCALE_EN_UTF8\"; assuming \"none\"" >&5 +printf "%s\n" "$as_me: WARNING: invalid locale \"$LOCALE_EN_UTF8\"; assuming \"none\"" >&2;} + LOCALE_EN_UTF8=none;; esac - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 printf %s "checking for a transitional chinese locale... " >&6; } if test ${gt_cv_locale_zh_CN+y} @@ -20476,6 +20810,7 @@ else case e in #( #endif #include #include +#include struct tm t; char buf[16]; int main () @@ -20534,6 +20869,19 @@ int main () single wide character. This excludes the GB2312 and GBK encodings. */ if (mblen ("\203\062\332\066", 5) != 4) return 1; + /* Check whether mbrtowc accept this character one byte at a time. + This excludes NetBSD 10.0. */ + if (sizeof (wchar_t) > 2) + { + wchar_t wc; + mbstate_t state; + memset (&state, 0, sizeof (state)); + if (!(mbrtowc (&wc, "\203", 1, &state) == (size_t)(-2) + && mbrtowc (&wc, "\062", 1, &state) == (size_t)(-2) + && mbrtowc (&wc, "\332", 1, &state) == (size_t)(-2) + && mbrtowc (&wc, "\066", 1, &state) == 1)) + return 1; + } return 0; #endif } @@ -20546,10 +20894,11 @@ _ACEOF test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets - # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", + # "ar" or "ara" as "Arabic" or "Arabic_Saudi Arabia.1256", + # "en" or "eng" as "English" or "English_United States.1252", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", - # "ja" as "Japanese" or "Japanese_Japan.932", + # "ja" or "jpn" as "Japanese" or "Japanese_Japan.932", # and similar. mingw* | windows*) # Test for the hypothetical native Windows locale name. @@ -20674,7 +21023,7 @@ esac fi else - if test $LOCALE_FR_UTF8 != none; then + if test "$LOCALE_EN_UTF8" != none; then if test "$cross_compiling" = yes then : : @@ -20687,7 +21036,7 @@ else case e in #( #include int main () { - if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + if (setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { const char input[] = "B\303\274\303\237er"; /* "Büßer" */ mbstate_t state; @@ -21008,8 +21357,9 @@ int main () { if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; # if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. - On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point - are nl_langinfo(RADIXCHAR) are both ".". */ + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale + and on Haiku in the fr_FR.UTF-8 locale, + localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; # endif return 0; @@ -21024,10 +21374,11 @@ _ACEOF test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets - # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", + # "ar" or "ara" as "Arabic" or "Arabic_Saudi Arabia.1256", + # "en" or "eng" as "English" or "English_United States.1252", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", - # "ja" as "Japanese" or "Japanese_Japan.932", + # "ja" or "jpn" as "Japanese" or "Japanese_Japan.932", # and similar. mingw* | windows*) # Test for the native Windows locale name. @@ -21059,7 +21410,7 @@ _ACEOF if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.iso88591 else - # Test for the Solaris 7 locale name. + # Test for the Solaris 10 locale name. if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr else @@ -21094,7 +21445,8 @@ printf "%s\n" "$as_me: WARNING: invalid locale \"$LOCALE_FR\"; assuming \"none\" - if test $GNULIBHEADERS_OVERRIDE_CHAR32_T = 1 || test $gl_cv_func_mbrtoc32 = no; then + + if test $GNULIBHEADERS_OVERRIDE_CHAR32_T = 1 || test $gl_cv_func_mbrtoc32 = no; then HAVE_WORKING_MBRTOC32=0 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtoc32 works as well as mbrtowc" >&5 @@ -21201,6 +21553,164 @@ printf "%s\n" "#define HAVE_WORKING_MBRTOC32 1" >>confdefs.h + ac_fn_check_decl "$LINENO" "c32rtomb" "ac_cv_have_decl_c32rtomb" "#ifdef __HAIKU__ + #include + #endif + #include + +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_c32rtomb" = xyes +then : + +fi + if test $ac_cv_have_decl_c32rtomb = yes; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for c32rtomb" >&5 +printf %s "checking for c32rtomb... " >&6; } +if test ${gl_cv_func_c32rtomb+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #ifdef __HAIKU__ + #include + #endif + #include + +int +main (void) +{ +char buf[8]; + return c32rtomb (buf, 0, NULL) == 0; + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + gl_cv_func_c32rtomb=yes +else case e in #( + e) gl_cv_func_c32rtomb=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_c32rtomb" >&5 +printf "%s\n" "$gl_cv_func_c32rtomb" >&6; } + else + gl_cv_func_c32rtomb=no + fi + + + + + + + + if test $GNULIBHEADERS_OVERRIDE_CHAR32_T = 1 || test $gl_cv_func_c32rtomb = no; then + HAVE_WORKING_C32RTOMB=0 + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c32rtomb works as well as wcrtomb" >&5 +printf %s "checking whether c32rtomb works as well as wcrtomb... " >&6; } +if test ${gl_cv_func_c32rtomb_sanitycheck+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + case "$host_os" in + # Guess no on Solaris derivatives. + solaris*) + if test -f /etc/release && grep 'Oracle Solaris' /etc/release >/dev/null; then + gl_cv_func_c32rtomb_sanitycheck="guessing yes" + else + gl_cv_func_c32rtomb_sanitycheck="guessing no" + fi + ;; + # Guess yes otherwise. + *) + gl_cv_func_c32rtomb_sanitycheck="guessing yes" + ;; + esac + if test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes +then : + : +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +#ifdef __HAIKU__ + #include +#endif +#include +int main () +{ + int result = 0; + /* This fails on Solaris 11 OmniOS: + c32rtomb returns (size_t)-1. + wcrtomb returns 4 (correct). */ + if (strcmp ("$LOCALE_ZH_CN", "none") != 0 + && setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + mbstate_t state; + wchar_t wc = (wchar_t) 0xBADFACE; + char buf[16]; + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, "\201\060\211\070", 4, &state) == 4 + && wcrtomb (buf, wc, NULL) == 4 + && memcmp (buf, "\201\060\211\070", 4) == 0) + { + char32_t c32 = (wchar_t) 0xBADFACE; + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtoc32 (&c32, "\201\060\211\070", 4, &state) == 4 + && c32rtomb (buf, c32, NULL) != 4) + result |= 1; + } + } + return result; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_c32rtomb_sanitycheck=yes +else case e in #( + e) gl_cv_func_c32rtomb_sanitycheck=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + + fi + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_c32rtomb_sanitycheck" >&5 +printf "%s\n" "$gl_cv_func_c32rtomb_sanitycheck" >&6; } + case "$gl_cv_func_c32rtomb_sanitycheck" in + *yes) + HAVE_WORKING_C32RTOMB=1 + +printf "%s\n" "#define HAVE_WORKING_C32RTOMB 1" >>confdefs.h + + ;; + *) HAVE_WORKING_C32RTOMB=0 ;; + esac + fi + + + GL_GNULIB_BTOC32=0 @@ -21328,6 +21838,8 @@ printf "%s\n" "#define HAVE_WORKING_MBRTOC32 1" >>confdefs.h + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 printf %s "checking for complete errno.h... " >&6; } if test ${gl_cv_header_errno_h_complete+y} @@ -21390,6 +21902,9 @@ booboo #if !defined EILSEQ booboo #endif +#if !defined ESOCKTNOSUPPORT +booboo +#endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | @@ -21753,6 +22268,248 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 +printf %s "checking whether byte ordering is bigendian... " >&6; } +if test ${ac_cv_c_bigendian+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_c_bigendian=unknown + # See if we're dealing with a universal compiler. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __APPLE_CC__ + not a universal capable compiler + #endif + typedef int dummy; + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + # Check for potential -arch flags. It is not universal unless + # there are at least two -arch flags with different values. + ac_arch= + ac_prev= + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do + if test -n "$ac_prev"; then + case $ac_word in + i?86 | x86_64 | ppc | ppc64) + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then + ac_arch=$ac_word + else + ac_cv_c_bigendian=universal + break + fi + ;; + esac + ac_prev= + elif test "x$ac_word" = "x-arch"; then + ac_prev=arch + fi + done +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + if test $ac_cv_c_bigendian = unknown; then + # See if sys/param.h defines the BYTE_ORDER macro. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main (void) +{ +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\ + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\ + && LITTLE_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + # It does; now see whether it defined to BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main (void) +{ +#if BYTE_ORDER != BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_c_bigendian=yes +else case e in #( + e) ac_cv_c_bigendian=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + # It does; now see whether it defined to _BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +#ifndef _BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_c_bigendian=yes +else case e in #( + e) ac_cv_c_bigendian=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # Compile a test program. + if test "$cross_compiling" = yes +then : + # Try to guess by grepping values from an object file. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +unsigned short int ascii_mm[] = + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; + unsigned short int ascii_ii[] = + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; + int use_ascii (int i) { + return ascii_mm[i] + ascii_ii[i]; + } + unsigned short int ebcdic_ii[] = + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; + unsigned short int ebcdic_mm[] = + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; + int use_ebcdic (int i) { + return ebcdic_mm[i] + ebcdic_ii[i]; + } + int + main (int argc, char **argv) + { + /* Intimidate the compiler so that it does not + optimize the arrays away. */ + char *p = argv[0]; + ascii_mm[1] = *p++; ebcdic_mm[1] = *p++; + ascii_ii[1] = *p++; ebcdic_ii[1] = *p++; + return use_ascii (argc) == use_ebcdic (*p); + } +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then + ac_cv_c_bigendian=yes + fi + if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then + if test "$ac_cv_c_bigendian" = unknown; then + ac_cv_c_bigendian=no + else + # finding both strings is unlikely to happen, but who knows? + ac_cv_c_bigendian=unknown + fi + fi +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main (void) +{ + + /* Are we little or big endian? From Harbison&Steele. */ + union + { + long int l; + char c[sizeof (long int)]; + } u; + u.l = 1; + return u.c[sizeof (long int) - 1] == 1; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + ac_cv_c_bigendian=no +else case e in #( + e) ac_cv_c_bigendian=yes ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + + fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +printf "%s\n" "$ac_cv_c_bigendian" >&6; } + case $ac_cv_c_bigendian in #( + yes) + printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h +;; #( + no) + ;; #( + universal) + +printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h + + ;; #( + *) + as_fn_error $? "unknown endianness + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; + esac + + + HAVE__EXIT=1; HAVE_ALIGNED_ALLOC=1; HAVE_ATOLL=1; @@ -21801,6 +22558,7 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h HAVE_UNLOCKPT=1; HAVE_DECL_UNSETENV=1; REPLACE__EXIT=0; + REPLACE_ABORT=0; REPLACE_ALIGNED_ALLOC=0; REPLACE_CALLOC_FOR_CALLOC_GNU=0; REPLACE_CALLOC_FOR_CALLOC_POSIX=0; @@ -21842,6 +22600,7 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h REPLACE_STRTOULL=0; REPLACE_UNSETENV=0; REPLACE_WCTOMB=0; + CAN_PRINT_STACK_TRACE=0; @@ -21849,6 +22608,10 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h + GL_GNULIB_ABORT_DEBUG=0 + + + GL_GNULIB_ALIGNED_ALLOC=0 @@ -21989,6 +22752,10 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h + GL_GNULIB_STACK_TRACE=0 + + + GL_GNULIB_STRTOD=0 @@ -22081,6 +22848,9 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h HAVE_FMODF=1; HAVE_FMODL=1; HAVE_FREXPF=1; + HAVE_GETPAYLOAD=1; + HAVE_GETPAYLOADF=1; + HAVE_GETPAYLOADL=1; HAVE_HYPOTF=1; HAVE_HYPOTL=1; HAVE_ILOGB=1; @@ -22099,6 +22869,9 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h HAVE_LOG1PL=1; HAVE_LOGBF=1; HAVE_LOGBL=1; + HAVE_LOGP1=1; + HAVE_LOGP1F=1; + HAVE_LOGP1L=1; HAVE_MODFF=1; HAVE_MODFL=1; HAVE_POWF=1; @@ -22106,6 +22879,12 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h HAVE_REMAINDERF=1; HAVE_RINT=1; HAVE_RINTL=1; + HAVE_SETPAYLOAD=1; + HAVE_SETPAYLOADF=1; + HAVE_SETPAYLOADL=1; + HAVE_SETPAYLOADSIG=1; + HAVE_SETPAYLOADSIGF=1; + HAVE_SETPAYLOADSIGL=1; HAVE_SINF=1; HAVE_SINL=1; HAVE_SINHF=1; @@ -22117,6 +22896,9 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h HAVE_TOTALORDER=1; HAVE_TOTALORDERF=1; HAVE_TOTALORDERL=1; + HAVE_TOTALORDERMAG=1; + HAVE_TOTALORDERMAGF=1; + HAVE_TOTALORDERMAGL=1; HAVE_DECL_ACOSL=1; HAVE_DECL_ASINL=1; HAVE_DECL_ATANL=1; @@ -22184,6 +22966,9 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h REPLACE_FREXPF=0; REPLACE_FREXP=0; REPLACE_FREXPL=0; + REPLACE_GETPAYLOAD=0; + REPLACE_GETPAYLOADF=0; + REPLACE_GETPAYLOADL=0; REPLACE_HUGE_VAL=0; REPLACE_HYPOT=0; REPLACE_HYPOTF=0; @@ -22233,6 +23018,9 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h REPLACE_TOTALORDER=0; REPLACE_TOTALORDERF=0; REPLACE_TOTALORDERL=0; + REPLACE_TOTALORDERMAG=0; + REPLACE_TOTALORDERMAGF=0; + REPLACE_TOTALORDERMAGL=0; REPLACE_TRUNC=0; REPLACE_TRUNCF=0; REPLACE_TRUNCL=0; @@ -22448,6 +23236,18 @@ printf "%s\n" "#define HAVE_DECL_ALARM $ac_have_decl" >>confdefs.h + GL_GNULIB_GETPAYLOAD=0 + + + + GL_GNULIB_GETPAYLOADF=0 + + + + GL_GNULIB_GETPAYLOADL=0 + + + GL_GNULIB_HYPOT=0 @@ -22568,6 +23368,18 @@ printf "%s\n" "#define HAVE_DECL_ALARM $ac_have_decl" >>confdefs.h + GL_GNULIB_LOGP1=0 + + + + GL_GNULIB_LOGP1F=0 + + + + GL_GNULIB_LOGP1L=0 + + + GL_GNULIB_MODF=0 @@ -22620,6 +23432,30 @@ printf "%s\n" "#define HAVE_DECL_ALARM $ac_have_decl" >>confdefs.h + GL_GNULIB_SETPAYLOAD=0 + + + + GL_GNULIB_SETPAYLOADF=0 + + + + GL_GNULIB_SETPAYLOADL=0 + + + + GL_GNULIB_SETPAYLOADSIG=0 + + + + GL_GNULIB_SETPAYLOADSIGF=0 + + + + GL_GNULIB_SETPAYLOADSIGL=0 + + + GL_GNULIB_SIGNBIT=0 @@ -22668,6 +23504,18 @@ printf "%s\n" "#define HAVE_DECL_ALARM $ac_have_decl" >>confdefs.h + GL_GNULIB_TOTALORDERMAG=0 + + + + GL_GNULIB_TOTALORDERMAGF=0 + + + + GL_GNULIB_TOTALORDERMAGL=0 + + + GL_GNULIB_TRUNC=0 @@ -22809,8 +23657,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ LIBS="$saved_LIBS" test $gl_pthread_api = yes && break done - echo "$as_me:22812: gl_pthread_api=$gl_pthread_api" >&5 - echo "$as_me:22813: LIBPTHREAD=$LIBPTHREAD" >&5 + echo "$as_me:23660: gl_pthread_api=$gl_pthread_api" >&5 + echo "$as_me:23661: LIBPTHREAD=$LIBPTHREAD" >&5 gl_pthread_in_glibc=no # On Linux with glibc >= 2.34, libc contains the fully functional @@ -22836,7 +23684,7 @@ rm -rf conftest* ;; esac - echo "$as_me:22839: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 + echo "$as_me:23687: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 # Test for libpthread by looking for pthread_kill. (Not pthread_self, # since it is defined as a macro on OSF/1.) @@ -23070,7 +23918,7 @@ fi fi fi - echo "$as_me:23073: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 + echo "$as_me:23921: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5 printf %s "checking whether POSIX threads API is available... " >&6; } @@ -23780,7 +24628,7 @@ then : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#if defined __ELF__ || (defined __linux__ && defined __EDG__) +#if defined __ELF__ || (defined __linux__ && (defined __EDG__ || defined __SUNPRO_C)) Extensible Linking Format #endif @@ -24591,6 +25439,35 @@ int result = 0; iconv_close (cd_utf8_to_88591); } } + /* Test against macOS 14.4 bug: Failures are not distinguishable from + successful returns. + POSIX:2018 says: "The iconv() function shall ... return the number of + non-identical conversions performed." + But here, the conversion always does transliteration (the suffixes + "//TRANSLIT" and "//IGNORE" have no effect, nor does iconvctl()) and + does not report when it does a non-identical conversion. */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO-8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static ICONV_CONST char input[] = "\305\202"; /* LATIN SMALL LETTER L WITH STROKE */ + char buf[10]; + ICONV_CONST char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + &inptr, &inbytesleft, + &outptr, &outbytesleft); + /* Here: + With glibc, GNU libiconv (including macOS up to 13): res == (size_t)-1, errno == EILSEQ. + With musl libc, NetBSD 10, Solaris 11: res == 1. + With macOS 14.4: res == 0, output is "l". */ + if (res == 0) + result |= 2; + iconv_close (cd_utf8_to_88591); + } + } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { @@ -24607,7 +25484,7 @@ int result = 0; &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) - result |= 2; + result |= 4; iconv_close (cd_ascii_to_88591); } } @@ -24626,7 +25503,7 @@ int result = 0; &inptr, &inbytesleft, &outptr, &outbytesleft); if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) - result |= 4; + result |= 8; iconv_close (cd_88591_to_utf8); } } @@ -24646,7 +25523,7 @@ int result = 0; &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) - result |= 8; + result |= 16; iconv_close (cd_88591_to_utf8); } } @@ -24664,7 +25541,7 @@ int result = 0; iconv_t cd4 = iconv_open ("utf8", "eucJP"); if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) - result |= 16; + result |= 32; if (cd1 != (iconv_t)(-1)) iconv_close (cd1); if (cd2 != (iconv_t)(-1)) @@ -26661,248 +27538,6 @@ printf "%s\n" "#define FLT_EXPBIT0_BIT $bit" >>confdefs.h esac - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 -printf %s "checking whether byte ordering is bigendian... " >&6; } -if test ${ac_cv_c_bigendian+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) ac_cv_c_bigendian=unknown - # See if we're dealing with a universal compiler. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifndef __APPLE_CC__ - not a universal capable compiler - #endif - typedef int dummy; - -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - - # Check for potential -arch flags. It is not universal unless - # there are at least two -arch flags with different values. - ac_arch= - ac_prev= - for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do - if test -n "$ac_prev"; then - case $ac_word in - i?86 | x86_64 | ppc | ppc64) - if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then - ac_arch=$ac_word - else - ac_cv_c_bigendian=universal - break - fi - ;; - esac - ac_prev= - elif test "x$ac_word" = "x-arch"; then - ac_prev=arch - fi - done -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - if test $ac_cv_c_bigendian = unknown; then - # See if sys/param.h defines the BYTE_ORDER macro. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - -int -main (void) -{ -#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\ - && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\ - && LITTLE_ENDIAN) - bogus endian macros - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - # It does; now see whether it defined to BIG_ENDIAN or not. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - -int -main (void) -{ -#if BYTE_ORDER != BIG_ENDIAN - not big endian - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - ac_cv_c_bigendian=yes -else case e in #( - e) ac_cv_c_bigendian=no ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - fi - if test $ac_cv_c_bigendian = unknown; then - # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main (void) -{ -#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) - bogus endian macros - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - # It does; now see whether it defined to _BIG_ENDIAN or not. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main (void) -{ -#ifndef _BIG_ENDIAN - not big endian - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - ac_cv_c_bigendian=yes -else case e in #( - e) ac_cv_c_bigendian=no ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - fi - if test $ac_cv_c_bigendian = unknown; then - # Compile a test program. - if test "$cross_compiling" = yes -then : - # Try to guess by grepping values from an object file. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -unsigned short int ascii_mm[] = - { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; - unsigned short int ascii_ii[] = - { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; - int use_ascii (int i) { - return ascii_mm[i] + ascii_ii[i]; - } - unsigned short int ebcdic_ii[] = - { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; - unsigned short int ebcdic_mm[] = - { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; - int use_ebcdic (int i) { - return ebcdic_mm[i] + ebcdic_ii[i]; - } - int - main (int argc, char **argv) - { - /* Intimidate the compiler so that it does not - optimize the arrays away. */ - char *p = argv[0]; - ascii_mm[1] = *p++; ebcdic_mm[1] = *p++; - ascii_ii[1] = *p++; ebcdic_ii[1] = *p++; - return use_ascii (argc) == use_ebcdic (*p); - } -_ACEOF -if ac_fn_c_try_link "$LINENO" -then : - if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then - ac_cv_c_bigendian=yes - fi - if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then - if test "$ac_cv_c_bigendian" = unknown; then - ac_cv_c_bigendian=no - else - # finding both strings is unlikely to happen, but who knows? - ac_cv_c_bigendian=unknown - fi - fi -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -int -main (void) -{ - - /* Are we little or big endian? From Harbison&Steele. */ - union - { - long int l; - char c[sizeof (long int)]; - } u; - u.l = 1; - return u.c[sizeof (long int) - 1] == 1; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - ac_cv_c_bigendian=no -else case e in #( - e) ac_cv_c_bigendian=yes ;; -esac -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi - - fi ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 -printf "%s\n" "$ac_cv_c_bigendian" >&6; } - case $ac_cv_c_bigendian in #( - yes) - printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h -;; #( - no) - ;; #( - universal) - -printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h - - ;; #( - *) - as_fn_error $? "unknown endianness - presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; - esac - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5 printf %s "checking where to find the exponent in a 'long double'... " >&6; } @@ -27719,47 +28354,10 @@ printf "%s\n" "$gl_cv_header_langinfo_yesexpr" >&6; } LOCALENAME_ENHANCE_LOCALE_FUNCS=0; - REPLACE_NULL=0; + NULLPTR_T_NEEDS_STDDEF=1; + STDDEF_NOT_IDEMPOTENT=0; + REPLACE_NULL=0; HAVE_MAX_ALIGN_T=1; - HAVE_WCHAR_T=1; - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 -printf %s "checking for wchar_t... " >&6; } -if test ${gt_cv_c_wchar_t+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - wchar_t foo = (wchar_t)'\0'; -int -main (void) -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gt_cv_c_wchar_t=yes -else case e in #( - e) gt_cv_c_wchar_t=no ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 -printf "%s\n" "$gt_cv_c_wchar_t" >&6; } - if test $gt_cv_c_wchar_t = yes; then - -printf "%s\n" "#define HAVE_WCHAR_T 1" >>confdefs.h - - fi - @@ -27823,11 +28421,6 @@ printf "%s\n" "$gl_cv_type_max_align_t" >&6; } GL_GENERATE_STDDEF_H=true fi - if test $gt_cv_c_wchar_t = no; then - HAVE_WCHAR_T=0 - GL_GENERATE_STDDEF_H=true - fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 printf %s "checking whether NULL can be used in arbitrary expressions... " >&6; } if test ${gl_cv_decl_null_works+y} @@ -27901,6 +28494,67 @@ printf "%s\n" "$gl_cv_func_unreachable" >&6; } GL_GENERATE_STDDEF_H=true fi + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether nullptr_t needs " >&5 +printf %s "checking whether nullptr_t needs ... " >&6; } +if test ${gl_cv_nullptr_t_needs_stddef+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +nullptr_t x; +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_nullptr_t_needs_stddef=no +else case e in #( + e) gl_cv_nullptr_t_needs_stddef=yes ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_nullptr_t_needs_stddef" >&5 +printf "%s\n" "$gl_cv_nullptr_t_needs_stddef" >&6; } + if test "$gl_cv_nullptr_t_needs_stddef" = no; then + NULLPTR_T_NEEDS_STDDEF=0 + GL_GENERATE_STDDEF_H=true + fi + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clean definition of __STDC_VERSION_STDDEF_H__" >&5 +printf %s "checking for clean definition of __STDC_VERSION_STDDEF_H__... " >&6; } +if test ${gl_cv_clean_version_stddef+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114870 */ + #include + #undef __STDC_VERSION_STDDEF_H__ + #include + #ifdef __STDC_VERSION_STDDEF_H__ + # error " defines __STDC_VERSION_STDDEF_H__" + #endif + +_ACEOF +if ac_fn_c_try_cpp "$LINENO" +then : + gl_cv_clean_version_stddef=yes +else case e in #( + e) gl_cv_clean_version_stddef=no ;; +esac +fi +rm -f conftest.err conftest.i conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_clean_version_stddef" >&5 +printf "%s\n" "$gl_cv_clean_version_stddef" >&6; } + if test "$gl_cv_clean_version_stddef" = no; then + STDDEF_NOT_IDEMPOTENT=1 + GL_GENERATE_STDDEF_H=true + fi + if $GL_GENERATE_STDDEF_H; then @@ -28908,8 +29562,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ LIBS="$saved_LIBS" test $gl_pthread_api = yes && break done - echo "$as_me:28911: gl_pthread_api=$gl_pthread_api" >&5 - echo "$as_me:28912: LIBPTHREAD=$LIBPTHREAD" >&5 + echo "$as_me:29565: gl_pthread_api=$gl_pthread_api" >&5 + echo "$as_me:29566: LIBPTHREAD=$LIBPTHREAD" >&5 gl_pthread_in_glibc=no # On Linux with glibc >= 2.34, libc contains the fully functional @@ -28935,7 +29589,7 @@ rm -rf conftest* ;; esac - echo "$as_me:28938: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 + echo "$as_me:29592: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 # Test for libpthread by looking for pthread_kill. (Not pthread_self, # since it is defined as a macro on OSF/1.) @@ -29169,7 +29823,7 @@ fi fi fi - echo "$as_me:29172: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 + echo "$as_me:29826: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5 printf %s "checking whether POSIX threads API is available... " >&6; } @@ -29418,8 +30072,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ LIBS="$saved_LIBS" test $gl_pthread_api = yes && break done - echo "$as_me:29421: gl_pthread_api=$gl_pthread_api" >&5 - echo "$as_me:29422: LIBPTHREAD=$LIBPTHREAD" >&5 + echo "$as_me:30075: gl_pthread_api=$gl_pthread_api" >&5 + echo "$as_me:30076: LIBPTHREAD=$LIBPTHREAD" >&5 gl_pthread_in_glibc=no # On Linux with glibc >= 2.34, libc contains the fully functional @@ -29445,7 +30099,7 @@ rm -rf conftest* ;; esac - echo "$as_me:29448: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 + echo "$as_me:30102: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 # Test for libpthread by looking for pthread_kill. (Not pthread_self, # since it is defined as a macro on OSF/1.) @@ -29679,7 +30333,7 @@ fi fi fi - echo "$as_me:29682: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 + echo "$as_me:30336: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5 printf %s "checking whether POSIX threads API is available... " >&6; } @@ -30862,7 +31516,7 @@ main (void) if (fd >= 0) # endif { - int pagesize = getpagesize (); + long int pagesize = sysconf (_SC_PAGESIZE); char *two_pages = (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, flags, fd, 0); @@ -31007,6 +31661,358 @@ printf "%s\n" "#define HAVE_MINMAX_IN_SYS_PARAM_H 1" >>confdefs.h + HAVE_PTHREAD_T=1; + HAVE_PTHREAD_SPINLOCK_T=1; + HAVE_PTHREAD_CREATE_DETACHED=1; + HAVE_PTHREAD_MUTEX_RECURSIVE=1; + HAVE_PTHREAD_MUTEX_ROBUST=1; + HAVE_PTHREAD_PROCESS_SHARED=1; + HAVE_PTHREAD_CREATE=1; + HAVE_PTHREAD_ATTR_INIT=1; + HAVE_PTHREAD_ATTR_GETDETACHSTATE=1; + HAVE_PTHREAD_ATTR_SETDETACHSTATE=1; + HAVE_PTHREAD_ATTR_DESTROY=1; + HAVE_PTHREAD_SELF=1; + HAVE_PTHREAD_EQUAL=1; + HAVE_PTHREAD_DETACH=1; + HAVE_PTHREAD_JOIN=1; + HAVE_PTHREAD_EXIT=1; + HAVE_PTHREAD_ONCE=1; + HAVE_PTHREAD_MUTEX_INIT=1; + HAVE_PTHREAD_MUTEXATTR_INIT=1; + HAVE_PTHREAD_MUTEXATTR_GETTYPE=1; + HAVE_PTHREAD_MUTEXATTR_SETTYPE=1; + HAVE_PTHREAD_MUTEXATTR_GETROBUST=1; + HAVE_PTHREAD_MUTEXATTR_SETROBUST=1; + HAVE_PTHREAD_MUTEXATTR_DESTROY=1; + HAVE_PTHREAD_MUTEX_LOCK=1; + HAVE_PTHREAD_MUTEX_TRYLOCK=1; + HAVE_PTHREAD_MUTEX_TIMEDLOCK=1; + HAVE_PTHREAD_MUTEX_UNLOCK=1; + HAVE_PTHREAD_MUTEX_DESTROY=1; + HAVE_PTHREAD_RWLOCK_INIT=1; + HAVE_PTHREAD_RWLOCKATTR_INIT=1; + HAVE_PTHREAD_RWLOCKATTR_DESTROY=1; + HAVE_PTHREAD_RWLOCK_RDLOCK=1; + HAVE_PTHREAD_RWLOCK_WRLOCK=1; + HAVE_PTHREAD_RWLOCK_TRYRDLOCK=1; + HAVE_PTHREAD_RWLOCK_TRYWRLOCK=1; + HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK=1; + HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK=1; + HAVE_PTHREAD_RWLOCK_UNLOCK=1; + HAVE_PTHREAD_RWLOCK_DESTROY=1; + HAVE_PTHREAD_COND_INIT=1; + HAVE_PTHREAD_CONDATTR_INIT=1; + HAVE_PTHREAD_CONDATTR_DESTROY=1; + HAVE_PTHREAD_COND_WAIT=1; + HAVE_PTHREAD_COND_TIMEDWAIT=1; + HAVE_PTHREAD_COND_SIGNAL=1; + HAVE_PTHREAD_COND_BROADCAST=1; + HAVE_PTHREAD_COND_DESTROY=1; + HAVE_PTHREAD_KEY_CREATE=1; + HAVE_PTHREAD_SETSPECIFIC=1; + HAVE_PTHREAD_GETSPECIFIC=1; + HAVE_PTHREAD_KEY_DELETE=1; + HAVE_PTHREAD_SPIN_INIT=1; + HAVE_PTHREAD_SPIN_LOCK=1; + HAVE_PTHREAD_SPIN_TRYLOCK=1; + HAVE_PTHREAD_SPIN_UNLOCK=1; + HAVE_PTHREAD_SPIN_DESTROY=1; + REPLACE_PTHREAD_CREATE=0; + REPLACE_PTHREAD_ATTR_INIT=0; + REPLACE_PTHREAD_ATTR_GETDETACHSTATE=0; + REPLACE_PTHREAD_ATTR_SETDETACHSTATE=0; + REPLACE_PTHREAD_ATTR_DESTROY=0; + REPLACE_PTHREAD_SELF=0; + REPLACE_PTHREAD_EQUAL=0; + REPLACE_PTHREAD_DETACH=0; + REPLACE_PTHREAD_JOIN=0; + REPLACE_PTHREAD_EXIT=0; + REPLACE_PTHREAD_ONCE=0; + REPLACE_PTHREAD_MUTEX_INIT=0; + REPLACE_PTHREAD_MUTEXATTR_INIT=0; + REPLACE_PTHREAD_MUTEXATTR_GETTYPE=0; + REPLACE_PTHREAD_MUTEXATTR_SETTYPE=0; + REPLACE_PTHREAD_MUTEXATTR_GETROBUST=0; + REPLACE_PTHREAD_MUTEXATTR_SETROBUST=0; + REPLACE_PTHREAD_MUTEXATTR_DESTROY=0; + REPLACE_PTHREAD_MUTEX_LOCK=0; + REPLACE_PTHREAD_MUTEX_TRYLOCK=0; + REPLACE_PTHREAD_MUTEX_TIMEDLOCK=0; + REPLACE_PTHREAD_MUTEX_UNLOCK=0; + REPLACE_PTHREAD_MUTEX_DESTROY=0; + REPLACE_PTHREAD_RWLOCK_INIT=0; + REPLACE_PTHREAD_RWLOCKATTR_INIT=0; + REPLACE_PTHREAD_RWLOCKATTR_DESTROY=0; + REPLACE_PTHREAD_RWLOCK_RDLOCK=0; + REPLACE_PTHREAD_RWLOCK_WRLOCK=0; + REPLACE_PTHREAD_RWLOCK_TRYRDLOCK=0; + REPLACE_PTHREAD_RWLOCK_TRYWRLOCK=0; + REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK=0; + REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK=0; + REPLACE_PTHREAD_RWLOCK_UNLOCK=0; + REPLACE_PTHREAD_RWLOCK_DESTROY=0; + REPLACE_PTHREAD_COND_INIT=0; + REPLACE_PTHREAD_CONDATTR_INIT=0; + REPLACE_PTHREAD_CONDATTR_DESTROY=0; + REPLACE_PTHREAD_COND_WAIT=0; + REPLACE_PTHREAD_COND_TIMEDWAIT=0; + REPLACE_PTHREAD_COND_SIGNAL=0; + REPLACE_PTHREAD_COND_BROADCAST=0; + REPLACE_PTHREAD_COND_DESTROY=0; + REPLACE_PTHREAD_KEY_CREATE=0; + REPLACE_PTHREAD_SETSPECIFIC=0; + REPLACE_PTHREAD_GETSPECIFIC=0; + REPLACE_PTHREAD_KEY_DELETE=0; + REPLACE_PTHREAD_SPIN_INIT=0; + REPLACE_PTHREAD_SPIN_LOCK=0; + REPLACE_PTHREAD_SPIN_TRYLOCK=0; + REPLACE_PTHREAD_SPIN_UNLOCK=0; + REPLACE_PTHREAD_SPIN_DESTROY=0; + + + + + + + + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_pthread_h='<'pthread.h'>' + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_pthread_h+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + if test $ac_cv_header_pthread_h = yes; then + + + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + + case "$host_os" in + mingw* | windows*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='\/' + ;; + esac + gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' + gl_header_literal_regex=`echo 'pthread.h' \ + | sed -e "$gl_make_literal_regex_sed"` + gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ + s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ + s|^/[^/]|//&| + p + q + }' + + gl_cv_absolute_pthread_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n "$gl_absolute_header_sed"` + + gl_header=$gl_cv_absolute_pthread_h + gl_cv_next_pthread_h='"'$gl_header'"' + else + gl_cv_next_pthread_h='<'pthread.h'>' + fi + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_pthread_h" >&5 +printf "%s\n" "$gl_cv_next_pthread_h" >&6; } + fi + NEXT_PTHREAD_H=$gl_cv_next_pthread_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'pthread.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_pthread_h + fi + NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H=$gl_next_as_first_directive + + + + + if test $ac_cv_header_pthread_h = yes; then + HAVE_PTHREAD_H=1 + + + if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \ + && test $gl_threads_api = windows; then + HAVE_PTHREAD_H=0 + fi + + else + HAVE_PTHREAD_H=0 + fi + + + ac_fn_c_check_type "$LINENO" "pthread_t" "ac_cv_type_pthread_t" "$ac_includes_default + #if HAVE_PTHREAD_H + #include + #endif +" +if test "x$ac_cv_type_pthread_t" = xyes +then : + +printf "%s\n" "#define HAVE_PTHREAD_T 1" >>confdefs.h + + +fi +ac_fn_c_check_type "$LINENO" "pthread_spinlock_t" "ac_cv_type_pthread_spinlock_t" "$ac_includes_default + #if HAVE_PTHREAD_H + #include + #endif +" +if test "x$ac_cv_type_pthread_spinlock_t" = xyes +then : + +printf "%s\n" "#define HAVE_PTHREAD_SPINLOCK_T 1" >>confdefs.h + + +fi + + if test $ac_cv_type_pthread_t != yes; then + HAVE_PTHREAD_T=0 + fi + if test $ac_cv_type_pthread_spinlock_t != yes; then + HAVE_PTHREAD_SPINLOCK_T=0 + fi + + + + + + if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \ + && test $gl_threads_api = windows; then + REPLACE_PTHREAD_SPIN_INIT=1 + REPLACE_PTHREAD_SPIN_LOCK=1 + REPLACE_PTHREAD_SPIN_TRYLOCK=1 + REPLACE_PTHREAD_SPIN_UNLOCK=1 + REPLACE_PTHREAD_SPIN_DESTROY=1 + else + if test $HAVE_PTHREAD_H = 0 || test $HAVE_PTHREAD_SPINLOCK_T = 0; then + HAVE_PTHREAD_SPIN_INIT=0 + HAVE_PTHREAD_SPIN_LOCK=0 + HAVE_PTHREAD_SPIN_TRYLOCK=0 + HAVE_PTHREAD_SPIN_UNLOCK=0 + HAVE_PTHREAD_SPIN_DESTROY=0 + else + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_spin_init" >&5 +printf %s "checking for pthread_spin_init... " >&6; } +if test ${gl_cv_func_pthread_spin_init_in_LIBMULTITHREAD+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) gl_saved_LIBS="$LIBS" + LIBS="$LIBS $LIBMULTITHREAD" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +pthread_spinlock_t lock; + return pthread_spin_init (&lock, 0); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + gl_cv_func_pthread_spin_init_in_LIBMULTITHREAD=yes +else case e in #( + e) gl_cv_func_pthread_spin_init_in_LIBMULTITHREAD=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gl_saved_LIBS" + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_spin_init_in_LIBMULTITHREAD" >&5 +printf "%s\n" "$gl_cv_func_pthread_spin_init_in_LIBMULTITHREAD" >&6; } + if test $gl_cv_func_pthread_spin_init_in_LIBMULTITHREAD != yes; then + HAVE_PTHREAD_SPIN_INIT=0 + REPLACE_PTHREAD_SPIN_INIT=1 + HAVE_PTHREAD_SPIN_LOCK=0 + REPLACE_PTHREAD_SPIN_LOCK=1 + HAVE_PTHREAD_SPIN_TRYLOCK=0 + REPLACE_PTHREAD_SPIN_TRYLOCK=1 + HAVE_PTHREAD_SPIN_UNLOCK=0 + REPLACE_PTHREAD_SPIN_UNLOCK=1 + HAVE_PTHREAD_SPIN_DESTROY=0 + REPLACE_PTHREAD_SPIN_DESTROY=1 + fi + + fi + fi + + + + GL_GNULIB_PTHREAD_THREAD=0 + + + + GL_GNULIB_PTHREAD_ONCE=0 + + + + GL_GNULIB_PTHREAD_MUTEX=0 + + + + GL_GNULIB_PTHREAD_RWLOCK=0 + + + + GL_GNULIB_PTHREAD_COND=0 + + + + GL_GNULIB_PTHREAD_TSS=0 + + + + GL_GNULIB_PTHREAD_SPIN=0 + + + + GL_GNULIB_PTHREAD_MUTEX_TIMEDLOCK=0 + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to activate relocatable installation" >&5 printf %s "checking whether to activate relocatable installation... " >&6; } # Check whether --enable-relocatable was given. @@ -31028,6 +32034,16 @@ fi printf "%s\n" "$RELOCATABLE" >&6; } + gl_sed_double_backslashes='s/\\/\\\\/g' + gl_sed_escape_doublequotes='s/"/\\"/g' + gl_sed_escape_for_make_1="s,\\([ \"&'();<>\\\\\`|]\\),\\\\\\1,g" + gl_sed_escape_for_make_2='s,\$,\\$$,g' + case `echo r | tr -d '\r'` in + '') gl_tr_cr='\015' ;; + *) gl_tr_cr='\r' ;; + esac + + if test "X$prefix" = "XNONE"; then reloc_final_prefix="$ac_default_prefix" @@ -31035,7 +32051,31 @@ printf "%s\n" "$RELOCATABLE" >&6; } reloc_final_prefix="$prefix" fi -printf "%s\n" "#define INSTALLPREFIX \"${reloc_final_prefix}\"" >>confdefs.h + + + + + gl_final_reloc_final_prefix="$reloc_final_prefix" + case "$build_os" in + cygwin*) + case "$host_os" in + mingw* | windows*) + gl_final_reloc_final_prefix=`cygpath -w "$gl_final_reloc_final_prefix"` ;; + esac + ;; + esac + reloc_final_prefix_c=`printf '%s\n' "$gl_final_reloc_final_prefix" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` + reloc_final_prefix_c='"'"$reloc_final_prefix_c"'"' + + + reloc_final_prefix_c_make=`printf '%s\n' "$reloc_final_prefix_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` + if test "$reloc_final_prefix_c_make" = '\"'"${gl_final_reloc_final_prefix}"'\"'; then + reloc_final_prefix_c_make='\"$(reloc_final_prefix)\"' + fi + + + +printf "%s\n" "#define INSTALLPREFIX ${reloc_final_prefix_c}" >>confdefs.h if test $RELOCATABLE = yes; then @@ -31044,6 +32084,231 @@ printf "%s\n" "#define ENABLE_RELOCATABLE 1" >>confdefs.h fi + HAVE_SCHED_YIELD=1; + REPLACE_SCHED_YIELD=0; + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glibc-compatible sys/cdefs.h" >&5 +printf %s "checking for glibc-compatible sys/cdefs.h... " >&6; } +if test ${gl_cv_header_sys_cdefs_h+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + enum { foo = __GNUC_PREREQ (14, 1) } bar; + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_header_sys_cdefs_h=yes +else case e in #( + e) gl_cv_header_sys_cdefs_h=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_cdefs_h" >&5 +printf "%s\n" "$gl_cv_header_sys_cdefs_h" >&6; } + if test "$gl_cv_header_sys_cdefs_h" = yes; then + HAVE_SYS_CDEFS_H=1 + else + HAVE_SYS_CDEFS_H=0 + fi + + + ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default +" +if test "x$ac_cv_type_pid_t" = xyes +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #if defined _WIN64 && !defined __CYGWIN__ + LLP64 + #endif + +int +main (void) +{ + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_pid_type='int' +else case e in #( + e) ac_pid_type='__int64' ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + +printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h + + ;; +esac +fi + + + + + + + + + + ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "#if HAVE_SYS_CDEFS_H + #include + #endif + +" +if test "x$ac_cv_header_sched_h" = xyes +then : + printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h + +fi + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_sched_h='<'sched.h'>' + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_sched_h+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + + case "$host_os" in + mingw* | windows*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='\/' + ;; + esac + gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' + gl_header_literal_regex=`echo 'sched.h' \ + | sed -e "$gl_make_literal_regex_sed"` + gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ + s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ + s|^/[^/]|//&| + p + q + }' + + gl_cv_absolute_sched_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n "$gl_absolute_header_sed"` + + gl_header=$gl_cv_absolute_sched_h + gl_cv_next_sched_h='"'$gl_header'"' + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sched_h" >&5 +printf "%s\n" "$gl_cv_next_sched_h" >&6; } + fi + NEXT_SCHED_H=$gl_cv_next_sched_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'sched.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_sched_h + fi + NEXT_AS_FIRST_DIRECTIVE_SCHED_H=$gl_next_as_first_directive + + + + + + if test "$ac_cv_header_sched_h" = yes; then + HAVE_SCHED_H=1 + else + HAVE_SCHED_H=0 + fi + + + if test "$HAVE_SCHED_H" = 1; then + ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#if HAVE_SYS_CDEFS_H + #include + #endif + #include + +" +if test "x$ac_cv_type_struct_sched_param" = xyes +then : + HAVE_STRUCT_SCHED_PARAM=1 +else case e in #( + e) HAVE_STRUCT_SCHED_PARAM=0 ;; +esac +fi + + else + HAVE_STRUCT_SCHED_PARAM=0 + case "$host_os" in + os2*) + ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include +" +if test "x$ac_cv_type_struct_sched_param" = xyes +then : + HAVE_STRUCT_SCHED_PARAM=1 +fi + + ;; + vms) + ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include +" +if test "x$ac_cv_type_struct_sched_param" = xyes +then : + HAVE_STRUCT_SCHED_PARAM=1 +fi + + ;; + esac + fi + + + + + + + + + + + GL_GNULIB_SCHED_YIELD=0 + + + + @@ -31169,12 +32434,12 @@ then : else case e in #( e) case "$host_os" in - # Guess no on Solaris. - solaris*) gl_cv_macro_MB_CUR_MAX_good="guessing no" ;; - # Guess yes otherwise. - *) gl_cv_macro_MB_CUR_MAX_good="guessing yes" ;; + # Guess no on Solaris and Haiku. + solaris* | haiku*) gl_cv_macro_MB_CUR_MAX_good="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_macro_MB_CUR_MAX_good="guessing yes" ;; esac - if test $LOCALE_FR_UTF8 != none; then + if test "$LOCALE_EN_UTF8" != none; then if test "$cross_compiling" = yes then : : @@ -31187,7 +32452,7 @@ else case e in #( int main () { int result = 0; - if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + if (setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { if (MB_CUR_MAX < 4) result |= 1; @@ -31427,7 +32692,7 @@ main (void) if (fd >= 0) # endif { - int pagesize = getpagesize (); + long int pagesize = sysconf (_SC_PAGESIZE); char *two_pages = (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, flags, fd, 0); @@ -31587,45 +32852,6 @@ printf "%s\n" "$gl_cv_func_strstr_works_always" >&6; } - - ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default -" -if test "x$ac_cv_type_pid_t" = xyes -then : - -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #if defined _WIN64 && !defined __CYGWIN__ - LLP64 - #endif - -int -main (void) -{ - - ; - return 0; -} - -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - ac_pid_type='int' -else case e in #( - e) ac_pid_type='__int64' ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - -printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h - - ;; -esac -fi - - ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" if test "x$ac_cv_type_mode_t" = xyes then : @@ -31732,6 +32958,47 @@ printf "%s\n" "$gl_cv_member_st_size_64" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for off64_t" >&5 +printf %s "checking for off64_t... " >&6; } +if test ${gl_cv_off64_t+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +int x = sizeof (off64_t *) + sizeof (off64_t); + return !x; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_off64_t=yes +else case e in #( + e) gl_cv_off64_t=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_off64_t" >&5 +printf "%s\n" "$gl_cv_off64_t" >&6; } + + if test $gl_cv_off64_t != no; then + HAVE_OFF64_T=1 + else + HAVE_OFF64_T=0 + fi + + + + + printf "%s\n" "#define _USE_STD_STAT 1" >>confdefs.h @@ -31817,6 +33084,8 @@ printf "%s\n" "$gl_cv_next_sys_types_h" >&6; } + + WINDOWS_STAT_INODES=0 @@ -31824,6 +33093,361 @@ printf "%s\n" "$gl_cv_next_sys_types_h" >&6; } + HAVE_DECL_LOCALTIME_R=1; + HAVE_NANOSLEEP=1; + HAVE_STRPTIME=1; + HAVE_TIMEGM=1; + HAVE_TIMESPEC_GET=1; + HAVE_TIMESPEC_GETRES=1; + HAVE_TIMEZONE_T=0; + HAVE_TZALLOC=0; + REPLACE_CTIME=0; + REPLACE_GMTIME=0; + REPLACE_LOCALTIME=0; + REPLACE_LOCALTIME_R=0; + REPLACE_LOCALTIME_RZ=0; + REPLACE_MKTIME=0; + REPLACE_MKTIME_Z=0; + REPLACE_NANOSLEEP=0; + REPLACE_STRFTIME=0; + REPLACE_TIME=0; + REPLACE_TIMEGM=0; + REPLACE_TIMESPEC_GET=0; + REPLACE_TIMESPEC_GETRES=0; + REPLACE_TZSET=0; + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 +printf %s "checking for struct timespec in ... " >&6; } +if test ${gl_cv_sys_struct_timespec_in_time_h+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +static struct timespec x; x.tv_sec = x.tv_nsec; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_sys_struct_timespec_in_time_h=yes +else case e in #( + e) gl_cv_sys_struct_timespec_in_time_h=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5 +printf "%s\n" "$gl_cv_sys_struct_timespec_in_time_h" >&6; } + + TIME_H_DEFINES_STRUCT_TIMESPEC=0 + SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 + PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0 + UNISTD_H_DEFINES_STRUCT_TIMESPEC=0 + if test $gl_cv_sys_struct_timespec_in_time_h = yes; then + TIME_H_DEFINES_STRUCT_TIMESPEC=1 + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 +printf %s "checking for struct timespec in ... " >&6; } +if test ${gl_cv_sys_struct_timespec_in_sys_time_h+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +static struct timespec x; x.tv_sec = x.tv_nsec; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_sys_struct_timespec_in_sys_time_h=yes +else case e in #( + e) gl_cv_sys_struct_timespec_in_sys_time_h=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5 +printf "%s\n" "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; } + if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then + SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 +printf %s "checking for struct timespec in ... " >&6; } +if test ${gl_cv_sys_struct_timespec_in_pthread_h+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +static struct timespec x; x.tv_sec = x.tv_nsec; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_sys_struct_timespec_in_pthread_h=yes +else case e in #( + e) gl_cv_sys_struct_timespec_in_pthread_h=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5 +printf "%s\n" "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; } + if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then + PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1 + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 +printf %s "checking for struct timespec in ... " >&6; } +if test ${gl_cv_sys_struct_timespec_in_unistd_h+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +static struct timespec x; x.tv_sec = x.tv_nsec; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_sys_struct_timespec_in_unistd_h=yes +else case e in #( + e) gl_cv_sys_struct_timespec_in_unistd_h=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_unistd_h" >&5 +printf "%s\n" "$gl_cv_sys_struct_timespec_in_unistd_h" >&6; } + if test $gl_cv_sys_struct_timespec_in_unistd_h = yes; then + UNISTD_H_DEFINES_STRUCT_TIMESPEC=1 + fi + fi + fi + fi + + + + + + + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_time_h='<'time.h'>' + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_time_h+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + + case "$host_os" in + mingw* | windows*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='\/' + ;; + esac + gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' + gl_header_literal_regex=`echo 'time.h' \ + | sed -e "$gl_make_literal_regex_sed"` + gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ + s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ + s|^/[^/]|//&| + p + q + }' + + gl_cv_absolute_time_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n "$gl_absolute_header_sed"` + + gl_header=$gl_cv_absolute_time_h + gl_cv_next_time_h='"'$gl_header'"' + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5 +printf "%s\n" "$gl_cv_next_time_h" >&6; } + fi + NEXT_TIME_H=$gl_cv_next_time_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'time.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_time_h + fi + NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIME_UTC in " >&5 +printf %s "checking for TIME_UTC in ... " >&6; } +if test ${gl_cv_time_h_has_TIME_UTC+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +static int x = TIME_UTC; x++; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_time_h_has_TIME_UTC=yes +else case e in #( + e) gl_cv_time_h_has_TIME_UTC=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_time_h_has_TIME_UTC" >&5 +printf "%s\n" "$gl_cv_time_h_has_TIME_UTC" >&6; } + if test $gl_cv_time_h_has_TIME_UTC = yes; then + TIME_H_DEFINES_TIME_UTC=1 + else + TIME_H_DEFINES_TIME_UTC=0 + fi + + + + + GL_GNULIB_CTIME=0 + + + + GL_GNULIB_MKTIME=0 + + + + GL_GNULIB_LOCALTIME=0 + + + + GL_GNULIB_NANOSLEEP=0 + + + + GL_GNULIB_STRFTIME=0 + + + + GL_GNULIB_STRPTIME=0 + + + + GL_GNULIB_TIME=0 + + + + GL_GNULIB_TIMEGM=0 + + + + GL_GNULIB_TIMESPEC_GET=0 + + + + GL_GNULIB_TIMESPEC_GETRES=0 + + + + GL_GNULIB_TIME_R=0 + + + + GL_GNULIB_TIME_RZ=0 + + + + GL_GNULIB_TZNAME=0 + + + + GL_GNULIB_TZSET=0 + + + + GL_GNULIB_MDA_TZSET=1 + + + + @@ -32186,6 +33810,10 @@ q + GL_GNULIB_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' + + + GL_GNULIB_UNICTYPE_PROPERTY_BIDI_CONTROL_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' @@ -32529,6 +34157,7 @@ q REPLACE_GETPAGESIZE=0; REPLACE_GETPASS=0; REPLACE_GETPASS_FOR_GETPASS_GNU=0; + REPLACE_GETUSERSHELL=0; REPLACE_ISATTY=0; REPLACE_LCHOWN=0; REPLACE_LINK=0; @@ -33377,7 +35006,6 @@ printf "%s\n" "$gl_cv_func_snprintf_truncation_c99" >&6; } - ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen" if test "x$ac_cv_func_wcslen" = xyes then : @@ -34099,6 +35727,7 @@ static double zero = 0.0; int main () { int result = 0; + /* This fails on FreeBSD 5.2.1, Solaris 11.4. */ if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0 || (strcmp (buf, "0x1.922p+1 33") != 0 && strcmp (buf, "0x3.244p+0 33") != 0 @@ -34110,27 +35739,29 @@ int main () && strcmp (buf, "-0X3.244P+0 33") != 0 && strcmp (buf, "-0X6.488P-1 33") != 0 && strcmp (buf, "-0XC.91P-2 33") != 0)) - result |= 2; - /* This catches a FreeBSD 13.0 bug: it doesn't round. */ + result |= 1; + /* This catches a Mac OS X 10.5, FreeBSD 6.4, NetBSD 10.0 bug: + it doesn't round. */ if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0 || (strcmp (buf, "0x1.83p+0 33") != 0 && strcmp (buf, "0x3.05p-1 33") != 0 && strcmp (buf, "0x6.0ap-2 33") != 0 && strcmp (buf, "0xc.14p-3 33") != 0)) - result |= 4; - /* This catches a Mac OS X 10.12.4 (Darwin 16.5) bug: it doesn't round. */ + result |= 2; + /* This catches a macOS 14 (Darwin 23), FreeBSD 14.0, OpenBSD 7.5, AIX 7.3, + Solaris 11.4 bug: it doesn't round. */ if (sprintf (buf, "%.0a %d", 1.51, 33, 44, 55) < 0 || (strcmp (buf, "0x2p+0 33") != 0 && strcmp (buf, "0x3p-1 33") != 0 && strcmp (buf, "0x6p-2 33") != 0 && strcmp (buf, "0xcp-3 33") != 0)) result |= 4; - /* This catches a FreeBSD 6.1 bug. See + /* This catches a Mac OS X 10.5, FreeBSD 6.4 bug. See */ if (sprintf (buf, "%010a %d", 1.0 / zero, 33, 44, 55) < 0 || buf[0] == '0') result |= 8; - /* This catches a Mac OS X 10.3.9 (Darwin 7.9) bug. */ + /* This catches a Mac OS X 10.3.9 (Darwin 7.9), FreeBSD 6.4 bug. */ if (sprintf (buf, "%.1a", 1.999) < 0 || (strcmp (buf, "0x1.0p+1") != 0 && strcmp (buf, "0x2.0p+0") != 0 @@ -34138,7 +35769,8 @@ int main () && strcmp (buf, "0x8.0p-2") != 0)) result |= 16; /* This catches the same Mac OS X 10.3.9 (Darwin 7.9) bug and also a - glibc 2.4 bug . */ + glibc 2.4 bug + and a FreeBSD 6.4, NetBSD 10.0 bug. */ if (sprintf (buf, "%.1La", 1.999L) < 0 || (strcmp (buf, "0x1.0p+1") != 0 && strcmp (buf, "0x2.0p+0") != 0 @@ -35691,8 +37323,12 @@ fi - HAVE_DECL_INET_NTOP=1; + HAVE_DECL_HTONL=1; + HAVE_DECL_HTONS=1; + HAVE_DECL_INET_NTOP=1; HAVE_DECL_INET_PTON=1; + HAVE_DECL_NTOHL=1; + HAVE_DECL_NTOHS=1; REPLACE_INET_NTOP=0; REPLACE_INET_PTON=0; @@ -35821,6 +37457,171 @@ printf "%s\n" "$gl_cv_next_arpa_inet_h" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 +printf %s "checking for a french Unicode locale... " >&6; } +if test ${gt_cv_locale_fr_utf8+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + case "$host_os" in + *-musl* | midipix*) + gt_cv_locale_fr_utf8=fr_FR.UTF-8 + ;; + *) + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () { + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl + imitates locale dependent behaviour by looking at the environment + variables, and all locales use the UTF-8 encoding. */ +#if !(defined __BEOS__ || defined __HAIKU__) + /* Check whether the given locale name is recognized by the system. */ +# if defined _WIN32 && !defined __CYGWIN__ + /* On native Windows, setlocale(category, "") looks at the system settings, + not at the environment variables. Also, when an encoding suffix such + as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE + category of the locale to "C". */ + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) + return 1; +# else + if (setlocale (LC_ALL, "") == NULL) return 1; +# endif + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +# if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +# endif +# ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +# endif + /* Check whether in the abbreviation of the second month, the second + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is + two bytes long, with UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%b", &t) < 4 + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') + return 1; +#endif +#if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ + /* Check whether the decimal separator is a comma. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale + and on Haiku in the fr_FR.UTF-8 locale, + localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ + if (localeconv () ->decimal_point[0] != ',') return 1; +#endif + return 0; +} + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest$ac_exeext; then + case "$host_os" in + # Handle native Windows specially, because there setlocale() interprets + # "ar" or "ara" as "Arabic" or "Arabic_Saudi Arabia.1256", + # "en" or "eng" as "English" or "English_United States.1252", + # "fr" or "fra" as "French" or "French_France.1252", + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", + # "ja" or "jpn" as "Japanese" or "Japanese_Japan.932", + # and similar. + mingw* | windows*) + # Test for the hypothetical native Windows locale name. + if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr_utf8=French_France.65001 + else + # None found. + gt_cv_locale_fr_utf8=none + fi + ;; + *) + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the usual locale name. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr_utf8=fr_FR + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr_utf8=fr_FR.UTF-8 + else + # Test for the Solaris 10 locale name. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr_utf8=fr.UTF-8 + else + # None found. + gt_cv_locale_fr_utf8=none + fi + fi + fi + ;; + esac + fi + rm -fr conftest* + ;; + esac + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 +printf "%s\n" "$gt_cv_locale_fr_utf8" >&6; } + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 + case $LOCALE_FR_UTF8 in #( + '' | *[[:space:]\"\$\'*[]*) + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: invalid locale \"$LOCALE_FR_UTF8\"; assuming \"none\"" >&5 +printf "%s\n" "$as_me: WARNING: invalid locale \"$LOCALE_FR_UTF8\"; assuming \"none\"" >&2;} + LOCALE_FR_UTF8=none;; + esac + + + case "$host_os" in + *-musl* | midipix*) + LC_COLLATE_IMPLEMENTED=false + LC_NUMERIC_IMPLEMENTED=false + LC_TIME_IMPLEMENTED=false + LC_MONETARY_IMPLEMENTED=false + ;; + *) + LC_COLLATE_IMPLEMENTED=true + LC_NUMERIC_IMPLEMENTED=true + LC_TIME_IMPLEMENTED=true + LC_MONETARY_IMPLEMENTED=true + ;; + esac + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a turkish Unicode locale" >&5 printf %s "checking for a turkish Unicode locale... " >&6; } @@ -35902,10 +37703,11 @@ _ACEOF test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets - # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", + # "ar" or "ara" as "Arabic" or "Arabic_Saudi Arabia.1256", + # "en" or "eng" as "English" or "English_United States.1252", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", - # "ja" as "Japanese" or "Japanese_Japan.932", + # "ja" or "jpn" as "Japanese" or "Japanese_Japan.932", # and similar. mingw* | windows*) # Test for the hypothetical native Windows locale name. @@ -35929,7 +37731,7 @@ _ACEOF if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_tr_utf8=tr_TR.UTF-8 else - # Test for the Solaris 7 locale name. + # Test for the Solaris 10 locale name. if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_tr_utf8=tr.UTF-8 else @@ -35968,6 +37770,10 @@ printf "%s\n" "$as_me: WARNING: invalid locale \"$LOCALE_TR_UTF8\"; assuming \"n + + + + if test $ac_cv_func__set_invalid_parameter_handler = yes; then HAVE_MSVC_INVALID_PARAMETER_HANDLER=1 @@ -35982,6 +37788,7 @@ printf "%s\n" "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_CLOSE=1 fi @@ -36014,6 +37821,82 @@ fi fi + if test $REPLACE_CLOSE = 0; then + + + + if test $ac_cv_func_fchdir = no; then + HAVE_FCHDIR=0 + fi + + if test $HAVE_FCHDIR = 0; then + REPLACE_CLOSE=1 + fi + fi + + + + HAVE_OPENDIR=1; + HAVE_READDIR=1; + HAVE_REWINDDIR=1; + HAVE_CLOSEDIR=1; + HAVE_DECL_DIRFD=1; + HAVE_DECL_FDOPENDIR=1; + HAVE_FDOPENDIR=1; + HAVE_SCANDIR=1; + HAVE_ALPHASORT=1; + REPLACE_OPENDIR=0; + REPLACE_READDIR=0; + REPLACE_REWINDDIR=0; + REPLACE_CLOSEDIR=0; + REPLACE_DIRFD=0; + REPLACE_FDOPENDIR=0; + + + + case "$host_os" in + mingw* | windows* | os2*) DIR_HAS_FD_MEMBER=0 ;; + *) DIR_HAS_FD_MEMBER=1 ;; + esac + + + + + + + + + GL_GNULIB_OPENDIR=0 + + + + GL_GNULIB_READDIR=0 + + + + GL_GNULIB_REWINDDIR=0 + + + + GL_GNULIB_CLOSEDIR=0 + + + + GL_GNULIB_DIRFD=0 + + + + GL_GNULIB_FDOPENDIR=0 + + + + GL_GNULIB_SCANDIR=0 + + + + GL_GNULIB_ALPHASORT=0 + + HAVE_ISBLANK=1; @@ -36112,6 +37995,103 @@ printf "%s\n" "$gl_cv_next_ctype_h" >&6; } + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_dirent_h='<'dirent.h'>' + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +printf %s "checking absolute name of ... " >&6; } +if test ${gl_cv_next_dirent_h+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + if test $ac_cv_header_dirent_h = yes; then + + + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + + case "$host_os" in + mingw* | windows*) + gl_dirsep_regex='[/\\]' + ;; + *) + gl_dirsep_regex='\/' + ;; + esac + gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' + gl_header_literal_regex=`echo 'dirent.h' \ + | sed -e "$gl_make_literal_regex_sed"` + gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ + s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ + s|^/[^/]|//&| + p + q + }' + + gl_cv_absolute_dirent_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n "$gl_absolute_header_sed"` + + gl_header=$gl_cv_absolute_dirent_h + gl_cv_next_dirent_h='"'$gl_header'"' + else + gl_cv_next_dirent_h='<'dirent.h'>' + fi + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_dirent_h" >&5 +printf "%s\n" "$gl_cv_next_dirent_h" >&6; } + fi + NEXT_DIRENT_H=$gl_cv_next_dirent_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'dirent.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_dirent_h + fi + NEXT_AS_FIRST_DIRECTIVE_DIRENT_H=$gl_next_as_first_directive + + + + + if test $ac_cv_header_dirent_h = yes; then + HAVE_DIRENT_H=1 + else + HAVE_DIRENT_H=0 + fi + + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5 printf %s "checking if environ is properly declared... " >&6; } if test ${gt_cv_var_environ_declaration+y} @@ -36471,11 +38451,12 @@ printf "%s\n" "$gl_cv_func_working_error" >&6; } fi if test $HAVE_ERROR = 0 || test $REPLACE_ERROR = 1 \ - || test $HAVE_ERROR_AT_LINE = 0 || test $REPLACE_ERROR_AT_LINE = 1; then - COMPILE_ERROR_C=1 - else - COMPILE_ERROR_C=0 - fi + || test $HAVE_ERROR_AT_LINE = 0 \ + || test $REPLACE_ERROR_AT_LINE = 1; then + COMPILE_ERROR_C=1 + else + COMPILE_ERROR_C=0 + fi @@ -36545,6 +38526,16 @@ printf "%s\n" "#define STRERROR_R_CHAR_P 1" >>confdefs.h fi +ac_fn_check_decl "$LINENO" "fchdir" "ac_cv_have_decl_fchdir" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_fchdir" = xyes +then : + ac_have_decl=1 +else case e in #( + e) ac_have_decl=0 ;; +esac +fi +printf "%s\n" "#define HAVE_DECL_FCHDIR $ac_have_decl" >>confdefs.h + HAVE_FCNTL=1; HAVE_OPENAT=1; @@ -36888,6 +38879,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_DZPRINTF=0 + + + GL_GNULIB_FCLOSE=0 @@ -36968,6 +38963,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_FZPRINTF=0 + + + GL_GNULIB_GETC=0 @@ -36992,6 +38991,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_OBSTACK_ZPRINTF=0 + + + GL_GNULIB_PCLOSE=0 @@ -37044,6 +39047,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_SNZPRINTF=0 + + + GL_GNULIB_SPRINTF_POSIX=0 @@ -37056,6 +39063,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_SZPRINTF=0 + + + GL_GNULIB_TMPFILE=0 @@ -37064,6 +39075,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_VASZPRINTF=0 + + + GL_GNULIB_VFSCANF=0 @@ -37076,6 +39091,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_VDZPRINTF=0 + + + GL_GNULIB_VFPRINTF=0 @@ -37084,6 +39103,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_VFZPRINTF=0 + + + GL_GNULIB_VPRINTF=0 @@ -37096,10 +39119,26 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_VSNZPRINTF=0 + + + GL_GNULIB_VSPRINTF_POSIX=0 + GL_GNULIB_VSZPRINTF=0 + + + + GL_GNULIB_VZPRINTF=0 + + + + GL_GNULIB_ZPRINTF=0 + + + GL_GNULIB_MDA_FCLOSEALL=1 @@ -37125,6 +39164,7 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + HAVE_FCHMODAT=1; HAVE_FSTATAT=1; HAVE_FUTIMENS=1; @@ -37416,6 +39456,81 @@ fi + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 +printf %s "checking whether lstat correctly handles trailing slash... " >&6; } +if test ${gl_cv_func_lstat_dereferences_slashed_symlink+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) rm -f conftest.sym conftest.file + echo >conftest.file + if test "$cross_compiling" = yes +then : + case "$host_os" in + linux-* | linux) + # Guess yes on Linux systems. + gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; + midipix*) + # Guess yes on systems that emulate the Linux system calls. + gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; + *-gnu* | gnu*) + # Guess yes on glibc systems. + gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; + mingw* | windows*) + # Guess no on native Windows. + gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;; + *) + # If we don't know, obey --enable-cross-guesses. + gl_cv_func_lstat_dereferences_slashed_symlink="$gl_cross_guess_normal" ;; + esac + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main (void) +{ +struct stat sbuf; + if (symlink ("conftest.file", "conftest.sym") != 0) + return 1; + /* Linux will dereference the symlink and fail, as required by + POSIX. That is better in the sense that it means we will not + have to compile and use the lstat wrapper. */ + return lstat ("conftest.sym/", &sbuf) == 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_lstat_dereferences_slashed_symlink=yes +else case e in #( + e) gl_cv_func_lstat_dereferences_slashed_symlink=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + + rm -f conftest.sym conftest.file + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5 +printf "%s\n" "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; } + case "$gl_cv_func_lstat_dereferences_slashed_symlink" in + *yes) + +printf "%s\n" "#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1" >>confdefs.h + + ;; + esac + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getcwd (NULL, 0) allocates memory for result" >&5 printf %s "checking whether getcwd (NULL, 0) allocates memory for result... " >&6; } @@ -37539,6 +39654,16 @@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_posix_signature" >&5 printf "%s\n" "$gl_cv_func_getcwd_posix_signature" >&6; } +ac_fn_check_decl "$LINENO" "getcwd" "ac_cv_have_decl_getcwd" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_getcwd" = xyes +then : + ac_have_decl=1 +else case e in #( + e) ac_have_decl=0 ;; +esac +fi +printf "%s\n" "#define HAVE_DECL_GETCWD $ac_have_decl" >>confdefs.h + ac_fn_check_decl "$LINENO" "getdtablesize" "ac_cv_have_decl_getdtablesize" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_getdtablesize" = xyes @@ -37571,7 +39696,6 @@ printf "%s\n" "#define HAVE_DECL_GETDTABLESIZE $ac_have_decl" >>confdefs.h - if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_time_h='<'sys/time.h'>' else @@ -38221,161 +40345,18 @@ printf "%s\n" "$gl_cv_semaphore_lib" >&6; } - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 -printf %s "checking whether lstat correctly handles trailing slash... " >&6; } -if test ${gl_cv_func_lstat_dereferences_slashed_symlink+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) rm -f conftest.sym conftest.file - echo >conftest.file - if test "$cross_compiling" = yes +ac_fn_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_memrchr" = xyes then : - case "$host_os" in - linux-* | linux) - # Guess yes on Linux systems. - gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; - midipix*) - # Guess yes on systems that emulate the Linux system calls. - gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; - *-gnu* | gnu*) - # Guess yes on glibc systems. - gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; - mingw* | windows*) - # Guess no on native Windows. - gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;; - *) - # If we don't know, obey --enable-cross-guesses. - gl_cv_func_lstat_dereferences_slashed_symlink="$gl_cross_guess_normal" ;; - esac - -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -int -main (void) -{ -struct stat sbuf; - if (symlink ("conftest.file", "conftest.sym") != 0) - return 1; - /* Linux will dereference the symlink and fail, as required by - POSIX. That is better in the sense that it means we will not - have to compile and use the lstat wrapper. */ - return lstat ("conftest.sym/", &sbuf) == 0; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gl_cv_func_lstat_dereferences_slashed_symlink=yes + ac_have_decl=1 else case e in #( - e) gl_cv_func_lstat_dereferences_slashed_symlink=no ;; -esac -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi - - rm -f conftest.sym conftest.file - ;; + e) ac_have_decl=0 ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5 -printf "%s\n" "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; } - case "$gl_cv_func_lstat_dereferences_slashed_symlink" in - *yes) - -printf "%s\n" "#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1" >>confdefs.h - - ;; - esac - - - - - - HAVE_DECL_LOCALTIME_R=1; - HAVE_NANOSLEEP=1; - HAVE_STRPTIME=1; - HAVE_TIMEGM=1; - HAVE_TIMESPEC_GET=1; - HAVE_TIMESPEC_GETRES=1; - HAVE_TIMEZONE_T=0; - REPLACE_CTIME=0; - REPLACE_GMTIME=0; - REPLACE_LOCALTIME=0; - REPLACE_LOCALTIME_R=0; - REPLACE_MKTIME=0; - REPLACE_NANOSLEEP=0; - REPLACE_STRFTIME=0; - REPLACE_TIME=0; - REPLACE_TIMEGM=0; - REPLACE_TIMESPEC_GET=0; - REPLACE_TIMESPEC_GETRES=0; - REPLACE_TZSET=0; - - - - GL_GNULIB_CTIME=0 - - - - GL_GNULIB_MKTIME=0 - - - - GL_GNULIB_LOCALTIME=0 - - - - GL_GNULIB_NANOSLEEP=0 - - - - GL_GNULIB_STRFTIME=0 +printf "%s\n" "#define HAVE_DECL_MEMRCHR $ac_have_decl" >>confdefs.h - GL_GNULIB_STRPTIME=0 - - - - GL_GNULIB_TIME=0 - - - - GL_GNULIB_TIMEGM=0 - - - - GL_GNULIB_TIMESPEC_GET=0 - - - - GL_GNULIB_TIMESPEC_GETRES=0 - - - - GL_GNULIB_TIME_R=0 - - - - GL_GNULIB_TIME_RZ=0 - - - - GL_GNULIB_TZSET=0 - - - - GL_GNULIB_MDA_TZSET=1 - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for O_CLOEXEC" >&5 @@ -39024,391 +41005,298 @@ fi - HAVE_PTHREAD_T=1; - HAVE_PTHREAD_SPINLOCK_T=1; - HAVE_PTHREAD_CREATE_DETACHED=1; - HAVE_PTHREAD_MUTEX_RECURSIVE=1; - HAVE_PTHREAD_MUTEX_ROBUST=1; - HAVE_PTHREAD_PROCESS_SHARED=1; - HAVE_PTHREAD_CREATE=1; - HAVE_PTHREAD_ATTR_INIT=1; - HAVE_PTHREAD_ATTR_GETDETACHSTATE=1; - HAVE_PTHREAD_ATTR_SETDETACHSTATE=1; - HAVE_PTHREAD_ATTR_DESTROY=1; - HAVE_PTHREAD_SELF=1; - HAVE_PTHREAD_EQUAL=1; - HAVE_PTHREAD_DETACH=1; - HAVE_PTHREAD_JOIN=1; - HAVE_PTHREAD_EXIT=1; - HAVE_PTHREAD_ONCE=1; - HAVE_PTHREAD_MUTEX_INIT=1; - HAVE_PTHREAD_MUTEXATTR_INIT=1; - HAVE_PTHREAD_MUTEXATTR_GETTYPE=1; - HAVE_PTHREAD_MUTEXATTR_SETTYPE=1; - HAVE_PTHREAD_MUTEXATTR_GETROBUST=1; - HAVE_PTHREAD_MUTEXATTR_SETROBUST=1; - HAVE_PTHREAD_MUTEXATTR_DESTROY=1; - HAVE_PTHREAD_MUTEX_LOCK=1; - HAVE_PTHREAD_MUTEX_TRYLOCK=1; - HAVE_PTHREAD_MUTEX_TIMEDLOCK=1; - HAVE_PTHREAD_MUTEX_UNLOCK=1; - HAVE_PTHREAD_MUTEX_DESTROY=1; - HAVE_PTHREAD_RWLOCK_INIT=1; - HAVE_PTHREAD_RWLOCKATTR_INIT=1; - HAVE_PTHREAD_RWLOCKATTR_DESTROY=1; - HAVE_PTHREAD_RWLOCK_RDLOCK=1; - HAVE_PTHREAD_RWLOCK_WRLOCK=1; - HAVE_PTHREAD_RWLOCK_TRYRDLOCK=1; - HAVE_PTHREAD_RWLOCK_TRYWRLOCK=1; - HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK=1; - HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK=1; - HAVE_PTHREAD_RWLOCK_UNLOCK=1; - HAVE_PTHREAD_RWLOCK_DESTROY=1; - HAVE_PTHREAD_COND_INIT=1; - HAVE_PTHREAD_CONDATTR_INIT=1; - HAVE_PTHREAD_CONDATTR_DESTROY=1; - HAVE_PTHREAD_COND_WAIT=1; - HAVE_PTHREAD_COND_TIMEDWAIT=1; - HAVE_PTHREAD_COND_SIGNAL=1; - HAVE_PTHREAD_COND_BROADCAST=1; - HAVE_PTHREAD_COND_DESTROY=1; - HAVE_PTHREAD_KEY_CREATE=1; - HAVE_PTHREAD_SETSPECIFIC=1; - HAVE_PTHREAD_GETSPECIFIC=1; - HAVE_PTHREAD_KEY_DELETE=1; - HAVE_PTHREAD_SPIN_INIT=1; - HAVE_PTHREAD_SPIN_LOCK=1; - HAVE_PTHREAD_SPIN_TRYLOCK=1; - HAVE_PTHREAD_SPIN_UNLOCK=1; - HAVE_PTHREAD_SPIN_DESTROY=1; - REPLACE_PTHREAD_CREATE=0; - REPLACE_PTHREAD_ATTR_INIT=0; - REPLACE_PTHREAD_ATTR_GETDETACHSTATE=0; - REPLACE_PTHREAD_ATTR_SETDETACHSTATE=0; - REPLACE_PTHREAD_ATTR_DESTROY=0; - REPLACE_PTHREAD_SELF=0; - REPLACE_PTHREAD_EQUAL=0; - REPLACE_PTHREAD_DETACH=0; - REPLACE_PTHREAD_JOIN=0; - REPLACE_PTHREAD_EXIT=0; - REPLACE_PTHREAD_ONCE=0; - REPLACE_PTHREAD_MUTEX_INIT=0; - REPLACE_PTHREAD_MUTEXATTR_INIT=0; - REPLACE_PTHREAD_MUTEXATTR_GETTYPE=0; - REPLACE_PTHREAD_MUTEXATTR_SETTYPE=0; - REPLACE_PTHREAD_MUTEXATTR_GETROBUST=0; - REPLACE_PTHREAD_MUTEXATTR_SETROBUST=0; - REPLACE_PTHREAD_MUTEXATTR_DESTROY=0; - REPLACE_PTHREAD_MUTEX_LOCK=0; - REPLACE_PTHREAD_MUTEX_TRYLOCK=0; - REPLACE_PTHREAD_MUTEX_TIMEDLOCK=0; - REPLACE_PTHREAD_MUTEX_UNLOCK=0; - REPLACE_PTHREAD_MUTEX_DESTROY=0; - REPLACE_PTHREAD_RWLOCK_INIT=0; - REPLACE_PTHREAD_RWLOCKATTR_INIT=0; - REPLACE_PTHREAD_RWLOCKATTR_DESTROY=0; - REPLACE_PTHREAD_RWLOCK_RDLOCK=0; - REPLACE_PTHREAD_RWLOCK_WRLOCK=0; - REPLACE_PTHREAD_RWLOCK_TRYRDLOCK=0; - REPLACE_PTHREAD_RWLOCK_TRYWRLOCK=0; - REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK=0; - REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK=0; - REPLACE_PTHREAD_RWLOCK_UNLOCK=0; - REPLACE_PTHREAD_RWLOCK_DESTROY=0; - REPLACE_PTHREAD_COND_INIT=0; - REPLACE_PTHREAD_CONDATTR_INIT=0; - REPLACE_PTHREAD_CONDATTR_DESTROY=0; - REPLACE_PTHREAD_COND_WAIT=0; - REPLACE_PTHREAD_COND_TIMEDWAIT=0; - REPLACE_PTHREAD_COND_SIGNAL=0; - REPLACE_PTHREAD_COND_BROADCAST=0; - REPLACE_PTHREAD_COND_DESTROY=0; - REPLACE_PTHREAD_KEY_CREATE=0; - REPLACE_PTHREAD_SETSPECIFIC=0; - REPLACE_PTHREAD_GETSPECIFIC=0; - REPLACE_PTHREAD_KEY_DELETE=0; - REPLACE_PTHREAD_SPIN_INIT=0; - REPLACE_PTHREAD_SPIN_LOCK=0; - REPLACE_PTHREAD_SPIN_TRYLOCK=0; - REPLACE_PTHREAD_SPIN_UNLOCK=0; - REPLACE_PTHREAD_SPIN_DESTROY=0; - + HAVE_POSIX_SIGNALBLOCKING=1; + HAVE_PTHREAD_SIGMASK=1; + HAVE_RAISE=1; + HAVE_SIG2STR=1; + HAVE_SIGSET_T=1; + HAVE_SIGINFO_T=1; + HAVE_SIGACTION=1; + HAVE_STR2SIG=1; + HAVE_STRUCT_SIGACTION_SA_SIGACTION=1; + HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1; + HAVE_SIGHANDLER_T=1; + REPLACE_PTHREAD_SIGMASK=0; + REPLACE_RAISE=0; + GL_GNULIB_PTHREAD_SIGMASK=0 + GL_GNULIB_RAISE=0 + GL_GNULIB_SIG2STR=0 + GL_GNULIB_SIGNAL_H_SIGPIPE=0 - if test $gl_cv_have_include_next = yes; then - gl_cv_next_pthread_h='<'pthread.h'>' - else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -printf %s "checking absolute name of ... " >&6; } -if test ${gl_cv_next_pthread_h+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - if test $ac_cv_header_pthread_h = yes; then + GL_GNULIB_SIGPROCMASK=0 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF - case "$host_os" in - aix*) gl_absname_cpp="$ac_cpp -C" ;; - *) gl_absname_cpp="$ac_cpp" ;; - esac - case "$host_os" in - mingw* | windows*) - gl_dirsep_regex='[/\\]' - ;; - *) - gl_dirsep_regex='\/' - ;; - esac - gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' - gl_header_literal_regex=`echo 'pthread.h' \ - | sed -e "$gl_make_literal_regex_sed"` - gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ - s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ - s|^/[^/]|//&| - p - q - }' + GL_GNULIB_SIGACTION=0 - gl_cv_absolute_pthread_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | - sed -n "$gl_absolute_header_sed"` - gl_header=$gl_cv_absolute_pthread_h - gl_cv_next_pthread_h='"'$gl_header'"' - else - gl_cv_next_pthread_h='<'pthread.h'>' - fi - ;; +ac_fn_check_decl "$LINENO" "_putenv" "ac_cv_have_decl__putenv" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl__putenv" = xyes +then : + ac_have_decl=1 +else case e in #( + e) ac_have_decl=0 ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_pthread_h" >&5 -printf "%s\n" "$gl_cv_next_pthread_h" >&6; } - fi - NEXT_PTHREAD_H=$gl_cv_next_pthread_h - - if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then - # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' - gl_next_as_first_directive='<'pthread.h'>' - else - # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' - gl_next_as_first_directive=$gl_cv_next_pthread_h - fi - NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H=$gl_next_as_first_directive - +printf "%s\n" "#define HAVE_DECL__PUTENV $ac_have_decl" >>confdefs.h + ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" " + #include + /* Mingw defines sigset_t not in , but in . */ + #include - if test $ac_cv_header_pthread_h = yes; then - HAVE_PTHREAD_H=1 +" +if test "x$ac_cv_type_sigset_t" = xyes +then : +printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h - if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \ - && test $gl_threads_api = windows; then - HAVE_PTHREAD_H=0 - fi +gl_cv_type_sigset_t=yes +else case e in #( + e) gl_cv_type_sigset_t=no ;; +esac +fi - else - HAVE_PTHREAD_H=0 + if test $gl_cv_type_sigset_t != yes; then + HAVE_SIGSET_T=0 fi +ac_fn_check_decl "$LINENO" "initstate" "ac_cv_have_decl_initstate" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_initstate" = xyes +then : + ac_have_decl=1 +else case e in #( + e) ac_have_decl=0 ;; +esac +fi +printf "%s\n" "#define HAVE_DECL_INITSTATE $ac_have_decl" >>confdefs.h - ac_fn_c_check_type "$LINENO" "pthread_t" "ac_cv_type_pthread_t" "$ac_includes_default - #if HAVE_PTHREAD_H - #include - #endif -" -if test "x$ac_cv_type_pthread_t" = xyes +ac_fn_check_decl "$LINENO" "setstate" "ac_cv_have_decl_setstate" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_setstate" = xyes then : + ac_have_decl=1 +else case e in #( + e) ac_have_decl=0 ;; +esac +fi +printf "%s\n" "#define HAVE_DECL_SETSTATE $ac_have_decl" >>confdefs.h -printf "%s\n" "#define HAVE_PTHREAD_T 1" >>confdefs.h -fi -ac_fn_c_check_type "$LINENO" "pthread_spinlock_t" "ac_cv_type_pthread_spinlock_t" "$ac_includes_default - #if HAVE_PTHREAD_H - #include - #endif -" -if test "x$ac_cv_type_pthread_spinlock_t" = xyes -then : -printf "%s\n" "#define HAVE_PTHREAD_SPINLOCK_T 1" >>confdefs.h + if test $REPLACE_MALLOC_FOR_MALLOC_POSIX = 1; then + REPLACE_REALLOC_FOR_REALLOC_POSIX=1 + fi + + + + + if test $ac_cv_header_sys_socket_h != yes; then + ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" +if test "x$ac_cv_header_winsock2_h" = xyes +then : + printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h + fi - if test $ac_cv_type_pthread_t != yes; then - HAVE_PTHREAD_T=0 fi - if test $ac_cv_type_pthread_spinlock_t != yes; then - HAVE_PTHREAD_SPINLOCK_T=0 + if test "$ac_cv_header_winsock2_h" = yes; then + HAVE_WINSOCK2_H=1 + UNISTD_H_HAVE_WINSOCK2_H=1 + SYS_IOCTL_H_HAVE_WINSOCK2_H=1 + else + HAVE_WINSOCK2_H=0 fi - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_CREATE_DETACHED" >&5 -printf %s "checking for PTHREAD_CREATE_DETACHED... " >&6; } -if test ${gl_cv_const_PTHREAD_CREATE_DETACHED+y} + LIBSOCKET= + if test $HAVE_WINSOCK2_H = 1; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WSAStartup" >&5 +printf %s "checking for WSAStartup... " >&6; } +if test ${gl_cv_func_wsastartup+y} then : printf %s "(cached) " >&6 else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext + e) + gl_saved_LIBS="$LIBS" + LIBS="$LIBS -lws2_32" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - int x = PTHREAD_CREATE_DETACHED; +#ifdef HAVE_WINSOCK2_H +# include +#endif int main (void) { + WORD wVersionRequested = MAKEWORD(1, 1); + WSADATA wsaData; + int err = WSAStartup(wVersionRequested, &wsaData); + WSACleanup (); + ; return 0; } + _ACEOF -if ac_fn_c_try_compile "$LINENO" +if ac_fn_c_try_link "$LINENO" then : - gl_cv_const_PTHREAD_CREATE_DETACHED=yes + gl_cv_func_wsastartup=yes else case e in #( - e) gl_cv_const_PTHREAD_CREATE_DETACHED=no ;; + e) gl_cv_func_wsastartup=no ;; esac fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ;; +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gl_saved_LIBS" + ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_CREATE_DETACHED" >&5 -printf "%s\n" "$gl_cv_const_PTHREAD_CREATE_DETACHED" >&6; } - if test $gl_cv_const_PTHREAD_CREATE_DETACHED != yes; then - HAVE_PTHREAD_CREATE_DETACHED=0 - fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wsastartup" >&5 +printf "%s\n" "$gl_cv_func_wsastartup" >&6; } + if test "$gl_cv_func_wsastartup" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_MUTEX_RECURSIVE" >&5 -printf %s "checking for PTHREAD_MUTEX_RECURSIVE... " >&6; } -if test ${gl_cv_const_PTHREAD_MUTEX_RECURSIVE+y} +printf "%s\n" "#define WINDOWS_SOCKETS 1" >>confdefs.h + + LIBSOCKET='-lws2_32' + fi + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5 +printf %s "checking for library containing setsockopt... " >&6; } +if test ${gl_cv_lib_socket+y} then : printf %s "(cached) " >&6 else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext + e) + gl_cv_lib_socket= + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - int x = PTHREAD_MUTEX_RECURSIVE; - +extern +#ifdef __cplusplus +"C" +#endif +char setsockopt(); int main (void) { - +setsockopt(); ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" +if ac_fn_c_try_link "$LINENO" then : - gl_cv_const_PTHREAD_MUTEX_RECURSIVE=yes -else case e in #( - e) gl_cv_const_PTHREAD_MUTEX_RECURSIVE=no ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_MUTEX_RECURSIVE" >&5 -printf "%s\n" "$gl_cv_const_PTHREAD_MUTEX_RECURSIVE" >&6; } - if test $gl_cv_const_PTHREAD_MUTEX_RECURSIVE != yes; then - HAVE_PTHREAD_MUTEX_RECURSIVE=0 - fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_MUTEX_ROBUST" >&5 -printf %s "checking for PTHREAD_MUTEX_ROBUST... " >&6; } -if test ${gl_cv_const_PTHREAD_MUTEX_ROBUST+y} -then : - printf %s "(cached) " >&6 else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext + e) gl_saved_LIBS="$LIBS" + LIBS="$gl_saved_LIBS -lsocket" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - int x = PTHREAD_MUTEX_ROBUST; - +extern +#ifdef __cplusplus +"C" +#endif +char setsockopt(); int main (void) { - +setsockopt(); ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" +if ac_fn_c_try_link "$LINENO" then : - gl_cv_const_PTHREAD_MUTEX_ROBUST=yes -else case e in #( - e) gl_cv_const_PTHREAD_MUTEX_ROBUST=no ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ;; -esac + gl_cv_lib_socket="-lsocket" fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_MUTEX_ROBUST" >&5 -printf "%s\n" "$gl_cv_const_PTHREAD_MUTEX_ROBUST" >&6; } - if test $gl_cv_const_PTHREAD_MUTEX_ROBUST != yes; then - HAVE_PTHREAD_MUTEX_ROBUST=0 - fi - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PROCESS_SHARED" >&5 -printf %s "checking for PTHREAD_PROCESS_SHARED... " >&6; } -if test ${gl_cv_const_PTHREAD_PROCESS_SHARED+y} +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$gl_cv_lib_socket"; then + LIBS="$gl_saved_LIBS -lnetwork" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +extern +#ifdef __cplusplus +"C" +#endif +char setsockopt(); +int +main (void) +{ +setsockopt(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO" then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext + gl_cv_lib_socket="-lnetwork" +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$gl_cv_lib_socket"; then + LIBS="$gl_saved_LIBS -lnet" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - int x = PTHREAD_PROCESS_SHARED; - +extern +#ifdef __cplusplus +"C" +#endif +char setsockopt(); int main (void) { - +setsockopt(); ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" +if ac_fn_c_try_link "$LINENO" then : - gl_cv_const_PTHREAD_PROCESS_SHARED=yes -else case e in #( - e) gl_cv_const_PTHREAD_PROCESS_SHARED=no ;; + gl_cv_lib_socket="-lnet" +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + fi + fi + LIBS="$gl_saved_LIBS" + ;; esac fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$gl_cv_lib_socket"; then + gl_cv_lib_socket="none needed" + fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_PROCESS_SHARED" >&5 -printf "%s\n" "$gl_cv_const_PTHREAD_PROCESS_SHARED" >&6; } - if test $gl_cv_const_PTHREAD_PROCESS_SHARED != yes; then - HAVE_PTHREAD_PROCESS_SHARED=0 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_socket" >&5 +printf "%s\n" "$gl_cv_lib_socket" >&6; } + if test "$gl_cv_lib_socket" != "none needed"; then + LIBSOCKET="$gl_cv_lib_socket" + fi fi @@ -39416,547 +41304,64 @@ printf "%s\n" "$gl_cv_const_PTHREAD_PROCESS_SHARED" >&6; } - - LIB_PTHREAD="$LIBPMULTITHREAD" - - - - - GL_GNULIB_PTHREAD_THREAD=0 + : +ac_fn_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_setenv" = xyes +then : + ac_have_decl=1 +else case e in #( + e) ac_have_decl=0 ;; +esac +fi +printf "%s\n" "#define HAVE_DECL_SETENV $ac_have_decl" >>confdefs.h - GL_GNULIB_PTHREAD_ONCE=0 - GL_GNULIB_PTHREAD_MUTEX=0 + if test $ac_cv_have_decl_setenv = no; then + HAVE_DECL_SETENV=0 + fi - GL_GNULIB_PTHREAD_RWLOCK=0 + ac_fn_c_check_header_compile "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default" +if test "x$ac_cv_header_search_h" = xyes +then : + printf "%s\n" "#define HAVE_SEARCH_H 1" >>confdefs.h - GL_GNULIB_PTHREAD_COND=0 +fi - GL_GNULIB_PTHREAD_TSS=0 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tsearch" >&5 +printf %s "checking for tsearch... " >&6; } +if test ${gl_cv_onwards_func_tsearch+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + exec 9>&6 6>/dev/null + case "$host_os" in - GL_GNULIB_PTHREAD_SPIN=0 + linux*-android*) + ac_fn_check_decl "$LINENO" "tsearch" "ac_cv_have_decl_tsearch" "#include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_tsearch" = xyes +then : +fi + if test $ac_cv_have_decl_tsearch = yes; then + ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch" +if test "x$ac_cv_func_tsearch" = xyes +then : - - GL_GNULIB_PTHREAD_MUTEX_TIMEDLOCK=0 - - - - - HAVE_POSIX_SIGNALBLOCKING=1; - HAVE_PTHREAD_SIGMASK=1; - HAVE_RAISE=1; - HAVE_SIGSET_T=1; - HAVE_SIGINFO_T=1; - HAVE_SIGACTION=1; - HAVE_STRUCT_SIGACTION_SA_SIGACTION=1; - - HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1; - - HAVE_SIGHANDLER_T=1; - REPLACE_PTHREAD_SIGMASK=0; - REPLACE_RAISE=0; - - - - - GL_GNULIB_PTHREAD_SIGMASK=0 - - - - GL_GNULIB_RAISE=0 - - - - GL_GNULIB_SIGNAL_H_SIGPIPE=0 - - - - GL_GNULIB_SIGPROCMASK=0 - - - - GL_GNULIB_SIGACTION=0 - - - - - ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" " - #include - /* Mingw defines sigset_t not in , but in . */ - #include - -" -if test "x$ac_cv_type_sigset_t" = xyes -then : - -printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h - -gl_cv_type_sigset_t=yes -else case e in #( - e) gl_cv_type_sigset_t=no ;; -esac -fi - - if test $gl_cv_type_sigset_t != yes; then - HAVE_SIGSET_T=0 - fi - -ac_fn_check_decl "$LINENO" "initstate" "ac_cv_have_decl_initstate" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_initstate" = xyes -then : - ac_have_decl=1 -else case e in #( - e) ac_have_decl=0 ;; -esac -fi -printf "%s\n" "#define HAVE_DECL_INITSTATE $ac_have_decl" >>confdefs.h - -ac_fn_check_decl "$LINENO" "setstate" "ac_cv_have_decl_setstate" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_setstate" = xyes -then : - ac_have_decl=1 -else case e in #( - e) ac_have_decl=0 ;; -esac -fi -printf "%s\n" "#define HAVE_DECL_SETSTATE $ac_have_decl" >>confdefs.h - - - - - if test $REPLACE_MALLOC_FOR_MALLOC_POSIX = 1; then - REPLACE_REALLOC_FOR_REALLOC_POSIX=1 - fi - - - HAVE_SCHED_YIELD=1; - REPLACE_SCHED_YIELD=0; - - - - - - - - - ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "#if HAVE_SYS_CDEFS_H - #include - #endif - -" -if test "x$ac_cv_header_sched_h" = xyes -then : - printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h - -fi - - - - - - - - - - if test $gl_cv_have_include_next = yes; then - gl_cv_next_sched_h='<'sched.h'>' - else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -printf %s "checking absolute name of ... " >&6; } -if test ${gl_cv_next_sched_h+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF - case "$host_os" in - aix*) gl_absname_cpp="$ac_cpp -C" ;; - *) gl_absname_cpp="$ac_cpp" ;; - esac - - case "$host_os" in - mingw* | windows*) - gl_dirsep_regex='[/\\]' - ;; - *) - gl_dirsep_regex='\/' - ;; - esac - gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' - gl_header_literal_regex=`echo 'sched.h' \ - | sed -e "$gl_make_literal_regex_sed"` - gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ - s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ - s|^/[^/]|//&| - p - q - }' - - gl_cv_absolute_sched_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | - sed -n "$gl_absolute_header_sed"` - - gl_header=$gl_cv_absolute_sched_h - gl_cv_next_sched_h='"'$gl_header'"' - - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sched_h" >&5 -printf "%s\n" "$gl_cv_next_sched_h" >&6; } - fi - NEXT_SCHED_H=$gl_cv_next_sched_h - - if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then - # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' - gl_next_as_first_directive='<'sched.h'>' - else - # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' - gl_next_as_first_directive=$gl_cv_next_sched_h - fi - NEXT_AS_FIRST_DIRECTIVE_SCHED_H=$gl_next_as_first_directive - - - - - - if test "$ac_cv_header_sched_h" = yes; then - HAVE_SCHED_H=1 - else - HAVE_SCHED_H=0 - fi - - - if test "$HAVE_SCHED_H" = 1; then - ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#if HAVE_SYS_CDEFS_H - #include - #endif - #include - -" -if test "x$ac_cv_type_struct_sched_param" = xyes -then : - HAVE_STRUCT_SCHED_PARAM=1 -else case e in #( - e) HAVE_STRUCT_SCHED_PARAM=0 ;; -esac -fi - - else - HAVE_STRUCT_SCHED_PARAM=0 - case "$host_os" in - os2*) - ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include -" -if test "x$ac_cv_type_struct_sched_param" = xyes -then : - HAVE_STRUCT_SCHED_PARAM=1 -fi - - ;; - vms) - ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include -" -if test "x$ac_cv_type_struct_sched_param" = xyes -then : - HAVE_STRUCT_SCHED_PARAM=1 -fi - - ;; - esac - fi - - - if test "$ac_cv_header_sys_cdefs_h" = yes; then - HAVE_SYS_CDEFS_H=1 - else - HAVE_SYS_CDEFS_H=0 - fi - - - - - - - - - - - GL_GNULIB_SCHED_YIELD=0 - - - - - - - - - if test $ac_cv_header_sys_socket_h != yes; then - ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" -if test "x$ac_cv_header_winsock2_h" = xyes -then : - printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h - -fi - - fi - if test "$ac_cv_header_winsock2_h" = yes; then - HAVE_WINSOCK2_H=1 - UNISTD_H_HAVE_WINSOCK2_H=1 - SYS_IOCTL_H_HAVE_WINSOCK2_H=1 - else - HAVE_WINSOCK2_H=0 - fi - - LIBSOCKET= - if test $HAVE_WINSOCK2_H = 1; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WSAStartup" >&5 -printf %s "checking for WSAStartup... " >&6; } -if test ${gl_cv_func_wsastartup+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - gl_saved_LIBS="$LIBS" - LIBS="$LIBS -lws2_32" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef HAVE_WINSOCK2_H -# include -#endif -int -main (void) -{ - - WORD wVersionRequested = MAKEWORD(1, 1); - WSADATA wsaData; - int err = WSAStartup(wVersionRequested, &wsaData); - WSACleanup (); - - ; - return 0; -} - -_ACEOF -if ac_fn_c_try_link "$LINENO" -then : - gl_cv_func_wsastartup=yes -else case e in #( - e) gl_cv_func_wsastartup=no ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext - LIBS="$gl_saved_LIBS" - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wsastartup" >&5 -printf "%s\n" "$gl_cv_func_wsastartup" >&6; } - if test "$gl_cv_func_wsastartup" = "yes"; then - -printf "%s\n" "#define WINDOWS_SOCKETS 1" >>confdefs.h - - LIBSOCKET='-lws2_32' - fi - else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5 -printf %s "checking for library containing setsockopt... " >&6; } -if test ${gl_cv_lib_socket+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - gl_cv_lib_socket= - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -extern -#ifdef __cplusplus -"C" -#endif -char setsockopt(); -int -main (void) -{ -setsockopt(); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO" -then : - -else case e in #( - e) gl_saved_LIBS="$LIBS" - LIBS="$gl_saved_LIBS -lsocket" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -extern -#ifdef __cplusplus -"C" -#endif -char setsockopt(); -int -main (void) -{ -setsockopt(); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO" -then : - gl_cv_lib_socket="-lsocket" -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext - if test -z "$gl_cv_lib_socket"; then - LIBS="$gl_saved_LIBS -lnetwork" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -extern -#ifdef __cplusplus -"C" -#endif -char setsockopt(); -int -main (void) -{ -setsockopt(); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO" -then : - gl_cv_lib_socket="-lnetwork" -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext - if test -z "$gl_cv_lib_socket"; then - LIBS="$gl_saved_LIBS -lnet" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -extern -#ifdef __cplusplus -"C" -#endif -char setsockopt(); -int -main (void) -{ -setsockopt(); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO" -then : - gl_cv_lib_socket="-lnet" -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext - fi - fi - LIBS="$gl_saved_LIBS" - ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext - if test -z "$gl_cv_lib_socket"; then - gl_cv_lib_socket="none needed" - fi - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_socket" >&5 -printf "%s\n" "$gl_cv_lib_socket" >&6; } - if test "$gl_cv_lib_socket" != "none needed"; then - LIBSOCKET="$gl_cv_lib_socket" - fi - fi - - - - - - - : - - -ac_fn_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_setenv" = xyes -then : - ac_have_decl=1 -else case e in #( - e) ac_have_decl=0 ;; -esac -fi -printf "%s\n" "#define HAVE_DECL_SETENV $ac_have_decl" >>confdefs.h - - - - - - if test $ac_cv_have_decl_setenv = no; then - HAVE_DECL_SETENV=0 - fi - - - - - ac_fn_c_check_header_compile "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default" -if test "x$ac_cv_header_search_h" = xyes -then : - printf "%s\n" "#define HAVE_SEARCH_H 1" >>confdefs.h - -fi - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tsearch" >&5 -printf %s "checking for tsearch... " >&6; } -if test ${gl_cv_onwards_func_tsearch+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - exec 9>&6 6>/dev/null - - case "$host_os" in - - linux*-android*) - ac_fn_check_decl "$LINENO" "tsearch" "ac_cv_have_decl_tsearch" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_tsearch" = xyes -then : - -fi - if test $ac_cv_have_decl_tsearch = yes; then - ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch" -if test "x$ac_cv_func_tsearch" = xyes -then : - -fi +fi if test $ac_cv_func_tsearch = yes; then gl_cv_onwards_func_tsearch=yes @@ -40498,6 +41903,16 @@ printf "%s\n" "#define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1" >>confdefs.h HAVE_DECL_PUTW=0 fi +ac_fn_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_strdup" = xyes +then : + ac_have_decl=1 +else case e in #( + e) ac_have_decl=0 ;; +esac +fi +printf "%s\n" "#define HAVE_DECL_STRDUP $ac_have_decl" >>confdefs.h + @@ -40637,6 +42052,7 @@ printf "%s\n" "$gl_cv_next_sys_ioctl_h" >&6; } + if test $gl_cv_have_include_next = yes; then @@ -40721,274 +42137,6 @@ printf "%s\n" "$gl_cv_next_sys_uio_h" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 -printf %s "checking for struct timespec in ... " >&6; } -if test ${gl_cv_sys_struct_timespec_in_time_h+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main (void) -{ -static struct timespec x; x.tv_sec = x.tv_nsec; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_sys_struct_timespec_in_time_h=yes -else case e in #( - e) gl_cv_sys_struct_timespec_in_time_h=no ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5 -printf "%s\n" "$gl_cv_sys_struct_timespec_in_time_h" >&6; } - - TIME_H_DEFINES_STRUCT_TIMESPEC=0 - SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 - PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0 - UNISTD_H_DEFINES_STRUCT_TIMESPEC=0 - if test $gl_cv_sys_struct_timespec_in_time_h = yes; then - TIME_H_DEFINES_STRUCT_TIMESPEC=1 - else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 -printf %s "checking for struct timespec in ... " >&6; } -if test ${gl_cv_sys_struct_timespec_in_sys_time_h+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main (void) -{ -static struct timespec x; x.tv_sec = x.tv_nsec; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_sys_struct_timespec_in_sys_time_h=yes -else case e in #( - e) gl_cv_sys_struct_timespec_in_sys_time_h=no ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5 -printf "%s\n" "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; } - if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then - SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 - else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 -printf %s "checking for struct timespec in ... " >&6; } -if test ${gl_cv_sys_struct_timespec_in_pthread_h+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main (void) -{ -static struct timespec x; x.tv_sec = x.tv_nsec; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_sys_struct_timespec_in_pthread_h=yes -else case e in #( - e) gl_cv_sys_struct_timespec_in_pthread_h=no ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5 -printf "%s\n" "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; } - if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then - PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1 - else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 -printf %s "checking for struct timespec in ... " >&6; } -if test ${gl_cv_sys_struct_timespec_in_unistd_h+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main (void) -{ -static struct timespec x; x.tv_sec = x.tv_nsec; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_sys_struct_timespec_in_unistd_h=yes -else case e in #( - e) gl_cv_sys_struct_timespec_in_unistd_h=no ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_unistd_h" >&5 -printf "%s\n" "$gl_cv_sys_struct_timespec_in_unistd_h" >&6; } - if test $gl_cv_sys_struct_timespec_in_unistd_h = yes; then - UNISTD_H_DEFINES_STRUCT_TIMESPEC=1 - fi - fi - fi - fi - - - - - - - - - - - - - - - - - if test $gl_cv_have_include_next = yes; then - gl_cv_next_time_h='<'time.h'>' - else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -printf %s "checking absolute name of ... " >&6; } -if test ${gl_cv_next_time_h+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF - case "$host_os" in - aix*) gl_absname_cpp="$ac_cpp -C" ;; - *) gl_absname_cpp="$ac_cpp" ;; - esac - - case "$host_os" in - mingw* | windows*) - gl_dirsep_regex='[/\\]' - ;; - *) - gl_dirsep_regex='\/' - ;; - esac - gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' - gl_header_literal_regex=`echo 'time.h' \ - | sed -e "$gl_make_literal_regex_sed"` - gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ - s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ - s|^/[^/]|//&| - p - q - }' - - gl_cv_absolute_time_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | - sed -n "$gl_absolute_header_sed"` - - gl_header=$gl_cv_absolute_time_h - gl_cv_next_time_h='"'$gl_header'"' - - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5 -printf "%s\n" "$gl_cv_next_time_h" >&6; } - fi - NEXT_TIME_H=$gl_cv_next_time_h - - if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then - # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' - gl_next_as_first_directive='<'time.h'>' - else - # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' - gl_next_as_first_directive=$gl_cv_next_time_h - fi - NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive - - - - - - - - - - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIME_UTC in " >&5 -printf %s "checking for TIME_UTC in ... " >&6; } -if test ${gl_cv_time_h_has_TIME_UTC+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main (void) -{ -static int x = TIME_UTC; x++; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_time_h_has_TIME_UTC=yes -else case e in #( - e) gl_cv_time_h_has_TIME_UTC=no ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_time_h_has_TIME_UTC" >&5 -printf "%s\n" "$gl_cv_time_h_has_TIME_UTC" >&6; } - if test $gl_cv_time_h_has_TIME_UTC = yes; then - TIME_H_DEFINES_TIME_UTC=1 - else - TIME_H_DEFINES_TIME_UTC=0 - fi - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a traditional Arabic locale" >&5 printf %s "checking for a traditional Arabic locale... " >&6; } @@ -41056,10 +42204,11 @@ _ACEOF test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets - # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", + # "ar" or "ara" as "Arabic" or "Arabic_Saudi Arabia.1256", + # "en" or "eng" as "English" or "English_United States.1252", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", - # "ja" as "Japanese" or "Japanese_Japan.932", + # "ja" or "jpn" as "Japanese" or "Japanese_Japan.932", # and similar. mingw* | windows*) # Note that on native Windows, the Arabic locale is @@ -41076,7 +42225,7 @@ _ACEOF # - The usual locale name: ar_SA # - The locale name with explicit encoding suffix: ar_SA.ISO-8859-6 # - The HP-UX locale name: ar_SA.iso88596 - # - The Solaris 7 locale name: ar + # - The Solaris 10 locale name: ar # Also try ar_EG instead of ar_SA because Egypt is a large country too. for gt_cv_locale_ar in ar_SA ar_SA.ISO-8859-6 ar_SA.iso88596 ar_EG ar_EG.ISO-8859-6 ar_EG.iso88596 ar none; do if test $gt_cv_locale_ar = none; then @@ -41132,8 +42281,8 @@ printf "%s\n" "#define HAVE_DECL_UNSETENV $ac_have_decl" >>confdefs.h GL_CFLAG_GNULIB_WARNINGS='' if test -n "$GL_CFLAG_ALLOW_WARNINGS"; then - cat > conftest.c <<\EOF - #if __GNUC__ >= 3 || (__clang_major__ + (__clang_minor__ >= 9) > 3) + cat > conftest.c <<\EOF + #if (__GNUC__ >= 3 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wno-cast-qual -Wno-conversion -Wno-float-equal @@ -41142,23 +42291,26 @@ printf "%s\n" "#define HAVE_DECL_UNSETENV $ac_have_decl" >>confdefs.h -Wno-unused-function -Wno-unused-parameter #endif - #if __GNUC__ + (__GNUC_MINOR__ >= 9) > 4 || (__clang_major__ + (__clang_minor__ >= 9) > 3) + #if (__GNUC__ + (__GNUC_MINOR__ >= 9) > 4 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wno-float-conversion #endif - #if __GNUC__ >= 7 || (__clang_major__ + (__clang_minor__ >= 9) > 3) + #if (__GNUC__ >= 7 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wimplicit-fallthrough #endif - #if __GNUC__ + (__GNUC_MINOR__ >= 8) > 4 || (__clang_major__ + (__clang_minor__ >= 9) > 3) + #if (__GNUC__ + (__GNUC_MINOR__ >= 8) > 4 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wno-pedantic #endif #if 3 < __clang_major__ + (9 <= __clang_minor__) -Wno-tautological-constant-out-of-range-compare #endif - #if __GNUC__ + (__GNUC_MINOR__ >= 3) > 4 || (__clang_major__ + (__clang_minor__ >= 9) > 3) + #if (__GNUC__ + (__GNUC_MINOR__ >= 3) > 4 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wno-sign-conversion -Wno-type-limits #endif - #if __GNUC__ + (__GNUC_MINOR__ >= 5) > 4 + #if (__GNUC__ + (__GNUC_MINOR__ >= 4) > 4 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) + -Wno-unused-const-variable + #endif + #if (__GNUC__ + (__GNUC_MINOR__ >= 5) > 4 && !defined __clang__) -Wno-unsuffixed-float-constants #endif EOF @@ -41539,6 +42691,7 @@ printf "%s\n" "$gl_cv___builtin_expect" >&6; } + GL_GNULIB_C32ISALNUM=1 @@ -41561,6 +42714,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISALNUM 1" >>confdefs.h + GL_GNULIB_C32ISALPHA=1 @@ -41583,6 +42737,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISALPHA 1" >>confdefs.h + GL_GNULIB_C32ISBLANK=1 @@ -41605,6 +42760,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISBLANK 1" >>confdefs.h + GL_GNULIB_C32ISCNTRL=1 @@ -41627,6 +42783,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISCNTRL 1" >>confdefs.h + GL_GNULIB_C32ISDIGIT=1 @@ -41649,6 +42806,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISDIGIT 1" >>confdefs.h + GL_GNULIB_C32ISGRAPH=1 @@ -41671,6 +42829,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISGRAPH 1" >>confdefs.h + GL_GNULIB_C32ISLOWER=1 @@ -41693,6 +42852,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISLOWER 1" >>confdefs.h + GL_GNULIB_C32ISPRINT=1 @@ -41715,6 +42875,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISPRINT 1" >>confdefs.h + GL_GNULIB_C32ISPUNCT=1 @@ -41737,6 +42898,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISPUNCT 1" >>confdefs.h + GL_GNULIB_C32ISSPACE=1 @@ -41759,6 +42921,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISSPACE 1" >>confdefs.h + GL_GNULIB_C32ISUPPER=1 @@ -41781,6 +42944,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISUPPER 1" >>confdefs.h + GL_GNULIB_C32ISXDIGIT=1 @@ -41803,6 +42967,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISXDIGIT 1" >>confdefs.h + GL_GNULIB_C32TOLOWER=1 @@ -41825,6 +42990,7 @@ printf "%s\n" "#define GNULIB_TEST_C32TOLOWER 1" >>confdefs.h + GL_GNULIB_C32WIDTH=1 @@ -41974,6 +43140,51 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac + REPLACE_FLOAT_SNAN=0 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether float.h conforms to ISO C23" >&5 +printf %s "checking whether float.h conforms to ISO C23... " >&6; } +if test ${gl_cv_header_float_h_isoc23+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + int x[] = { FLT_DECIMAL_DIG, DBL_DECIMAL_DIG, LDBL_DECIMAL_DIG }; + float maxf = FLT_NORM_MAX; + double maxd = DBL_NORM_MAX; + long double maxl = LDBL_NORM_MAX; + +int +main (void) +{ +float sf = FLT_SNAN; + double sd = DBL_SNAN; + long double sl = LDBL_SNAN; + return (sf != 0) + (sd != 0) + (sl != 0); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_header_float_h_isoc23=yes +else case e in #( + e) gl_cv_header_float_h_isoc23=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_float_h_isoc23" >&5 +printf "%s\n" "$gl_cv_header_float_h_isoc23" >&6; } + if test $gl_cv_header_float_h_isoc23 != yes; then + GL_GENERATE_FLOAT_H=true + REPLACE_FLOAT_SNAN=1 + fi + REPLACE_ITOLD=0 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether conversion from 'int' to 'long double' works" >&5 printf %s "checking whether conversion from 'int' to 'long double' works... " >&6; } @@ -42160,7 +43371,7 @@ fi - if test $REPLACE_FLOAT_LDBL = 1; then + if test $REPLACE_FLOAT_LDBL = 1 || test $REPLACE_FLOAT_SNAN = 1; then GL_COND_OBJ_FLOAT_TRUE= GL_COND_OBJ_FLOAT_FALSE='#' else @@ -42190,6 +43401,7 @@ fi + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether free is known to preserve errno" >&5 printf %s "checking whether free is known to preserve errno... " >&6; } if test ${gl_cv_func_free_preserves_errno+y} @@ -43653,13 +44865,13 @@ then : else case e in #( e) case "$host_os" in - # Guess no on FreeBSD, NetBSD, Solaris, native Windows. - freebsd* | dragonfly* | netbsd* | solaris* | mingw* | windows*) + # Guess no on FreeBSD, NetBSD, OpenBSD, Solaris, native Windows, Haiku, Android. + freebsd* | dragonfly* | netbsd* | openbsd* | solaris* | mingw* | windows* | haiku* | *-android*) gl_cv_func_iswdigit_works="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_iswdigit_works="guessing yes" ;; esac - if test $LOCALE_FR != none || test $LOCALE_JA != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_ZH_CN != none; then + if test $LOCALE_FR != none || test $LOCALE_JA != none || test "$LOCALE_EN_UTF8" != none || test $LOCALE_ZH_CN != none; then if test "$cross_compiling" = yes then : : @@ -43708,21 +44920,21 @@ main (int argc, char *argv[]) if (strcmp ("$LOCALE_JA", "none") != 0 && setlocale (LC_ALL, "$LOCALE_JA") != NULL) { - /* This fails on NetBSD 8.0. */ + /* This fails on NetBSD 10.0. */ /* U+FF11 FULLWIDTH DIGIT ONE */ is = for_character ("\243\261", 2); if (!(is == 0)) result |= 2; } - if (strcmp ("$LOCALE_FR_UTF8", "none") != 0 - && setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + if (strcmp ("$LOCALE_EN_UTF8", "none") != 0 + && setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { - /* This fails on FreeBSD 13.0, NetBSD 8.0, MSVC 14. */ + /* This fails on FreeBSD 13.0, NetBSD 10.0, OpenBSD 7.5, MSVC 14, Haiku, Android. */ /* U+0663 ARABIC-INDIC DIGIT THREE */ is = for_character ("\331\243", 2); if (!(is == 0)) result |= 4; - /* This fails on FreeBSD 13.0, NetBSD 8.0, MSVC 14. */ + /* This fails on FreeBSD 13.0, NetBSD 10.0, OpenBSD 7.5, MSVC 14, Haiku, Android. */ /* U+FF11 FULLWIDTH DIGIT ONE */ is = for_character ("\357\274\221", 3); if (!(is == 0)) @@ -43731,7 +44943,7 @@ main (int argc, char *argv[]) if (strcmp ("$LOCALE_ZH_CN", "none") != 0 && setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { - /* This fails on NetBSD 8.0, Solaris 10, Solaris 11.4. */ + /* This fails on NetBSD 10.0, Solaris 10, Solaris 11.4. */ /* U+FF11 FULLWIDTH DIGIT ONE */ is = for_character ("\243\261", 2); if (!(is == 0)) @@ -43911,13 +45123,13 @@ then : else case e in #( e) case "$host_os" in - # Guess no on FreeBSD, NetBSD, Solaris, native Windows. - freebsd* | dragonfly* | netbsd* | solaris* | mingw* | windows*) + # Guess no on FreeBSD, NetBSD, OpenBSD, Solaris, native Windows, Haiku, Android. + freebsd* | dragonfly* | netbsd* | openbsd* | solaris* | mingw* | windows* | haiku* | *-android*) gl_cv_func_iswxdigit_works="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_iswxdigit_works="guessing yes" ;; esac - if test $LOCALE_JA != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_ZH_CN != none; then + if test $LOCALE_JA != none || test "$LOCALE_EN_UTF8" != none || test $LOCALE_ZH_CN != none; then if test "$cross_compiling" = yes then : : @@ -43957,21 +45169,21 @@ main (int argc, char *argv[]) if (strcmp ("$LOCALE_JA", "none") != 0 && setlocale (LC_ALL, "$LOCALE_JA") != NULL) { - /* This fails on NetBSD 8.0. */ + /* This fails on NetBSD 10.0. */ /* U+FF21 FULLWIDTH LATIN CAPITAL LETTER A */ is = for_character ("\243\301", 2); if (!(is == 0)) result |= 1; } - if (strcmp ("$LOCALE_FR_UTF8", "none") != 0 - && setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + if (strcmp ("$LOCALE_EN_UTF8", "none") != 0 + && setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { - /* This fails on FreeBSD 13.0. */ + /* This fails on FreeBSD 13.0, Haiku, Android. */ /* U+0663 ARABIC-INDIC DIGIT THREE */ is = for_character ("\331\243", 2); if (!(is == 0)) result |= 2; - /* This fails on MSVC 14. */ + /* This fails on NetBSD 10.0, OpenBSD 7.5, MSVC 14, Haiku, Android. */ /* U+FF21 FULLWIDTH LATIN CAPITAL LETTER A */ is = for_character ("\357\274\241", 3); if (!(is == 0)) @@ -44803,6 +46015,76 @@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ" >&5 printf "%s\n" "$gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtoc32 works in an UTF-8 locale" >&5 +printf %s "checking whether mbrtoc32 works in an UTF-8 locale... " >&6; } +if test ${gl_cv_func_mbrtoc32_utf8_locale_works+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) if test "$cross_compiling" = yes +then : + case "$host_os" in + # Guess no on Cygwin. + cygwin*) gl_cv_func_mbrtoc32_utf8_locale_works="guessing no" ;; + *) gl_cv_func_mbrtoc32_utf8_locale_works="$gl_cross_guess_normal" ;; + esac + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #ifdef __HAIKU__ + #include + #endif + #include + +int +main (void) +{ + + char *locale = setlocale (LC_ALL, "en_US.UTF-8"); + if (locale) + { + /* This test fails on Cygwin 3.5.3. */ + mbstate_t state = { 0, }; + char32_t uc = 0xDEADBEEF; + /* \360\237\220\203 = U+0001F403 */ + if (mbrtoc32 (&uc, "\360", 1, &state) != (size_t)-2) + return 1; + if (mbrtoc32 (&uc, "\237", 1, &state) != (size_t)-2) + return 2; + if (mbrtoc32 (&uc, "\220", 1, &state) != (size_t)-2) + return 3; + if (mbrtoc32 (&uc, "\203", 1, &state) != 1) + return 4; + if (uc != 0x0001F403) + return 5; + } + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_mbrtoc32_utf8_locale_works=yes +else case e in #( + e) gl_cv_func_mbrtoc32_utf8_locale_works=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtoc32_utf8_locale_works" >&5 +printf "%s\n" "$gl_cv_func_mbrtoc32_utf8_locale_works" >&6; } + case "$gl_cv_func_mbrtoc32_empty_input" in *yes) ;; *) @@ -44819,6 +46101,15 @@ printf "%s\n" "#define MBRTOC32_IN_C_LOCALE_MAYBE_EILSEQ 1" >>confdefs.h REPLACE_MBRTOC32=1 ;; esac + case "$gl_cv_func_mbrtoc32_utf8_locale_works" in + *yes) ;; + *) +printf "%s\n" "#define MBRTOC32_MULTIBYTE_LOCALE_BUG 1" >>confdefs.h + + REPLACE_MBRTOC32=1 + LOCALE_ZH_CN=none + ;; + esac fi if test $HAVE_WORKING_MBRTOC32 = 0; then REPLACE_MBRTOC32=1 @@ -44961,6 +46252,7 @@ printf "%s\n" "#define HAVE_VISIBILITY $HAVE_VISIBILITY" >>confdefs.h fi + : @@ -45031,7 +46323,7 @@ else case e in #( # Guess yes otherwise. *) gl_cv_func_mbrtowc_null_arg1="guessing yes" ;; esac - if test $LOCALE_FR_UTF8 != none; then + if test "$LOCALE_EN_UTF8" != none; then if test "$cross_compiling" = yes then : : @@ -45047,7 +46339,7 @@ int main () { int result = 0; - if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + if (setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { char input[] = "\303\237er"; mbstate_t state; @@ -45107,7 +46399,7 @@ else case e in #( # Guess yes otherwise. *) gl_cv_func_mbrtowc_null_arg2="guessing yes" ;; esac - if test $LOCALE_FR_UTF8 != none; then + if test "$LOCALE_EN_UTF8" != none; then if test "$cross_compiling" = yes then : : @@ -45120,7 +46412,7 @@ else case e in #( #include int main () { - if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + if (setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { mbstate_t state; wchar_t wc; @@ -45175,7 +46467,7 @@ else case e in #( *) gl_cv_func_mbrtowc_retval="guessing yes" ;; esac - if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \ + if test "$LOCALE_EN_UTF8" != none || test $LOCALE_JA != none \ || { case "$host_os" in mingw* | windows*) true;; *) false;; esac; }; then if test "$cross_compiling" = yes then : @@ -45192,8 +46484,8 @@ int main () int result = 0; int found_some_locale = 0; /* This fails on Solaris. */ - if (strcmp ("$LOCALE_FR_UTF8", "none") != 0 - && setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + if (strcmp ("$LOCALE_EN_UTF8", "none") != 0 + && setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { char input[] = "B\303\274\303\237er"; /* "Büßer" */ mbstate_t state; @@ -45444,7 +46736,7 @@ fi ;; *) - if test $LOCALE_FR_UTF8 != none; then + if test "$LOCALE_EN_UTF8" != none; then if test "$cross_compiling" = yes then : : @@ -45457,7 +46749,7 @@ else case e in #( #include int main () { - if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + if (setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { wchar_t wc = (wchar_t) 0xBADFACE; mbstate_t state; @@ -46150,6 +47442,10 @@ printf "%s\n" "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h + # Conditionally invoke gl_PREREQ_VASNPRINTF_WITH_POSIX_EXTRAS. + + + @@ -46652,6 +47948,237 @@ fi + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_CREATE_DETACHED" >&5 +printf %s "checking for PTHREAD_CREATE_DETACHED... " >&6; } +if test ${gl_cv_const_PTHREAD_CREATE_DETACHED+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + int x = PTHREAD_CREATE_DETACHED; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_const_PTHREAD_CREATE_DETACHED=yes +else case e in #( + e) gl_cv_const_PTHREAD_CREATE_DETACHED=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_CREATE_DETACHED" >&5 +printf "%s\n" "$gl_cv_const_PTHREAD_CREATE_DETACHED" >&6; } + if test $gl_cv_const_PTHREAD_CREATE_DETACHED != yes; then + HAVE_PTHREAD_CREATE_DETACHED=0 + fi + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_MUTEX_RECURSIVE" >&5 +printf %s "checking for PTHREAD_MUTEX_RECURSIVE... " >&6; } +if test ${gl_cv_const_PTHREAD_MUTEX_RECURSIVE+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + int x = PTHREAD_MUTEX_RECURSIVE; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_const_PTHREAD_MUTEX_RECURSIVE=yes +else case e in #( + e) gl_cv_const_PTHREAD_MUTEX_RECURSIVE=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_MUTEX_RECURSIVE" >&5 +printf "%s\n" "$gl_cv_const_PTHREAD_MUTEX_RECURSIVE" >&6; } + if test $gl_cv_const_PTHREAD_MUTEX_RECURSIVE != yes; then + HAVE_PTHREAD_MUTEX_RECURSIVE=0 + fi + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_MUTEX_ROBUST" >&5 +printf %s "checking for PTHREAD_MUTEX_ROBUST... " >&6; } +if test ${gl_cv_const_PTHREAD_MUTEX_ROBUST+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + int x = PTHREAD_MUTEX_ROBUST; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_const_PTHREAD_MUTEX_ROBUST=yes +else case e in #( + e) gl_cv_const_PTHREAD_MUTEX_ROBUST=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_MUTEX_ROBUST" >&5 +printf "%s\n" "$gl_cv_const_PTHREAD_MUTEX_ROBUST" >&6; } + if test $gl_cv_const_PTHREAD_MUTEX_ROBUST != yes; then + HAVE_PTHREAD_MUTEX_ROBUST=0 + fi + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PROCESS_SHARED" >&5 +printf %s "checking for PTHREAD_PROCESS_SHARED... " >&6; } +if test ${gl_cv_const_PTHREAD_PROCESS_SHARED+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + int x = PTHREAD_PROCESS_SHARED; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_const_PTHREAD_PROCESS_SHARED=yes +else case e in #( + e) gl_cv_const_PTHREAD_PROCESS_SHARED=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_PROCESS_SHARED" >&5 +printf "%s\n" "$gl_cv_const_PTHREAD_PROCESS_SHARED" >&6; } + if test $gl_cv_const_PTHREAD_PROCESS_SHARED != yes; then + HAVE_PTHREAD_PROCESS_SHARED=0 + fi + + + + + + + + LIB_PTHREAD="$LIBPMULTITHREAD" + + + + + + + + + + + + + if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \ + && test $gl_threads_api = windows; then + REPLACE_PTHREAD_ONCE=1 + else + if test $HAVE_PTHREAD_H = 0; then + HAVE_PTHREAD_ONCE=0 + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_once works" >&5 +printf %s "checking whether pthread_once works... " >&6; } +if test ${gl_cv_func_pthread_once_works+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) case "$host_os" in + cygwin*) gl_cv_func_pthread_once_works="guessing no" ;; + *) gl_cv_func_pthread_once_works="yes" ;; + esac + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_once_works" >&5 +printf "%s\n" "$gl_cv_func_pthread_once_works" >&6; } + case "$gl_cv_func_pthread_once_works" in + *yes) ;; + *) REPLACE_PTHREAD_ONCE=1 ;; + esac + fi + fi + + + if test $HAVE_PTHREAD_ONCE = 0 || test $REPLACE_PTHREAD_ONCE = 1; then + GL_COND_OBJ_PTHREAD_ONCE_TRUE= + GL_COND_OBJ_PTHREAD_ONCE_FALSE='#' +else + GL_COND_OBJ_PTHREAD_ONCE_TRUE='#' + GL_COND_OBJ_PTHREAD_ONCE_FALSE= +fi +: + if test -z "${GL_COND_OBJ_PTHREAD_ONCE_TRUE}" && test -z "${GL_COND_OBJ_PTHREAD_ONCE_FALSE}"; then + GL_COND_OBJ_PTHREAD_ONCE_TRUE='#' + GL_COND_OBJ_PTHREAD_ONCE_FALSE='#' + fi + + + + + + + + + + + GL_GNULIB_PTHREAD_ONCE=1 + + + + + +printf "%s\n" "#define GNULIB_TEST_PTHREAD_ONCE 1" >>confdefs.h + + + + + + if test $RELOCATABLE = yes; then @@ -46669,6 +48196,13 @@ fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether setlocale (LC_ALL, NULL) is multithread-safe" >&5 printf %s "checking whether setlocale (LC_ALL, NULL) is multithread-safe... " >&6; } if test ${gl_cv_func_setlocale_null_all_mtsafe+y} @@ -48325,7 +49859,7 @@ main (void) char *haystack = (char *) malloc (2 * m + 2); char *needle = (char *) malloc (m + 2); /* Failure to compile this test due to missing alarm is okay, - since all such platforms (mingw) also have quadratic strstr. */ + since all such platforms (mingw, MSVC) also have quadratic strstr. */ signal (SIGALRM, quit); alarm (5); /* Check for quadratic performance. */ @@ -48540,6 +50074,13 @@ fi + + + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ || { @@ -48706,11 +50247,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -48741,11 +50282,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -48776,11 +50317,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -48813,8 +50354,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -48848,8 +50389,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -48883,8 +50424,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -48918,8 +50459,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -48953,8 +50494,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -48988,8 +50529,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49023,8 +50564,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49058,8 +50599,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49093,8 +50634,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49128,8 +50669,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49163,8 +50704,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49198,8 +50739,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49233,8 +50774,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49268,8 +50809,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49303,8 +50844,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49338,8 +50879,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49373,8 +50914,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49408,8 +50949,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49443,8 +50984,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49478,8 +51019,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49513,8 +51054,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49548,8 +51089,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49583,8 +51124,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49618,8 +51159,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49653,8 +51194,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49688,8 +51229,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49723,8 +51264,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49758,8 +51299,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49793,8 +51334,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49828,8 +51369,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49863,8 +51404,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49898,8 +51439,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49933,8 +51474,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49968,8 +51509,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50003,8 +51544,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50038,8 +51579,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50073,8 +51614,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50108,8 +51649,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50143,8 +51684,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50178,8 +51719,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50213,8 +51754,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50248,8 +51789,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50283,8 +51824,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50318,8 +51859,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50353,8 +51894,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50388,8 +51929,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50423,8 +51964,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50458,8 +51999,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50493,8 +52034,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50528,8 +52069,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50563,8 +52104,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50598,8 +52139,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50633,8 +52174,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50668,8 +52209,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50703,8 +52244,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50738,8 +52279,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50773,8 +52314,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51470,8 +53011,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51612,8 +53153,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51647,8 +53188,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51682,8 +53223,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51758,8 +53299,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51887,8 +53428,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52016,8 +53557,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52059,8 +53600,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52102,8 +53643,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52145,8 +53686,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52188,8 +53729,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52272,11 +53813,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -52317,8 +53858,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52360,8 +53901,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52446,8 +53987,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52489,8 +54030,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52532,8 +54073,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52661,8 +54202,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52745,11 +54286,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -52919,8 +54460,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53005,8 +54546,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53132,11 +54673,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 8 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53177,8 +54718,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53386,8 +54927,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53421,8 +54962,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53456,8 +54997,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53562,8 +55103,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53597,8 +55138,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53668,8 +55209,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53809,8 +55350,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53845,8 +55386,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53989,8 +55530,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54023,11 +55564,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -54061,8 +55602,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54097,8 +55638,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54167,11 +55708,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -54240,8 +55781,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54275,8 +55816,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54380,8 +55921,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54413,11 +55954,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -54448,11 +55989,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -54483,11 +56024,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -54625,8 +56166,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54660,8 +56201,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54695,8 +56236,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54737,8 +56278,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54825,8 +56366,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54869,8 +56410,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54913,8 +56454,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54957,8 +56498,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55001,8 +56542,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55045,8 +56586,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55089,8 +56630,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55133,8 +56674,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55177,8 +56718,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55221,8 +56762,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55265,8 +56806,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55309,8 +56850,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55353,8 +56894,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55397,8 +56938,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55441,8 +56982,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55485,8 +57026,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55529,8 +57070,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55566,8 +57107,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55608,8 +57149,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55652,8 +57193,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55694,11 +57235,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -55738,11 +57279,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -55782,11 +57323,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -55826,11 +57367,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -55870,11 +57411,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -55916,8 +57457,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55958,11 +57499,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -56046,11 +57587,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -56092,8 +57633,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56224,8 +57765,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56268,8 +57809,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56444,8 +57985,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56530,11 +58071,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -56620,8 +58161,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56664,8 +58205,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56708,8 +58249,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56928,8 +58469,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56972,8 +58513,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57016,8 +58557,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57456,8 +58997,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57498,11 +59039,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 8 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -57537,6 +59078,50 @@ fi + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_TRUE= + LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_FALSE='#' +else + LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_TRUE='#' + LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_FALSE= +fi +: + if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_FALSE}"; then + LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_TRUE='#' + LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_FALSE='#' + fi + + + + + + + + + + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ || { @@ -57632,8 +59217,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57676,8 +59261,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57762,11 +59347,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58292,8 +59877,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58468,8 +60053,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58600,8 +60185,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58723,8 +60308,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58809,11 +60394,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58943,8 +60528,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58987,8 +60572,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59068,8 +60653,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59175,8 +60760,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59280,8 +60865,8 @@ printf "%s\n" "#define GNULIB_UNIGBRK_U16_GRAPHEME_BREAKS 1" >>confdefs.h test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59320,8 +60905,8 @@ printf "%s\n" "#define GNULIB_UNIGBRK_U16_GRAPHEME_NEXT 1" >>confdefs.h test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59360,8 +60945,8 @@ printf "%s\n" "#define GNULIB_UNIGBRK_U16_GRAPHEME_PREV 1" >>confdefs.h test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59400,8 +60985,8 @@ printf "%s\n" "#define GNULIB_UNIGBRK_U32_GRAPHEME_BREAKS 1" >>confdefs.h test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59440,8 +61025,8 @@ printf "%s\n" "#define GNULIB_UNIGBRK_U32_GRAPHEME_NEXT 1" >>confdefs.h test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59480,8 +61065,8 @@ printf "%s\n" "#define GNULIB_UNIGBRK_U32_GRAPHEME_PREV 1" >>confdefs.h test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59520,8 +61105,8 @@ printf "%s\n" "#define GNULIB_UNIGBRK_U8_GRAPHEME_BREAKS 1" >>confdefs.h test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59560,8 +61145,8 @@ printf "%s\n" "#define GNULIB_UNIGBRK_U8_GRAPHEME_NEXT 1" >>confdefs.h test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59600,8 +61185,8 @@ printf "%s\n" "#define GNULIB_UNIGBRK_U8_GRAPHEME_PREV 1" >>confdefs.h test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59635,8 +61220,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59675,8 +61260,8 @@ printf "%s\n" "#define GNULIB_UNIGBRK_UC_GRAPHEME_BREAKS 1" >>confdefs.h test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59710,8 +61295,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59750,8 +61335,8 @@ printf "%s\n" "#define GNULIB_UNIGBRK_ULC_GRAPHEME_BREAKS 1" >>confdefs.h test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59816,8 +61401,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59851,8 +61436,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59886,8 +61471,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59921,8 +61506,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59956,8 +61541,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59991,8 +61576,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60026,8 +61611,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60061,8 +61646,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60138,8 +61723,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60205,8 +61790,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60276,8 +61861,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60309,11 +61894,11 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -60381,8 +61966,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60417,8 +62002,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60458,8 +62043,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60501,8 +62086,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60544,8 +62129,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60587,8 +62172,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60629,8 +62214,8 @@ printf "%s\n" "#define GNULIB_TEST_UNINORM_U16_NORMALIZE 1" >>confdefs.h test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60664,8 +62249,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60699,8 +62284,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60734,8 +62319,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60774,8 +62359,8 @@ printf "%s\n" "#define GNULIB_TEST_UNINORM_U32_NORMALIZE 1" >>confdefs.h test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60809,8 +62394,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60844,8 +62429,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60879,8 +62464,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60919,8 +62504,8 @@ printf "%s\n" "#define GNULIB_TEST_UNINORM_U8_NORMALIZE 1" >>confdefs.h test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60954,8 +62539,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60989,8 +62574,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61024,8 +62609,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61092,7 +62677,6 @@ fi - if { test "$HAVE_LIBUNISTRING" != yes \ || { @@ -61164,7 +62748,6 @@ fi - ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" if test "x$ac_cv_type_ptrdiff_t" = xyes then : @@ -62235,7 +63818,6 @@ fi - ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" if test "x$ac_cv_type_ptrdiff_t" = xyes then : @@ -63306,7 +64888,6 @@ fi - ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" if test "x$ac_cv_type_ptrdiff_t" = xyes then : @@ -64313,8 +65894,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64348,8 +65929,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64383,8 +65964,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64412,7 +65993,6 @@ fi - ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" if test "x$ac_cv_type_ptrdiff_t" = xyes then : @@ -64437,8 +66017,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64472,8 +66052,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64753,8 +66333,8 @@ printf "%s\n" "#define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64788,8 +66368,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64823,8 +66403,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64858,8 +66438,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64893,8 +66473,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -69557,446 +71137,1477 @@ fi - test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 - } - } - } + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_TRUE= + LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_FALSE='#' +else + LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_TRUE='#' + LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_FALSE= +fi +: + if test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_FALSE}"; then + LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_TRUE='#' + LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_FALSE='#' + fi + + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_TRUE= + LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_FALSE='#' +else + LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_TRUE='#' + LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_FALSE= +fi +: + if test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_FALSE}"; then + LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_TRUE='#' + LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_FALSE='#' + fi + + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_TRUE= + LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_FALSE='#' +else + LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_TRUE='#' + LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_FALSE= +fi +: + if test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_FALSE}"; then + LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_TRUE='#' + LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_FALSE='#' + fi + + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_TRUE= + LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_FALSE='#' +else + LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_TRUE='#' + LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_FALSE= +fi +: + if test -z "${LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_FALSE}"; then + LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_TRUE='#' + LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_FALSE='#' + fi + + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_TRUE= + LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_FALSE='#' +else + LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_TRUE='#' + LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_FALSE= +fi +: + if test -z "${LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_FALSE}"; then + LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_TRUE='#' + LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_FALSE='#' + fi + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 + } + } + } + + + + + } + }; then + if test -z "$LIBUNISTRING_UNIWIDTH_H"; then + LIBUNISTRING_UNIWIDTH_H="${gl_source_base_prefix}uniwidth.h" + fi + else + LIBUNISTRING_UNIWIDTH_H= + fi + + + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_TRUE= + LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_FALSE='#' +else + LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_TRUE='#' + LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_FALSE= +fi +: + if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_FALSE}"; then + LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_TRUE='#' + LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_FALSE='#' + fi + + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_TRUE= + LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_FALSE='#' +else + LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_TRUE='#' + LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_FALSE= +fi +: + if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_FALSE}"; then + LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_TRUE='#' + LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_FALSE='#' + fi + + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_TRUE= + LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_FALSE='#' +else + LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_TRUE='#' + LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_FALSE= +fi +: + if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_FALSE}"; then + LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_TRUE='#' + LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_FALSE='#' + fi + + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_TRUE= + LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_FALSE='#' +else + LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_TRUE='#' + LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_FALSE= +fi +: + if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_FALSE}"; then + LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_TRUE='#' + LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_FALSE='#' + fi + + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_TRUE= + LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_FALSE='#' +else + LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_TRUE='#' + LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_FALSE= +fi +: + if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_FALSE}"; then + LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_TRUE='#' + LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_FALSE='#' + fi + + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_TRUE= + LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_FALSE='#' +else + LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_TRUE='#' + LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_FALSE= +fi +: + if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_FALSE}"; then + LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_TRUE='#' + LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_FALSE='#' + fi + + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE= + LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE='#' +else + LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE='#' + LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE= +fi +: + if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE}"; then + LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE='#' + LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE='#' + fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ac_fn_check_decl "$LINENO" "wcwidth" "ac_cv_have_decl_wcwidth" " + #include + +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_wcwidth" = xyes +then : + ac_have_decl=1 +else case e in #( + e) ac_have_decl=0 ;; +esac +fi +printf "%s\n" "#define HAVE_DECL_WCWIDTH $ac_have_decl" >>confdefs.h + + if test $ac_cv_have_decl_wcwidth != yes; then + HAVE_DECL_WCWIDTH=0 + fi + + if test $ac_cv_func_wcwidth != yes; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether wcwidth is a macro" >&5 +printf %s "checking whether wcwidth is a macro... " >&6; } +if test ${gl_cv_func_wcwidth_macro+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef wcwidth + wchar_header_defines_wcwidth +#endif +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP_TRADITIONAL "wchar_header_defines_wcwidth" >/dev/null 2>&1 +then : + gl_cv_func_wcwidth_macro=yes +else case e in #( + e) gl_cv_func_wcwidth_macro=no ;; +esac +fi +rm -rf conftest* + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcwidth_macro" >&5 +printf "%s\n" "$gl_cv_func_wcwidth_macro" >&6; } + fi + + if test $ac_cv_func_wcwidth = yes || test $gl_cv_func_wcwidth_macro = yes; then + HAVE_WCWIDTH=1 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether wcwidth works reasonably in UTF-8 locales" >&5 +printf %s "checking whether wcwidth works reasonably in UTF-8 locales... " >&6; } +if test ${gl_cv_func_wcwidth_works+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + if test "$cross_compiling" = yes +then : + + case "$host_os" in + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_wcwidth_works="guessing yes";; + # Guess yes on musl systems. + *-musl* | midipix*) gl_cv_func_wcwidth_works="guessing yes";; + # Guess yes on AIX 7 systems. + aix[7-9]*) gl_cv_func_wcwidth_works="guessing yes";; + *) gl_cv_func_wcwidth_works="$gl_cross_guess_normal";; + esac + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#if !HAVE_DECL_WCWIDTH +extern +# ifdef __cplusplus +"C" +# endif +int wcwidth (int); +#endif +int main () +{ + int result = 0; + if (setlocale (LC_ALL, "en_US.UTF-8") != NULL) + { + if (wcwidth (0x0301) > 0) + result |= 1; + if (wcwidth (0x05B0) > 0) + result |= 2; + if (wcwidth (0x200B) > 0) + result |= 4; + if (wcwidth (0xFF1A) == 0) + result |= 8; + if (wcwidth (0x2202) > 1) + result |= 16; + } + return result; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_wcwidth_works=yes +else case e in #( + e) gl_cv_func_wcwidth_works=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcwidth_works" >&5 +printf "%s\n" "$gl_cv_func_wcwidth_works" >&6; } + case "$gl_cv_func_wcwidth_works" in + *yes) ;; + *no) REPLACE_WCWIDTH=1 ;; + esac + else + HAVE_WCWIDTH=0 + fi + + + if test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1; then + GL_COND_OBJ_WCWIDTH_TRUE= + GL_COND_OBJ_WCWIDTH_FALSE='#' +else + GL_COND_OBJ_WCWIDTH_TRUE='#' + GL_COND_OBJ_WCWIDTH_FALSE= +fi +: + if test -z "${GL_COND_OBJ_WCWIDTH_TRUE}" && test -z "${GL_COND_OBJ_WCWIDTH_FALSE}"; then + GL_COND_OBJ_WCWIDTH_TRUE='#' + GL_COND_OBJ_WCWIDTH_FALSE='#' + fi + + if test -z "$GL_COND_OBJ_WCWIDTH_TRUE"; then : + + + + : + + +fi + + + + + + + + + + + + + + + GL_GNULIB_WCWIDTH=1 + + + + + +printf "%s\n" "#define GNULIB_TEST_WCWIDTH 1" >>confdefs.h + + + + + + if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then + GL_COND_OBJ_WINDOWS_MUTEX_TRUE= + GL_COND_OBJ_WINDOWS_MUTEX_FALSE='#' +else + GL_COND_OBJ_WINDOWS_MUTEX_TRUE='#' + GL_COND_OBJ_WINDOWS_MUTEX_FALSE= +fi +: + if test -z "${GL_COND_OBJ_WINDOWS_MUTEX_TRUE}" && test -z "${GL_COND_OBJ_WINDOWS_MUTEX_FALSE}"; then + GL_COND_OBJ_WINDOWS_MUTEX_TRUE='#' + GL_COND_OBJ_WINDOWS_MUTEX_FALSE='#' + fi + + + + if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then + GL_COND_OBJ_WINDOWS_ONCE_TRUE= + GL_COND_OBJ_WINDOWS_ONCE_FALSE='#' +else + GL_COND_OBJ_WINDOWS_ONCE_TRUE='#' + GL_COND_OBJ_WINDOWS_ONCE_FALSE= +fi +: + if test -z "${GL_COND_OBJ_WINDOWS_ONCE_TRUE}" && test -z "${GL_COND_OBJ_WINDOWS_ONCE_FALSE}"; then + GL_COND_OBJ_WINDOWS_ONCE_TRUE='#' + GL_COND_OBJ_WINDOWS_ONCE_FALSE='#' + fi + + + + if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then + GL_COND_OBJ_WINDOWS_RECMUTEX_TRUE= + GL_COND_OBJ_WINDOWS_RECMUTEX_FALSE='#' +else + GL_COND_OBJ_WINDOWS_RECMUTEX_TRUE='#' + GL_COND_OBJ_WINDOWS_RECMUTEX_FALSE= +fi +: + if test -z "${GL_COND_OBJ_WINDOWS_RECMUTEX_TRUE}" && test -z "${GL_COND_OBJ_WINDOWS_RECMUTEX_FALSE}"; then + GL_COND_OBJ_WINDOWS_RECMUTEX_TRUE='#' + GL_COND_OBJ_WINDOWS_RECMUTEX_FALSE='#' + fi + + + + if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then + GL_COND_OBJ_WINDOWS_RWLOCK_TRUE= + GL_COND_OBJ_WINDOWS_RWLOCK_FALSE='#' +else + GL_COND_OBJ_WINDOWS_RWLOCK_TRUE='#' + GL_COND_OBJ_WINDOWS_RWLOCK_FALSE= +fi +: + if test -z "${GL_COND_OBJ_WINDOWS_RWLOCK_TRUE}" && test -z "${GL_COND_OBJ_WINDOWS_RWLOCK_FALSE}"; then + GL_COND_OBJ_WINDOWS_RWLOCK_TRUE='#' + GL_COND_OBJ_WINDOWS_RWLOCK_FALSE='#' + fi + + + + ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" +if test "x$ac_cv_header_stdint_h" = xyes +then : + printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h + +fi + + + # End of code from modules + + + + + + + + + + + + gltests_libdeps= + gltests_ltlibdeps= + + + + + + + + + + + + + + + gl_source_base='tests' + gl_source_base_prefix= + gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS + + gl_module_indicator_condition=$gltests_WITNESS + + + + if test "$ac_cv_header_winsock2_h" = yes; then + GL_COND_OBJ_ACCEPT_TRUE= + GL_COND_OBJ_ACCEPT_FALSE='#' +else + GL_COND_OBJ_ACCEPT_TRUE='#' + GL_COND_OBJ_ACCEPT_FALSE= +fi +: + if test -z "${GL_COND_OBJ_ACCEPT_TRUE}" && test -z "${GL_COND_OBJ_ACCEPT_FALSE}"; then + GL_COND_OBJ_ACCEPT_TRUE='#' + GL_COND_OBJ_ACCEPT_FALSE='#' + fi + + + + + + + + + + + if test "$GL_GNULIB_ACCEPT" != 1; then + if test "$GL_GNULIB_ACCEPT" = 0; then + GL_GNULIB_ACCEPT=$gl_module_indicator_condition + else + GL_GNULIB_ACCEPT="($GL_GNULIB_ACCEPT || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_ACCEPT 1" >>confdefs.h + + + + + +printf "%s\n" "#define GNULIB_ACCEPT $gl_module_indicator_condition" >>confdefs.h + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alignas and alignof" >&5 +printf %s "checking for alignas and alignof... " >&6; } +if test ${gl_cv_header_working_stdalign_h+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) gl_saved_CFLAGS=$CFLAGS + for gl_working in "yes, keywords" "yes, macros"; do + case $gl_working in #( + *stdalign.h*) : + CFLAGS="$gl_saved_CFLAGS -DINCLUDE_STDALIGN_H" ;; #( + *) : + ;; +esac + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #ifdef INCLUDE_STDALIGN_H + #include + #endif + #include + + /* Test that alignof yields a result consistent with offsetof. + This catches GCC bug 52023 + . */ + #ifdef __cplusplus + template struct alignof_helper { char a; t b; }; + # define ao(type) offsetof (alignof_helper, b) + #else + # define ao(type) offsetof (struct { char a; type b; }, b) + #endif + char test_double[ao (double) % _Alignof (double) == 0 ? 1 : -1]; + char test_long[ao (long int) % _Alignof (long int) == 0 ? 1 : -1]; + char test_alignof[alignof (double) == _Alignof (double) ? 1 : -1]; + + /* Test alignas only on platforms where gnulib can help. */ + #if \ + ((defined __cplusplus && 201103 <= __cplusplus) \ + || (__TINYC__ && defined __attribute__) \ + || (defined __APPLE__ && defined __MACH__ \ + ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \ + : __GNUC__) \ + || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \ + || __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__ \ + || 1300 <= _MSC_VER) + struct alignas_test { char c; char alignas (8) alignas_8; }; + char test_alignas[offsetof (struct alignas_test, alignas_8) == 8 + ? 1 : -1]; + #endif + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_header_working_stdalign_h=$gl_working +else case e in #( + e) gl_cv_header_working_stdalign_h=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + CFLAGS=$gl_saved_CFLAGS + test "$gl_cv_header_working_stdalign_h" != no && break + done ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdalign_h" >&5 +printf "%s\n" "$gl_cv_header_working_stdalign_h" >&6; } + + case $gl_cv_header_working_stdalign_h in #( + yes*keyword*) : + +printf "%s\n" "#define HAVE_C_ALIGNASOF 1" >>confdefs.h + ;; #( + *) : + ;; +esac + + + + + + + + + + + + + + if test "$ac_cv_header_winsock2_h" = yes; then + GL_COND_OBJ_BIND_TRUE= + GL_COND_OBJ_BIND_FALSE='#' +else + GL_COND_OBJ_BIND_TRUE='#' + GL_COND_OBJ_BIND_FALSE= +fi +: + if test -z "${GL_COND_OBJ_BIND_TRUE}" && test -z "${GL_COND_OBJ_BIND_FALSE}"; then + GL_COND_OBJ_BIND_TRUE='#' + GL_COND_OBJ_BIND_FALSE='#' + fi + + + + + + + + + + + if test "$GL_GNULIB_BIND" != 1; then + if test "$GL_GNULIB_BIND" = 0; then + GL_GNULIB_BIND=$gl_module_indicator_condition + else + GL_GNULIB_BIND="($GL_GNULIB_BIND || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_BIND 1" >>confdefs.h + + + + + +printf "%s\n" "#define GNULIB_BIND $gl_module_indicator_condition" >>confdefs.h + + + + + + + + + + + + if test "$GL_GNULIB_BTOC32" != 1; then + if test "$GL_GNULIB_BTOC32" = 0; then + GL_GNULIB_BTOC32=$gl_module_indicator_condition + else + GL_GNULIB_BTOC32="($GL_GNULIB_BTOC32 || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_BTOC32 1" >>confdefs.h + + + + + + + + + + + + + if test $ac_cv_func_btowc = no; then + HAVE_BTOWC=0 + else + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5 +printf %s "checking whether btowc(0) is correct... " >&6; } +if test ${gl_cv_func_btowc_nul+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + if test "$cross_compiling" = yes +then : + + case "$host_os" in + # Guess no on Cygwin. + cygwin*) gl_cv_func_btowc_nul="guessing no" ;; + # Guess yes on native Windows. + mingw* | windows*) gl_cv_func_btowc_nul="guessing yes" ;; + # Guess yes otherwise. + *) gl_cv_func_btowc_nul="guessing yes" ;; + esac + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +int main () +{ + if (btowc ('\0') != 0) + return 1; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_btowc_nul=yes +else case e in #( + e) gl_cv_func_btowc_nul=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_nul" >&5 +printf "%s\n" "$gl_cv_func_btowc_nul" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5 +printf %s "checking whether btowc(EOF) is correct... " >&6; } +if test ${gl_cv_func_btowc_eof+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + case "$host_os" in + # Guess no on IRIX. + irix*) gl_cv_func_btowc_eof="guessing no" ;; + # Guess yes on native Windows. + mingw* | windows*) gl_cv_func_btowc_eof="guessing yes" ;; + # Guess yes otherwise. + *) gl_cv_func_btowc_eof="guessing yes" ;; + esac + if test $LOCALE_FR != none; then + if test "$cross_compiling" = yes +then : + : +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) + { + if (btowc (EOF) != WEOF) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_btowc_eof=yes +else case e in #( + e) gl_cv_func_btowc_eof=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + + fi + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5 +printf "%s\n" "$gl_cv_func_btowc_eof" >&6; } + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether btowc is consistent with mbrtowc in the C locale" >&5 +printf %s "checking whether btowc is consistent with mbrtowc in the C locale... " >&6; } +if test ${gl_cv_func_btowc_consistent+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + if test "$cross_compiling" = yes +then : + case "$host_os" in + # Guess no on mingw. + mingw* | windows*) + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#ifdef __MINGW32__ + Problem +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP_TRADITIONAL "Problem" >/dev/null 2>&1 +then : + gl_cv_func_btowc_consistent="guessing no" +else case e in #( + e) gl_cv_func_btowc_consistent="guessing yes" ;; +esac +fi +rm -rf conftest* + + ;; + # Guess yes otherwise. + *) gl_cv_func_btowc_consistent="guessing yes" ;; + esac + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ +#if HAVE_MBRTOWC + wint_t wc1 = btowc (0x80); + wchar_t wc2 = (wchar_t) 0xbadface; + char buf[1] = { 0x80 }; + mbstate_t state; + memset (&state, 0, sizeof (mbstate_t)); + if (mbrtowc (&wc2, buf, 1, &state) != 1 || wc1 != wc2) + return 1; +#endif + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_btowc_consistent=yes +else case e in #( + e) gl_cv_func_btowc_consistent=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_consistent" >&5 +printf "%s\n" "$gl_cv_func_btowc_consistent" >&6; } + + case "$gl_cv_func_btowc_nul" in + *yes) ;; + *) REPLACE_BTOWC=1 ;; + esac + case "$gl_cv_func_btowc_eof" in + *yes) ;; + *) REPLACE_BTOWC=1 ;; + esac + case "$gl_cv_func_btowc_consistent" in + *yes) ;; + *) REPLACE_BTOWC=1 ;; + esac + if test $REPLACE_BTOWC = 0; then + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C locale is free of encoding errors" >&5 +printf %s "checking whether the C locale is free of encoding errors... " >&6; } +if test ${gl_cv_func_mbrtowc_C_locale_sans_EILSEQ+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) if test "$cross_compiling" = yes +then : + case "$host_os" in + # Guess yes on native Windows. + mingw* | windows*) gl_cv_func_mbrtowc_C_locale_sans_EILSEQ="guessing yes" ;; + *) gl_cv_func_mbrtowc_C_locale_sans_EILSEQ="$gl_cross_guess_normal" ;; + esac + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + #include + +int +main (void) +{ + + int i; + char *locale = setlocale (LC_ALL, "C"); + if (! locale) + return 2; + for (i = CHAR_MIN; i <= CHAR_MAX; i++) + { + char c = i; + wchar_t wc; + mbstate_t mbs = { 0, }; + size_t ss = mbrtowc (&wc, &c, 1, &mbs); + if (1 < ss) + return 3; + } + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_mbrtowc_C_locale_sans_EILSEQ=yes +else case e in #( + e) gl_cv_func_mbrtowc_C_locale_sans_EILSEQ=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_C_locale_sans_EILSEQ" >&5 +printf "%s\n" "$gl_cv_func_mbrtowc_C_locale_sans_EILSEQ" >&6; } + case "$gl_cv_func_mbrtowc_C_locale_sans_EILSEQ" in + *yes) ;; + *) REPLACE_BTOWC=1 ;; + esac + fi + fi - } - }; then - LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_TRUE= - LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_FALSE='#' + if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then + GL_COND_OBJ_BTOWC_TRUE= + GL_COND_OBJ_BTOWC_FALSE='#' else - LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_TRUE='#' - LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_FALSE= + GL_COND_OBJ_BTOWC_TRUE='#' + GL_COND_OBJ_BTOWC_FALSE= fi : - if test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_FALSE}"; then - LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_TRUE='#' - LIBUNISTRING_COMPILE_UNIWBRK_U16_WORDBREAKS_FALSE='#' + if test -z "${GL_COND_OBJ_BTOWC_TRUE}" && test -z "${GL_COND_OBJ_BTOWC_FALSE}"; then + GL_COND_OBJ_BTOWC_TRUE='#' + GL_COND_OBJ_BTOWC_FALSE='#' fi + if test -z "$GL_COND_OBJ_BTOWC_TRUE"; then : - - - if { test "$HAVE_LIBUNISTRING" != yes \ - || { - - - - test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 - } - } - } - + : - } - }; then - LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_TRUE= - LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_FALSE='#' -else - LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_TRUE='#' - LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_FALSE= fi -: - if test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_FALSE}"; then - LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_TRUE='#' - LIBUNISTRING_COMPILE_UNIWBRK_U32_WORDBREAKS_FALSE='#' - fi - - if { test "$HAVE_LIBUNISTRING" != yes \ - || { - - - test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 - } - } - } - } - }; then - LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_TRUE= - LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_FALSE='#' -else - LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_TRUE='#' - LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_FALSE= -fi -: - if test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_FALSE}"; then - LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_TRUE='#' - LIBUNISTRING_COMPILE_UNIWBRK_U8_WORDBREAKS_FALSE='#' - fi - if { test "$HAVE_LIBUNISTRING" != yes \ - || { + if test "$GL_GNULIB_BTOWC" != 1; then + if test "$GL_GNULIB_BTOWC" = 0; then + GL_GNULIB_BTOWC=$gl_module_indicator_condition + else + GL_GNULIB_BTOWC="($GL_GNULIB_BTOWC || $gl_module_indicator_condition)" + fi + fi - test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 - } - } - } +printf "%s\n" "#define GNULIB_TEST_BTOWC 1" >>confdefs.h - } - }; then - LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_TRUE= - LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_FALSE='#' -else - LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_TRUE='#' - LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_FALSE= -fi -: - if test -z "${LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_FALSE}"; then - LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_TRUE='#' - LIBUNISTRING_COMPILE_UNIWBRK_ULC_WORDBREAKS_FALSE='#' - fi - if { test "$HAVE_LIBUNISTRING" != yes \ - || { - test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 - } - } - } - } - }; then - LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_TRUE= - LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_FALSE='#' -else - LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_TRUE='#' - LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_FALSE= -fi -: - if test -z "${LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_FALSE}"; then - LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_TRUE='#' - LIBUNISTRING_COMPILE_UNIWBRK_WORDBREAK_PROPERTY_FALSE='#' - fi - if { test "$HAVE_LIBUNISTRING" != yes \ - || { - test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 - } - } - } - } - }; then - if test -z "$LIBUNISTRING_UNIWIDTH_H"; then - LIBUNISTRING_UNIWIDTH_H="${gl_source_base_prefix}uniwidth.h" - fi - else - LIBUNISTRING_UNIWIDTH_H= - fi - if { test "$HAVE_LIBUNISTRING" != yes \ - || { - test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 - } - } - } - } - }; then - LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_TRUE= - LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_FALSE='#' -else - LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_TRUE='#' - LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_FALSE= -fi -: - if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_FALSE}"; then - LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_TRUE='#' - LIBUNISTRING_COMPILE_UNIWIDTH_U16_STRWIDTH_FALSE='#' - fi - if { test "$HAVE_LIBUNISTRING" != yes \ - || { - test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 - } - } - } - } - }; then - LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_TRUE= - LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_FALSE='#' -else - LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_TRUE='#' - LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_FALSE= -fi -: - if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_FALSE}"; then - LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_TRUE='#' - LIBUNISTRING_COMPILE_UNIWIDTH_U16_WIDTH_FALSE='#' - fi - if { test "$HAVE_LIBUNISTRING" != yes \ - || { - test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 - } - } - } - } - }; then - LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_TRUE= - LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_FALSE='#' -else - LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_TRUE='#' - LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_FALSE= -fi -: - if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_FALSE}"; then - LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_TRUE='#' - LIBUNISTRING_COMPILE_UNIWIDTH_U32_STRWIDTH_FALSE='#' - fi - if { test "$HAVE_LIBUNISTRING" != yes \ - || { - test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 - } - } - } - } - }; then - LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_TRUE= - LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_FALSE='#' -else - LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_TRUE='#' - LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_FALSE= -fi -: - if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_FALSE}"; then - LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_TRUE='#' - LIBUNISTRING_COMPILE_UNIWIDTH_U32_WIDTH_FALSE='#' - fi - if { test "$HAVE_LIBUNISTRING" != yes \ - || { + if test $gl_cv_func_c32rtomb = no; then + HAVE_C32RTOMB=0 + else + if test $HAVE_WORKING_MBRTOC32 = 0; then + REPLACE_C32RTOMB=1 + fi + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c32rtomb return value is correct" >&5 +printf %s "checking whether c32rtomb return value is correct... " >&6; } +if test ${gl_cv_func_c32rtomb_retval+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + case "$host_os" in + # Guess no on AIX. + aix*) gl_cv_func_c32rtomb_retval="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_c32rtomb_retval="guessing yes" ;; + esac + if test "$cross_compiling" = yes +then : + : +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ - test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 - } - } - } +#include +#ifdef __HAIKU__ + #include +#endif +#include +int main () +{ + int result = 0; + if (c32rtomb (NULL, 0, NULL) != 1) + result |= 1; + return result; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_c32rtomb_retval=yes +else case e in #( + e) gl_cv_func_c32rtomb_retval=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_c32rtomb_retval" >&5 +printf "%s\n" "$gl_cv_func_c32rtomb_retval" >&6; } + case "$gl_cv_func_c32rtomb_retval" in + *yes) ;; + *) +printf "%s\n" "#define C32RTOMB_RETVAL_BUG 1" >>confdefs.h + REPLACE_C32RTOMB=1 ;; + esac + if test $HAVE_WORKING_C32RTOMB = 0; then + REPLACE_C32RTOMB=1 + fi + fi - } - }; then - LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_TRUE= - LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_FALSE='#' + if test $HAVE_C32RTOMB = 0 || test $REPLACE_C32RTOMB = 1; then + GL_COND_OBJ_C32RTOMB_TRUE= + GL_COND_OBJ_C32RTOMB_FALSE='#' else - LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_TRUE='#' - LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_FALSE= + GL_COND_OBJ_C32RTOMB_TRUE='#' + GL_COND_OBJ_C32RTOMB_FALSE= fi : - if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_FALSE}"; then - LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_TRUE='#' - LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH_FALSE='#' + if test -z "${GL_COND_OBJ_C32RTOMB_TRUE}" && test -z "${GL_COND_OBJ_C32RTOMB_FALSE}"; then + GL_COND_OBJ_C32RTOMB_TRUE='#' + GL_COND_OBJ_C32RTOMB_FALSE='#' fi - if { test "$HAVE_LIBUNISTRING" != yes \ - || { - - test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 - } - } - } - - } - }; then - LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_TRUE= - LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_FALSE='#' -else - LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_TRUE='#' - LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_FALSE= -fi -: - if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_FALSE}"; then - LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_TRUE='#' - LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH_FALSE='#' + if test "$GL_GNULIB_C32RTOMB" != 1; then + if test "$GL_GNULIB_C32RTOMB" = 0; then + GL_GNULIB_C32RTOMB=$gl_module_indicator_condition + else + GL_GNULIB_C32RTOMB="($GL_GNULIB_C32RTOMB || $gl_module_indicator_condition)" + fi fi - if { test "$HAVE_LIBUNISTRING" != yes \ - || { - - - - test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ - || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ - && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 - } - } - } - - - - - } - }; then - LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE= - LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE='#' -else - LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE='#' - LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE= -fi -: - if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE}"; then - LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE='#' - LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE='#' - fi +printf "%s\n" "#define GNULIB_TEST_C32RTOMB 1" >>confdefs.h @@ -70016,11 +72627,19 @@ fi + if test "$GL_GNULIB_C32TOB" != 1; then + if test "$GL_GNULIB_C32TOB" = 0; then + GL_GNULIB_C32TOB=$gl_module_indicator_condition + else + GL_GNULIB_C32TOB="($GL_GNULIB_C32TOB || $gl_module_indicator_condition)" + fi + fi +printf "%s\n" "#define GNULIB_TEST_C32TOB 1" >>confdefs.h @@ -70029,114 +72648,51 @@ fi - ac_fn_check_decl "$LINENO" "wcwidth" "ac_cv_have_decl_wcwidth" " - #include -" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_wcwidth" = xyes -then : - ac_have_decl=1 -else case e in #( - e) ac_have_decl=0 ;; -esac -fi -printf "%s\n" "#define HAVE_DECL_WCWIDTH $ac_have_decl" >>confdefs.h - if test $ac_cv_have_decl_wcwidth != yes; then - HAVE_DECL_WCWIDTH=0 - fi - if test $ac_cv_func_wcwidth != yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether wcwidth is a macro" >&5 -printf %s "checking whether wcwidth is a macro... " >&6; } -if test ${gl_cv_func_wcwidth_macro+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#ifdef wcwidth - wchar_header_defines_wcwidth -#endif -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "wchar_header_defines_wcwidth" >/dev/null 2>&1 -then : - gl_cv_func_wcwidth_macro=yes -else case e in #( - e) gl_cv_func_wcwidth_macro=no ;; -esac -fi -rm -rf conftest* - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcwidth_macro" >&5 -printf "%s\n" "$gl_cv_func_wcwidth_macro" >&6; } - fi + REPLACE_CALLOC_FOR_CALLOC_GNU="$REPLACE_CALLOC_FOR_CALLOC_POSIX" + if test $REPLACE_CALLOC_FOR_CALLOC_GNU = 0; then - if test $ac_cv_func_wcwidth = yes || test $gl_cv_func_wcwidth_macro = yes; then - HAVE_WCWIDTH=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether wcwidth works reasonably in UTF-8 locales" >&5 -printf %s "checking whether wcwidth works reasonably in UTF-8 locales... " >&6; } -if test ${gl_cv_func_wcwidth_works+y} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether calloc (0, n) and calloc (n, 0) return nonnull" >&5 +printf %s "checking whether calloc (0, n) and calloc (n, 0) return nonnull... " >&6; } +if test ${ac_cv_func_calloc_0_nonnull+y} then : printf %s "(cached) " >&6 else case e in #( - e) - if test "$cross_compiling" = yes -then : - - case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_wcwidth_works="guessing yes";; - # Guess yes on musl systems. - *-musl* | midipix*) gl_cv_func_wcwidth_works="guessing yes";; - # Guess yes on AIX 7 systems. - aix[7-9]*) gl_cv_func_wcwidth_works="guessing yes";; - *) gl_cv_func_wcwidth_works="$gl_cross_guess_normal";; - esac - -else case e in #( + e) if test $cross_compiling != yes; then + ac_cv_func_calloc_0_nonnull=yes + if test "$cross_compiling" = yes +then : + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} +as_fn_error $? "cannot run test program while cross compiling +See 'config.log' for more details" "$LINENO" 5; } +else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - -#include -#include -#if !HAVE_DECL_WCWIDTH -extern -# ifdef __cplusplus -"C" -# endif -int wcwidth (int); -#endif -int main () +$ac_includes_default +int +main (void) { - int result = 0; - if (setlocale (LC_ALL, "en_US.UTF-8") != NULL) - { - if (wcwidth (0x0301) > 0) - result |= 1; - if (wcwidth (0x05B0) > 0) - result |= 2; - if (wcwidth (0x200B) > 0) - result |= 4; - if (wcwidth (0xFF1A) == 0) - result |= 8; - if (wcwidth (0x2202) > 1) - result |= 16; - } - return result; +int result = 0; + char * volatile p = calloc (0, 0); + if (!p) + result |= 1; + free (p); + return result; + + ; + return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : - gl_cv_func_wcwidth_works=yes + else case e in #( - e) gl_cv_func_wcwidth_works=no ;; + e) ac_cv_func_calloc_0_nonnull=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -70144,136 +72700,111 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ esac fi - ;; + else + case "$host_os" in + # Guess yes on glibc systems. + *-gnu* | gnu*) ac_cv_func_calloc_0_nonnull="guessing yes" ;; + # Guess yes on musl systems. + *-musl* | midipix*) ac_cv_func_calloc_0_nonnull="guessing yes" ;; + # Guess yes on native Windows. + mingw* | windows*) ac_cv_func_calloc_0_nonnull="guessing yes" ;; + # If we don't know, obey --enable-cross-guesses. + *) ac_cv_func_calloc_0_nonnull="$gl_cross_guess_normal" ;; + esac + fi + ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcwidth_works" >&5 -printf "%s\n" "$gl_cv_func_wcwidth_works" >&6; } - case "$gl_cv_func_wcwidth_works" in - *yes) ;; - *no) REPLACE_WCWIDTH=1 ;; - esac - else - HAVE_WCWIDTH=0 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_calloc_0_nonnull" >&5 +printf "%s\n" "$ac_cv_func_calloc_0_nonnull" >&6; } + case $ac_cv_func_calloc_0_nonnull in #( + *yes) : + ;; #( + *) : + REPLACE_CALLOC_FOR_CALLOC_GNU=1 ;; +esac + fi + if test $REPLACE_CALLOC_FOR_CALLOC_GNU = 1; then + + + + + + + + + gltests_LIBOBJS="$gltests_LIBOBJS calloc.$ac_objext" - if test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1; then - GL_COND_OBJ_WCWIDTH_TRUE= - GL_COND_OBJ_WCWIDTH_FALSE='#' -else - GL_COND_OBJ_WCWIDTH_TRUE='#' - GL_COND_OBJ_WCWIDTH_FALSE= -fi -: - if test -z "${GL_COND_OBJ_WCWIDTH_TRUE}" && test -z "${GL_COND_OBJ_WCWIDTH_FALSE}"; then - GL_COND_OBJ_WCWIDTH_TRUE='#' - GL_COND_OBJ_WCWIDTH_FALSE='#' fi - if test -z "$GL_COND_OBJ_WCWIDTH_TRUE"; then : - : -fi + if test "$GL_GNULIB_CALLOC_GNU" != 1; then + if test "$GL_GNULIB_CALLOC_GNU" = 0; then + GL_GNULIB_CALLOC_GNU=$gl_module_indicator_condition + else + GL_GNULIB_CALLOC_GNU="($GL_GNULIB_CALLOC_GNU || $gl_module_indicator_condition)" + fi + fi +printf "%s\n" "#define GNULIB_TEST_CALLOC_GNU 1" >>confdefs.h - GL_GNULIB_WCWIDTH=1 + if test $REPLACE_MALLOC_FOR_MALLOC_POSIX = 1; then + REPLACE_CALLOC_FOR_CALLOC_POSIX=1 + fi + if test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1; then -printf "%s\n" "#define GNULIB_TEST_WCWIDTH 1" >>confdefs.h + gltests_LIBOBJS="$gltests_LIBOBJS calloc.$ac_objext" - if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then - GL_COND_OBJ_WINDOWS_MUTEX_TRUE= - GL_COND_OBJ_WINDOWS_MUTEX_FALSE='#' -else - GL_COND_OBJ_WINDOWS_MUTEX_TRUE='#' - GL_COND_OBJ_WINDOWS_MUTEX_FALSE= -fi -: - if test -z "${GL_COND_OBJ_WINDOWS_MUTEX_TRUE}" && test -z "${GL_COND_OBJ_WINDOWS_MUTEX_FALSE}"; then - GL_COND_OBJ_WINDOWS_MUTEX_TRUE='#' - GL_COND_OBJ_WINDOWS_MUTEX_FALSE='#' fi - if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then - GL_COND_OBJ_WINDOWS_ONCE_TRUE= - GL_COND_OBJ_WINDOWS_ONCE_FALSE='#' -else - GL_COND_OBJ_WINDOWS_ONCE_TRUE='#' - GL_COND_OBJ_WINDOWS_ONCE_FALSE= -fi -: - if test -z "${GL_COND_OBJ_WINDOWS_ONCE_TRUE}" && test -z "${GL_COND_OBJ_WINDOWS_ONCE_FALSE}"; then - GL_COND_OBJ_WINDOWS_ONCE_TRUE='#' - GL_COND_OBJ_WINDOWS_ONCE_FALSE='#' - fi - if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then - GL_COND_OBJ_WINDOWS_RECMUTEX_TRUE= - GL_COND_OBJ_WINDOWS_RECMUTEX_FALSE='#' -else - GL_COND_OBJ_WINDOWS_RECMUTEX_TRUE='#' - GL_COND_OBJ_WINDOWS_RECMUTEX_FALSE= -fi -: - if test -z "${GL_COND_OBJ_WINDOWS_RECMUTEX_TRUE}" && test -z "${GL_COND_OBJ_WINDOWS_RECMUTEX_FALSE}"; then - GL_COND_OBJ_WINDOWS_RECMUTEX_TRUE='#' - GL_COND_OBJ_WINDOWS_RECMUTEX_FALSE='#' - fi - if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then - GL_COND_OBJ_WINDOWS_RWLOCK_TRUE= - GL_COND_OBJ_WINDOWS_RWLOCK_FALSE='#' -else - GL_COND_OBJ_WINDOWS_RWLOCK_TRUE='#' - GL_COND_OBJ_WINDOWS_RWLOCK_FALSE= -fi -: - if test -z "${GL_COND_OBJ_WINDOWS_RWLOCK_TRUE}" && test -z "${GL_COND_OBJ_WINDOWS_RWLOCK_FALSE}"; then - GL_COND_OBJ_WINDOWS_RWLOCK_TRUE='#' - GL_COND_OBJ_WINDOWS_RWLOCK_FALSE='#' + if test "$GL_GNULIB_CALLOC_POSIX" != 1; then + if test "$GL_GNULIB_CALLOC_POSIX" = 0; then + GL_GNULIB_CALLOC_POSIX=$gl_module_indicator_condition + else + GL_GNULIB_CALLOC_POSIX="($GL_GNULIB_CALLOC_POSIX || $gl_module_indicator_condition)" + fi fi - ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" -if test "x$ac_cv_header_stdint_h" = xyes -then : - printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h -fi +printf "%s\n" "#define GNULIB_TEST_CALLOC_POSIX 1" >>confdefs.h - # End of code from modules @@ -70285,41 +72816,109 @@ fi - gltests_libdeps= - gltests_ltlibdeps= + if test "$GL_GNULIB_CHDIR" != 1; then + if test "$GL_GNULIB_CHDIR" = 0; then + GL_GNULIB_CHDIR=$gl_module_indicator_condition + else + GL_GNULIB_CHDIR="($GL_GNULIB_CHDIR || $gl_module_indicator_condition)" + fi + fi + + + +printf "%s\n" "#define GNULIB_TEST_CHDIR 1" >>confdefs.h + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether this system supports file names of any length" >&5 +printf %s "checking whether this system supports file names of any length... " >&6; } +if test ${gl_cv_have_unlimited_file_name_length+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Arrange to define PATH_MAX, like "pathmax.h" does. */ +#if HAVE_UNISTD_H +# include +#endif +#include +#if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN +# include +#endif +#if !defined PATH_MAX && defined MAXPATHLEN +# define PATH_MAX MAXPATHLEN +#endif +#ifdef __hpux +# undef PATH_MAX +# define PATH_MAX 1024 +#endif +#if defined _WIN32 && ! defined __CYGWIN__ +# undef PATH_MAX +# define PATH_MAX 260 +#endif + +#ifdef PATH_MAX +have_arbitrary_file_name_length_limit +#endif +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP_TRADITIONAL "have_arbitrary_file_name_length_limit" >/dev/null 2>&1 +then : + gl_cv_have_unlimited_file_name_length=no +else case e in #( + e) gl_cv_have_unlimited_file_name_length=yes ;; +esac +fi +rm -rf conftest* + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_unlimited_file_name_length" >&5 +printf "%s\n" "$gl_cv_have_unlimited_file_name_length" >&6; } + if test $gl_cv_have_unlimited_file_name_length = no; then + GL_COND_OBJ_CHDIR_LONG_TRUE= + GL_COND_OBJ_CHDIR_LONG_FALSE='#' +else + GL_COND_OBJ_CHDIR_LONG_TRUE='#' + GL_COND_OBJ_CHDIR_LONG_FALSE= +fi +: + if test -z "${GL_COND_OBJ_CHDIR_LONG_TRUE}" && test -z "${GL_COND_OBJ_CHDIR_LONG_FALSE}"; then + GL_COND_OBJ_CHDIR_LONG_TRUE='#' + GL_COND_OBJ_CHDIR_LONG_FALSE='#' + fi + if test -z "$GL_COND_OBJ_CHDIR_LONG_TRUE"; then : + : +fi - gl_source_base='tests' - gl_source_base_prefix= - gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS +printf "%s\n" "#define GNULIB_TEST_CLOEXEC 1" >>confdefs.h - gl_module_indicator_condition=$gltests_WITNESS - if test "$ac_cv_header_winsock2_h" = yes; then - GL_COND_OBJ_ACCEPT_TRUE= - GL_COND_OBJ_ACCEPT_FALSE='#' + if test $REPLACE_CLOSE = 1; then + GL_COND_OBJ_CLOSE_TRUE= + GL_COND_OBJ_CLOSE_FALSE='#' else - GL_COND_OBJ_ACCEPT_TRUE='#' - GL_COND_OBJ_ACCEPT_FALSE= + GL_COND_OBJ_CLOSE_TRUE='#' + GL_COND_OBJ_CLOSE_FALSE= fi : - if test -z "${GL_COND_OBJ_ACCEPT_TRUE}" && test -z "${GL_COND_OBJ_ACCEPT_FALSE}"; then - GL_COND_OBJ_ACCEPT_TRUE='#' - GL_COND_OBJ_ACCEPT_FALSE='#' + if test -z "${GL_COND_OBJ_CLOSE_TRUE}" && test -z "${GL_COND_OBJ_CLOSE_FALSE}"; then + GL_COND_OBJ_CLOSE_TRUE='#' + GL_COND_OBJ_CLOSE_FALSE='#' fi @@ -70331,11 +72930,11 @@ fi - if test "$GL_GNULIB_ACCEPT" != 1; then - if test "$GL_GNULIB_ACCEPT" = 0; then - GL_GNULIB_ACCEPT=$gl_module_indicator_condition + if test "$GL_GNULIB_CLOSE" != 1; then + if test "$GL_GNULIB_CLOSE" = 0; then + GL_GNULIB_CLOSE=$gl_module_indicator_condition else - GL_GNULIB_ACCEPT="($GL_GNULIB_ACCEPT || $gl_module_indicator_condition)" + GL_GNULIB_CLOSE="($GL_GNULIB_CLOSE || $gl_module_indicator_condition)" fi fi @@ -70343,117 +72942,58 @@ fi -printf "%s\n" "#define GNULIB_TEST_ACCEPT 1" >>confdefs.h - - +printf "%s\n" "#define GNULIB_TEST_CLOSE 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alignas and alignof" >&5 -printf %s "checking for alignas and alignof... " >&6; } -if test ${gl_cv_header_working_stdalign_h+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) gl_saved_CFLAGS=$CFLAGS - for gl_working in "yes, keywords" "yes, macros"; do - case $gl_working in #( - *stdalign.h*) : - CFLAGS="$gl_saved_CFLAGS -DINCLUDE_STDALIGN_H" ;; #( - *) : - ;; -esac - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef INCLUDE_STDALIGN_H - #include - #endif - #include - /* Test that alignof yields a result consistent with offsetof. - This catches GCC bug 52023 - . */ - #ifdef __cplusplus - template struct alignof_helper { char a; t b; }; - # define ao(type) offsetof (alignof_helper, b) - #else - # define ao(type) offsetof (struct { char a; type b; }, b) - #endif - char test_double[ao (double) % _Alignof (double) == 0 ? 1 : -1]; - char test_long[ao (long int) % _Alignof (long int) == 0 ? 1 : -1]; - char test_alignof[alignof (double) == _Alignof (double) ? 1 : -1]; - /* Test alignas only on platforms where gnulib can help. */ - #if \ - ((defined __cplusplus && 201103 <= __cplusplus) \ - || (__TINYC__ && defined __attribute__) \ - || (defined __APPLE__ && defined __MACH__ \ - ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \ - : __GNUC__) \ - || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \ - || __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__ \ - || 1300 <= _MSC_VER) - struct alignas_test { char c; char alignas (8) alignas_8; }; - char test_alignas[offsetof (struct alignas_test, alignas_8) == 8 - ? 1 : -1]; - #endif -int -main (void) -{ +printf "%s\n" "#define GNULIB_CLOSE $gl_module_indicator_condition" >>confdefs.h - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_header_working_stdalign_h=$gl_working -else case e in #( - e) gl_cv_header_working_stdalign_h=no ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - CFLAGS=$gl_saved_CFLAGS - test "$gl_cv_header_working_stdalign_h" != no && break - done ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdalign_h" >&5 -printf "%s\n" "$gl_cv_header_working_stdalign_h" >&6; } - case $gl_cv_header_working_stdalign_h in #( - yes*keyword*) : -printf "%s\n" "#define HAVE_C_ALIGNASOF 1" >>confdefs.h - ;; #( - *) : - ;; -esac + ac_fn_c_check_func "$LINENO" "closedir" "ac_cv_func_closedir" +if test "x$ac_cv_func_closedir" = xyes +then : + printf "%s\n" "#define HAVE_CLOSEDIR 1" >>confdefs.h +fi + if test $ac_cv_func_closedir = no; then + HAVE_CLOSEDIR=0 + else + if test $DIR_HAS_FD_MEMBER = 0; then + REPLACE_CLOSEDIR=1 + fi + if test $ac_cv_func_fchdir = no; then + HAVE_FCHDIR=0 + fi + if test $HAVE_FCHDIR = 0; then + REPLACE_CLOSEDIR=1 + fi + fi - if test "$ac_cv_header_winsock2_h" = yes; then - GL_COND_OBJ_BIND_TRUE= - GL_COND_OBJ_BIND_FALSE='#' + if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then + GL_COND_OBJ_CLOSEDIR_TRUE= + GL_COND_OBJ_CLOSEDIR_FALSE='#' else - GL_COND_OBJ_BIND_TRUE='#' - GL_COND_OBJ_BIND_FALSE= + GL_COND_OBJ_CLOSEDIR_TRUE='#' + GL_COND_OBJ_CLOSEDIR_FALSE= fi : - if test -z "${GL_COND_OBJ_BIND_TRUE}" && test -z "${GL_COND_OBJ_BIND_FALSE}"; then - GL_COND_OBJ_BIND_TRUE='#' - GL_COND_OBJ_BIND_FALSE='#' + if test -z "${GL_COND_OBJ_CLOSEDIR_TRUE}" && test -z "${GL_COND_OBJ_CLOSEDIR_FALSE}"; then + GL_COND_OBJ_CLOSEDIR_TRUE='#' + GL_COND_OBJ_CLOSEDIR_FALSE='#' fi @@ -70465,11 +73005,11 @@ fi - if test "$GL_GNULIB_BIND" != 1; then - if test "$GL_GNULIB_BIND" = 0; then - GL_GNULIB_BIND=$gl_module_indicator_condition + if test "$GL_GNULIB_CLOSEDIR" != 1; then + if test "$GL_GNULIB_CLOSEDIR" = 0; then + GL_GNULIB_CLOSEDIR=$gl_module_indicator_condition else - GL_GNULIB_BIND="($GL_GNULIB_BIND || $gl_module_indicator_condition)" + GL_GNULIB_CLOSEDIR="($GL_GNULIB_CLOSEDIR || $gl_module_indicator_condition)" fi fi @@ -70477,10 +73017,24 @@ fi -printf "%s\n" "#define GNULIB_TEST_BIND 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_CLOSEDIR 1" >>confdefs.h + + + if test "$ac_cv_header_winsock2_h" = yes; then + GL_COND_OBJ_CONNECT_TRUE= + GL_COND_OBJ_CONNECT_FALSE='#' +else + GL_COND_OBJ_CONNECT_TRUE='#' + GL_COND_OBJ_CONNECT_FALSE= +fi +: + if test -z "${GL_COND_OBJ_CONNECT_TRUE}" && test -z "${GL_COND_OBJ_CONNECT_FALSE}"; then + GL_COND_OBJ_CONNECT_TRUE='#' + GL_COND_OBJ_CONNECT_FALSE='#' + fi @@ -70490,11 +73044,12 @@ printf "%s\n" "#define GNULIB_TEST_BIND 1" >>confdefs.h - if test "$GL_GNULIB_BTOC32" != 1; then - if test "$GL_GNULIB_BTOC32" = 0; then - GL_GNULIB_BTOC32=$gl_module_indicator_condition + + if test "$GL_GNULIB_CONNECT" != 1; then + if test "$GL_GNULIB_CONNECT" = 0; then + GL_GNULIB_CONNECT=$gl_module_indicator_condition else - GL_GNULIB_BTOC32="($GL_GNULIB_BTOC32 || $gl_module_indicator_condition)" + GL_GNULIB_CONNECT="($GL_GNULIB_CONNECT || $gl_module_indicator_condition)" fi fi @@ -70502,267 +73057,368 @@ printf "%s\n" "#define GNULIB_TEST_BIND 1" >>confdefs.h -printf "%s\n" "#define GNULIB_TEST_BTOC32 1" >>confdefs.h - +printf "%s\n" "#define GNULIB_TEST_CONNECT 1" >>confdefs.h +printf "%s\n" "#define GNULIB_CONNECT $gl_module_indicator_condition" >>confdefs.h - if test $ac_cv_func_btowc = no; then - HAVE_BTOWC=0 - else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5 -printf %s "checking whether btowc(0) is correct... " >&6; } -if test ${gl_cv_func_btowc_nul+y} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for d_ino member in directory struct" >&5 +printf %s "checking for d_ino member in directory struct... " >&6; } +if test ${gl_cv_struct_dirent_d_ino+y} then : printf %s "(cached) " >&6 else case e in #( - e) - if test "$cross_compiling" = yes + e) if test "$cross_compiling" = yes then : - - case "$host_os" in - # Guess no on Cygwin. - cygwin*) gl_cv_func_btowc_nul="guessing no" ;; - # Guess yes on native Windows. - mingw* | windows*) gl_cv_func_btowc_nul="guessing yes" ;; - # Guess yes otherwise. - *) gl_cv_func_btowc_nul="guessing yes" ;; - esac + case "$host_os" in + # Guess yes on glibc systems with Linux kernel. + linux*-gnu*) gl_cv_struct_dirent_d_ino="guessing yes" ;; + # Guess yes on musl systems with Linux kernel. + linux*-musl*) gl_cv_struct_dirent_d_ino="guessing yes" ;; + # Guess yes on systems that emulate the Linux system calls. + midipix*) gl_cv_struct_dirent_d_ino="guessing yes" ;; + # Guess no on native Windows. + mingw* | windows*) gl_cv_struct_dirent_d_ino="guessing no" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_struct_dirent_d_ino="$gl_cross_guess_normal" ;; + esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include + #include + #include -#include -int main () +int +main (void) { - if (btowc ('\0') != 0) - return 1; +DIR *dp = opendir ("."); + struct dirent *e; + struct stat st; + if (! dp) + return 1; + e = readdir (dp); + if (! e) + { closedir (dp); return 2; } + if (lstat (e->d_name, &st) != 0) + { closedir (dp); return 3; } + if (e->d_ino != st.st_ino) + { closedir (dp); return 4; } + closedir (dp); + return 0; + + ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : - gl_cv_func_btowc_nul=yes + gl_cv_struct_dirent_d_ino=yes else case e in #( - e) gl_cv_func_btowc_nul=no ;; + e) gl_cv_struct_dirent_d_ino=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi - - ;; + ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_nul" >&5 -printf "%s\n" "$gl_cv_func_btowc_nul" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_struct_dirent_d_ino" >&5 +printf "%s\n" "$gl_cv_struct_dirent_d_ino" >&6; } + case "$gl_cv_struct_dirent_d_ino" in + *yes) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5 -printf %s "checking whether btowc(EOF) is correct... " >&6; } -if test ${gl_cv_func_btowc_eof+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - case "$host_os" in - # Guess no on IRIX. - irix*) gl_cv_func_btowc_eof="guessing no" ;; - # Guess yes on native Windows. - mingw* | windows*) gl_cv_func_btowc_eof="guessing yes" ;; - # Guess yes otherwise. - *) gl_cv_func_btowc_eof="guessing yes" ;; - esac - if test $LOCALE_FR != none; then - if test "$cross_compiling" = yes -then : - : -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ +printf "%s\n" "#define D_INO_IN_DIRENT 1" >>confdefs.h -#include -#include -#include -int main () -{ - if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) - { - if (btowc (EOF) != WEOF) - return 1; - } - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO" + ;; + esac + + + + + + + + + + + + + + + + ac_fn_c_check_func "$LINENO" "dirfd" "ac_cv_func_dirfd" +if test "x$ac_cv_func_dirfd" = xyes then : - gl_cv_func_btowc_eof=yes -else case e in #( - e) gl_cv_func_btowc_eof=no ;; -esac -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac + printf "%s\n" "#define HAVE_DIRFD 1" >>confdefs.h + fi - fi - ;; + ac_fn_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include + #include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_dirfd" = xyes +then : + ac_have_decl=1 +else case e in #( + e) ac_have_decl=0 ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5 -printf "%s\n" "$gl_cv_func_btowc_eof" >&6; } +printf "%s\n" "#define HAVE_DECL_DIRFD $ac_have_decl" >>confdefs.h + if test $ac_cv_have_decl_dirfd = no; then + HAVE_DECL_DIRFD=0 + fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether btowc is consistent with mbrtowc in the C locale" >&5 -printf %s "checking whether btowc is consistent with mbrtowc in the C locale... " >&6; } -if test ${gl_cv_func_btowc_consistent+y} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether dirfd is a macro" >&5 +printf %s "checking whether dirfd is a macro... " >&6; } +if test ${gl_cv_func_dirfd_macro+y} then : printf %s "(cached) " >&6 else case e in #( - e) - if test "$cross_compiling" = yes -then : - case "$host_os" in - # Guess no on mingw. - mingw* | windows*) - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#ifdef __MINGW32__ - Problem +#include +#include +#ifdef dirfd + dirent_header_defines_dirfd #endif - _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "Problem" >/dev/null 2>&1 + $EGREP_TRADITIONAL "dirent_header_defines_dirfd" >/dev/null 2>&1 then : - gl_cv_func_btowc_consistent="guessing no" + gl_cv_func_dirfd_macro=yes else case e in #( - e) gl_cv_func_btowc_consistent="guessing yes" ;; + e) gl_cv_func_dirfd_macro=no ;; esac fi -rm -rf conftest* +rm -rf conftest* + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dirfd_macro" >&5 +printf "%s\n" "$gl_cv_func_dirfd_macro" >&6; } + + if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then + HAVE_DIRFD=0 + else + HAVE_DIRFD=1 + + if test $DIR_HAS_FD_MEMBER = 0; then + REPLACE_DIRFD=1 + fi + fi + + + if test $HAVE_DIRFD = 0 || test $REPLACE_DIRFD = 1; then + GL_COND_OBJ_DIRFD_TRUE= + GL_COND_OBJ_DIRFD_FALSE='#' +else + GL_COND_OBJ_DIRFD_TRUE='#' + GL_COND_OBJ_DIRFD_FALSE= +fi +: + if test -z "${GL_COND_OBJ_DIRFD_TRUE}" && test -z "${GL_COND_OBJ_DIRFD_FALSE}"; then + GL_COND_OBJ_DIRFD_TRUE='#' + GL_COND_OBJ_DIRFD_FALSE='#' + fi - ;; - # Guess yes otherwise. - *) gl_cv_func_btowc_consistent="guessing yes" ;; - esac + if test -z "$GL_COND_OBJ_DIRFD_TRUE"; then : + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to get the file descriptor associated with an open DIR*" >&5 +printf %s "checking how to get the file descriptor associated with an open DIR*... " >&6; } +if test ${gl_cv_sys_dir_fd_member_name+y} +then : + printf %s "(cached) " >&6 else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext + e) + gl_saved_CFLAGS=$CFLAGS + for ac_expr in d_fd dd_fd; do + + CFLAGS="$CFLAGS -DDIR_FD_MEMBER_NAME=$ac_expr" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include -#include -#include -int main () + #include + #include +int +main (void) { -#if HAVE_MBRTOWC - wint_t wc1 = btowc (0x80); - wchar_t wc2 = (wchar_t) 0xbadface; - char buf[1] = { 0x80 }; - mbstate_t state; - memset (&state, 0, sizeof (mbstate_t)); - if (mbrtowc (&wc2, buf, 1, &state) != 1 || wc1 != wc2) - return 1; -#endif +DIR *dir_p = opendir("."); (void) dir_p->DIR_FD_MEMBER_NAME; + ; return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO" +if ac_fn_c_try_compile "$LINENO" then : - gl_cv_func_btowc_consistent=yes -else case e in #( - e) gl_cv_func_btowc_consistent=no ;; -esac + dir_fd_found=yes + fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$gl_saved_CFLAGS + test "$dir_fd_found" = yes && break + done + test "$dir_fd_found" = yes || ac_expr=no_such_member + + gl_cv_sys_dir_fd_member_name=$ac_expr + + ;; esac fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_dir_fd_member_name" >&5 +printf "%s\n" "$gl_cv_sys_dir_fd_member_name" >&6; } + if test $gl_cv_sys_dir_fd_member_name != no_such_member; then - ;; +printf "%s\n" "#define DIR_FD_MEMBER_NAME $gl_cv_sys_dir_fd_member_name" >>confdefs.h + + fi + + + +fi + + + + + + + + + + if test "$GL_GNULIB_DIRFD" != 1; then + if test "$GL_GNULIB_DIRFD" = 0; then + GL_GNULIB_DIRFD=$gl_module_indicator_condition + else + GL_GNULIB_DIRFD="($GL_GNULIB_DIRFD || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_DIRFD 1" >>confdefs.h + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 +printf %s "checking whether // is distinct from /... " >&6; } +if test ${gl_cv_double_slash_root+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) if test x"$cross_compiling" = xyes ; then + # When cross-compiling, there is no way to tell whether // is special + # short of a list of hosts. However, the only known hosts to date + # that have a distinct // are Apollo DomainOS (too old to port to), + # Cygwin, and z/OS. If anyone knows of another system for which // has + # special semantics and is distinct from /, please report it to + # . + case $host in + *-cygwin | i370-ibm-openedition) + gl_cv_double_slash_root=yes ;; + *) + # Be optimistic and assume that / and // are the same when we + # don't know. + gl_cv_double_slash_root='unknown, assuming no' ;; + esac + else + set x `ls -di / // 2>/dev/null` + if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then + gl_cv_double_slash_root=no + else + gl_cv_double_slash_root=yes + fi + fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_consistent" >&5 -printf "%s\n" "$gl_cv_func_btowc_consistent" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 +printf "%s\n" "$gl_cv_double_slash_root" >&6; } + if test "$gl_cv_double_slash_root" = yes; then - case "$gl_cv_func_btowc_nul" in - *yes) ;; - *) REPLACE_BTOWC=1 ;; - esac - case "$gl_cv_func_btowc_eof" in - *yes) ;; - *) REPLACE_BTOWC=1 ;; - esac - case "$gl_cv_func_btowc_consistent" in - *yes) ;; - *) REPLACE_BTOWC=1 ;; - esac - if test $REPLACE_BTOWC = 0; then +printf "%s\n" "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C locale is free of encoding errors" >&5 -printf %s "checking whether the C locale is free of encoding errors... " >&6; } -if test ${gl_cv_func_mbrtowc_C_locale_sans_EILSEQ+y} + fi + + + + + + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + REPLACE_DUP=1 + fi + + + + + + if test $ac_cv_func_fchdir = no; then + HAVE_FCHDIR=0 + fi + + if test $HAVE_FCHDIR = 0; then + REPLACE_DUP=1 + fi + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether dup works" >&5 +printf %s "checking whether dup works... " >&6; } +if test ${gl_cv_func_dup_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in - # Guess yes on native Windows. - mingw* | windows*) gl_cv_func_mbrtowc_C_locale_sans_EILSEQ="guessing yes" ;; - *) gl_cv_func_mbrtowc_C_locale_sans_EILSEQ="$gl_cross_guess_normal" ;; - esac + # Guess no on native Windows. + mingw* | windows*) gl_cv_func_dup_works="guessing no" ;; + *) gl_cv_func_dup_works="guessing yes" ;; + esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #include - #include +#include + #include + #include + + +$gl_mda_defines int main (void) { - - int i; - char *locale = setlocale (LC_ALL, "C"); - if (! locale) - return 2; - for (i = CHAR_MIN; i <= CHAR_MAX; i++) - { - char c = i; - wchar_t wc; - mbstate_t mbs = { 0, }; - size_t ss = mbrtowc (&wc, &c, 1, &mbs); - if (1 < ss) - return 3; - } - return 0; +/* On OS/2 kLIBC, dup does not work on a directory fd. */ + int fd = open (".", O_RDONLY); + return fd < 0 ? 1 : dup (fd) < 0 ? 2 : 0; ; return 0; } + _ACEOF if ac_fn_c_try_run "$LINENO" then : - gl_cv_func_mbrtowc_C_locale_sans_EILSEQ=yes + gl_cv_func_dup_works=yes else case e in #( - e) gl_cv_func_mbrtowc_C_locale_sans_EILSEQ=no ;; + e) gl_cv_func_dup_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -70773,82 +73429,217 @@ fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_C_locale_sans_EILSEQ" >&5 -printf "%s\n" "$gl_cv_func_mbrtowc_C_locale_sans_EILSEQ" >&6; } - - case "$gl_cv_func_mbrtowc_C_locale_sans_EILSEQ" in - *yes) ;; - *) REPLACE_BTOWC=1 ;; - esac - fi - fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup_works" >&5 +printf "%s\n" "$gl_cv_func_dup_works" >&6; } + case "$gl_cv_func_dup_works" in + *yes) ;; + *) + REPLACE_DUP=1 + ;; + esac - if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then - GL_COND_OBJ_BTOWC_TRUE= - GL_COND_OBJ_BTOWC_FALSE='#' + if test $REPLACE_DUP = 1; then + GL_COND_OBJ_DUP_TRUE= + GL_COND_OBJ_DUP_FALSE='#' else - GL_COND_OBJ_BTOWC_TRUE='#' - GL_COND_OBJ_BTOWC_FALSE= + GL_COND_OBJ_DUP_TRUE='#' + GL_COND_OBJ_DUP_FALSE= fi : - if test -z "${GL_COND_OBJ_BTOWC_TRUE}" && test -z "${GL_COND_OBJ_BTOWC_FALSE}"; then - GL_COND_OBJ_BTOWC_TRUE='#' - GL_COND_OBJ_BTOWC_FALSE='#' + if test -z "${GL_COND_OBJ_DUP_TRUE}" && test -z "${GL_COND_OBJ_DUP_FALSE}"; then + GL_COND_OBJ_DUP_TRUE='#' + GL_COND_OBJ_DUP_FALSE='#' fi - if test -z "$GL_COND_OBJ_BTOWC_TRUE"; then : + if test -z "$GL_COND_OBJ_DUP_TRUE"; then : + : - : +fi -fi + if test "$GL_GNULIB_DUP" != 1; then + if test "$GL_GNULIB_DUP" = 0; then + GL_GNULIB_DUP=$gl_module_indicator_condition + else + GL_GNULIB_DUP="($GL_GNULIB_DUP || $gl_module_indicator_condition)" + fi + fi +printf "%s\n" "#define GNULIB_TEST_DUP 1" >>confdefs.h + - if test "$GL_GNULIB_BTOWC" != 1; then - if test "$GL_GNULIB_BTOWC" = 0; then - GL_GNULIB_BTOWC=$gl_module_indicator_condition - else - GL_GNULIB_BTOWC="($GL_GNULIB_BTOWC || $gl_module_indicator_condition)" - fi - fi + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5 +printf %s "checking whether dup2 works... " >&6; } +if test ${gl_cv_func_dup2_works+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) if test "$cross_compiling" = yes +then : + case "$host_os" in + mingw* | windows*) # on this platform, dup2 always returns 0 for success + gl_cv_func_dup2_works="guessing no" ;; + cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0 + gl_cv_func_dup2_works="guessing no" ;; + aix* | freebsd*) + # on AIX 7.1 and FreeBSD 6.1, dup2 (1,toobig) gives EMFILE, + # not EBADF. + gl_cv_func_dup2_works="guessing no" ;; + haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC. + gl_cv_func_dup2_works="guessing no" ;; + *-android*) # implemented using dup3(), which fails if oldfd == newfd + gl_cv_func_dup2_works="guessing no" ;; + os2*) # on OS/2 kLIBC, dup2() does not work on a directory fd. + gl_cv_func_dup2_works="guessing no" ;; + *) gl_cv_func_dup2_works="guessing yes" ;; + esac +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + #include + #include + #include + #include +$gl_mda_defines -printf "%s\n" "#define GNULIB_TEST_BTOWC 1" >>confdefs.h + #ifndef RLIM_SAVED_CUR + # define RLIM_SAVED_CUR RLIM_INFINITY + #endif + #ifndef RLIM_SAVED_MAX + # define RLIM_SAVED_MAX RLIM_INFINITY + #endif +int +main (void) +{ +int result = 0; + int bad_fd = INT_MAX; + struct rlimit rlim; + if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 + && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX + && rlim.rlim_cur != RLIM_INFINITY + && rlim.rlim_cur != RLIM_SAVED_MAX + && rlim.rlim_cur != RLIM_SAVED_CUR) + bad_fd = rlim.rlim_cur; + #ifdef FD_CLOEXEC + if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1) + result |= 1; + #endif + if (dup2 (1, 1) != 1) + result |= 2; + #ifdef FD_CLOEXEC + if (fcntl (1, F_GETFD) != FD_CLOEXEC) + result |= 4; + #endif + close (0); + if (dup2 (0, 0) != -1) + result |= 8; + /* Many gnulib modules require POSIX conformance of EBADF. */ + if (dup2 (2, bad_fd) == -1 && errno != EBADF) + result |= 16; + /* Flush out some cygwin core dumps. */ + if (dup2 (2, -1) != -1 || errno != EBADF) + result |= 32; + dup2 (2, 255); + dup2 (2, 256); + /* On OS/2 kLIBC, dup2() does not work on a directory fd. */ + { + int fd = open (".", O_RDONLY); + if (fd == -1) + result |= 64; + else if (dup2 (fd, fd + 1) == -1) + result |= 128; + close (fd); + } + return result; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_dup2_works=yes +else case e in #( + e) gl_cv_func_dup2_works=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5 +printf "%s\n" "$gl_cv_func_dup2_works" >&6; } + case "$gl_cv_func_dup2_works" in + *yes) ;; + *) + REPLACE_DUP2=1 + ac_fn_c_check_func "$LINENO" "setdtablesize" "ac_cv_func_setdtablesize" +if test "x$ac_cv_func_setdtablesize" = xyes +then : + printf "%s\n" "#define HAVE_SETDTABLESIZE 1" >>confdefs.h +fi + ;; + esac + if test $ac_cv_func_fchdir = no; then + HAVE_FCHDIR=0 + fi + if test $HAVE_FCHDIR = 0; then + REPLACE_DUP2=1 + fi + if test $REPLACE_DUP2 = 1; then + GL_COND_OBJ_DUP2_TRUE= + GL_COND_OBJ_DUP2_FALSE='#' +else + GL_COND_OBJ_DUP2_TRUE='#' + GL_COND_OBJ_DUP2_FALSE= +fi +: + if test -z "${GL_COND_OBJ_DUP2_TRUE}" && test -z "${GL_COND_OBJ_DUP2_FALSE}"; then + GL_COND_OBJ_DUP2_TRUE='#' + GL_COND_OBJ_DUP2_FALSE='#' + fi + if test -z "$GL_COND_OBJ_DUP2_TRUE"; then : +fi @@ -70858,11 +73649,19 @@ printf "%s\n" "#define GNULIB_TEST_BTOWC 1" >>confdefs.h + if test "$GL_GNULIB_DUP2" != 1; then + if test "$GL_GNULIB_DUP2" = 0; then + GL_GNULIB_DUP2=$gl_module_indicator_condition + else + GL_GNULIB_DUP2="($GL_GNULIB_DUP2 || $gl_module_indicator_condition)" + fi + fi +printf "%s\n" "#define GNULIB_TEST_DUP2 1" >>confdefs.h @@ -70876,11 +73675,19 @@ printf "%s\n" "#define GNULIB_TEST_BTOWC 1" >>confdefs.h + if test "$GL_GNULIB_ENVIRON" != 1; then + if test "$GL_GNULIB_ENVIRON" = 0; then + GL_GNULIB_ENVIRON=$gl_module_indicator_condition + else + GL_GNULIB_ENVIRON="($GL_GNULIB_ENVIRON || $gl_module_indicator_condition)" + fi + fi +printf "%s\n" "#define GNULIB_TEST_ENVIRON 1" >>confdefs.h @@ -70888,178 +73695,135 @@ printf "%s\n" "#define GNULIB_TEST_BTOWC 1" >>confdefs.h + if test $COMPILE_ERROR_C = 1; then + GL_COND_OBJ_ERROR_TRUE= + GL_COND_OBJ_ERROR_FALSE='#' +else + GL_COND_OBJ_ERROR_TRUE='#' + GL_COND_OBJ_ERROR_FALSE= +fi +: + if test -z "${GL_COND_OBJ_ERROR_TRUE}" && test -z "${GL_COND_OBJ_ERROR_FALSE}"; then + GL_COND_OBJ_ERROR_TRUE='#' + GL_COND_OBJ_ERROR_FALSE='#' + fi + if test -z "$GL_COND_OBJ_ERROR_TRUE"; then : + : +fi - ac_fn_check_decl "$LINENO" "c32rtomb" "ac_cv_have_decl_c32rtomb" "#ifdef __HAIKU__ - #include - #endif - #include -" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_c32rtomb" = xyes -then : -fi - if test $ac_cv_have_decl_c32rtomb = yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for c32rtomb" >&5 -printf %s "checking for c32rtomb... " >&6; } -if test ${gl_cv_func_c32rtomb+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef __HAIKU__ - #include - #endif - #include -int -main (void) -{ -char buf[8]; - return c32rtomb (buf, 0, NULL) == 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO" -then : - gl_cv_func_c32rtomb=yes -else case e in #( - e) gl_cv_func_c32rtomb=no ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_c32rtomb" >&5 -printf "%s\n" "$gl_cv_func_c32rtomb" >&6; } - else - gl_cv_func_c32rtomb=no + + if test $ac_cv_have_decl_fchdir = no; then + HAVE_DECL_FCHDIR=0 fi - if test $gl_cv_func_c32rtomb = no; then - HAVE_C32RTOMB=0 - else - if test $HAVE_WORKING_MBRTOC32 = 0; then - REPLACE_C32RTOMB=1 + + + if test $HAVE_FCHDIR = 1; then + + if test $DIR_HAS_FD_MEMBER = 0; then + REPLACE_FCHDIR=1 fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c32rtomb return value is correct" >&5 -printf %s "checking whether c32rtomb return value is correct... " >&6; } -if test ${gl_cv_func_c32rtomb_retval+y} + fi + + if test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1; then + +printf "%s\n" "#define REPLACE_FCHDIR 1" >>confdefs.h + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether open can visit directories" >&5 +printf %s "checking whether open can visit directories... " >&6; } +if test ${gl_cv_func_open_directory_works+y} then : printf %s "(cached) " >&6 else case e in #( - e) - case "$host_os" in - # Guess no on AIX. - aix*) gl_cv_func_c32rtomb_retval="guessing no" ;; - # Guess yes otherwise. - *) gl_cv_func_c32rtomb_retval="guessing yes" ;; - esac - if test "$cross_compiling" = yes + e) if test "$cross_compiling" = yes then : - : + case "$host_os" in + # Guess yes on Linux systems. + linux-* | linux) gl_cv_func_open_directory_works="guessing yes" ;; + # Guess yes on systems that emulate the Linux system calls. + midipix*) gl_cv_func_open_directory_works="guessing yes" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_open_directory_works="guessing yes" ;; + # Guess no on native Windows. + mingw* | windows*) gl_cv_func_open_directory_works="guessing no" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_open_directory_works="$gl_cross_guess_normal" ;; + esac + else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include -#include -#ifdef __HAIKU__ - #include -#endif -#include -int main () + +$gl_mda_defines + +int +main (void) { - int result = 0; - if (c32rtomb (NULL, 0, NULL) != 1) - result |= 1; - return result; +return open(".", O_RDONLY) < 0; + ; + return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : - gl_cv_func_c32rtomb_retval=yes + gl_cv_func_open_directory_works=yes else case e in #( - e) gl_cv_func_c32rtomb_retval=no ;; + e) gl_cv_func_open_directory_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi - - ;; + ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_c32rtomb_retval" >&5 -printf "%s\n" "$gl_cv_func_c32rtomb_retval" >&6; } - case "$gl_cv_func_c32rtomb_retval" in +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_open_directory_works" >&5 +printf "%s\n" "$gl_cv_func_open_directory_works" >&6; } + case "$gl_cv_func_open_directory_works" in *yes) ;; *) -printf "%s\n" "#define C32RTOMB_RETVAL_BUG 1" >>confdefs.h - - REPLACE_C32RTOMB=1 ;; - esac - fi - - - if test $HAVE_C32RTOMB = 0 || test $REPLACE_C32RTOMB = 1; then - GL_COND_OBJ_C32RTOMB_TRUE= - GL_COND_OBJ_C32RTOMB_FALSE='#' -else - GL_COND_OBJ_C32RTOMB_TRUE='#' - GL_COND_OBJ_C32RTOMB_FALSE= -fi -: - if test -z "${GL_COND_OBJ_C32RTOMB_TRUE}" && test -z "${GL_COND_OBJ_C32RTOMB_FALSE}"; then - GL_COND_OBJ_C32RTOMB_TRUE='#' - GL_COND_OBJ_C32RTOMB_FALSE='#' - fi - - - - - - - - +printf "%s\n" "#define REPLACE_OPEN_DIRECTORY 1" >>confdefs.h - if test "$GL_GNULIB_C32RTOMB" != 1; then - if test "$GL_GNULIB_C32RTOMB" = 0; then - GL_GNULIB_C32RTOMB=$gl_module_indicator_condition - else - GL_GNULIB_C32RTOMB="($GL_GNULIB_C32RTOMB || $gl_module_indicator_condition)" - fi + ;; + esac fi + if test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1; then + GL_COND_OBJ_FCHDIR_TRUE= + GL_COND_OBJ_FCHDIR_FALSE='#' +else + GL_COND_OBJ_FCHDIR_TRUE='#' + GL_COND_OBJ_FCHDIR_FALSE= +fi +: + if test -z "${GL_COND_OBJ_FCHDIR_TRUE}" && test -z "${GL_COND_OBJ_FCHDIR_FALSE}"; then + GL_COND_OBJ_FCHDIR_TRUE='#' + GL_COND_OBJ_FCHDIR_FALSE='#' + fi + if test -z "$GL_COND_OBJ_FCHDIR_TRUE"; then : + : -printf "%s\n" "#define GNULIB_TEST_C32RTOMB 1" >>confdefs.h - - - - - - - - +fi @@ -71069,11 +73833,11 @@ printf "%s\n" "#define GNULIB_TEST_C32RTOMB 1" >>confdefs.h - if test "$GL_GNULIB_C32TOB" != 1; then - if test "$GL_GNULIB_C32TOB" = 0; then - GL_GNULIB_C32TOB=$gl_module_indicator_condition + if test "$GL_GNULIB_FCHDIR" != 1; then + if test "$GL_GNULIB_FCHDIR" = 0; then + GL_GNULIB_FCHDIR=$gl_module_indicator_condition else - GL_GNULIB_C32TOB="($GL_GNULIB_C32TOB || $gl_module_indicator_condition)" + GL_GNULIB_FCHDIR="($GL_GNULIB_FCHDIR || $gl_module_indicator_condition)" fi fi @@ -71081,7 +73845,7 @@ printf "%s\n" "#define GNULIB_TEST_C32RTOMB 1" >>confdefs.h -printf "%s\n" "#define GNULIB_TEST_C32TOB 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_FCHDIR 1" >>confdefs.h @@ -71090,136 +73854,237 @@ printf "%s\n" "#define GNULIB_TEST_C32TOB 1" >>confdefs.h + if test $ac_cv_func_fcntl = no; then - REPLACE_CALLOC_FOR_CALLOC_GNU="$REPLACE_CALLOC_FOR_CALLOC_POSIX" - if test $REPLACE_CALLOC_FOR_CALLOC_GNU = 0; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether calloc (0, n) and calloc (n, 0) return nonnull" >&5 -printf %s "checking whether calloc (0, n) and calloc (n, 0) return nonnull... " >&6; } -if test ${ac_cv_func_calloc_0_nonnull+y} + if test $ac_cv_func_fcntl = no; then + HAVE_FCNTL=0 + else + REPLACE_FCNTL=1 + fi + + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fcntl handles F_DUPFD correctly" >&5 +printf %s "checking whether fcntl handles F_DUPFD correctly... " >&6; } +if test ${gl_cv_func_fcntl_f_dupfd_works+y} then : printf %s "(cached) " >&6 else case e in #( - e) if test $cross_compiling != yes; then - ac_cv_func_calloc_0_nonnull=yes - if test "$cross_compiling" = yes + e) if test "$cross_compiling" = yes then : - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See 'config.log' for more details" "$LINENO" 5; } + case $host_os in + aix* | cygwin* | haiku*) + gl_cv_func_fcntl_f_dupfd_works="guessing no" ;; + *) gl_cv_func_fcntl_f_dupfd_works="guessing yes" ;; + esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -$ac_includes_default +#include + #include + #include + #include + #include + + +$gl_mda_defines + + #ifndef RLIM_SAVED_CUR + # define RLIM_SAVED_CUR RLIM_INFINITY + #endif + #ifndef RLIM_SAVED_MAX + # define RLIM_SAVED_MAX RLIM_INFINITY + #endif + int main (void) { int result = 0; - char * volatile p = calloc (0, 0); - if (!p) - result |= 1; - free (p); - return result; + int bad_fd = INT_MAX; + struct rlimit rlim; + if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 + && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX + && rlim.rlim_cur != RLIM_INFINITY + && rlim.rlim_cur != RLIM_SAVED_MAX + && rlim.rlim_cur != RLIM_SAVED_CUR) + bad_fd = rlim.rlim_cur; + if (fcntl (0, F_DUPFD, -1) != -1) result |= 1; + if (errno != EINVAL) result |= 2; + if (fcntl (0, F_DUPFD, bad_fd) != -1) result |= 4; + if (errno != EINVAL) result |= 8; + /* On OS/2 kLIBC, F_DUPFD does not work on a directory fd */ + { + int fd; + fd = open (".", O_RDONLY); + if (fd == -1) + result |= 16; + else if (fcntl (fd, F_DUPFD, STDERR_FILENO + 1) == -1) + result |= 32; + close (fd); + } + return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : - + gl_cv_func_fcntl_f_dupfd_works=yes else case e in #( - e) ac_cv_func_calloc_0_nonnull=no ;; + e) gl_cv_func_fcntl_f_dupfd_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi - - else - case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) ac_cv_func_calloc_0_nonnull="guessing yes" ;; - # Guess yes on musl systems. - *-musl* | midipix*) ac_cv_func_calloc_0_nonnull="guessing yes" ;; - # Guess yes on native Windows. - mingw* | windows*) ac_cv_func_calloc_0_nonnull="guessing yes" ;; - # If we don't know, obey --enable-cross-guesses. - *) ac_cv_func_calloc_0_nonnull="$gl_cross_guess_normal" ;; - esac - fi - ;; + ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_calloc_0_nonnull" >&5 -printf "%s\n" "$ac_cv_func_calloc_0_nonnull" >&6; } - case $ac_cv_func_calloc_0_nonnull in #( - *yes) : - ;; #( - *) : - REPLACE_CALLOC_FOR_CALLOC_GNU=1 ;; -esac - - fi - - if test $REPLACE_CALLOC_FOR_CALLOC_GNU = 1; then - - - - - - - +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_works" >&5 +printf "%s\n" "$gl_cv_func_fcntl_f_dupfd_works" >&6; } + case $gl_cv_func_fcntl_f_dupfd_works in + *yes) ;; + *) - gltests_LIBOBJS="$gltests_LIBOBJS calloc.$ac_objext" + if test $ac_cv_func_fcntl = no; then + HAVE_FCNTL=0 + else + REPLACE_FCNTL=1 fi +printf "%s\n" "#define FCNTL_DUPFD_BUGGY 1" >>confdefs.h + ;; + esac + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fcntl understands F_DUPFD_CLOEXEC" >&5 +printf %s "checking whether fcntl understands F_DUPFD_CLOEXEC... " >&6; } +if test ${gl_cv_func_fcntl_f_dupfd_cloexec+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) if test "$cross_compiling" = yes +then : + case "$host_os" in + # Guess no on NetBSD. + netbsd*) gl_cv_func_fcntl_f_dupfd_cloexec="guessing no" ;; + *) gl_cv_func_fcntl_f_dupfd_cloexec="$gl_cross_guess_normal" ;; + esac +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + int main (int argc, char *argv[]) + { + if (argc == 1) + /* parent process */ + { + if (fcntl (1, F_DUPFD_CLOEXEC, 10) < 0) + return 1; + return execl ("./conftest", "./conftest", "child", NULL); + } + else + /* child process */ + return (fcntl (10, F_GETFL) < 0 ? 0 : 42); + } +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __linux__ +/* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace + it to support the semantics on older kernels that failed with EINVAL. */ +choke me +#endif +int +main (void) +{ - if test "$GL_GNULIB_CALLOC_GNU" != 1; then - if test "$GL_GNULIB_CALLOC_GNU" = 0; then - GL_GNULIB_CALLOC_GNU=$gl_module_indicator_condition - else - GL_GNULIB_CALLOC_GNU="($GL_GNULIB_CALLOC_GNU || $gl_module_indicator_condition)" - fi - fi - - + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_func_fcntl_f_dupfd_cloexec=yes +else case e in #( + e) gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +else case e in #( + e) gl_cv_func_fcntl_f_dupfd_cloexec=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_cloexec" >&5 +printf "%s\n" "$gl_cv_func_fcntl_f_dupfd_cloexec" >&6; } + case "$gl_cv_func_fcntl_f_dupfd_cloexec" in + *yes) ;; + *) -printf "%s\n" "#define GNULIB_TEST_CALLOC_GNU 1" >>confdefs.h + if test $ac_cv_func_fcntl = no; then + HAVE_FCNTL=0 + else + REPLACE_FCNTL=1 + fi + ;; + esac + fi - if test $REPLACE_MALLOC_FOR_MALLOC_POSIX = 1; then - REPLACE_CALLOC_FOR_CALLOC_POSIX=1 + if test $ac_cv_func_fchdir = no; then + HAVE_FCHDIR=0 fi - if test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1; then - - + if test $HAVE_FCHDIR = 0; then + if test $ac_cv_func_fcntl = no; then + HAVE_FCNTL=0 + else + REPLACE_FCNTL=1 + fi + fi - gltests_LIBOBJS="$gltests_LIBOBJS calloc.$ac_objext" + if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then + GL_COND_OBJ_FCNTL_TRUE= + GL_COND_OBJ_FCNTL_FALSE='#' +else + GL_COND_OBJ_FCNTL_TRUE='#' + GL_COND_OBJ_FCNTL_FALSE= +fi +: + if test -z "${GL_COND_OBJ_FCNTL_TRUE}" && test -z "${GL_COND_OBJ_FCNTL_FALSE}"; then + GL_COND_OBJ_FCNTL_TRUE='#' + GL_COND_OBJ_FCNTL_FALSE='#' fi @@ -71230,11 +74095,12 @@ printf "%s\n" "#define GNULIB_TEST_CALLOC_GNU 1" >>confdefs.h - if test "$GL_GNULIB_CALLOC_POSIX" != 1; then - if test "$GL_GNULIB_CALLOC_POSIX" = 0; then - GL_GNULIB_CALLOC_POSIX=$gl_module_indicator_condition + + if test "$GL_GNULIB_FCNTL" != 1; then + if test "$GL_GNULIB_FCNTL" = 0; then + GL_GNULIB_FCNTL=$gl_module_indicator_condition else - GL_GNULIB_CALLOC_POSIX="($GL_GNULIB_CALLOC_POSIX || $gl_module_indicator_condition)" + GL_GNULIB_FCNTL="($GL_GNULIB_FCNTL || $gl_module_indicator_condition)" fi fi @@ -71242,95 +74108,129 @@ printf "%s\n" "#define GNULIB_TEST_CALLOC_GNU 1" >>confdefs.h -printf "%s\n" "#define GNULIB_TEST_CALLOC_POSIX 1" >>confdefs.h - +printf "%s\n" "#define GNULIB_TEST_FCNTL 1" >>confdefs.h -printf "%s\n" "#define GNULIB_TEST_CLOEXEC 1" >>confdefs.h - if test $REPLACE_CLOSE = 1; then - GL_COND_OBJ_CLOSE_TRUE= - GL_COND_OBJ_CLOSE_FALSE='#' -else - GL_COND_OBJ_CLOSE_TRUE='#' - GL_COND_OBJ_CLOSE_FALSE= -fi -: - if test -z "${GL_COND_OBJ_CLOSE_TRUE}" && test -z "${GL_COND_OBJ_CLOSE_FALSE}"; then - GL_COND_OBJ_CLOSE_TRUE='#' - GL_COND_OBJ_CLOSE_FALSE='#' - fi +printf "%s\n" "#define GNULIB_FD_SAFER_FLAG $gl_module_indicator_condition" >>confdefs.h - if test "$GL_GNULIB_CLOSE" != 1; then - if test "$GL_GNULIB_CLOSE" = 0; then - GL_GNULIB_CLOSE=$gl_module_indicator_condition - else - GL_GNULIB_CLOSE="($GL_GNULIB_CLOSE || $gl_module_indicator_condition)" + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then + REPLACE_FDOPEN=1 fi - fi - + if test $REPLACE_FDOPEN = 0; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fdopen sets errno" >&5 +printf %s "checking whether fdopen sets errno... " >&6; } +if test ${gl_cv_func_fdopen_works+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + if test "$cross_compiling" = yes +then : + case "$host_os" in + mingw* | windows*) gl_cv_func_fdopen_works="guessing no" ;; + *) gl_cv_func_fdopen_works="guessing yes" ;; + esac +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include -printf "%s\n" "#define GNULIB_TEST_CLOSE 1" >>confdefs.h +$gl_mda_defines +int +main (void) +{ + FILE *fp; + errno = 0; + fp = fdopen (-1, "r"); + if (fp == NULL && errno == 0) + return 1; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_fdopen_works=yes +else case e in #( + e) gl_cv_func_fdopen_works=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fdopen_works" >&5 +printf "%s\n" "$gl_cv_func_fdopen_works" >&6; } + case "$gl_cv_func_fdopen_works" in + *no) REPLACE_FDOPEN=1 ;; + esac + fi - if test "$ac_cv_header_winsock2_h" = yes; then - GL_COND_OBJ_CONNECT_TRUE= - GL_COND_OBJ_CONNECT_FALSE='#' + if test $REPLACE_FDOPEN = 1; then + GL_COND_OBJ_FDOPEN_TRUE= + GL_COND_OBJ_FDOPEN_FALSE='#' else - GL_COND_OBJ_CONNECT_TRUE='#' - GL_COND_OBJ_CONNECT_FALSE= + GL_COND_OBJ_FDOPEN_TRUE='#' + GL_COND_OBJ_FDOPEN_FALSE= fi : - if test -z "${GL_COND_OBJ_CONNECT_TRUE}" && test -z "${GL_COND_OBJ_CONNECT_FALSE}"; then - GL_COND_OBJ_CONNECT_TRUE='#' - GL_COND_OBJ_CONNECT_FALSE='#' + if test -z "${GL_COND_OBJ_FDOPEN_TRUE}" && test -z "${GL_COND_OBJ_FDOPEN_FALSE}"; then + GL_COND_OBJ_FDOPEN_TRUE='#' + GL_COND_OBJ_FDOPEN_FALSE='#' fi + if test -z "$GL_COND_OBJ_FDOPEN_TRUE"; then : +fi - if test "$GL_GNULIB_CONNECT" != 1; then - if test "$GL_GNULIB_CONNECT" = 0; then - GL_GNULIB_CONNECT=$gl_module_indicator_condition - else - GL_GNULIB_CONNECT="($GL_GNULIB_CONNECT || $gl_module_indicator_condition)" - fi - fi + if test "$GL_GNULIB_FDOPEN" != 1; then + if test "$GL_GNULIB_FDOPEN" = 0; then + GL_GNULIB_FDOPEN=$gl_module_indicator_condition + else + GL_GNULIB_FDOPEN="($GL_GNULIB_FDOPEN || $gl_module_indicator_condition)" + fi + fi -printf "%s\n" "#define GNULIB_TEST_CONNECT 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_FDOPEN 1" >>confdefs.h @@ -71339,193 +74239,118 @@ printf "%s\n" "#define GNULIB_TEST_CONNECT 1" >>confdefs.h + ac_fn_check_decl "$LINENO" "fdopendir" "ac_cv_have_decl_fdopendir" " +#include - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 -printf %s "checking whether // is distinct from /... " >&6; } -if test ${gl_cv_double_slash_root+y} +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_fdopendir" = xyes then : - printf %s "(cached) " >&6 + ac_have_decl=1 else case e in #( - e) if test x"$cross_compiling" = xyes ; then - # When cross-compiling, there is no way to tell whether // is special - # short of a list of hosts. However, the only known hosts to date - # that have a distinct // are Apollo DomainOS (too old to port to), - # Cygwin, and z/OS. If anyone knows of another system for which // has - # special semantics and is distinct from /, please report it to - # . - case $host in - *-cygwin | i370-ibm-openedition) - gl_cv_double_slash_root=yes ;; - *) - # Be optimistic and assume that / and // are the same when we - # don't know. - gl_cv_double_slash_root='unknown, assuming no' ;; - esac - else - set x `ls -di / // 2>/dev/null` - if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then - gl_cv_double_slash_root=no - else - gl_cv_double_slash_root=yes - fi - fi ;; + e) ac_have_decl=0 ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 -printf "%s\n" "$gl_cv_double_slash_root" >&6; } - if test "$gl_cv_double_slash_root" = yes; then - -printf "%s\n" "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h - - fi - +printf "%s\n" "#define HAVE_DECL_FDOPENDIR $ac_have_decl" >>confdefs.h +if test $ac_have_decl = 1 +then : +else case e in #( + e) HAVE_DECL_FDOPENDIR=0 ;; +esac +fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5 -printf %s "checking whether dup2 works... " >&6; } -if test ${gl_cv_func_dup2_works+y} + if test $ac_cv_func_fdopendir = no; then + HAVE_FDOPENDIR=0 + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fdopendir works" >&5 +printf %s "checking whether fdopendir works... " >&6; } +if test ${gl_cv_func_fdopendir_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in - mingw* | windows*) # on this platform, dup2 always returns 0 for success - gl_cv_func_dup2_works="guessing no" ;; - cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0 - gl_cv_func_dup2_works="guessing no" ;; - aix* | freebsd*) - # on AIX 7.1 and FreeBSD 6.1, dup2 (1,toobig) gives EMFILE, - # not EBADF. - gl_cv_func_dup2_works="guessing no" ;; - haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC. - gl_cv_func_dup2_works="guessing no" ;; - *-android*) # implemented using dup3(), which fails if oldfd == newfd - gl_cv_func_dup2_works="guessing no" ;; - os2*) # on OS/2 kLIBC, dup2() does not work on a directory fd. - gl_cv_func_dup2_works="guessing no" ;; - *) gl_cv_func_dup2_works="guessing yes" ;; - esac + # Guess yes on glibc systems. + *-gnu*) gl_cv_func_fdopendir_works="guessing yes" ;; + # Guess yes on musl systems. + *-musl* | midipix*) gl_cv_func_fdopendir_works="guessing yes" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_fdopendir_works="$gl_cross_guess_normal" ;; + esac + else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - #include - #include - #include - #include - #include +#include +#include +#include $gl_mda_defines - #ifndef RLIM_SAVED_CUR - # define RLIM_SAVED_CUR RLIM_INFINITY - #endif - #ifndef RLIM_SAVED_MAX - # define RLIM_SAVED_MAX RLIM_INFINITY - #endif +#if !HAVE_DECL_FDOPENDIR +extern +# ifdef __cplusplus +"C" +# endif +DIR *fdopendir (int); +#endif + +int +main (void) +{ +int result = 0; + int fd = open ("conftest.c", O_RDONLY); + if (fd < 0) result |= 1; + if (fdopendir (fd)) result |= 2; + if (close (fd)) result |= 4; + return result; -int -main (void) -{ -int result = 0; - int bad_fd = INT_MAX; - struct rlimit rlim; - if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 - && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX - && rlim.rlim_cur != RLIM_INFINITY - && rlim.rlim_cur != RLIM_SAVED_MAX - && rlim.rlim_cur != RLIM_SAVED_CUR) - bad_fd = rlim.rlim_cur; - #ifdef FD_CLOEXEC - if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1) - result |= 1; - #endif - if (dup2 (1, 1) != 1) - result |= 2; - #ifdef FD_CLOEXEC - if (fcntl (1, F_GETFD) != FD_CLOEXEC) - result |= 4; - #endif - close (0); - if (dup2 (0, 0) != -1) - result |= 8; - /* Many gnulib modules require POSIX conformance of EBADF. */ - if (dup2 (2, bad_fd) == -1 && errno != EBADF) - result |= 16; - /* Flush out some cygwin core dumps. */ - if (dup2 (2, -1) != -1 || errno != EBADF) - result |= 32; - dup2 (2, 255); - dup2 (2, 256); - /* On OS/2 kLIBC, dup2() does not work on a directory fd. */ - { - int fd = open (".", O_RDONLY); - if (fd == -1) - result |= 64; - else if (dup2 (fd, fd + 1) == -1) - result |= 128; - close (fd); - } - return result; ; return 0; } - _ACEOF if ac_fn_c_try_run "$LINENO" then : - gl_cv_func_dup2_works=yes + gl_cv_func_fdopendir_works=yes else case e in #( - e) gl_cv_func_dup2_works=no ;; + e) gl_cv_func_fdopendir_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi - - ;; + ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5 -printf "%s\n" "$gl_cv_func_dup2_works" >&6; } - case "$gl_cv_func_dup2_works" in - *yes) ;; - *) - REPLACE_DUP2=1 - ac_fn_c_check_func "$LINENO" "setdtablesize" "ac_cv_func_setdtablesize" -if test "x$ac_cv_func_setdtablesize" = xyes -then : - printf "%s\n" "#define HAVE_SETDTABLESIZE 1" >>confdefs.h - -fi - - ;; - esac - +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fdopendir_works" >&5 +printf "%s\n" "$gl_cv_func_fdopendir_works" >&6; } + case "$gl_cv_func_fdopendir_works" in + *yes) ;; + *) + REPLACE_FDOPENDIR=1 + ;; + esac + fi - if test $REPLACE_DUP2 = 1; then - GL_COND_OBJ_DUP2_TRUE= - GL_COND_OBJ_DUP2_FALSE='#' + if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then + GL_COND_OBJ_FDOPENDIR_TRUE= + GL_COND_OBJ_FDOPENDIR_FALSE='#' else - GL_COND_OBJ_DUP2_TRUE='#' - GL_COND_OBJ_DUP2_FALSE= + GL_COND_OBJ_FDOPENDIR_TRUE='#' + GL_COND_OBJ_FDOPENDIR_FALSE= fi : - if test -z "${GL_COND_OBJ_DUP2_TRUE}" && test -z "${GL_COND_OBJ_DUP2_FALSE}"; then - GL_COND_OBJ_DUP2_TRUE='#' - GL_COND_OBJ_DUP2_FALSE='#' + if test -z "${GL_COND_OBJ_FDOPENDIR_TRUE}" && test -z "${GL_COND_OBJ_FDOPENDIR_FALSE}"; then + GL_COND_OBJ_FDOPENDIR_TRUE='#' + GL_COND_OBJ_FDOPENDIR_FALSE='#' fi - if test -z "$GL_COND_OBJ_DUP2_TRUE"; then : - - - -fi @@ -71535,11 +74360,11 @@ fi - if test "$GL_GNULIB_DUP2" != 1; then - if test "$GL_GNULIB_DUP2" = 0; then - GL_GNULIB_DUP2=$gl_module_indicator_condition + if test "$GL_GNULIB_FDOPENDIR" != 1; then + if test "$GL_GNULIB_FDOPENDIR" = 0; then + GL_GNULIB_FDOPENDIR=$gl_module_indicator_condition else - GL_GNULIB_DUP2="($GL_GNULIB_DUP2 || $gl_module_indicator_condition)" + GL_GNULIB_FDOPENDIR="($GL_GNULIB_FDOPENDIR || $gl_module_indicator_condition)" fi fi @@ -71547,59 +74372,147 @@ fi -printf "%s\n" "#define GNULIB_TEST_DUP2 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_FDOPENDIR 1" >>confdefs.h +printf "%s\n" "#define GNULIB_FDOPENDIR $gl_module_indicator_condition" >>confdefs.h + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mempcpy" >&5 +printf %s "checking for mempcpy... " >&6; } +if test ${gl_cv_onwards_func_mempcpy+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + exec 9>&6 6>/dev/null + case "$host_os" in + linux*-android*) + ac_fn_check_decl "$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "#include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_mempcpy" = xyes +then : + +fi + if test $ac_cv_have_decl_mempcpy = yes; then + ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy" +if test "x$ac_cv_func_mempcpy" = xyes +then : + +fi + + if test $ac_cv_func_mempcpy = yes; then + gl_cv_onwards_func_mempcpy=yes + else + gl_cv_onwards_func_mempcpy='future OS version' + fi + else + gl_cv_onwards_func_mempcpy='future OS version' + fi + ;; + + + *) + ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy" +if test "x$ac_cv_func_mempcpy" = xyes +then : + +fi + + gl_cv_onwards_func_mempcpy=$ac_cv_func_mempcpy + ;; + + esac + + exec 6>&9 9>&- + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_mempcpy" >&5 +printf "%s\n" "$gl_cv_onwards_func_mempcpy" >&6; } + + case "$gl_cv_onwards_func_mempcpy" in + future*) ac_cv_func_mempcpy=no ;; + *) ac_cv_func_mempcpy=$gl_cv_onwards_func_mempcpy ;; + esac + if test $ac_cv_func_mempcpy = yes; then + +printf "%s\n" "#define HAVE_MEMPCPY 1" >>confdefs.h - if test "$GL_GNULIB_ENVIRON" != 1; then - if test "$GL_GNULIB_ENVIRON" = 0; then - GL_GNULIB_ENVIRON=$gl_module_indicator_condition - else - GL_GNULIB_ENVIRON="($GL_GNULIB_ENVIRON || $gl_module_indicator_condition)" - fi fi -printf "%s\n" "#define GNULIB_TEST_ENVIRON 1" >>confdefs.h + case "$host_os" in + darwin* | mingw* | windows* | solaris*) + REPLACE_FSTAT=1 + ;; + esac - if test $COMPILE_ERROR_C = 1; then - GL_COND_OBJ_ERROR_TRUE= - GL_COND_OBJ_ERROR_FALSE='#' + if test $ac_cv_func_fchdir = no; then + HAVE_FCHDIR=0 + fi + + if test $HAVE_FCHDIR = 0; then + case "$gl_cv_func_open_directory_works" in + *yes) ;; + *) + REPLACE_FSTAT=1 + ;; + esac + fi + + + + if test $REPLACE_FSTAT = 1; then + GL_COND_OBJ_FSTAT_TRUE= + GL_COND_OBJ_FSTAT_FALSE='#' else - GL_COND_OBJ_ERROR_TRUE='#' - GL_COND_OBJ_ERROR_FALSE= + GL_COND_OBJ_FSTAT_TRUE='#' + GL_COND_OBJ_FSTAT_FALSE= fi : - if test -z "${GL_COND_OBJ_ERROR_TRUE}" && test -z "${GL_COND_OBJ_ERROR_FALSE}"; then - GL_COND_OBJ_ERROR_TRUE='#' - GL_COND_OBJ_ERROR_FALSE='#' + if test -z "${GL_COND_OBJ_FSTAT_TRUE}" && test -z "${GL_COND_OBJ_FSTAT_FALSE}"; then + GL_COND_OBJ_FSTAT_TRUE='#' + GL_COND_OBJ_FSTAT_FALSE='#' fi - if test -z "$GL_COND_OBJ_ERROR_TRUE"; then : + if test -z "$GL_COND_OBJ_FSTAT_TRUE"; then : + + case "$host_os" in + mingw* | windows*) + + + + gltests_LIBOBJS="$gltests_LIBOBJS stat-w32.$ac_objext" + + ;; + esac + + + : @@ -71612,178 +74525,70 @@ fi - if test $ac_cv_func_fcntl = no; then + if test "$GL_GNULIB_FSTAT" != 1; then + if test "$GL_GNULIB_FSTAT" = 0; then + GL_GNULIB_FSTAT=$gl_module_indicator_condition + else + GL_GNULIB_FSTAT="($GL_GNULIB_FSTAT || $gl_module_indicator_condition)" + fi + fi - if test $ac_cv_func_fcntl = no; then - HAVE_FCNTL=0 - else - REPLACE_FCNTL=1 - fi - else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fcntl handles F_DUPFD correctly" >&5 -printf %s "checking whether fcntl handles F_DUPFD correctly... " >&6; } -if test ${gl_cv_func_fcntl_f_dupfd_works+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) if test "$cross_compiling" = yes -then : - case $host_os in - aix* | cygwin* | haiku*) - gl_cv_func_fcntl_f_dupfd_works="guessing no" ;; - *) gl_cv_func_fcntl_f_dupfd_works="guessing yes" ;; - esac -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - #include - #include - #include -$gl_mda_defines +printf "%s\n" "#define GNULIB_TEST_FSTAT 1" >>confdefs.h - #ifndef RLIM_SAVED_CUR - # define RLIM_SAVED_CUR RLIM_INFINITY - #endif - #ifndef RLIM_SAVED_MAX - # define RLIM_SAVED_MAX RLIM_INFINITY - #endif -int -main (void) -{ -int result = 0; - int bad_fd = INT_MAX; - struct rlimit rlim; - if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 - && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX - && rlim.rlim_cur != RLIM_INFINITY - && rlim.rlim_cur != RLIM_SAVED_MAX - && rlim.rlim_cur != RLIM_SAVED_CUR) - bad_fd = rlim.rlim_cur; - if (fcntl (0, F_DUPFD, -1) != -1) result |= 1; - if (errno != EINVAL) result |= 2; - if (fcntl (0, F_DUPFD, bad_fd) != -1) result |= 4; - if (errno != EINVAL) result |= 8; - /* On OS/2 kLIBC, F_DUPFD does not work on a directory fd */ - { - int fd; - fd = open (".", O_RDONLY); - if (fd == -1) - result |= 16; - else if (fcntl (fd, F_DUPFD, STDERR_FILENO + 1) == -1) - result |= 32; - close (fd); - } - return result; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gl_cv_func_fcntl_f_dupfd_works=yes -else case e in #( - e) gl_cv_func_fcntl_f_dupfd_works=no ;; -esac -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_works" >&5 -printf "%s\n" "$gl_cv_func_fcntl_f_dupfd_works" >&6; } - case $gl_cv_func_fcntl_f_dupfd_works in - *yes) ;; - *) - if test $ac_cv_func_fcntl = no; then - HAVE_FCNTL=0 - else - REPLACE_FCNTL=1 - fi +printf "%s\n" "#define GNULIB_FSTAT $gl_module_indicator_condition" >>confdefs.h -printf "%s\n" "#define FCNTL_DUPFD_BUGGY 1" >>confdefs.h - ;; - esac - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fcntl understands F_DUPFD_CLOEXEC" >&5 -printf %s "checking whether fcntl understands F_DUPFD_CLOEXEC... " >&6; } -if test ${gl_cv_func_fcntl_f_dupfd_cloexec+y} + + + + + + + if test $ac_cv_func_fstatat = no; then + HAVE_FSTATAT=0 + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fstatat (..., 0) works" >&5 +printf %s "checking whether fstatat (..., 0) works... " >&6; } +if test ${gl_cv_func_fstatat_zero_flag+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in - # Guess no on NetBSD. - netbsd*) gl_cv_func_fcntl_f_dupfd_cloexec="guessing no" ;; - *) gl_cv_func_fcntl_f_dupfd_cloexec="$gl_cross_guess_normal" ;; + aix*) gl_cv_func_fstatat_zero_flag="guessing no";; + *) gl_cv_func_fstatat_zero_flag="guessing yes";; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #include - int main (int argc, char *argv[]) + + #include + #include + int + main (void) { - if (argc == 1) - /* parent process */ - { - if (fcntl (1, F_DUPFD_CLOEXEC, 10) < 0) - return 1; - return execl ("./conftest", "./conftest", "child", NULL); - } - else - /* child process */ - return (fcntl (10, F_GETFL) < 0 ? 0 : 42); + struct stat a; + return fstatat (AT_FDCWD, ".", &a, 0) != 0; } - _ACEOF if ac_fn_c_try_run "$LINENO" then : - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef __linux__ -/* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace - it to support the semantics on older kernels that failed with EINVAL. */ -choke me -#endif - -int -main (void) -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_func_fcntl_f_dupfd_cloexec=yes -else case e in #( - e) gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - + gl_cv_func_fstatat_zero_flag=yes else case e in #( - e) gl_cv_func_fcntl_f_dupfd_cloexec=no ;; + e) gl_cv_func_fstatat_zero_flag=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -71794,36 +74599,40 @@ fi ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_cloexec" >&5 -printf "%s\n" "$gl_cv_func_fcntl_f_dupfd_cloexec" >&6; } - case "$gl_cv_func_fcntl_f_dupfd_cloexec" in - *yes) ;; - *) +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fstatat_zero_flag" >&5 +printf "%s\n" "$gl_cv_func_fstatat_zero_flag" >&6; } + case $gl_cv_func_fstatat_zero_flag+$gl_cv_func_lstat_dereferences_slashed_symlink in + *yes+*yes) ;; + *) REPLACE_FSTATAT=1 ;; + esac - if test $ac_cv_func_fcntl = no; then - HAVE_FCNTL=0 - else - REPLACE_FCNTL=1 - fi + case $host_os in + darwin* | solaris*) + REPLACE_FSTATAT=1 ;; + esac - ;; + case $REPLACE_FSTATAT,$gl_cv_func_fstatat_zero_flag in + 1,*yes) + +printf "%s\n" "#define HAVE_WORKING_FSTATAT_ZERO_FLAG 1" >>confdefs.h + + ;; esac fi - - if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then - GL_COND_OBJ_FCNTL_TRUE= - GL_COND_OBJ_FCNTL_FALSE='#' + if test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1; then + GL_COND_OBJ_FSTATAT_TRUE= + GL_COND_OBJ_FSTATAT_FALSE='#' else - GL_COND_OBJ_FCNTL_TRUE='#' - GL_COND_OBJ_FCNTL_FALSE= + GL_COND_OBJ_FSTATAT_TRUE='#' + GL_COND_OBJ_FSTATAT_FALSE= fi : - if test -z "${GL_COND_OBJ_FCNTL_TRUE}" && test -z "${GL_COND_OBJ_FCNTL_FALSE}"; then - GL_COND_OBJ_FCNTL_TRUE='#' - GL_COND_OBJ_FCNTL_FALSE='#' + if test -z "${GL_COND_OBJ_FSTATAT_TRUE}" && test -z "${GL_COND_OBJ_FSTATAT_FALSE}"; then + GL_COND_OBJ_FSTATAT_TRUE='#' + GL_COND_OBJ_FSTATAT_FALSE='#' fi @@ -71835,11 +74644,11 @@ fi - if test "$GL_GNULIB_FCNTL" != 1; then - if test "$GL_GNULIB_FCNTL" = 0; then - GL_GNULIB_FCNTL=$gl_module_indicator_condition + if test "$GL_GNULIB_FSTATAT" != 1; then + if test "$GL_GNULIB_FSTATAT" = 0; then + GL_GNULIB_FSTATAT=$gl_module_indicator_condition else - GL_GNULIB_FCNTL="($GL_GNULIB_FCNTL || $gl_module_indicator_condition)" + GL_GNULIB_FSTATAT="($GL_GNULIB_FSTATAT || $gl_module_indicator_condition)" fi fi @@ -71847,98 +74656,125 @@ fi -printf "%s\n" "#define GNULIB_TEST_FCNTL 1" >>confdefs.h - - - - +printf "%s\n" "#define GNULIB_TEST_FSTATAT 1" >>confdefs.h +printf "%s\n" "#define GNULIB_FSTATAT $gl_module_indicator_condition" >>confdefs.h - if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then - REPLACE_FDOPEN=1 - fi - if test $REPLACE_FDOPEN = 0; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fdopen sets errno" >&5 -printf %s "checking whether fdopen sets errno... " >&6; } -if test ${gl_cv_func_fdopen_works+y} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ftruncate" >&5 +printf %s "checking for ftruncate... " >&6; } +if test ${gl_cv_onwards_func_ftruncate+y} then : printf %s "(cached) " >&6 else case e in #( e) - if test "$cross_compiling" = yes + exec 9>&6 6>/dev/null + + case "$host_os" in + + linux*-android*) + ac_fn_check_decl "$LINENO" "ftruncate" "ac_cv_have_decl_ftruncate" "#include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_ftruncate" = xyes then : - case "$host_os" in - mingw* | windows*) gl_cv_func_fdopen_works="guessing no" ;; - *) gl_cv_func_fdopen_works="guessing yes" ;; - esac -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ +fi + if test $ac_cv_have_decl_ftruncate = yes; then + ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate" +if test "x$ac_cv_func_ftruncate" = xyes +then : -#include -#include +fi + if test $ac_cv_func_ftruncate = yes; then + gl_cv_onwards_func_ftruncate=yes + else + gl_cv_onwards_func_ftruncate='future OS version' + fi + else + gl_cv_onwards_func_ftruncate='future OS version' + fi + ;; -$gl_mda_defines -int -main (void) -{ - FILE *fp; - errno = 0; - fp = fdopen (-1, "r"); - if (fp == NULL && errno == 0) - return 1; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO" + *) + ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate" +if test "x$ac_cv_func_ftruncate" = xyes then : - gl_cv_func_fdopen_works=yes -else case e in #( - e) gl_cv_func_fdopen_works=no ;; -esac -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac + fi - ;; + gl_cv_onwards_func_ftruncate=$ac_cv_func_ftruncate + ;; + + esac + + exec 6>&9 9>&- + + ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fdopen_works" >&5 -printf "%s\n" "$gl_cv_func_fdopen_works" >&6; } - case "$gl_cv_func_fdopen_works" in - *no) REPLACE_FDOPEN=1 ;; +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_ftruncate" >&5 +printf "%s\n" "$gl_cv_onwards_func_ftruncate" >&6; } + + case "$gl_cv_onwards_func_ftruncate" in + future*) ac_cv_func_ftruncate=no ;; + *) ac_cv_func_ftruncate=$gl_cv_onwards_func_ftruncate ;; + esac + if test $ac_cv_func_ftruncate = yes; then + +printf "%s\n" "#define HAVE_FTRUNCATE 1" >>confdefs.h + + fi + + + if test $ac_cv_func_ftruncate = yes; then + + + case "$host_os" in + mingw* | windows*) + REPLACE_FTRUNCATE=1 + ;; + esac + + else + HAVE_FTRUNCATE=0 + case "$gl_cv_onwards_func_ftruncate" in + future*) REPLACE_FTRUNCATE=1 ;; esac fi - if test $REPLACE_FDOPEN = 1; then - GL_COND_OBJ_FDOPEN_TRUE= - GL_COND_OBJ_FDOPEN_FALSE='#' + if test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1; then + GL_COND_OBJ_FTRUNCATE_TRUE= + GL_COND_OBJ_FTRUNCATE_FALSE='#' else - GL_COND_OBJ_FDOPEN_TRUE='#' - GL_COND_OBJ_FDOPEN_FALSE= + GL_COND_OBJ_FTRUNCATE_TRUE='#' + GL_COND_OBJ_FTRUNCATE_FALSE= fi : - if test -z "${GL_COND_OBJ_FDOPEN_TRUE}" && test -z "${GL_COND_OBJ_FDOPEN_FALSE}"; then - GL_COND_OBJ_FDOPEN_TRUE='#' - GL_COND_OBJ_FDOPEN_FALSE='#' + if test -z "${GL_COND_OBJ_FTRUNCATE_TRUE}" && test -z "${GL_COND_OBJ_FTRUNCATE_FALSE}"; then + GL_COND_OBJ_FTRUNCATE_TRUE='#' + GL_COND_OBJ_FTRUNCATE_FALSE='#' fi - if test -z "$GL_COND_OBJ_FDOPEN_TRUE"; then : + if test -z "$GL_COND_OBJ_FTRUNCATE_TRUE"; then : + + + ac_fn_c_check_func "$LINENO" "_chsize" "ac_cv_func__chsize" +if test "x$ac_cv_func__chsize" = xyes +then : + printf "%s\n" "#define HAVE__CHSIZE 1" >>confdefs.h + +fi @@ -71952,11 +74788,11 @@ fi - if test "$GL_GNULIB_FDOPEN" != 1; then - if test "$GL_GNULIB_FDOPEN" = 0; then - GL_GNULIB_FDOPEN=$gl_module_indicator_condition + if test "$GL_GNULIB_FTRUNCATE" != 1; then + if test "$GL_GNULIB_FTRUNCATE" = 0; then + GL_GNULIB_FTRUNCATE=$gl_module_indicator_condition else - GL_GNULIB_FDOPEN="($GL_GNULIB_FDOPEN || $gl_module_indicator_condition)" + GL_GNULIB_FTRUNCATE="($GL_GNULIB_FTRUNCATE || $gl_module_indicator_condition)" fi fi @@ -71964,7 +74800,7 @@ fi -printf "%s\n" "#define GNULIB_TEST_FDOPEN 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_FTRUNCATE 1" >>confdefs.h @@ -71972,192 +74808,522 @@ printf "%s\n" "#define GNULIB_TEST_FDOPEN 1" >>confdefs.h - case "$host_os" in - darwin* | mingw* | windows* | solaris*) - REPLACE_FSTAT=1 - ;; - esac + + gl_abort_bug=no + case "$host_os" in + mingw* | windows*) + gl_cv_func_getcwd_path_max=yes + ;; + *) + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getcwd handles long file names properly" >&5 +printf %s "checking whether getcwd handles long file names properly... " >&6; } +if test ${gl_cv_func_getcwd_path_max+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) # Arrange for deletion of the temporary directory this test creates. + ac_clean_files="$ac_clean_files confdir3" + if test "$cross_compiling" = yes +then : + # Cross-compilation guesses: + case "$host_os" in + aix*) # On AIX, it has the AIX bug. + gl_cv_func_getcwd_path_max='guessing no, it has the AIX bug' ;; + gnu*) # On Hurd, it is 'yes'. + gl_cv_func_getcwd_path_max='guessing yes' ;; + linux* | kfreebsd*) + # On older Linux+glibc it's 'no, but it is partly working', + # on newer Linux+glibc it's 'yes'. + # On Linux+musl libc, it's 'no, but it is partly working'. + # On kFreeBSD+glibc, it's 'no, but it is partly working'. + gl_cv_func_getcwd_path_max='guessing no, but it is partly working' ;; + *) # If we don't know, obey --enable-cross-guesses. + gl_cv_func_getcwd_path_max="$gl_cross_guess_normal" ;; + esac + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#if HAVE_UNISTD_H +# include +#else +# include +#endif +#if HAVE_DECL_ALARM +# include +#endif +#include +#include +#include +#include +#include + + +/* Arrange to define PATH_MAX, like "pathmax.h" does. */ +#if HAVE_UNISTD_H +# include +#endif +#include +#if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN +# include +#endif +#if !defined PATH_MAX && defined MAXPATHLEN +# define PATH_MAX MAXPATHLEN +#endif +#ifdef __hpux +# undef PATH_MAX +# define PATH_MAX 1024 +#endif +#if defined _WIN32 && ! defined __CYGWIN__ +# undef PATH_MAX +# define PATH_MAX 260 +#endif + + +#ifndef AT_FDCWD +# define AT_FDCWD 0 +#endif +#ifdef ENAMETOOLONG +# define is_ENAMETOOLONG(x) ((x) == ENAMETOOLONG) +#else +# define is_ENAMETOOLONG(x) 0 +#endif + +/* Use the getcwd function, not any macro. */ +#undef getcwd + +$gl_mda_defines - if test $REPLACE_FSTAT = 1; then - GL_COND_OBJ_FSTAT_TRUE= - GL_COND_OBJ_FSTAT_FALSE='#' -else - GL_COND_OBJ_FSTAT_TRUE='#' - GL_COND_OBJ_FSTAT_FALSE= -fi -: - if test -z "${GL_COND_OBJ_FSTAT_TRUE}" && test -z "${GL_COND_OBJ_FSTAT_FALSE}"; then - GL_COND_OBJ_FSTAT_TRUE='#' - GL_COND_OBJ_FSTAT_FALSE='#' - fi +#ifndef S_IRWXU +# define S_IRWXU 0700 +#endif - if test -z "$GL_COND_OBJ_FSTAT_TRUE"; then : +/* The length of this name must be 8. */ +#define DIR_NAME "confdir3" +#define DIR_NAME_LEN 8 +#define DIR_NAME_SIZE (DIR_NAME_LEN + 1) - case "$host_os" in - mingw* | windows*) +/* The length of "../". */ +#define DOTDOTSLASH_LEN 3 +/* Leftover bytes in the buffer, to work around library or OS bugs. */ +#define BUF_SLOP 20 +int +main () +{ +#ifndef PATH_MAX + /* The Hurd doesn't define this, so getcwd can't exhibit the bug -- + at least not on a local file system. And if we were to start worrying + about remote file systems, we'd have to enable the wrapper function + all of the time, just to be safe. That's not worth the cost. */ + exit (0); +#elif ((INT_MAX / (DIR_NAME_SIZE / DOTDOTSLASH_LEN + 1) \ + - DIR_NAME_SIZE - BUF_SLOP) \ + <= PATH_MAX) + /* FIXME: Assuming there's a system for which this is true, + this should be done in a compile test. */ + exit (0); +#else + char buf[PATH_MAX * (DIR_NAME_SIZE / DOTDOTSLASH_LEN + 1) + + DIR_NAME_SIZE + BUF_SLOP]; + char *cwd; + size_t initial_cwd_len; + size_t cwd_len; + int fail; + size_t n_chdirs; + +# if HAVE_DECL_ALARM + /* This test makes some buggy getcwd implementations take a long time, e.g. + on NAS devices + + and in sandboxed environments . + Give up after 5 seconds; a getcwd slower than that isn't worth using + anyway. */ + signal (SIGALRM, SIG_DFL); + alarm (5); +# endif + cwd = getcwd (buf, PATH_MAX); + if (cwd == NULL) + exit (10); + cwd_len = initial_cwd_len = strlen (cwd); + fail = 0; + n_chdirs = 0; + while (1) + { + size_t dotdot_max = PATH_MAX * (DIR_NAME_SIZE / DOTDOTSLASH_LEN); + char *c = NULL; + + cwd_len += DIR_NAME_SIZE; + /* If mkdir or chdir fails, it could be that this system cannot create + any file with an absolute name longer than PATH_MAX, such as cygwin. + If so, leave fail as 0, because the current working directory can't + be too long for getcwd if it can't even be created. On Linux with + the 9p file system, mkdir fails with error EINVAL when cwd_len gets + too long; ignore this failure because the getcwd() system call + produces good results whereas the gnulib substitute calls getdents64 + which fails with error EPROTO. + For other errors, be pessimistic and consider that as a failure, + too. */ + if (mkdir (DIR_NAME, S_IRWXU) < 0 || chdir (DIR_NAME) < 0) + { + if (! (errno == ERANGE || is_ENAMETOOLONG (errno))) + #ifdef __linux__ + if (! (errno == EINVAL)) + #endif + fail = 20; + break; + } + if (PATH_MAX <= cwd_len && cwd_len < PATH_MAX + DIR_NAME_SIZE) + { + struct stat sb; + c = getcwd (buf, PATH_MAX); + if (!c && errno == ENOENT) + { + fail = 11; + break; + } + if (c) + { + fail = 31; + break; + } + if (! (errno == ERANGE || is_ENAMETOOLONG (errno))) + { + fail = 21; + break; + } - gltests_LIBOBJS="$gltests_LIBOBJS stat-w32.$ac_objext" + /* Our replacement needs to be able to stat() long ../../paths, + so generate a path larger than PATH_MAX to check, + avoiding the replacement if we can't stat(). */ + c = getcwd (buf, cwd_len + 1); + if (c && !AT_FDCWD && stat (c, &sb) != 0 && is_ENAMETOOLONG (errno)) + { + fail = 32; + break; + } + } - ;; - esac + if (dotdot_max <= cwd_len - initial_cwd_len) + { + if (dotdot_max + DIR_NAME_SIZE < cwd_len - initial_cwd_len) + break; + c = getcwd (buf, cwd_len + 1); + if (!c) + { + if (! (errno == ERANGE || errno == ENOENT + || is_ENAMETOOLONG (errno))) + { + fail = 22; + break; + } + if (AT_FDCWD || errno == ERANGE || errno == ENOENT) + { + fail = 12; + break; + } + } + } + if (c && strlen (c) != cwd_len) + { + fail = 23; + break; + } + ++n_chdirs; + } + /* Leaving behind such a deep directory is not polite. + So clean up here, right away, even though the driving + shell script would also clean up. */ + { + size_t i; - : + /* Try rmdir first, in case the chdir failed. */ + rmdir (DIR_NAME); + for (i = 0; i <= n_chdirs; i++) + { + if (chdir ("..") < 0) + break; + if (rmdir (DIR_NAME) != 0) + break; + } + } + exit (fail); +#endif +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_getcwd_path_max=yes +else case e in #( + e) case $? in + 10|11|12) gl_cv_func_getcwd_path_max='no, but it is partly working';; + 31) gl_cv_func_getcwd_path_max='no, it has the AIX bug';; + 32) gl_cv_func_getcwd_path_max='yes, but with shorter paths';; + *) gl_cv_func_getcwd_path_max=no;; + esac ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_path_max" >&5 +printf "%s\n" "$gl_cv_func_getcwd_path_max" >&6; } + case "$gl_cv_func_getcwd_null" in + *yes) + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getcwd succeeds when 4k < cwd_length < 16k" >&5 +printf %s "checking whether getcwd succeeds when 4k < cwd_length < 16k... " >&6; } +if test ${gl_cv_func_getcwd_succeeds_beyond_4k+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) # Remove any remnants of a previous test. + rm -rf confdir-14B--- + # Arrange for deletion of the temporary directory this test creates. + ac_clean_files="$ac_clean_files confdir-14B---" + if test "$cross_compiling" = yes +then : + case "$host_os" in + # Guess no otherwise, even on glibc systems and musl systems. + *) gl_cv_func_getcwd_succeeds_beyond_4k="guessing no" + esac +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ - if test "$GL_GNULIB_FSTAT" != 1; then - if test "$GL_GNULIB_FSTAT" = 0; then - GL_GNULIB_FSTAT=$gl_module_indicator_condition - else - GL_GNULIB_FSTAT="($GL_GNULIB_FSTAT || $gl_module_indicator_condition)" - fi - fi +#include +#include +#if HAVE_UNISTD_H +# include +#else /* on Windows with MSVC */ +# include +#endif +#include +#include +/* Arrange to define PATH_MAX, like "pathmax.h" does. */ +#if HAVE_UNISTD_H +# include +#endif +#include +#if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN +# include +#endif +#if !defined PATH_MAX && defined MAXPATHLEN +# define PATH_MAX MAXPATHLEN +#endif +#ifdef __hpux +# undef PATH_MAX +# define PATH_MAX 1024 +#endif +#if defined _WIN32 && ! defined __CYGWIN__ +# undef PATH_MAX +# define PATH_MAX 260 +#endif -printf "%s\n" "#define GNULIB_TEST_FSTAT 1" >>confdefs.h +$gl_mda_defines +#ifndef S_IRWXU +# define S_IRWXU 0700 +#endif +/* This size is chosen to be larger than PATH_MAX (4k), yet smaller than + the 16kB pagesize on ia64 linux. Those conditions make the code below + trigger a bug in glibc's getcwd implementation before 2.4.90-10. */ +#define TARGET_LEN (5 * 1024) +int +main () +{ + char *cwd; + size_t initial_cwd_len; + int fail = 0; + + /* The bug is triggered when PATH_MAX < page size, so skip + this relatively expensive and invasive test if that's not true. */ +#if defined PATH_MAX && defined _SC_PAGESIZE + int bug_possible = PATH_MAX < sysconf (_SC_PAGESIZE); +#else + int bug_possible = 0; +#endif + if (! bug_possible) + return 0; + cwd = getcwd (NULL, 0); + if (cwd == NULL) + return 2; + initial_cwd_len = strlen (cwd); + free (cwd); - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ftruncate" >&5 -printf %s "checking for ftruncate... " >&6; } -if test ${gl_cv_onwards_func_ftruncate+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - exec 9>&6 6>/dev/null + if (1) + { + static char const dir_name[] = "confdir-14B---"; + size_t desired_depth = ((TARGET_LEN - 1 - initial_cwd_len) + / sizeof dir_name); + size_t d; + for (d = 0; d < desired_depth; d++) + { + if (mkdir (dir_name, S_IRWXU) < 0 || chdir (dir_name) < 0) + { + if (! (errno == ERANGE || errno == ENAMETOOLONG + || errno == ENOENT)) + fail = 3; /* Unable to construct deep hierarchy. */ + break; + } + } - case "$host_os" in + /* If libc has the bug in question, this invocation of getcwd + results in a failed assertion. */ + cwd = getcwd (NULL, 0); + if (cwd == NULL) + fail = 4; /* getcwd didn't assert, but it failed for a long name + where the answer could have been learned. */ + free (cwd); + + /* Call rmdir first, in case the above chdir failed. */ + rmdir (dir_name); + while (0 < d--) + { + if (chdir ("..") < 0) + { + fail = 5; + break; + } + rmdir (dir_name); + } + } - linux*-android*) - ac_fn_check_decl "$LINENO" "ftruncate" "ac_cv_have_decl_ftruncate" "#include -" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_ftruncate" = xyes -then : + return fail; +} -fi - if test $ac_cv_have_decl_ftruncate = yes; then - ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate" -if test "x$ac_cv_func_ftruncate" = xyes +_ACEOF +if ac_fn_c_try_run "$LINENO" then : - + gl_cv_func_getcwd_succeeds_beyond_4k=yes +else case e in #( + e) ret=$? + if test $ret -ge 128 || test $ret = 4; then + gl_cv_func_getcwd_succeeds_beyond_4k=no + else + gl_cv_func_getcwd_succeeds_beyond_4k=yes + fi + ;; +esac fi - - if test $ac_cv_func_ftruncate = yes; then - gl_cv_onwards_func_ftruncate=yes - else - gl_cv_onwards_func_ftruncate='future OS version' - fi - else - gl_cv_onwards_func_ftruncate='future OS version' - fi - ;; - - - *) - ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate" -if test "x$ac_cv_func_ftruncate" = xyes -then : - +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi - gl_cv_onwards_func_ftruncate=$ac_cv_func_ftruncate - ;; - - esac - - exec 6>&9 9>&- - ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_ftruncate" >&5 -printf "%s\n" "$gl_cv_onwards_func_ftruncate" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_succeeds_beyond_4k" >&5 +printf "%s\n" "$gl_cv_func_getcwd_succeeds_beyond_4k" >&6; } + case "$gl_cv_func_getcwd_succeeds_beyond_4k" in + *no) + gl_abort_bug=yes + ;; + *) - case "$gl_cv_onwards_func_ftruncate" in - future*) ac_cv_func_ftruncate=no ;; - *) ac_cv_func_ftruncate=$gl_cv_onwards_func_ftruncate ;; + ;; esac - if test $ac_cv_func_ftruncate = yes; then -printf "%s\n" "#define HAVE_FTRUNCATE 1" >>confdefs.h + ;; + esac + ;; + esac + case "$gl_cv_func_getcwd_path_max" in + *"no" | *"no, it has the AIX bug") ;; + *) - fi +printf "%s\n" "#define HAVE_MINIMALLY_WORKING_GETCWD 1" >>confdefs.h + ;; + esac + case "$gl_cv_func_getcwd_path_max" in + *"no, but it is partly working") - if test $ac_cv_func_ftruncate = yes; then +printf "%s\n" "#define HAVE_PARTLY_WORKING_GETCWD 1" >>confdefs.h + ;; + *"yes, but with shorter paths") - case "$host_os" in - mingw* | windows*) - REPLACE_FTRUNCATE=1 - ;; - esac +printf "%s\n" "#define HAVE_GETCWD_SHORTER 1" >>confdefs.h - else - HAVE_FTRUNCATE=0 - case "$gl_cv_onwards_func_ftruncate" in - future*) REPLACE_FTRUNCATE=1 ;; - esac + ;; + esac + + if { case "$gl_cv_func_getcwd_null" in *yes) false;; *) true;; esac; } \ + || test $gl_cv_func_getcwd_posix_signature != yes \ + || { case "$gl_cv_func_getcwd_path_max" in *yes*) false;; *) true;; esac; } \ + || test $gl_abort_bug = yes; then + REPLACE_GETCWD=1 fi - if test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1; then - GL_COND_OBJ_FTRUNCATE_TRUE= - GL_COND_OBJ_FTRUNCATE_FALSE='#' + if test $REPLACE_GETCWD = 1; then + GL_COND_OBJ_GETCWD_TRUE= + GL_COND_OBJ_GETCWD_FALSE='#' else - GL_COND_OBJ_FTRUNCATE_TRUE='#' - GL_COND_OBJ_FTRUNCATE_FALSE= + GL_COND_OBJ_GETCWD_TRUE='#' + GL_COND_OBJ_GETCWD_FALSE= fi : - if test -z "${GL_COND_OBJ_FTRUNCATE_TRUE}" && test -z "${GL_COND_OBJ_FTRUNCATE_FALSE}"; then - GL_COND_OBJ_FTRUNCATE_TRUE='#' - GL_COND_OBJ_FTRUNCATE_FALSE='#' + if test -z "${GL_COND_OBJ_GETCWD_TRUE}" && test -z "${GL_COND_OBJ_GETCWD_FALSE}"; then + GL_COND_OBJ_GETCWD_TRUE='#' + GL_COND_OBJ_GETCWD_FALSE='#' fi - if test -z "$GL_COND_OBJ_FTRUNCATE_TRUE"; then : + if test -z "$GL_COND_OBJ_GETCWD_TRUE"; then : - ac_fn_c_check_func "$LINENO" "_chsize" "ac_cv_func__chsize" -if test "x$ac_cv_func__chsize" = xyes -then : - printf "%s\n" "#define HAVE__CHSIZE 1" >>confdefs.h -fi + : fi +printf "%s\n" "#define GNULIB_GETCWD $gl_module_indicator_condition" >>confdefs.h @@ -72165,11 +75331,15 @@ fi - if test "$GL_GNULIB_FTRUNCATE" != 1; then - if test "$GL_GNULIB_FTRUNCATE" = 0; then - GL_GNULIB_FTRUNCATE=$gl_module_indicator_condition + + + + + if test "$GL_GNULIB_GETCWD" != 1; then + if test "$GL_GNULIB_GETCWD" = 0; then + GL_GNULIB_GETCWD=$gl_module_indicator_condition else - GL_GNULIB_FTRUNCATE="($GL_GNULIB_FTRUNCATE || $gl_module_indicator_condition)" + GL_GNULIB_GETCWD="($GL_GNULIB_GETCWD || $gl_module_indicator_condition)" fi fi @@ -72177,7 +75347,7 @@ fi -printf "%s\n" "#define GNULIB_TEST_FTRUNCATE 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_GETCWD 1" >>confdefs.h @@ -72354,118 +75524,6 @@ printf "%s\n" "#define GNULIB_TEST_GETDTABLESIZE 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getpagesize" >&5 -printf %s "checking for getpagesize... " >&6; } -if test ${gl_cv_func_getpagesize+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main (void) -{ -return getpagesize(); - ; - return 0; -} - -_ACEOF -if ac_fn_c_try_link "$LINENO" -then : - gl_cv_func_getpagesize=yes -else case e in #( - e) gl_cv_func_getpagesize=no ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getpagesize" >&5 -printf "%s\n" "$gl_cv_func_getpagesize" >&6; } - - if test $gl_cv_func_getpagesize = no; then - HAVE_GETPAGESIZE=0 - ac_fn_c_check_header_compile "$LINENO" "OS.h" "ac_cv_header_OS_h" "$ac_includes_default" -if test "x$ac_cv_header_OS_h" = xyes -then : - printf "%s\n" "#define HAVE_OS_H 1" >>confdefs.h - -fi - - if test $ac_cv_header_OS_h = yes; then - HAVE_OS_H=1 - fi - ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_param_h" = xyes -then : - printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h - -fi - - if test $ac_cv_header_sys_param_h = yes; then - HAVE_SYS_PARAM_H=1 - fi - fi - case "$host_os" in - mingw* | windows*) - REPLACE_GETPAGESIZE=1 - ;; - esac - ac_fn_check_decl "$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_getpagesize" = xyes -then : - -else case e in #( - e) HAVE_DECL_GETPAGESIZE=0 ;; -esac -fi - - - if test $REPLACE_GETPAGESIZE = 1; then - GL_COND_OBJ_GETPAGESIZE_TRUE= - GL_COND_OBJ_GETPAGESIZE_FALSE='#' -else - GL_COND_OBJ_GETPAGESIZE_TRUE='#' - GL_COND_OBJ_GETPAGESIZE_FALSE= -fi -: - if test -z "${GL_COND_OBJ_GETPAGESIZE_TRUE}" && test -z "${GL_COND_OBJ_GETPAGESIZE_FALSE}"; then - GL_COND_OBJ_GETPAGESIZE_TRUE='#' - GL_COND_OBJ_GETPAGESIZE_FALSE='#' - fi - - - - - - - - - - - if test "$GL_GNULIB_GETPAGESIZE" != 1; then - if test "$GL_GNULIB_GETPAGESIZE" = 0; then - GL_GNULIB_GETPAGESIZE=$gl_module_indicator_condition - else - GL_GNULIB_GETPAGESIZE="($GL_GNULIB_GETPAGESIZE || $gl_module_indicator_condition)" - fi - fi - - - - - -printf "%s\n" "#define GNULIB_TEST_GETPAGESIZE 1" >>confdefs.h - - - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getprogname" >&5 @@ -73442,6 +76500,11 @@ printf "%s\n" "#define GNULIB_TEST_IOCTL 1" >>confdefs.h +printf "%s\n" "#define GNULIB_IOCTL $gl_module_indicator_condition" >>confdefs.h + + + + @@ -73499,6 +76562,8 @@ printf "%s\n" "#define GNULIB_ISBLANK $gl_module_indicator_condition" >>confdefs + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the __inline keyword" >&5 printf %s "checking whether the compiler supports the __inline keyword... " >&6; } if test ${gl_cv_c___inline+y} @@ -73577,6 +76642,11 @@ printf "%s\n" "#define GNULIB_TEST_LISTEN 1" >>confdefs.h +printf "%s\n" "#define GNULIB_LISTEN $gl_module_indicator_condition" >>confdefs.h + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for newlocale" >&5 printf %s "checking for newlocale... " >&6; } if test ${gl_cv_onwards_func_newlocale+y} @@ -73778,6 +76848,13 @@ printf "%s\n" "#define GNULIB_TEST_LSTAT 1" >>confdefs.h +printf "%s\n" "#define GNULIB_LSTAT $gl_module_indicator_condition" >>confdefs.h + + + + + + REPLACE_MALLOC_FOR_MALLOC_GNU="$REPLACE_MALLOC_FOR_MALLOC_POSIX" if test $REPLACE_MALLOC_FOR_MALLOC_GNU = 0; then @@ -73893,6 +76970,11 @@ printf "%s\n" "#define GNULIB_TEST_MALLOC_GNU 1" >>confdefs.h + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbtowc" >&5 @@ -74024,6 +77106,208 @@ printf "%s\n" "#define GNULIB_TEST_MBTOWC 1" >>confdefs.h + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mempcpy" >&5 +printf %s "checking for mempcpy... " >&6; } +if test ${gl_cv_onwards_func_mempcpy+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + exec 9>&6 6>/dev/null + + case "$host_os" in + + linux*-android*) + ac_fn_check_decl "$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "#include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_mempcpy" = xyes +then : + +fi + if test $ac_cv_have_decl_mempcpy = yes; then + ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy" +if test "x$ac_cv_func_mempcpy" = xyes +then : + +fi + + if test $ac_cv_func_mempcpy = yes; then + gl_cv_onwards_func_mempcpy=yes + else + gl_cv_onwards_func_mempcpy='future OS version' + fi + else + gl_cv_onwards_func_mempcpy='future OS version' + fi + ;; + + + *) + ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy" +if test "x$ac_cv_func_mempcpy" = xyes +then : + +fi + + gl_cv_onwards_func_mempcpy=$ac_cv_func_mempcpy + ;; + + esac + + exec 6>&9 9>&- + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_mempcpy" >&5 +printf "%s\n" "$gl_cv_onwards_func_mempcpy" >&6; } + + case "$gl_cv_onwards_func_mempcpy" in + future*) ac_cv_func_mempcpy=no ;; + *) ac_cv_func_mempcpy=$gl_cv_onwards_func_mempcpy ;; + esac + if test $ac_cv_func_mempcpy = yes; then + +printf "%s\n" "#define HAVE_MEMPCPY 1" >>confdefs.h + + fi + + + if test $ac_cv_func_mempcpy = no; then + HAVE_MEMPCPY=0 + case "$gl_cv_onwards_func_mempcpy" in + future*) REPLACE_MEMPCPY=1 ;; + esac + fi + + + if test $HAVE_MEMPCPY = 0 || test $REPLACE_MEMPCPY = 1; then + GL_COND_OBJ_MEMPCPY_TRUE= + GL_COND_OBJ_MEMPCPY_FALSE='#' +else + GL_COND_OBJ_MEMPCPY_TRUE='#' + GL_COND_OBJ_MEMPCPY_FALSE= +fi +: + if test -z "${GL_COND_OBJ_MEMPCPY_TRUE}" && test -z "${GL_COND_OBJ_MEMPCPY_FALSE}"; then + GL_COND_OBJ_MEMPCPY_TRUE='#' + GL_COND_OBJ_MEMPCPY_FALSE='#' + fi + + if test -z "$GL_COND_OBJ_MEMPCPY_TRUE"; then : + + + : + + +fi + + + + + + + + + + + + + + + if test "$GL_GNULIB_MEMPCPY" != 1; then + if test "$GL_GNULIB_MEMPCPY" = 0; then + GL_GNULIB_MEMPCPY=$gl_module_indicator_condition + else + GL_GNULIB_MEMPCPY="($GL_GNULIB_MEMPCPY || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_MEMPCPY 1" >>confdefs.h + + + + + + + + + if test $ac_cv_have_decl_memrchr = no; then + HAVE_DECL_MEMRCHR=0 + fi + + ac_fn_c_check_func "$LINENO" "memrchr" "ac_cv_func_memrchr" +if test "x$ac_cv_func_memrchr" = xyes +then : + printf "%s\n" "#define HAVE_MEMRCHR 1" >>confdefs.h + +fi + + + + if test $ac_cv_func_memrchr = no; then + GL_COND_OBJ_MEMRCHR_TRUE= + GL_COND_OBJ_MEMRCHR_FALSE='#' +else + GL_COND_OBJ_MEMRCHR_TRUE='#' + GL_COND_OBJ_MEMRCHR_FALSE= +fi +: + if test -z "${GL_COND_OBJ_MEMRCHR_TRUE}" && test -z "${GL_COND_OBJ_MEMRCHR_FALSE}"; then + GL_COND_OBJ_MEMRCHR_TRUE='#' + GL_COND_OBJ_MEMRCHR_FALSE='#' + fi + + if test -z "$GL_COND_OBJ_MEMRCHR_TRUE"; then : + + : + +fi + + + + + + + + + + + + + + + if test "$GL_GNULIB_MEMRCHR" != 1; then + if test "$GL_GNULIB_MEMRCHR" = 0; then + GL_GNULIB_MEMRCHR=$gl_module_indicator_condition + else + GL_GNULIB_MEMRCHR="($GL_GNULIB_MEMRCHR || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_MEMRCHR 1" >>confdefs.h + + + + + + + + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then GL_COND_OBJ_MSVC_INVAL_TRUE= GL_COND_OBJ_MSVC_INVAL_FALSE='#' @@ -74581,6 +77865,19 @@ printf "%s\n" "#define OPEN_TRAILING_SLASH_BUG 1" >>confdefs.h ;; esac + if test $REPLACE_OPEN = 0; then + + + + if test $ac_cv_func_fchdir = no; then + HAVE_FCHDIR=0 + fi + + if test $HAVE_FCHDIR = 0; then + REPLACE_OPEN=1 + fi + fi + @@ -74636,6 +77933,147 @@ printf "%s\n" "#define GNULIB_TEST_OPEN 1" >>confdefs.h + case $ac_cv_func_openat+$gl_cv_func_lstat_dereferences_slashed_symlink+$gl_cv_macro_O_CLOEXEC in + yes+*yes+yes) + ;; + yes+*) + # Solaris 10 lacks O_CLOEXEC. + # Solaris 9 has *at functions, but uniformly mishandles trailing + # slash in all of them. + REPLACE_OPENAT=1 + ;; + *) + HAVE_OPENAT=0 + ;; + esac + + + if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then + GL_COND_OBJ_OPENAT_TRUE= + GL_COND_OBJ_OPENAT_FALSE='#' +else + GL_COND_OBJ_OPENAT_TRUE='#' + GL_COND_OBJ_OPENAT_FALSE= +fi +: + if test -z "${GL_COND_OBJ_OPENAT_TRUE}" && test -z "${GL_COND_OBJ_OPENAT_FALSE}"; then + GL_COND_OBJ_OPENAT_TRUE='#' + GL_COND_OBJ_OPENAT_FALSE='#' + fi + + if test -z "$GL_COND_OBJ_OPENAT_TRUE"; then : + + + + : + + +fi + + +printf "%s\n" "#define GNULIB_OPENAT $gl_module_indicator_condition" >>confdefs.h + + + + + + + + + + + if test "$GL_GNULIB_OPENAT" != 1; then + if test "$GL_GNULIB_OPENAT" = 0; then + GL_GNULIB_OPENAT=$gl_module_indicator_condition + else + GL_GNULIB_OPENAT="($GL_GNULIB_OPENAT || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_OPENAT 1" >>confdefs.h + + + + + + + ac_fn_c_check_func "$LINENO" "opendir" "ac_cv_func_opendir" +if test "x$ac_cv_func_opendir" = xyes +then : + printf "%s\n" "#define HAVE_OPENDIR 1" >>confdefs.h + +fi + + if test $ac_cv_func_opendir = no; then + HAVE_OPENDIR=0 + else + + if test $DIR_HAS_FD_MEMBER = 0; then + REPLACE_OPENDIR=1 + fi + + + + + if test $ac_cv_func_fchdir = no; then + HAVE_FCHDIR=0 + fi + + if test $HAVE_FCHDIR = 0; then + REPLACE_OPENDIR=1 + fi + + fi + + + if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then + GL_COND_OBJ_OPENDIR_TRUE= + GL_COND_OBJ_OPENDIR_FALSE='#' +else + GL_COND_OBJ_OPENDIR_TRUE='#' + GL_COND_OBJ_OPENDIR_FALSE= +fi +: + if test -z "${GL_COND_OBJ_OPENDIR_TRUE}" && test -z "${GL_COND_OBJ_OPENDIR_FALSE}"; then + GL_COND_OBJ_OPENDIR_TRUE='#' + GL_COND_OBJ_OPENDIR_FALSE='#' + fi + + + + + + + + + + + if test "$GL_GNULIB_OPENDIR" != 1; then + if test "$GL_GNULIB_OPENDIR" = 0; then + GL_GNULIB_OPENDIR=$gl_module_indicator_condition + else + GL_GNULIB_OPENDIR="($GL_GNULIB_OPENDIR || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_OPENDIR 1" >>confdefs.h + + + + + + + + + @@ -74978,6 +78416,718 @@ printf "%s\n" "#define GNULIB_TEST_PSELECT 1" >>confdefs.h + if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \ + && test $gl_threads_api = windows; then + REPLACE_PTHREAD_COND_INIT=1 + REPLACE_PTHREAD_CONDATTR_INIT=1 + REPLACE_PTHREAD_CONDATTR_DESTROY=1 + REPLACE_PTHREAD_COND_WAIT=1 + REPLACE_PTHREAD_COND_TIMEDWAIT=1 + REPLACE_PTHREAD_COND_SIGNAL=1 + REPLACE_PTHREAD_COND_BROADCAST=1 + REPLACE_PTHREAD_COND_DESTROY=1 + else + if test $HAVE_PTHREAD_H = 0; then + HAVE_PTHREAD_COND_INIT=0 + HAVE_PTHREAD_CONDATTR_INIT=0 + HAVE_PTHREAD_CONDATTR_DESTROY=0 + HAVE_PTHREAD_COND_WAIT=0 + HAVE_PTHREAD_COND_TIMEDWAIT=0 + HAVE_PTHREAD_COND_SIGNAL=0 + HAVE_PTHREAD_COND_BROADCAST=0 + HAVE_PTHREAD_COND_DESTROY=0 + fi + fi + + + if test $HAVE_PTHREAD_COND_INIT = 0 || test $REPLACE_PTHREAD_COND_INIT = 1; then + GL_COND_OBJ_PTHREAD_COND_TRUE= + GL_COND_OBJ_PTHREAD_COND_FALSE='#' +else + GL_COND_OBJ_PTHREAD_COND_TRUE='#' + GL_COND_OBJ_PTHREAD_COND_FALSE= +fi +: + if test -z "${GL_COND_OBJ_PTHREAD_COND_TRUE}" && test -z "${GL_COND_OBJ_PTHREAD_COND_FALSE}"; then + GL_COND_OBJ_PTHREAD_COND_TRUE='#' + GL_COND_OBJ_PTHREAD_COND_FALSE='#' + fi + + + + + + + + + + + if test "$GL_GNULIB_PTHREAD_COND" != 1; then + if test "$GL_GNULIB_PTHREAD_COND" = 0; then + GL_GNULIB_PTHREAD_COND=$gl_module_indicator_condition + else + GL_GNULIB_PTHREAD_COND="($GL_GNULIB_PTHREAD_COND || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_PTHREAD_COND 1" >>confdefs.h + + + + + + + + + if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \ + && test $gl_threads_api = windows; then + REPLACE_PTHREAD_MUTEX_INIT=1 + REPLACE_PTHREAD_MUTEXATTR_INIT=1 + REPLACE_PTHREAD_MUTEXATTR_GETTYPE=1 + REPLACE_PTHREAD_MUTEXATTR_SETTYPE=1 + REPLACE_PTHREAD_MUTEXATTR_GETROBUST=1 + REPLACE_PTHREAD_MUTEXATTR_SETROBUST=1 + REPLACE_PTHREAD_MUTEXATTR_DESTROY=1 + REPLACE_PTHREAD_MUTEX_LOCK=1 + REPLACE_PTHREAD_MUTEX_TRYLOCK=1 + REPLACE_PTHREAD_MUTEX_TIMEDLOCK=1 + REPLACE_PTHREAD_MUTEX_UNLOCK=1 + REPLACE_PTHREAD_MUTEX_DESTROY=1 + else + if test $HAVE_PTHREAD_H = 0; then + HAVE_PTHREAD_MUTEX_INIT=0 + HAVE_PTHREAD_MUTEXATTR_INIT=0 + HAVE_PTHREAD_MUTEXATTR_GETTYPE=0 + HAVE_PTHREAD_MUTEXATTR_SETTYPE=0 + HAVE_PTHREAD_MUTEXATTR_GETROBUST=0 + HAVE_PTHREAD_MUTEXATTR_SETROBUST=0 + HAVE_PTHREAD_MUTEXATTR_DESTROY=0 + HAVE_PTHREAD_MUTEX_LOCK=0 + HAVE_PTHREAD_MUTEX_TRYLOCK=0 + HAVE_PTHREAD_MUTEX_UNLOCK=0 + HAVE_PTHREAD_MUTEX_DESTROY=0 + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_getrobust" >&5 +printf %s "checking for pthread_mutexattr_getrobust... " >&6; } +if test ${gl_cv_func_pthread_mutexattr_getrobust+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) saved_LIBS="$LIBS" + LIBS="$LIBS $LIBPMULTITHREAD" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +extern + #ifdef __cplusplus + "C" + #endif + int pthread_mutexattr_getrobust (void); + int main () + { + return pthread_mutexattr_getrobust (); + } + +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + gl_cv_func_pthread_mutexattr_getrobust=yes +else case e in #( + e) gl_cv_func_pthread_mutexattr_getrobust=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$saved_LIBS" + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_mutexattr_getrobust" >&5 +printf "%s\n" "$gl_cv_func_pthread_mutexattr_getrobust" >&6; } + if test $gl_cv_func_pthread_mutexattr_getrobust = no; then + HAVE_PTHREAD_MUTEXATTR_GETROBUST=0 + HAVE_PTHREAD_MUTEXATTR_SETROBUST=0 + +printf "%s\n" "#define PTHREAD_MUTEXATTR_ROBUST_UNIMPLEMENTED 1" >>confdefs.h + + fi + fi + fi + + + if test $HAVE_PTHREAD_MUTEX_INIT = 0 || test $REPLACE_PTHREAD_MUTEX_INIT = 1 || test $HAVE_PTHREAD_MUTEXATTR_GETROBUST = 0 || test $REPLACE_PTHREAD_MUTEXATTR_GETROBUST = 1; then + GL_COND_OBJ_PTHREAD_MUTEX_TRUE= + GL_COND_OBJ_PTHREAD_MUTEX_FALSE='#' +else + GL_COND_OBJ_PTHREAD_MUTEX_TRUE='#' + GL_COND_OBJ_PTHREAD_MUTEX_FALSE= +fi +: + if test -z "${GL_COND_OBJ_PTHREAD_MUTEX_TRUE}" && test -z "${GL_COND_OBJ_PTHREAD_MUTEX_FALSE}"; then + GL_COND_OBJ_PTHREAD_MUTEX_TRUE='#' + GL_COND_OBJ_PTHREAD_MUTEX_FALSE='#' + fi + + + + + + + + + + + if test "$GL_GNULIB_PTHREAD_MUTEX" != 1; then + if test "$GL_GNULIB_PTHREAD_MUTEX" = 0; then + GL_GNULIB_PTHREAD_MUTEX=$gl_module_indicator_condition + else + GL_GNULIB_PTHREAD_MUTEX="($GL_GNULIB_PTHREAD_MUTEX || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_PTHREAD_MUTEX 1" >>confdefs.h + + + + + + + + + + + + if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \ + && test $gl_threads_api = windows; then + REPLACE_PTHREAD_RWLOCK_INIT=1 + REPLACE_PTHREAD_RWLOCKATTR_INIT=1 + REPLACE_PTHREAD_RWLOCKATTR_DESTROY=1 + REPLACE_PTHREAD_RWLOCK_RDLOCK=1 + REPLACE_PTHREAD_RWLOCK_WRLOCK=1 + REPLACE_PTHREAD_RWLOCK_TRYRDLOCK=1 + REPLACE_PTHREAD_RWLOCK_TRYWRLOCK=1 + REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK=1 + REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK=1 + REPLACE_PTHREAD_RWLOCK_UNLOCK=1 + REPLACE_PTHREAD_RWLOCK_DESTROY=1 + else + if test $HAVE_PTHREAD_H = 0; then + HAVE_PTHREAD_RWLOCK_INIT=0 + HAVE_PTHREAD_RWLOCKATTR_INIT=0 + HAVE_PTHREAD_RWLOCKATTR_DESTROY=0 + HAVE_PTHREAD_RWLOCK_RDLOCK=0 + HAVE_PTHREAD_RWLOCK_WRLOCK=0 + HAVE_PTHREAD_RWLOCK_TRYRDLOCK=0 + HAVE_PTHREAD_RWLOCK_TRYWRLOCK=0 + HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK=0 + HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK=0 + HAVE_PTHREAD_RWLOCK_UNLOCK=0 + HAVE_PTHREAD_RWLOCK_DESTROY=0 + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_init" >&5 +printf %s "checking for pthread_rwlock_init... " >&6; } +if test ${gl_cv_func_pthread_rwlock_init+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) case "$host_os" in + darwin*) + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + pthread_rwlock_t l = PTHREAD_RWLOCK_INITIALIZER; + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_func_pthread_rwlock_init=yes +else case e in #( + e) gl_cv_func_pthread_rwlock_init=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ;; + *) + saved_LIBS="$LIBS" + LIBS="$LIBS $LIBPMULTITHREAD" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +extern + #ifdef __cplusplus + "C" + #endif + int pthread_rwlock_init (void); + int main () + { + return pthread_rwlock_init (); + } + +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + gl_cv_func_pthread_rwlock_init=yes +else case e in #( + e) gl_cv_func_pthread_rwlock_init=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$saved_LIBS" + ;; + esac + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_rwlock_init" >&5 +printf "%s\n" "$gl_cv_func_pthread_rwlock_init" >&6; } + if test $gl_cv_func_pthread_rwlock_init = no; then + REPLACE_PTHREAD_RWLOCK_INIT=1 + REPLACE_PTHREAD_RWLOCKATTR_INIT=1 + REPLACE_PTHREAD_RWLOCKATTR_DESTROY=1 + REPLACE_PTHREAD_RWLOCK_RDLOCK=1 + REPLACE_PTHREAD_RWLOCK_WRLOCK=1 + REPLACE_PTHREAD_RWLOCK_TRYRDLOCK=1 + REPLACE_PTHREAD_RWLOCK_TRYWRLOCK=1 + REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK=1 + REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK=1 + REPLACE_PTHREAD_RWLOCK_UNLOCK=1 + REPLACE_PTHREAD_RWLOCK_DESTROY=1 + +printf "%s\n" "#define PTHREAD_RWLOCK_UNIMPLEMENTED 1" >>confdefs.h + + else + ac_fn_check_decl "$LINENO" "pthread_rwlock_timedrdlock" "ac_cv_have_decl_pthread_rwlock_timedrdlock" "#include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_pthread_rwlock_timedrdlock" = xyes +then : + +else case e in #( + e) HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK=0 + HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK=0 + +printf "%s\n" "#define PTHREAD_RWLOCK_LACKS_TIMEOUT 1" >>confdefs.h + + ;; +esac +fi + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for reasonable pthread_rwlock wait queue handling" >&5 +printf %s "checking for reasonable pthread_rwlock wait queue handling... " >&6; } +if test ${gl_cv_func_pthread_rwlock_good_waitqueue+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) case "$host_os" in + linux*-gnu*) + saved_LIBS="$LIBS" + LIBS="$LIBS $LIBPMULTITHREAD" + if test "$cross_compiling" = yes +then : + gl_cv_func_pthread_rwlock_good_waitqueue="guessing no" + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* This test is a simplified variant of tests/test-pthread-rwlock-waitqueue.c. */ +#include +#include +#include +#include +#include +#include + +#if defined __hppa +# define STEP_INTERVAL 20000000 /* nanoseconds */ +#else +# define STEP_INTERVAL 10000000 /* nanoseconds */ +#endif + +static pthread_rwlock_t lock; + +static pthread_rwlock_t sprintf_lock; + +struct locals +{ + const char *name; + unsigned int wait_before; + unsigned int wait_after; + char *result; +}; + +static void * +reader_func (void *arg) +{ + struct locals *l = arg; + int err; + + if (l->wait_before > 0) + { + struct timespec duration; + duration.tv_sec = l->wait_before / 1000000000; + duration.tv_nsec = l->wait_before % 1000000000; + nanosleep (&duration, NULL); + } + err = pthread_rwlock_rdlock (&lock); + if (err) + { + fprintf (stderr, "pthread_rwlock_rdlock failed, error = %d\n", err); + abort (); + } + if (pthread_rwlock_wrlock (&sprintf_lock)) + { + fprintf (stderr, "pthread_rwlock_wrlock on sprintf_lock failed\n"); + abort (); + } + sprintf (l->result + strlen (l->result), " %s", l->name); + if (pthread_rwlock_unlock (&sprintf_lock)) + { + fprintf (stderr, "pthread_rwlock_unlock on sprintf_lock failed\n"); + abort (); + } + if (l->wait_after > 0) + { + struct timespec duration; + duration.tv_sec = l->wait_after / 1000000000; + duration.tv_nsec = l->wait_after % 1000000000; + nanosleep (&duration, NULL); + } + err = pthread_rwlock_unlock (&lock); + if (err) + { + fprintf (stderr, "pthread_rwlock_unlock failed, error = %d\n", err); + abort (); + } + + return NULL; +} + +static void * +writer_func (void *arg) +{ + struct locals *l = arg; + int err; + + if (l->wait_before > 0) + { + struct timespec duration; + duration.tv_sec = l->wait_before / 1000000000; + duration.tv_nsec = l->wait_before % 1000000000; + nanosleep (&duration, NULL); + } + err = pthread_rwlock_wrlock (&lock); + if (err) + { + fprintf (stderr, "pthread_rwlock_rdlock failed, error = %d\n", err); + abort (); + } + if (pthread_rwlock_wrlock (&sprintf_lock)) + { + fprintf (stderr, "pthread_rwlock_wrlock on sprintf_lock failed\n"); + abort (); + } + sprintf (l->result + strlen (l->result), " %s", l->name); + if (pthread_rwlock_unlock (&sprintf_lock)) + { + fprintf (stderr, "pthread_rwlock_unlock on sprintf_lock failed\n"); + abort (); + } + if (l->wait_after > 0) + { + struct timespec duration; + duration.tv_sec = l->wait_after / 1000000000; + duration.tv_nsec = l->wait_after % 1000000000; + nanosleep (&duration, NULL); + } + err = pthread_rwlock_unlock (&lock); + if (err) + { + fprintf (stderr, "pthread_rwlock_unlock failed, error = %d\n", err); + abort (); + } + + return NULL; +} + +static const char * +do_test (const char *rw_string) +{ + size_t n = strlen (rw_string); + int err; + char resultbuf[100]; + + char **names = (char **) malloc (n * sizeof (char *)); + for (size_t i = 0; i < n; i++) + { + char name[12]; + sprintf (name, "%c%u", rw_string[i], (unsigned int) (i+1)); + names[i] = strdup (name); + } + + resultbuf[0] = '\0'; + + /* Create the threads. */ + struct locals *locals = (struct locals *) malloc (n * sizeof (struct locals)); + pthread_t *threads = (pthread_t *) malloc (n * sizeof (pthread_t)); + for (size_t i = 0; i < n; i++) + { + locals[i].name = names[i]; + locals[i].wait_before = i * STEP_INTERVAL; + locals[i].wait_after = (i == 0 ? n * STEP_INTERVAL : 0); + locals[i].result = resultbuf; + err = pthread_create (&threads[i], NULL, + rw_string[i] == 'R' ? reader_func : + rw_string[i] == 'W' ? writer_func : + (abort (), NULL), + &locals[i]); + if (err) + { + fprintf (stderr, "pthread_create failed to create thread %u, error = %d\n", + (unsigned int) (i+1), err); + abort (); + } + } + + /* Wait until the threads are done. */ + for (size_t i = 0; i < n; i++) + { + void *retcode; + err = pthread_join (threads[i], &retcode); + if (err) + { + fprintf (stderr, "pthread_join failed to wait for thread %u, error = %d\n", + (unsigned int) (i+1), err); + abort (); + } + } + + /* Clean up. */ + free (threads); + free (locals); + for (size_t i = 0; i < n; i++) + free (names[i]); + free (names); + + return strdup (resultbuf); +} + +static bool +startswith (const char *str, const char *prefix) +{ + return strncmp (str, prefix, strlen (prefix)) == 0; +} + +static int +find_wait_queue_handling (void) +{ + bool final_r_prefers_readers = true; + bool final_w_prefers_readers = true; + + /* Perform the test a few times, so that in case of a non-deterministic + behaviour that happens to look like deterministic in one round, we get + a higher probability of finding that it is non-deterministic. */ + for (int repeat = 3; repeat > 0; repeat--) + { + bool r_prefers_readers = false; + bool w_prefers_readers = false; + + { + const char * RWR = do_test ("RWR"); + const char * RWRR = do_test ("RWRR"); + const char * RWRW = do_test ("RWRW"); + const char * RWWR = do_test ("RWWR"); + const char * RWRRR = do_test ("RWRRR"); + const char * RWRRW = do_test ("RWRRW"); + const char * RWRWR = do_test ("RWRWR"); + const char * RWRWW = do_test ("RWRWW"); + const char * RWWRR = do_test ("RWWRR"); + const char * RWWRW = do_test ("RWWRW"); + const char * RWWWR = do_test ("RWWWR"); + + if ( startswith (RWR, " R1 R") + && startswith (RWRR, " R1 R") + && startswith (RWRW, " R1 R") + && startswith (RWWR, " R1 R") + && startswith (RWRRR, " R1 R") + && startswith (RWRRW, " R1 R") + && startswith (RWRWR, " R1 R") + && startswith (RWRWW, " R1 R") + && startswith (RWWRR, " R1 R") + && startswith (RWWRW, " R1 R") + && startswith (RWWWR, " R1 R")) + r_prefers_readers = true; + } + + { + const char * WRR = do_test ("WRR"); + const char * WRW = do_test ("WRW"); + const char * WWR = do_test ("WWR"); + const char * WRRR = do_test ("WRRR"); + const char * WRRW = do_test ("WRRW"); + const char * WRWR = do_test ("WRWR"); + const char * WRWW = do_test ("WRWW"); + const char * WWRR = do_test ("WWRR"); + const char * WWRW = do_test ("WWRW"); + const char * WWWR = do_test ("WWWR"); + const char * WRRRR = do_test ("WRRRR"); + const char * WRRRW = do_test ("WRRRW"); + const char * WRRWR = do_test ("WRRWR"); + const char * WRRWW = do_test ("WRRWW"); + const char * WRWRR = do_test ("WRWRR"); + const char * WRWRW = do_test ("WRWRW"); + const char * WRWWR = do_test ("WRWWR"); + const char * WRWWW = do_test ("WRWWW"); + const char * WWRRR = do_test ("WWRRR"); + const char * WWRRW = do_test ("WWRRW"); + const char * WWRWR = do_test ("WWRWR"); + const char * WWRWW = do_test ("WWRWW"); + const char * WWWRR = do_test ("WWWRR"); + const char * WWWRW = do_test ("WWWRW"); + const char * WWWWR = do_test ("WWWWR"); + + if ( startswith (WRR, " W1 R") + && startswith (WRW, " W1 R") + && startswith (WWR, " W1 R") + && startswith (WRRR, " W1 R") + && startswith (WRRW, " W1 R") + && startswith (WRWR, " W1 R") + && startswith (WRWW, " W1 R") + && startswith (WWRR, " W1 R") + && startswith (WWRW, " W1 R") + && startswith (WWWR, " W1 R") + && startswith (WRRRR, " W1 R") + && startswith (WRRRW, " W1 R") + && startswith (WRRWR, " W1 R") + && startswith (WRRWW, " W1 R") + && startswith (WRWRR, " W1 R") + && startswith (WRWRW, " W1 R") + && startswith (WRWWR, " W1 R") + && startswith (WRWWW, " W1 R") + && startswith (WWRRR, " W1 R") + && startswith (WWRRW, " W1 R") + && startswith (WWRWR, " W1 R") + && startswith (WWRWW, " W1 R") + && startswith (WWWRR, " W1 R") + && startswith (WWWRW, " W1 R") + && startswith (WWWWR, " W1 R")) + w_prefers_readers = true; + } + + final_r_prefers_readers &= r_prefers_readers; + final_w_prefers_readers &= w_prefers_readers; + } + + /* The wait queue handling is unsuitable if it always prefers readers, + because it leads to writer starvation: On machines with 8 or more CPUs, + test-pthread-rwlock may never terminate. */ + return final_r_prefers_readers && final_w_prefers_readers; +} + +int +main () +{ + /* Initialize the sprintf_lock. */ + if (pthread_rwlock_init (&sprintf_lock, NULL)) + { + fprintf (stderr, "pthread_rwlock_init failed\n"); + abort (); + } + + /* Find the wait queue handling of a default-initialized lock. */ + if (pthread_rwlock_init (&lock, NULL)) + { + fprintf (stderr, "pthread_rwlock_init failed\n"); + abort (); + } + { + int fail = find_wait_queue_handling (); + return fail; + } +} + + +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_pthread_rwlock_good_waitqueue=yes +else case e in #( + e) gl_cv_func_pthread_rwlock_good_waitqueue=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi + + LIBS="$saved_LIBS" + ;; + *) gl_cv_func_pthread_rwlock_good_waitqueue="guessing yes" + ;; + esac + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_rwlock_good_waitqueue" >&5 +printf "%s\n" "$gl_cv_func_pthread_rwlock_good_waitqueue" >&6; } + case "$gl_cv_func_pthread_rwlock_good_waitqueue" in + *yes) ;; + *no) + REPLACE_PTHREAD_RWLOCK_INIT=1 + REPLACE_PTHREAD_RWLOCKATTR_INIT=1 + +printf "%s\n" "#define PTHREAD_RWLOCK_BAD_WAITQUEUE 1" >>confdefs.h + + ;; + esac + fi + fi + fi + + + if test $REPLACE_PTHREAD_RWLOCK_INIT = 1 || test $HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = 0 || test $REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = 1; then + GL_COND_OBJ_PTHREAD_RWLOCK_TRUE= + GL_COND_OBJ_PTHREAD_RWLOCK_FALSE='#' +else + GL_COND_OBJ_PTHREAD_RWLOCK_TRUE='#' + GL_COND_OBJ_PTHREAD_RWLOCK_FALSE= +fi +: + if test -z "${GL_COND_OBJ_PTHREAD_RWLOCK_TRUE}" && test -z "${GL_COND_OBJ_PTHREAD_RWLOCK_FALSE}"; then + GL_COND_OBJ_PTHREAD_RWLOCK_TRUE='#' + GL_COND_OBJ_PTHREAD_RWLOCK_FALSE='#' + fi + + + + + + + + + + + if test "$GL_GNULIB_PTHREAD_RWLOCK" != 1; then + if test "$GL_GNULIB_PTHREAD_RWLOCK" = 0; then + GL_GNULIB_PTHREAD_RWLOCK=$gl_module_indicator_condition + else + GL_GNULIB_PTHREAD_RWLOCK="($GL_GNULIB_PTHREAD_RWLOCK || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_PTHREAD_RWLOCK 1" >>confdefs.h + + + @@ -75098,6 +79248,104 @@ printf "%s\n" "#define GNULIB_TEST_PTHREAD_THREAD 1" >>confdefs.h + ac_fn_check_decl "$LINENO" "pthread_mutex_timedlock" "ac_cv_have_decl_pthread_mutex_timedlock" "#include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_pthread_mutex_timedlock" = xyes +then : + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_timedlock" >&5 +printf %s "checking for pthread_mutex_timedlock... " >&6; } +if test ${gl_cv_func_pthread_mutex_timedlock_in_LIBMULTITHREAD+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) gl_saved_LIBS="$LIBS" + LIBS="$LIBS $LIBMULTITHREAD" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main (void) +{ +pthread_mutex_t lock; + struct timespec ts = { 0 }; + return pthread_mutex_timedlock (&lock, &ts); + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + gl_cv_func_pthread_mutex_timedlock_in_LIBMULTITHREAD=yes +else case e in #( + e) gl_cv_func_pthread_mutex_timedlock_in_LIBMULTITHREAD=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gl_saved_LIBS" + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_mutex_timedlock_in_LIBMULTITHREAD" >&5 +printf "%s\n" "$gl_cv_func_pthread_mutex_timedlock_in_LIBMULTITHREAD" >&6; } + if test $gl_cv_func_pthread_mutex_timedlock_in_LIBMULTITHREAD != yes; then + HAVE_PTHREAD_MUTEX_TIMEDLOCK=0 + fi + + +else case e in #( + e) HAVE_PTHREAD_MUTEX_TIMEDLOCK=0 ;; +esac +fi + + + if test $HAVE_PTHREAD_T = 1 && test $HAVE_PTHREAD_MUTEX_TIMEDLOCK = 0; then + GL_COND_OBJ_PTHREAD_MUTEX_TIMEDLOCK_TRUE= + GL_COND_OBJ_PTHREAD_MUTEX_TIMEDLOCK_FALSE='#' +else + GL_COND_OBJ_PTHREAD_MUTEX_TIMEDLOCK_TRUE='#' + GL_COND_OBJ_PTHREAD_MUTEX_TIMEDLOCK_FALSE= +fi +: + if test -z "${GL_COND_OBJ_PTHREAD_MUTEX_TIMEDLOCK_TRUE}" && test -z "${GL_COND_OBJ_PTHREAD_MUTEX_TIMEDLOCK_FALSE}"; then + GL_COND_OBJ_PTHREAD_MUTEX_TIMEDLOCK_TRUE='#' + GL_COND_OBJ_PTHREAD_MUTEX_TIMEDLOCK_FALSE='#' + fi + + + + + + + + + + + if test "$GL_GNULIB_PTHREAD_MUTEX_TIMEDLOCK" != 1; then + if test "$GL_GNULIB_PTHREAD_MUTEX_TIMEDLOCK" = 0; then + GL_GNULIB_PTHREAD_MUTEX_TIMEDLOCK=$gl_module_indicator_condition + else + GL_GNULIB_PTHREAD_MUTEX_TIMEDLOCK="($GL_GNULIB_PTHREAD_MUTEX_TIMEDLOCK || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_sigmask is a macro" >&5 @@ -75566,15 +79814,6 @@ fi if test -z "$GL_COND_OBJ_PUTENV_TRUE"; then : - ac_fn_check_decl "$LINENO" "_putenv" "ac_cv_have_decl__putenv" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl__putenv" = xyes -then : - ac_have_decl=1 -else case e in #( - e) ac_have_decl=0 ;; -esac -fi -printf "%s\n" "#define HAVE_DECL__PUTENV $ac_have_decl" >>confdefs.h @@ -76055,6 +80294,66 @@ printf "%s\n" "#define GNULIB_TEST_RANDOM_R 1" >>confdefs.h + ac_fn_c_check_func "$LINENO" "readdir" "ac_cv_func_readdir" +if test "x$ac_cv_func_readdir" = xyes +then : + printf "%s\n" "#define HAVE_READDIR 1" >>confdefs.h + +fi + + if test $ac_cv_func_readdir = no; then + HAVE_READDIR=0 + else + + if test $DIR_HAS_FD_MEMBER = 0; then + REPLACE_READDIR=1 + fi + fi + + + if test $HAVE_READDIR = 0 || test $REPLACE_READDIR = 1; then + GL_COND_OBJ_READDIR_TRUE= + GL_COND_OBJ_READDIR_FALSE='#' +else + GL_COND_OBJ_READDIR_TRUE='#' + GL_COND_OBJ_READDIR_FALSE= +fi +: + if test -z "${GL_COND_OBJ_READDIR_TRUE}" && test -z "${GL_COND_OBJ_READDIR_FALSE}"; then + GL_COND_OBJ_READDIR_TRUE='#' + GL_COND_OBJ_READDIR_FALSE='#' + fi + + + + + + + + + + + if test "$GL_GNULIB_READDIR" != 1; then + if test "$GL_GNULIB_READDIR" = 0; then + GL_GNULIB_READDIR=$gl_module_indicator_condition + else + GL_GNULIB_READDIR="($GL_GNULIB_READDIR || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_READDIR 1" >>confdefs.h + + + + + + + + if test $REPLACE_REALLOC_FOR_REALLOC_GNU = 0; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether realloc (0, 0) returns nonnull" >&5 @@ -76335,6 +80634,60 @@ printf "%s\n" "#define GNULIB_TEST_REALLOCARRAY 1" >>confdefs.h + ac_fn_c_check_func "$LINENO" "rewinddir" "ac_cv_func_rewinddir" +if test "x$ac_cv_func_rewinddir" = xyes +then : + printf "%s\n" "#define HAVE_REWINDDIR 1" >>confdefs.h + +fi + + if test $ac_cv_func_rewinddir = no; then + HAVE_REWINDDIR=0 + else + + if test $DIR_HAS_FD_MEMBER = 0; then + REPLACE_REWINDDIR=1 + fi + fi + + + if test $HAVE_REWINDDIR = 0 || test $REPLACE_REWINDDIR = 1; then + GL_COND_OBJ_REWINDDIR_TRUE= + GL_COND_OBJ_REWINDDIR_FALSE='#' +else + GL_COND_OBJ_REWINDDIR_TRUE='#' + GL_COND_OBJ_REWINDDIR_FALSE= +fi +: + if test -z "${GL_COND_OBJ_REWINDDIR_TRUE}" && test -z "${GL_COND_OBJ_REWINDDIR_FALSE}"; then + GL_COND_OBJ_REWINDDIR_TRUE='#' + GL_COND_OBJ_REWINDDIR_FALSE='#' + fi + + + + + + + + + + + if test "$GL_GNULIB_REWINDDIR" != 1; then + if test "$GL_GNULIB_REWINDDIR" = 0; then + GL_GNULIB_REWINDDIR=$gl_module_indicator_condition + else + GL_GNULIB_REWINDDIR="($GL_GNULIB_REWINDDIR || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_REWINDDIR 1" >>confdefs.h + + @@ -76612,6 +80965,11 @@ printf "%s\n" "#define GNULIB_TEST_SELECT 1" >>confdefs.h +printf "%s\n" "#define GNULIB_SELECT $gl_module_indicator_condition" >>confdefs.h + + + + if test $ac_cv_func_setenv = no; then HAVE_SETENV=0 @@ -76906,6 +81264,11 @@ printf "%s\n" "#define GNULIB_TEST_SETSOCKOPT 1" >>confdefs.h +printf "%s\n" "#define GNULIB_SETSOCKOPT $gl_module_indicator_condition" >>confdefs.h + + + + @@ -77025,7 +81388,7 @@ main (void) { /* Failure to compile this test due to missing alarm is okay, - since all such platforms (mingw) also lack sleep. */ + since all such platforms (mingw, MSVC) also lack sleep. */ unsigned int pentecost = 50 * 24 * 60 * 60; /* 50 days. */ unsigned int remaining; signal (SIGALRM, handle_alarm); @@ -77166,6 +81529,11 @@ printf "%s\n" "#define GNULIB_TEST_SOCKET 1" >>confdefs.h +printf "%s\n" "#define GNULIB_SOCKET $gl_module_indicator_condition" >>confdefs.h + + + + ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" " /* is not needed according to POSIX, but the in i386-unknown-freebsd4.10 and @@ -77381,6 +81749,11 @@ printf "%s\n" "#define GNULIB_TEST_STAT 1" >>confdefs.h +printf "%s\n" "#define GNULIB_STAT $gl_module_indicator_condition" >>confdefs.h + + + + ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.tv_nsec" "ac_cv_member_struct_stat_st_atim_tv_nsec" "#include @@ -77528,7 +81901,6 @@ fi - if test $REPLACE_STDIO_READ_FUNCS = 1; then GL_COND_OBJ_STDIO_READ_TRUE= GL_COND_OBJ_STDIO_READ_FALSE='#' @@ -77999,6 +82371,199 @@ printf "%s\n" "#define GNULIB_TEST_FWRITE 1" >>confdefs.h + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stpcpy" >&5 +printf %s "checking for stpcpy... " >&6; } +if test ${gl_cv_onwards_func_stpcpy+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + exec 9>&6 6>/dev/null + + case "$host_os" in + + linux*-android*) + ac_fn_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "#include +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_stpcpy" = xyes +then : + +fi + if test $ac_cv_have_decl_stpcpy = yes; then + ac_fn_c_check_func "$LINENO" "stpcpy" "ac_cv_func_stpcpy" +if test "x$ac_cv_func_stpcpy" = xyes +then : + +fi + + if test $ac_cv_func_stpcpy = yes; then + gl_cv_onwards_func_stpcpy=yes + else + gl_cv_onwards_func_stpcpy='future OS version' + fi + else + gl_cv_onwards_func_stpcpy='future OS version' + fi + ;; + + + *) + ac_fn_c_check_func "$LINENO" "stpcpy" "ac_cv_func_stpcpy" +if test "x$ac_cv_func_stpcpy" = xyes +then : + +fi + + gl_cv_onwards_func_stpcpy=$ac_cv_func_stpcpy + ;; + + esac + + exec 6>&9 9>&- + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_stpcpy" >&5 +printf "%s\n" "$gl_cv_onwards_func_stpcpy" >&6; } + + case "$gl_cv_onwards_func_stpcpy" in + future*) ac_cv_func_stpcpy=no ;; + *) ac_cv_func_stpcpy=$gl_cv_onwards_func_stpcpy ;; + esac + if test $ac_cv_func_stpcpy = yes; then + +printf "%s\n" "#define HAVE_STPCPY 1" >>confdefs.h + + fi + + + if test $ac_cv_func_stpcpy = no; then + HAVE_STPCPY=0 + case "$gl_cv_onwards_func_stpcpy" in + future*) REPLACE_STPCPY=1 ;; + esac + fi + + + if test $HAVE_STPCPY = 0 || test $REPLACE_STPCPY = 1; then + GL_COND_OBJ_STPCPY_TRUE= + GL_COND_OBJ_STPCPY_FALSE='#' +else + GL_COND_OBJ_STPCPY_TRUE='#' + GL_COND_OBJ_STPCPY_FALSE= +fi +: + if test -z "${GL_COND_OBJ_STPCPY_TRUE}" && test -z "${GL_COND_OBJ_STPCPY_FALSE}"; then + GL_COND_OBJ_STPCPY_TRUE='#' + GL_COND_OBJ_STPCPY_FALSE='#' + fi + + if test -z "$GL_COND_OBJ_STPCPY_TRUE"; then : + + + : + + +fi + + + + + + + + + + + + + + + if test "$GL_GNULIB_STPCPY" != 1; then + if test "$GL_GNULIB_STPCPY" = 0; then + GL_GNULIB_STPCPY=$gl_module_indicator_condition + else + GL_GNULIB_STPCPY="($GL_GNULIB_STPCPY || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_STPCPY 1" >>confdefs.h + + + + + + + if test $gl_cv_func_malloc_posix != yes; then + REPLACE_STRDUP=1 + fi + + if test $ac_cv_have_decl_strdup = no; then + HAVE_DECL_STRDUP=0 + fi + + + if test $REPLACE_STRDUP = 1; then + GL_COND_OBJ_STRDUP_TRUE= + GL_COND_OBJ_STRDUP_FALSE='#' +else + GL_COND_OBJ_STRDUP_TRUE='#' + GL_COND_OBJ_STRDUP_FALSE= +fi +: + if test -z "${GL_COND_OBJ_STRDUP_TRUE}" && test -z "${GL_COND_OBJ_STRDUP_FALSE}"; then + GL_COND_OBJ_STRDUP_TRUE='#' + GL_COND_OBJ_STRDUP_FALSE='#' + fi + + if test -z "$GL_COND_OBJ_STRDUP_TRUE"; then : + + : + +fi + + + + + + + + + + + + + + + if test "$GL_GNULIB_STRDUP" != 1; then + if test "$GL_GNULIB_STRDUP" = 0; then + GL_GNULIB_STRDUP=$gl_module_indicator_condition + else + GL_GNULIB_STRDUP="($GL_GNULIB_STRDUP || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_STRDUP 1" >>confdefs.h + + + + + + + + + + if test "$GL_GENERATE_ERRNO_H:$REPLACE_STRERROR_0" = false:0; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 printf %s "checking for working strerror function... " >&6; } @@ -78442,6 +83007,165 @@ printf "%s\n" "#define GNULIB_TEST_SYMLINK 1" >>confdefs.h + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv4 sockets" >&5 +printf %s "checking for IPv4 sockets... " >&6; } +if test ${gl_cv_socket_ipv4+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#ifdef HAVE_NETINET_IN_H +#include +#endif +#ifdef HAVE_WINSOCK2_H +#include +#endif +int +main (void) +{ +int x = AF_INET; struct in_addr y; struct sockaddr_in z; + if (&x && &y && &z) return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_socket_ipv4=yes +else case e in #( + e) gl_cv_socket_ipv4=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv4" >&5 +printf "%s\n" "$gl_cv_socket_ipv4" >&6; } + if test $gl_cv_socket_ipv4 = yes; then + +printf "%s\n" "#define HAVE_IPV4 1" >>confdefs.h + + fi + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv6 sockets" >&5 +printf %s "checking for IPv6 sockets... " >&6; } +if test ${gl_cv_socket_ipv6+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#ifdef HAVE_NETINET_IN_H +#include +#endif +#ifdef HAVE_WINSOCK2_H +#include +#endif +#ifdef HAVE_WS2TCPIP_H +#include +#endif +int +main (void) +{ +int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z; + if (&x && &y && &z) return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_socket_ipv6=yes +else case e in #( + e) gl_cv_socket_ipv6=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv6" >&5 +printf "%s\n" "$gl_cv_socket_ipv6" >&6; } + if test $gl_cv_socket_ipv6 = yes; then + +printf "%s\n" "#define HAVE_IPV6 1" >>confdefs.h + + fi + + + + + + if test "$ac_cv_header_winsock2_h" = yes; then + ac_fn_c_check_header_compile "$LINENO" "afunix.h" "ac_cv_header_afunix_h" "#include +" +if test "x$ac_cv_header_afunix_h" = xyes +then : + printf "%s\n" "#define HAVE_AFUNIX_H 1" >>confdefs.h + +fi + + fi + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for UNIX domain sockets" >&5 +printf %s "checking for UNIX domain sockets... " >&6; } +if test ${gl_cv_socket_unix+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#ifdef HAVE_SYS_UN_H +#include +#endif +#ifdef HAVE_WINSOCK2_H +#include +#endif +#ifdef HAVE_AFUNIX_H +#include +#endif +int +main (void) +{ +int x = AF_UNIX; struct sockaddr_un y; + if (&x && &y) return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_socket_unix=yes +else case e in #( + e) gl_cv_socket_unix=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_unix" >&5 +printf "%s\n" "$gl_cv_socket_unix" >&6; } + if test $gl_cv_socket_unix = yes; then + +printf "%s\n" "#define HAVE_UNIXSOCKET 1" >>confdefs.h + + fi + + + @@ -78459,6 +83183,270 @@ printf "%s\n" "#define GNULIB_TEST_SYMLINK 1" >>confdefs.h + + + + + if case "$host_os" in *-gnu* | gnu*) true ;; *) false ;; esac; then + LIBC_IS_GNU_TRUE= + LIBC_IS_GNU_FALSE='#' +else + LIBC_IS_GNU_TRUE='#' + LIBC_IS_GNU_FALSE= +fi +: + if test -z "${LIBC_IS_GNU_TRUE}" && test -z "${LIBC_IS_GNU_FALSE}"; then + LIBC_IS_GNU_TRUE='#' + LIBC_IS_GNU_FALSE='#' + fi + + + if case "$host_os" in *-musl* | midipix*) true ;; *) false ;; esac; then + LIBC_IS_MUSL_TRUE= + LIBC_IS_MUSL_FALSE='#' +else + LIBC_IS_MUSL_TRUE='#' + LIBC_IS_MUSL_FALSE= +fi +: + if test -z "${LIBC_IS_MUSL_TRUE}" && test -z "${LIBC_IS_MUSL_FALSE}"; then + LIBC_IS_MUSL_TRUE='#' + LIBC_IS_MUSL_FALSE='#' + fi + + + if case "$host_os" in darwin*) true ;; *) false ;; esac; then + OS_IS_MACOS_TRUE= + OS_IS_MACOS_FALSE='#' +else + OS_IS_MACOS_TRUE='#' + OS_IS_MACOS_FALSE= +fi +: + if test -z "${OS_IS_MACOS_TRUE}" && test -z "${OS_IS_MACOS_FALSE}"; then + OS_IS_MACOS_TRUE='#' + OS_IS_MACOS_FALSE='#' + fi + + + if case "$host_os" in darwin20.*) true ;; *) false ;; esac; then + OS_IS_MACOS11_TRUE= + OS_IS_MACOS11_FALSE='#' +else + OS_IS_MACOS11_TRUE='#' + OS_IS_MACOS11_FALSE= +fi +: + if test -z "${OS_IS_MACOS11_TRUE}" && test -z "${OS_IS_MACOS11_FALSE}"; then + OS_IS_MACOS11_TRUE='#' + OS_IS_MACOS11_FALSE='#' + fi + + + if case "$host_os" in darwin21.*) true ;; *) false ;; esac; then + OS_IS_MACOS12_TRUE= + OS_IS_MACOS12_FALSE='#' +else + OS_IS_MACOS12_TRUE='#' + OS_IS_MACOS12_FALSE= +fi +: + if test -z "${OS_IS_MACOS12_TRUE}" && test -z "${OS_IS_MACOS12_FALSE}"; then + OS_IS_MACOS12_TRUE='#' + OS_IS_MACOS12_FALSE='#' + fi + + + if case "$host_os" in darwin22.*) true ;; *) false ;; esac; then + OS_IS_MACOS13_TRUE= + OS_IS_MACOS13_FALSE='#' +else + OS_IS_MACOS13_TRUE='#' + OS_IS_MACOS13_FALSE= +fi +: + if test -z "${OS_IS_MACOS13_TRUE}" && test -z "${OS_IS_MACOS13_FALSE}"; then + OS_IS_MACOS13_TRUE='#' + OS_IS_MACOS13_FALSE='#' + fi + + + if case "$host_os" in darwin23.*) true ;; *) false ;; esac; then + OS_IS_MACOS14_TRUE= + OS_IS_MACOS14_FALSE='#' +else + OS_IS_MACOS14_TRUE='#' + OS_IS_MACOS14_FALSE= +fi +: + if test -z "${OS_IS_MACOS14_TRUE}" && test -z "${OS_IS_MACOS14_FALSE}"; then + OS_IS_MACOS14_TRUE='#' + OS_IS_MACOS14_FALSE='#' + fi + + + if case "$host_os" in freebsd* | dragonfly*) true ;; *) false ;; esac; then + OS_IS_FREEBSD_TRUE= + OS_IS_FREEBSD_FALSE='#' +else + OS_IS_FREEBSD_TRUE='#' + OS_IS_FREEBSD_FALSE= +fi +: + if test -z "${OS_IS_FREEBSD_TRUE}" && test -z "${OS_IS_FREEBSD_FALSE}"; then + OS_IS_FREEBSD_TRUE='#' + OS_IS_FREEBSD_FALSE='#' + fi + + + if case "$host_os" in netbsd*) true ;; *) false ;; esac; then + OS_IS_NETBSD_TRUE= + OS_IS_NETBSD_FALSE='#' +else + OS_IS_NETBSD_TRUE='#' + OS_IS_NETBSD_FALSE= +fi +: + if test -z "${OS_IS_NETBSD_TRUE}" && test -z "${OS_IS_NETBSD_FALSE}"; then + OS_IS_NETBSD_TRUE='#' + OS_IS_NETBSD_FALSE='#' + fi + + + if case "$host_os" in openbsd*) true ;; *) false ;; esac; then + OS_IS_OPENBSD_TRUE= + OS_IS_OPENBSD_FALSE='#' +else + OS_IS_OPENBSD_TRUE='#' + OS_IS_OPENBSD_FALSE= +fi +: + if test -z "${OS_IS_OPENBSD_TRUE}" && test -z "${OS_IS_OPENBSD_FALSE}"; then + OS_IS_OPENBSD_TRUE='#' + OS_IS_OPENBSD_FALSE='#' + fi + + + if case "$host_os" in aix*) true ;; *) false ;; esac; then + OS_IS_AIX_TRUE= + OS_IS_AIX_FALSE='#' +else + OS_IS_AIX_TRUE='#' + OS_IS_AIX_FALSE= +fi +: + if test -z "${OS_IS_AIX_TRUE}" && test -z "${OS_IS_AIX_FALSE}"; then + OS_IS_AIX_TRUE='#' + OS_IS_AIX_FALSE='#' + fi + + + if case "$host_os" in solaris2.11*) true ;; *) false ;; esac; then + OS_IS_SOLARIS11_TRUE= + OS_IS_SOLARIS11_FALSE='#' +else + OS_IS_SOLARIS11_TRUE='#' + OS_IS_SOLARIS11_FALSE= +fi +: + if test -z "${OS_IS_SOLARIS11_TRUE}" && test -z "${OS_IS_SOLARIS11_FALSE}"; then + OS_IS_SOLARIS11_TRUE='#' + OS_IS_SOLARIS11_FALSE='#' + fi + + + if case "$host_os" in cygwin*) true ;; *) false ;; esac; then + OS_IS_CYGWIN_TRUE= + OS_IS_CYGWIN_FALSE='#' +else + OS_IS_CYGWIN_TRUE='#' + OS_IS_CYGWIN_FALSE= +fi +: + if test -z "${OS_IS_CYGWIN_TRUE}" && test -z "${OS_IS_CYGWIN_FALSE}"; then + OS_IS_CYGWIN_TRUE='#' + OS_IS_CYGWIN_FALSE='#' + fi + + + if case "$host_os" in mingw* | windows*) true ;; *) false ;; esac; then + OS_IS_NATIVE_WINDOWS_TRUE= + OS_IS_NATIVE_WINDOWS_FALSE='#' +else + OS_IS_NATIVE_WINDOWS_TRUE='#' + OS_IS_NATIVE_WINDOWS_FALSE= +fi +: + if test -z "${OS_IS_NATIVE_WINDOWS_TRUE}" && test -z "${OS_IS_NATIVE_WINDOWS_FALSE}"; then + OS_IS_NATIVE_WINDOWS_TRUE='#' + OS_IS_NATIVE_WINDOWS_FALSE='#' + fi + + is_mingw=false; is_msvc=false + case "$host_os" in + windows*-msvc*) is_msvc=true ;; + mingw* | windows*) + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #ifdef _MSC_VER + Special + #endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP_TRADITIONAL "Special" >/dev/null 2>&1 +then : + is_msvc=true +else case e in #( + e) is_mingw=true ;; +esac +fi +rm -rf conftest* + + ;; + esac + + if $is_mingw; then + PLATFORM_IS_MINGW_TRUE= + PLATFORM_IS_MINGW_FALSE='#' +else + PLATFORM_IS_MINGW_TRUE='#' + PLATFORM_IS_MINGW_FALSE= +fi +: + if test -z "${PLATFORM_IS_MINGW_TRUE}" && test -z "${PLATFORM_IS_MINGW_FALSE}"; then + PLATFORM_IS_MINGW_TRUE='#' + PLATFORM_IS_MINGW_FALSE='#' + fi + + + if $is_msvc; then + PLATFORM_IS_MSVC_TRUE= + PLATFORM_IS_MSVC_FALSE='#' +else + PLATFORM_IS_MSVC_TRUE='#' + PLATFORM_IS_MSVC_FALSE= +fi +: + if test -z "${PLATFORM_IS_MSVC_TRUE}" && test -z "${PLATFORM_IS_MSVC_FALSE}"; then + PLATFORM_IS_MSVC_TRUE='#' + PLATFORM_IS_MSVC_FALSE='#' + fi + + + if case "$host_os" in linux-androideabi*) true ;; *) false ;; esac; then + OS_IS_ANDROID_TRUE= + OS_IS_ANDROID_FALSE='#' +else + OS_IS_ANDROID_TRUE='#' + OS_IS_ANDROID_FALSE= +fi +: + if test -z "${OS_IS_ANDROID_TRUE}" && test -z "${OS_IS_ANDROID_FALSE}"; then + OS_IS_ANDROID_TRUE='#' + OS_IS_ANDROID_FALSE='#' + fi @@ -78570,12 +83558,7 @@ fi rm -rf conftest* ;; - freebsd*) - case "$host_cpu" in - sparc*) gl_cv_func_time_works="guessing no";; - *) gl_cv_func_time_works="guessing yes";; - esac - ;; + freebsd*) gl_cv_func_time_works="guessing no";; aix*) gl_cv_func_time_works="guessing no";; mingw* | windows*) gl_cv_func_time_works="guessing no";; *) gl_cv_func_time_works="guessing yes";; @@ -78725,10 +83708,6 @@ printf "%s\n" "#define GNULIB_TEST_TIME 1" >>confdefs.h - - - - @@ -78889,6 +83868,7 @@ fi + fi @@ -79220,7 +84200,7 @@ else case e in #( *) gl_cv_func_wcrtomb_retval="guessing yes" ;; esac - if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then + if test $LOCALE_FR != none || test "$LOCALE_EN_UTF8" != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then if test "$cross_compiling" = yes then : : @@ -79241,8 +84221,8 @@ int main () if (wcrtomb (NULL, 0, NULL) != 1) result |= 1; } - if (strcmp ("$LOCALE_FR_UTF8", "none") != 0 - && setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + if (strcmp ("$LOCALE_EN_UTF8", "none") != 0 + && setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { if (wcrtomb (NULL, 0, NULL) != 1) result |= 2; @@ -79355,6 +84335,7 @@ printf "%s\n" "#define GNULIB_TEST_WCRTOMB 1" >>confdefs.h + if test $ac_cv_func_wctob = no; then HAVE_WCTOB=0 HAVE_DECL_WCTOB=0 @@ -79593,6 +84574,21 @@ printf "%s\n" "#define GNULIB_TEST_WCTOMB 1" >>confdefs.h + if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then + GL_COND_OBJ_WINDOWS_COND_TRUE= + GL_COND_OBJ_WINDOWS_COND_FALSE='#' +else + GL_COND_OBJ_WINDOWS_COND_TRUE='#' + GL_COND_OBJ_WINDOWS_COND_FALSE= +fi +: + if test -z "${GL_COND_OBJ_WINDOWS_COND_TRUE}" && test -z "${GL_COND_OBJ_WINDOWS_COND_FALSE}"; then + GL_COND_OBJ_WINDOWS_COND_TRUE='#' + GL_COND_OBJ_WINDOWS_COND_FALSE='#' + fi + + + if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then GL_COND_OBJ_WINDOWS_THREAD_TRUE= GL_COND_OBJ_WINDOWS_THREAD_FALSE='#' @@ -79608,6 +84604,51 @@ fi + if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then + GL_COND_OBJ_WINDOWS_TIMEDMUTEX_TRUE= + GL_COND_OBJ_WINDOWS_TIMEDMUTEX_FALSE='#' +else + GL_COND_OBJ_WINDOWS_TIMEDMUTEX_TRUE='#' + GL_COND_OBJ_WINDOWS_TIMEDMUTEX_FALSE= +fi +: + if test -z "${GL_COND_OBJ_WINDOWS_TIMEDMUTEX_TRUE}" && test -z "${GL_COND_OBJ_WINDOWS_TIMEDMUTEX_FALSE}"; then + GL_COND_OBJ_WINDOWS_TIMEDMUTEX_TRUE='#' + GL_COND_OBJ_WINDOWS_TIMEDMUTEX_FALSE='#' + fi + + + + if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then + GL_COND_OBJ_WINDOWS_TIMEDRECMUTEX_TRUE= + GL_COND_OBJ_WINDOWS_TIMEDRECMUTEX_FALSE='#' +else + GL_COND_OBJ_WINDOWS_TIMEDRECMUTEX_TRUE='#' + GL_COND_OBJ_WINDOWS_TIMEDRECMUTEX_FALSE= +fi +: + if test -z "${GL_COND_OBJ_WINDOWS_TIMEDRECMUTEX_TRUE}" && test -z "${GL_COND_OBJ_WINDOWS_TIMEDRECMUTEX_FALSE}"; then + GL_COND_OBJ_WINDOWS_TIMEDRECMUTEX_TRUE='#' + GL_COND_OBJ_WINDOWS_TIMEDRECMUTEX_FALSE='#' + fi + + + + if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then + GL_COND_OBJ_WINDOWS_TIMEDRWLOCK_TRUE= + GL_COND_OBJ_WINDOWS_TIMEDRWLOCK_FALSE='#' +else + GL_COND_OBJ_WINDOWS_TIMEDRWLOCK_TRUE='#' + GL_COND_OBJ_WINDOWS_TIMEDRWLOCK_FALSE= +fi +: + if test -z "${GL_COND_OBJ_WINDOWS_TIMEDRWLOCK_TRUE}" && test -z "${GL_COND_OBJ_WINDOWS_TIMEDRWLOCK_FALSE}"; then + GL_COND_OBJ_WINDOWS_TIMEDRWLOCK_TRUE='#' + GL_COND_OBJ_WINDOWS_TIMEDRWLOCK_FALSE='#' + fi + + + if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then GL_COND_OBJ_WINDOWS_TLS_TRUE= GL_COND_OBJ_WINDOWS_TLS_FALSE='#' @@ -79633,6 +84674,9 @@ printf "%s\n" "#define GNULIB_XALLOC_DIE $gl_module_indicator_condition" >>confd + : + + @@ -80053,6 +85097,18 @@ printf %s "checking that generated files are newer than configure... " >&6; } fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 printf "%s\n" "done" >&6; } +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; +esac +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi + if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' @@ -81812,19 +86868,18 @@ See 'config.log' for more details" "$LINENO" 5; } cat <<_LT_EOF >> "$cfgfile" #! $SHELL # Generated automatically by $as_me ($PACKAGE) $VERSION -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. # Written by Gordon Matzigkeit, 1996 -# Copyright (C) 2014 Free Software Foundation, Inc. +# Copyright (C) 2024 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of of the License, or +# the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, if you @@ -82208,7 +87263,7 @@ hardcode_direct=$hardcode_direct # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes # DIR into the resulting binary and the resulting library dependency is -# "absolute",i.e impossible to change by setting \$shlibpath_var if the +# "absolute",i.e. impossible to change by setting \$shlibpath_var if the # library is relocated. hardcode_direct_absolute=$hardcode_direct_absolute @@ -82437,7 +87492,7 @@ hardcode_direct=$hardcode_direct_RC # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes # DIR into the resulting binary and the resulting library dependency is -# "absolute",i.e impossible to change by setting \$shlibpath_var if the +# "absolute",i.e. impossible to change by setting \$shlibpath_var if the # library is relocated. hardcode_direct_absolute=$hardcode_direct_absolute_RC diff --git a/doc/Makefile.in b/doc/Makefile.in index 98310b8c..99bae4ab 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.5 from Makefile.am. +# Makefile.in generated by automake 1.17 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2021 Free Software Foundation, Inc. +# Copyright (C) 1994-2024 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -69,6 +69,8 @@ am__make_running_with_option = \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +am__rm_f = rm -f $(am__rm_f_notfound) +am__rm_rf = rm -rf $(am__rm_f_notfound) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -96,15 +98,21 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/arpa_inet_h.m4 \ $(top_srcdir)/gnulib-m4/assert_h.m4 \ $(top_srcdir)/gnulib-m4/btowc.m4 \ + $(top_srcdir)/gnulib-m4/build-to-host.m4 \ $(top_srcdir)/gnulib-m4/builtin-expect.m4 \ $(top_srcdir)/gnulib-m4/c-bool.m4 \ $(top_srcdir)/gnulib-m4/c32rtomb.m4 \ $(top_srcdir)/gnulib-m4/calloc.m4 \ + $(top_srcdir)/gnulib-m4/chdir-long.m4 \ $(top_srcdir)/gnulib-m4/close.m4 \ + $(top_srcdir)/gnulib-m4/closedir.m4 \ $(top_srcdir)/gnulib-m4/codeset.m4 \ $(top_srcdir)/gnulib-m4/ctype_h.m4 \ + $(top_srcdir)/gnulib-m4/d-ino.m4 \ + $(top_srcdir)/gnulib-m4/dirent_h.m4 \ + $(top_srcdir)/gnulib-m4/dirfd.m4 \ $(top_srcdir)/gnulib-m4/double-slash-root.m4 \ - $(top_srcdir)/gnulib-m4/dup2.m4 \ + $(top_srcdir)/gnulib-m4/dup.m4 $(top_srcdir)/gnulib-m4/dup2.m4 \ $(top_srcdir)/gnulib-m4/eealloc.m4 \ $(top_srcdir)/gnulib-m4/environ.m4 \ $(top_srcdir)/gnulib-m4/errno_h.m4 \ @@ -113,12 +121,16 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/exponentd.m4 \ $(top_srcdir)/gnulib-m4/exponentf.m4 \ $(top_srcdir)/gnulib-m4/exponentl.m4 \ + $(top_srcdir)/gnulib-m4/extensions-aix.m4 \ $(top_srcdir)/gnulib-m4/extensions.m4 \ $(top_srcdir)/gnulib-m4/extern-inline.m4 \ + $(top_srcdir)/gnulib-m4/fchdir.m4 \ $(top_srcdir)/gnulib-m4/fcntl-o.m4 \ $(top_srcdir)/gnulib-m4/fcntl.m4 \ $(top_srcdir)/gnulib-m4/fcntl_h.m4 \ $(top_srcdir)/gnulib-m4/fdopen.m4 \ + $(top_srcdir)/gnulib-m4/fdopendir.m4 \ + $(top_srcdir)/gnulib-m4/filenamecat.m4 \ $(top_srcdir)/gnulib-m4/flexmember.m4 \ $(top_srcdir)/gnulib-m4/float_h.m4 \ $(top_srcdir)/gnulib-m4/fpieee.m4 \ @@ -127,10 +139,12 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/frexpl.m4 \ $(top_srcdir)/gnulib-m4/fseterr.m4 \ $(top_srcdir)/gnulib-m4/fstat.m4 \ + $(top_srcdir)/gnulib-m4/fstatat.m4 \ $(top_srcdir)/gnulib-m4/ftruncate.m4 \ + $(top_srcdir)/gnulib-m4/getcwd-abort-bug.m4 \ + $(top_srcdir)/gnulib-m4/getcwd-path-max.m4 \ $(top_srcdir)/gnulib-m4/getcwd.m4 \ $(top_srcdir)/gnulib-m4/getdtablesize.m4 \ - $(top_srcdir)/gnulib-m4/getpagesize.m4 \ $(top_srcdir)/gnulib-m4/getprogname.m4 \ $(top_srcdir)/gnulib-m4/gettimeofday.m4 \ $(top_srcdir)/gnulib-m4/gnulib-common.m4 \ @@ -167,6 +181,7 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/limits-h.m4 \ $(top_srcdir)/gnulib-m4/localcharset.m4 \ $(top_srcdir)/gnulib-m4/locale-ar.m4 \ + $(top_srcdir)/gnulib-m4/locale-en.m4 \ $(top_srcdir)/gnulib-m4/locale-fr.m4 \ $(top_srcdir)/gnulib-m4/locale-ja.m4 \ $(top_srcdir)/gnulib-m4/locale-tr.m4 \ @@ -186,6 +201,8 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/mbstate_t.m4 \ $(top_srcdir)/gnulib-m4/mbtowc.m4 \ $(top_srcdir)/gnulib-m4/memchr.m4 \ + $(top_srcdir)/gnulib-m4/mempcpy.m4 \ + $(top_srcdir)/gnulib-m4/memrchr.m4 \ $(top_srcdir)/gnulib-m4/minmax.m4 \ $(top_srcdir)/gnulib-m4/mmap-anon.m4 \ $(top_srcdir)/gnulib-m4/mode_t.m4 \ @@ -197,10 +214,14 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/nanosleep.m4 \ $(top_srcdir)/gnulib-m4/netinet_in_h.m4 \ $(top_srcdir)/gnulib-m4/nocrash.m4 \ + $(top_srcdir)/gnulib-m4/off64_t.m4 \ $(top_srcdir)/gnulib-m4/off_t.m4 \ + $(top_srcdir)/gnulib-m4/once.m4 \ $(top_srcdir)/gnulib-m4/open-cloexec.m4 \ $(top_srcdir)/gnulib-m4/open-slash.m4 \ $(top_srcdir)/gnulib-m4/open.m4 \ + $(top_srcdir)/gnulib-m4/openat.m4 \ + $(top_srcdir)/gnulib-m4/opendir.m4 \ $(top_srcdir)/gnulib-m4/pathmax.m4 \ $(top_srcdir)/gnulib-m4/perror.m4 \ $(top_srcdir)/gnulib-m4/pipe.m4 \ @@ -208,17 +229,26 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/printf-frexpl.m4 \ $(top_srcdir)/gnulib-m4/printf.m4 \ $(top_srcdir)/gnulib-m4/pselect.m4 \ + $(top_srcdir)/gnulib-m4/pthread-cond.m4 \ + $(top_srcdir)/gnulib-m4/pthread-mutex.m4 \ + $(top_srcdir)/gnulib-m4/pthread-once.m4 \ + $(top_srcdir)/gnulib-m4/pthread-rwlock.m4 \ + $(top_srcdir)/gnulib-m4/pthread-spin.m4 \ $(top_srcdir)/gnulib-m4/pthread-thread.m4 \ $(top_srcdir)/gnulib-m4/pthread_h.m4 \ + $(top_srcdir)/gnulib-m4/pthread_mutex_timedlock.m4 \ $(top_srcdir)/gnulib-m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/gnulib-m4/pthread_sigmask.m4 \ $(top_srcdir)/gnulib-m4/putenv.m4 \ $(top_srcdir)/gnulib-m4/raise.m4 \ $(top_srcdir)/gnulib-m4/random.m4 \ $(top_srcdir)/gnulib-m4/random_r.m4 \ + $(top_srcdir)/gnulib-m4/readdir.m4 \ $(top_srcdir)/gnulib-m4/realloc.m4 \ $(top_srcdir)/gnulib-m4/reallocarray.m4 \ $(top_srcdir)/gnulib-m4/relocatable-lib.m4 \ + $(top_srcdir)/gnulib-m4/rewinddir.m4 \ + $(top_srcdir)/gnulib-m4/save-cwd.m4 \ $(top_srcdir)/gnulib-m4/sched_h.m4 \ $(top_srcdir)/gnulib-m4/sched_yield.m4 \ $(top_srcdir)/gnulib-m4/select.m4 \ @@ -245,12 +275,15 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/stdint_h.m4 \ $(top_srcdir)/gnulib-m4/stdio_h.m4 \ $(top_srcdir)/gnulib-m4/stdlib_h.m4 \ + $(top_srcdir)/gnulib-m4/stpcpy.m4 \ + $(top_srcdir)/gnulib-m4/strdup.m4 \ $(top_srcdir)/gnulib-m4/strerror.m4 \ $(top_srcdir)/gnulib-m4/strerror_r.m4 \ $(top_srcdir)/gnulib-m4/string_h.m4 \ $(top_srcdir)/gnulib-m4/strncat.m4 \ $(top_srcdir)/gnulib-m4/strstr.m4 \ $(top_srcdir)/gnulib-m4/symlink.m4 \ + $(top_srcdir)/gnulib-m4/sys_cdefs_h.m4 \ $(top_srcdir)/gnulib-m4/sys_ioctl_h.m4 \ $(top_srcdir)/gnulib-m4/sys_select_h.m4 \ $(top_srcdir)/gnulib-m4/sys_socket_h.m4 \ @@ -267,13 +300,13 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/unictype_h.m4 \ $(top_srcdir)/gnulib-m4/unimetadata_h.m4 \ $(top_srcdir)/gnulib-m4/uninorm_h.m4 \ + $(top_srcdir)/gnulib-m4/unistd-safer.m4 \ $(top_srcdir)/gnulib-m4/unistd_h.m4 \ $(top_srcdir)/gnulib-m4/usleep.m4 \ $(top_srcdir)/gnulib-m4/vasnprintf.m4 \ $(top_srcdir)/gnulib-m4/visibility.m4 \ $(top_srcdir)/gnulib-m4/warn-on-use.m4 \ $(top_srcdir)/gnulib-m4/wchar_h.m4 \ - $(top_srcdir)/gnulib-m4/wchar_t.m4 \ $(top_srcdir)/gnulib-m4/wcrtomb.m4 \ $(top_srcdir)/gnulib-m4/wctob.m4 \ $(top_srcdir)/gnulib-m4/wctomb.m4 \ @@ -281,6 +314,7 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib-m4/00gnulib.m4 \ $(top_srcdir)/gnulib-m4/wcwidth.m4 \ $(top_srcdir)/gnulib-m4/wint_t.m4 \ $(top_srcdir)/gnulib-m4/xalloc.m4 \ + $(top_srcdir)/gnulib-m4/xgetcwd.m4 \ $(top_srcdir)/gnulib-m4/xsize.m4 \ $(top_srcdir)/gnulib-m4/yield.m4 \ $(top_srcdir)/gnulib-m4/zzgnulib.m4 \ @@ -378,10 +412,9 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ - test -z "$$files" \ - || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ - || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ - $(am__cd) "$$dir" && rm -f $$files; }; \ + { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && echo $$files | $(am__xargs_n) 40 $(am__rm_f); }; \ } am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(libunistring_TEXINFOS) $(srcdir)/Makefile.in \ @@ -407,6 +440,7 @@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ +CAN_PRINT_STACK_TRACE = @CAN_PRINT_STACK_TRACE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ @@ -420,6 +454,7 @@ CXX_HAS_UCHAR_TYPES = @CXX_HAS_UCHAR_TYPES@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DIR_HAS_FD_MEMBER = @DIR_HAS_FD_MEMBER@ DLLTOOL = @DLLTOOL@ DLL_VARIABLE = @DLL_VARIABLE@ DSYMUTIL = @DSYMUTIL@ @@ -450,12 +485,14 @@ GLOBAL_SYMBOL_PIPE = @GLOBAL_SYMBOL_PIPE@ GL_CFLAG_ALLOW_WARNINGS = @GL_CFLAG_ALLOW_WARNINGS@ GL_CFLAG_GNULIB_WARNINGS = @GL_CFLAG_GNULIB_WARNINGS@ GL_CXXFLAG_ALLOW_WARNINGS = @GL_CXXFLAG_ALLOW_WARNINGS@ +GL_GNULIB_ABORT_DEBUG = @GL_GNULIB_ABORT_DEBUG@ GL_GNULIB_ACCEPT = @GL_GNULIB_ACCEPT@ GL_GNULIB_ACCEPT4 = @GL_GNULIB_ACCEPT4@ GL_GNULIB_ACCESS = @GL_GNULIB_ACCESS@ GL_GNULIB_ACOSF = @GL_GNULIB_ACOSF@ GL_GNULIB_ACOSL = @GL_GNULIB_ACOSL@ GL_GNULIB_ALIGNED_ALLOC = @GL_GNULIB_ALIGNED_ALLOC@ +GL_GNULIB_ALPHASORT = @GL_GNULIB_ALPHASORT@ GL_GNULIB_ASINF = @GL_GNULIB_ASINF@ GL_GNULIB_ASINL = @GL_GNULIB_ASINL@ GL_GNULIB_ATAN2F = @GL_GNULIB_ATAN2F@ @@ -503,6 +540,7 @@ GL_GNULIB_CHDIR = @GL_GNULIB_CHDIR@ GL_GNULIB_CHMOD = @GL_GNULIB_CHMOD@ GL_GNULIB_CHOWN = @GL_GNULIB_CHOWN@ GL_GNULIB_CLOSE = @GL_GNULIB_CLOSE@ +GL_GNULIB_CLOSEDIR = @GL_GNULIB_CLOSEDIR@ GL_GNULIB_CONNECT = @GL_GNULIB_CONNECT@ GL_GNULIB_COPYSIGN = @GL_GNULIB_COPYSIGN@ GL_GNULIB_COPYSIGNF = @GL_GNULIB_COPYSIGNF@ @@ -513,11 +551,13 @@ GL_GNULIB_COSHF = @GL_GNULIB_COSHF@ GL_GNULIB_COSL = @GL_GNULIB_COSL@ GL_GNULIB_CREAT = @GL_GNULIB_CREAT@ GL_GNULIB_CTIME = @GL_GNULIB_CTIME@ +GL_GNULIB_DIRFD = @GL_GNULIB_DIRFD@ GL_GNULIB_DPRINTF = @GL_GNULIB_DPRINTF@ GL_GNULIB_DUP = @GL_GNULIB_DUP@ GL_GNULIB_DUP2 = @GL_GNULIB_DUP2@ GL_GNULIB_DUP3 = @GL_GNULIB_DUP3@ GL_GNULIB_DUPLOCALE = @GL_GNULIB_DUPLOCALE@ +GL_GNULIB_DZPRINTF = @GL_GNULIB_DZPRINTF@ GL_GNULIB_ENVIRON = @GL_GNULIB_ENVIRON@ GL_GNULIB_EUIDACCESS = @GL_GNULIB_EUIDACCESS@ GL_GNULIB_EXECL = @GL_GNULIB_EXECL@ @@ -546,6 +586,7 @@ GL_GNULIB_FCLOSE = @GL_GNULIB_FCLOSE@ GL_GNULIB_FCNTL = @GL_GNULIB_FCNTL@ GL_GNULIB_FDATASYNC = @GL_GNULIB_FDATASYNC@ GL_GNULIB_FDOPEN = @GL_GNULIB_FDOPEN@ +GL_GNULIB_FDOPENDIR = @GL_GNULIB_FDOPENDIR@ GL_GNULIB_FFLUSH = @GL_GNULIB_FFLUSH@ GL_GNULIB_FFSL = @GL_GNULIB_FFSL@ GL_GNULIB_FFSLL = @GL_GNULIB_FFSLL@ @@ -584,6 +625,7 @@ GL_GNULIB_FTELLO = @GL_GNULIB_FTELLO@ GL_GNULIB_FTRUNCATE = @GL_GNULIB_FTRUNCATE@ GL_GNULIB_FUTIMENS = @GL_GNULIB_FUTIMENS@ GL_GNULIB_FWRITE = @GL_GNULIB_FWRITE@ +GL_GNULIB_FZPRINTF = @GL_GNULIB_FZPRINTF@ GL_GNULIB_GETC = @GL_GNULIB_GETC@ GL_GNULIB_GETCHAR = @GL_GNULIB_GETCHAR@ GL_GNULIB_GETCWD = @GL_GNULIB_GETCWD@ @@ -601,6 +643,9 @@ GL_GNULIB_GETOPT_POSIX = @GL_GNULIB_GETOPT_POSIX@ GL_GNULIB_GETPAGESIZE = @GL_GNULIB_GETPAGESIZE@ GL_GNULIB_GETPASS = @GL_GNULIB_GETPASS@ GL_GNULIB_GETPASS_GNU = @GL_GNULIB_GETPASS_GNU@ +GL_GNULIB_GETPAYLOAD = @GL_GNULIB_GETPAYLOAD@ +GL_GNULIB_GETPAYLOADF = @GL_GNULIB_GETPAYLOADF@ +GL_GNULIB_GETPAYLOADL = @GL_GNULIB_GETPAYLOADL@ GL_GNULIB_GETPEERNAME = @GL_GNULIB_GETPEERNAME@ GL_GNULIB_GETPROGNAME = @GL_GNULIB_GETPROGNAME@ GL_GNULIB_GETSOCKNAME = @GL_GNULIB_GETSOCKNAME@ @@ -662,6 +707,9 @@ GL_GNULIB_LOGBF = @GL_GNULIB_LOGBF@ GL_GNULIB_LOGBL = @GL_GNULIB_LOGBL@ GL_GNULIB_LOGF = @GL_GNULIB_LOGF@ GL_GNULIB_LOGL = @GL_GNULIB_LOGL@ +GL_GNULIB_LOGP1 = @GL_GNULIB_LOGP1@ +GL_GNULIB_LOGP1F = @GL_GNULIB_LOGP1F@ +GL_GNULIB_LOGP1L = @GL_GNULIB_LOGP1L@ GL_GNULIB_LSEEK = @GL_GNULIB_LSEEK@ GL_GNULIB_LSTAT = @GL_GNULIB_LSTAT@ GL_GNULIB_MALLOC_GNU = @GL_GNULIB_MALLOC_GNU@ @@ -765,8 +813,10 @@ GL_GNULIB_NL_LANGINFO = @GL_GNULIB_NL_LANGINFO@ GL_GNULIB_NONBLOCKING = @GL_GNULIB_NONBLOCKING@ GL_GNULIB_OBSTACK_PRINTF = @GL_GNULIB_OBSTACK_PRINTF@ GL_GNULIB_OBSTACK_PRINTF_POSIX = @GL_GNULIB_OBSTACK_PRINTF_POSIX@ +GL_GNULIB_OBSTACK_ZPRINTF = @GL_GNULIB_OBSTACK_ZPRINTF@ GL_GNULIB_OPEN = @GL_GNULIB_OPEN@ GL_GNULIB_OPENAT = @GL_GNULIB_OPENAT@ +GL_GNULIB_OPENDIR = @GL_GNULIB_OPENDIR@ GL_GNULIB_OVERRIDES_STRUCT_STAT = @GL_GNULIB_OVERRIDES_STRUCT_STAT@ GL_GNULIB_PCLOSE = @GL_GNULIB_PCLOSE@ GL_GNULIB_PERROR = @GL_GNULIB_PERROR@ @@ -803,6 +853,7 @@ GL_GNULIB_RANDOM = @GL_GNULIB_RANDOM@ GL_GNULIB_RANDOM_R = @GL_GNULIB_RANDOM_R@ GL_GNULIB_RAWMEMCHR = @GL_GNULIB_RAWMEMCHR@ GL_GNULIB_READ = @GL_GNULIB_READ@ +GL_GNULIB_READDIR = @GL_GNULIB_READDIR@ GL_GNULIB_READLINK = @GL_GNULIB_READLINK@ GL_GNULIB_READLINKAT = @GL_GNULIB_READLINKAT@ GL_GNULIB_REALLOCARRAY = @GL_GNULIB_REALLOCARRAY@ @@ -817,6 +868,7 @@ GL_GNULIB_REMAINDERL = @GL_GNULIB_REMAINDERL@ GL_GNULIB_REMOVE = @GL_GNULIB_REMOVE@ GL_GNULIB_RENAME = @GL_GNULIB_RENAME@ GL_GNULIB_RENAMEAT = @GL_GNULIB_RENAMEAT@ +GL_GNULIB_REWINDDIR = @GL_GNULIB_REWINDDIR@ GL_GNULIB_RINT = @GL_GNULIB_RINT@ GL_GNULIB_RINTF = @GL_GNULIB_RINTF@ GL_GNULIB_RINTL = @GL_GNULIB_RINTL@ @@ -825,6 +877,7 @@ GL_GNULIB_ROUND = @GL_GNULIB_ROUND@ GL_GNULIB_ROUNDF = @GL_GNULIB_ROUNDF@ GL_GNULIB_ROUNDL = @GL_GNULIB_ROUNDL@ GL_GNULIB_RPMATCH = @GL_GNULIB_RPMATCH@ +GL_GNULIB_SCANDIR = @GL_GNULIB_SCANDIR@ GL_GNULIB_SCANF = @GL_GNULIB_SCANF@ GL_GNULIB_SCHED_YIELD = @GL_GNULIB_SCHED_YIELD@ GL_GNULIB_SECURE_GETENV = @GL_GNULIB_SECURE_GETENV@ @@ -835,8 +888,15 @@ GL_GNULIB_SETENV = @GL_GNULIB_SETENV@ GL_GNULIB_SETHOSTNAME = @GL_GNULIB_SETHOSTNAME@ GL_GNULIB_SETLOCALE = @GL_GNULIB_SETLOCALE@ GL_GNULIB_SETLOCALE_NULL = @GL_GNULIB_SETLOCALE_NULL@ +GL_GNULIB_SETPAYLOAD = @GL_GNULIB_SETPAYLOAD@ +GL_GNULIB_SETPAYLOADF = @GL_GNULIB_SETPAYLOADF@ +GL_GNULIB_SETPAYLOADL = @GL_GNULIB_SETPAYLOADL@ +GL_GNULIB_SETPAYLOADSIG = @GL_GNULIB_SETPAYLOADSIG@ +GL_GNULIB_SETPAYLOADSIGF = @GL_GNULIB_SETPAYLOADSIGF@ +GL_GNULIB_SETPAYLOADSIGL = @GL_GNULIB_SETPAYLOADSIGL@ GL_GNULIB_SETSOCKOPT = @GL_GNULIB_SETSOCKOPT@ GL_GNULIB_SHUTDOWN = @GL_GNULIB_SHUTDOWN@ +GL_GNULIB_SIG2STR = @GL_GNULIB_SIG2STR@ GL_GNULIB_SIGABBREV_NP = @GL_GNULIB_SIGABBREV_NP@ GL_GNULIB_SIGACTION = @GL_GNULIB_SIGACTION@ GL_GNULIB_SIGDESCR_NP = @GL_GNULIB_SIGDESCR_NP@ @@ -848,10 +908,12 @@ GL_GNULIB_SINHF = @GL_GNULIB_SINHF@ GL_GNULIB_SINL = @GL_GNULIB_SINL@ GL_GNULIB_SLEEP = @GL_GNULIB_SLEEP@ GL_GNULIB_SNPRINTF = @GL_GNULIB_SNPRINTF@ +GL_GNULIB_SNZPRINTF = @GL_GNULIB_SNZPRINTF@ GL_GNULIB_SOCKET = @GL_GNULIB_SOCKET@ GL_GNULIB_SPRINTF_POSIX = @GL_GNULIB_SPRINTF_POSIX@ GL_GNULIB_SQRTF = @GL_GNULIB_SQRTF@ GL_GNULIB_SQRTL = @GL_GNULIB_SQRTL@ +GL_GNULIB_STACK_TRACE = @GL_GNULIB_STACK_TRACE@ GL_GNULIB_STAT = @GL_GNULIB_STAT@ GL_GNULIB_STDIO_H_NONBLOCKING = @GL_GNULIB_STDIO_H_NONBLOCKING@ GL_GNULIB_STDIO_H_SIGPIPE = @GL_GNULIB_STDIO_H_SIGPIPE@ @@ -886,6 +948,7 @@ GL_GNULIB_STRVERSCMP = @GL_GNULIB_STRVERSCMP@ GL_GNULIB_SYMLINK = @GL_GNULIB_SYMLINK@ GL_GNULIB_SYMLINKAT = @GL_GNULIB_SYMLINKAT@ GL_GNULIB_SYSTEM_POSIX = @GL_GNULIB_SYSTEM_POSIX@ +GL_GNULIB_SZPRINTF = @GL_GNULIB_SZPRINTF@ GL_GNULIB_TANF = @GL_GNULIB_TANF@ GL_GNULIB_TANHF = @GL_GNULIB_TANHF@ GL_GNULIB_TANL = @GL_GNULIB_TANL@ @@ -899,12 +962,16 @@ GL_GNULIB_TMPFILE = @GL_GNULIB_TMPFILE@ GL_GNULIB_TOTALORDER = @GL_GNULIB_TOTALORDER@ GL_GNULIB_TOTALORDERF = @GL_GNULIB_TOTALORDERF@ GL_GNULIB_TOTALORDERL = @GL_GNULIB_TOTALORDERL@ +GL_GNULIB_TOTALORDERMAG = @GL_GNULIB_TOTALORDERMAG@ +GL_GNULIB_TOTALORDERMAGF = @GL_GNULIB_TOTALORDERMAGF@ +GL_GNULIB_TOTALORDERMAGL = @GL_GNULIB_TOTALORDERMAGL@ GL_GNULIB_TOWCTRANS = @GL_GNULIB_TOWCTRANS@ GL_GNULIB_TRUNC = @GL_GNULIB_TRUNC@ GL_GNULIB_TRUNCATE = @GL_GNULIB_TRUNCATE@ GL_GNULIB_TRUNCF = @GL_GNULIB_TRUNCF@ GL_GNULIB_TRUNCL = @GL_GNULIB_TRUNCL@ GL_GNULIB_TTYNAME_R = @GL_GNULIB_TTYNAME_R@ +GL_GNULIB_TZNAME = @GL_GNULIB_TZNAME@ GL_GNULIB_TZSET = @GL_GNULIB_TZSET@ GL_GNULIB_UNICASE_EMPTY_PREFIX_CONTEXT_DLL_VARIABLE = @GL_GNULIB_UNICASE_EMPTY_PREFIX_CONTEXT_DLL_VARIABLE@ GL_GNULIB_UNICASE_EMPTY_SUFFIX_CONTEXT_DLL_VARIABLE = @GL_GNULIB_UNICASE_EMPTY_SUFFIX_CONTEXT_DLL_VARIABLE@ @@ -1009,6 +1076,7 @@ GL_GNULIB_UNICTYPE_PROPERTY_LINE_SEPARATOR_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PR GL_GNULIB_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_LOWERCASE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_LOWERCASE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_MATH_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_MATH_DLL_VARIABLE@ +GL_GNULIB_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_NON_BREAK_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_NON_BREAK_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_NOT_A_CHARACTER_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_NOT_A_CHARACTER_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_NUMERIC_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_NUMERIC_DLL_VARIABLE@ @@ -1058,15 +1126,21 @@ GL_GNULIB_UNSETENV = @GL_GNULIB_UNSETENV@ GL_GNULIB_USLEEP = @GL_GNULIB_USLEEP@ GL_GNULIB_UTIMENSAT = @GL_GNULIB_UTIMENSAT@ GL_GNULIB_VASPRINTF = @GL_GNULIB_VASPRINTF@ +GL_GNULIB_VASZPRINTF = @GL_GNULIB_VASZPRINTF@ GL_GNULIB_VDPRINTF = @GL_GNULIB_VDPRINTF@ +GL_GNULIB_VDZPRINTF = @GL_GNULIB_VDZPRINTF@ GL_GNULIB_VFPRINTF = @GL_GNULIB_VFPRINTF@ GL_GNULIB_VFPRINTF_POSIX = @GL_GNULIB_VFPRINTF_POSIX@ GL_GNULIB_VFSCANF = @GL_GNULIB_VFSCANF@ +GL_GNULIB_VFZPRINTF = @GL_GNULIB_VFZPRINTF@ GL_GNULIB_VPRINTF = @GL_GNULIB_VPRINTF@ GL_GNULIB_VPRINTF_POSIX = @GL_GNULIB_VPRINTF_POSIX@ GL_GNULIB_VSCANF = @GL_GNULIB_VSCANF@ GL_GNULIB_VSNPRINTF = @GL_GNULIB_VSNPRINTF@ +GL_GNULIB_VSNZPRINTF = @GL_GNULIB_VSNZPRINTF@ GL_GNULIB_VSPRINTF_POSIX = @GL_GNULIB_VSPRINTF_POSIX@ +GL_GNULIB_VSZPRINTF = @GL_GNULIB_VSZPRINTF@ +GL_GNULIB_VZPRINTF = @GL_GNULIB_VZPRINTF@ GL_GNULIB_WCPCPY = @GL_GNULIB_WCPCPY@ GL_GNULIB_WCPNCPY = @GL_GNULIB_WCPNCPY@ GL_GNULIB_WCRTOMB = @GL_GNULIB_WCRTOMB@ @@ -1107,6 +1181,7 @@ GL_GNULIB_WMEMMOVE = @GL_GNULIB_WMEMMOVE@ GL_GNULIB_WMEMPCPY = @GL_GNULIB_WMEMPCPY@ GL_GNULIB_WMEMSET = @GL_GNULIB_WMEMSET@ GL_GNULIB_WRITE = @GL_GNULIB_WRITE@ +GL_GNULIB_ZPRINTF = @GL_GNULIB_ZPRINTF@ GL_GNULIB__EXIT = @GL_GNULIB__EXIT@ GNULIBHEADERS_OVERRIDE_CHAR16_T = @GNULIBHEADERS_OVERRIDE_CHAR16_T@ GNULIBHEADERS_OVERRIDE_CHAR32_T = @GNULIBHEADERS_OVERRIDE_CHAR32_T@ @@ -1119,6 +1194,7 @@ HAVE_ACOSF = @HAVE_ACOSF@ HAVE_ACOSL = @HAVE_ACOSL@ HAVE_ALIGNED_ALLOC = @HAVE_ALIGNED_ALLOC@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ +HAVE_ALPHASORT = @HAVE_ALPHASORT@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ASINF = @HAVE_ASINF@ HAVE_ASINL = @HAVE_ASINL@ @@ -1134,6 +1210,7 @@ HAVE_CBRT = @HAVE_CBRT@ HAVE_CBRTF = @HAVE_CBRTF@ HAVE_CBRTL = @HAVE_CBRTL@ HAVE_CHOWN = @HAVE_CHOWN@ +HAVE_CLOSEDIR = @HAVE_CLOSEDIR@ HAVE_COPYSIGN = @HAVE_COPYSIGN@ HAVE_COPYSIGNL = @HAVE_COPYSIGNL@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ @@ -1150,6 +1227,7 @@ HAVE_DECL_CEILF = @HAVE_DECL_CEILF@ HAVE_DECL_CEILL = @HAVE_DECL_CEILL@ HAVE_DECL_COPYSIGNF = @HAVE_DECL_COPYSIGNF@ HAVE_DECL_COSL = @HAVE_DECL_COSL@ +HAVE_DECL_DIRFD = @HAVE_DECL_DIRFD@ HAVE_DECL_ECVT = @HAVE_DECL_ECVT@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXECVPE = @HAVE_DECL_EXECVPE@ @@ -1162,6 +1240,7 @@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FCLOSEALL = @HAVE_DECL_FCLOSEALL@ HAVE_DECL_FCVT = @HAVE_DECL_FCVT@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ +HAVE_DECL_FDOPENDIR = @HAVE_DECL_FDOPENDIR@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ @@ -1178,6 +1257,8 @@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_GETW = @HAVE_DECL_GETW@ +HAVE_DECL_HTONL = @HAVE_DECL_HTONL@ +HAVE_DECL_HTONS = @HAVE_DECL_HTONS@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ @@ -1193,6 +1274,8 @@ HAVE_DECL_LOGB = @HAVE_DECL_LOGB@ HAVE_DECL_LOGL = @HAVE_DECL_LOGL@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ +HAVE_DECL_NTOHL = @HAVE_DECL_NTOHL@ +HAVE_DECL_NTOHS = @HAVE_DECL_NTOHS@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_PROGRAM_INVOCATION_NAME = @HAVE_DECL_PROGRAM_INVOCATION_NAME@ HAVE_DECL_PUTW = @HAVE_DECL_PUTW@ @@ -1227,6 +1310,7 @@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCSDUP = @HAVE_DECL_WCSDUP@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ +HAVE_DIRENT_H = @HAVE_DIRENT_H@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_DUPLOCALE = @HAVE_DUPLOCALE@ @@ -1248,6 +1332,7 @@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ +HAVE_FDOPENDIR = @HAVE_FDOPENDIR@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ @@ -1271,6 +1356,9 @@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ +HAVE_GETPAYLOAD = @HAVE_GETPAYLOAD@ +HAVE_GETPAYLOADF = @HAVE_GETPAYLOADF@ +HAVE_GETPAYLOADL = @HAVE_GETPAYLOADL@ HAVE_GETPROGNAME = @HAVE_GETPROGNAME@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETTIMEOFDAY = @HAVE_GETTIMEOFDAY@ @@ -1314,6 +1402,9 @@ HAVE_LOGBF = @HAVE_LOGBF@ HAVE_LOGBL = @HAVE_LOGBL@ HAVE_LOGF = @HAVE_LOGF@ HAVE_LOGL = @HAVE_LOGL@ +HAVE_LOGP1 = @HAVE_LOGP1@ +HAVE_LOGP1F = @HAVE_LOGP1F@ +HAVE_LOGP1L = @HAVE_LOGP1L@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ @@ -1344,7 +1435,9 @@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_NEWLOCALE = @HAVE_NEWLOCALE@ HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ +HAVE_OFF64_T = @HAVE_OFF64_T@ HAVE_OPENAT = @HAVE_OPENAT@ +HAVE_OPENDIR = @HAVE_OPENDIR@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ @@ -1424,6 +1517,7 @@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ +HAVE_READDIR = @HAVE_READDIR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ @@ -1431,17 +1525,26 @@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_REMAINDER = @HAVE_REMAINDER@ HAVE_REMAINDERF = @HAVE_REMAINDERF@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ +HAVE_REWINDDIR = @HAVE_REWINDDIR@ HAVE_RINT = @HAVE_RINT@ HAVE_RINTL = @HAVE_RINTL@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = @HAVE_SAME_LONG_DOUBLE_AS_DOUBLE@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ +HAVE_SCANDIR = @HAVE_SCANDIR@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ +HAVE_SETPAYLOAD = @HAVE_SETPAYLOAD@ +HAVE_SETPAYLOADF = @HAVE_SETPAYLOADF@ +HAVE_SETPAYLOADL = @HAVE_SETPAYLOADL@ +HAVE_SETPAYLOADSIG = @HAVE_SETPAYLOADSIG@ +HAVE_SETPAYLOADSIGF = @HAVE_SETPAYLOADSIGF@ +HAVE_SETPAYLOADSIGL = @HAVE_SETPAYLOADSIGL@ HAVE_SETSTATE = @HAVE_SETSTATE@ +HAVE_SIG2STR = @HAVE_SIG2STR@ HAVE_SIGABBREV_NP = @HAVE_SIGABBREV_NP@ HAVE_SIGACTION = @HAVE_SIGACTION@ HAVE_SIGDESCR_NP = @HAVE_SIGDESCR_NP@ @@ -1460,6 +1563,7 @@ HAVE_SQRTL = @HAVE_SQRTL@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ +HAVE_STR2SIG = @HAVE_STR2SIG@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRERRORNAME_NP = @HAVE_STRERRORNAME_NP@ @@ -1503,7 +1607,11 @@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TOTALORDER = @HAVE_TOTALORDER@ HAVE_TOTALORDERF = @HAVE_TOTALORDERF@ HAVE_TOTALORDERL = @HAVE_TOTALORDERL@ +HAVE_TOTALORDERMAG = @HAVE_TOTALORDERMAG@ +HAVE_TOTALORDERMAGF = @HAVE_TOTALORDERMAGF@ +HAVE_TOTALORDERMAGL = @HAVE_TOTALORDERMAGL@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ +HAVE_TZALLOC = @HAVE_TZALLOC@ HAVE_UCHAR_H = @HAVE_UCHAR_H@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNISTRING_WOE32DLL_H = @HAVE_UNISTRING_WOE32DLL_H@ @@ -1515,7 +1623,6 @@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ -HAVE_WCHAR_T = @HAVE_WCHAR_T@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ @@ -1554,6 +1661,7 @@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMPCPY = @HAVE_WMEMPCPY@ HAVE_WMEMSET = @HAVE_WMEMSET@ +HAVE_WORKING_C32RTOMB = @HAVE_WORKING_C32RTOMB@ HAVE_WORKING_MBRTOC32 = @HAVE_WORKING_MBRTOC32@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE_XLOCALE_H = @HAVE_XLOCALE_H@ @@ -1619,6 +1727,7 @@ LN_S = @LN_S@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ LOCALENAME_ENHANCE_LOCALE_FUNCS = @LOCALENAME_ENHANCE_LOCALE_FUNCS@ LOCALE_AR = @LOCALE_AR@ +LOCALE_EN_UTF8 = @LOCALE_EN_UTF8@ LOCALE_FR = @LOCALE_FR@ LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ LOCALE_JA = @LOCALE_JA@ @@ -1648,6 +1757,7 @@ NEXT_ASSERT_H = @NEXT_ASSERT_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ASSERT_H = @NEXT_AS_FIRST_DIRECTIVE_ASSERT_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ +NEXT_AS_FIRST_DIRECTIVE_DIRENT_H = @NEXT_AS_FIRST_DIRECTIVE_DIRENT_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_ERROR_H = @NEXT_AS_FIRST_DIRECTIVE_ERROR_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ @@ -1680,6 +1790,7 @@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ +NEXT_DIRENT_H = @NEXT_DIRENT_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_ERROR_H = @NEXT_ERROR_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ @@ -1713,6 +1824,7 @@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ NM = @NM@ NMEDIT = @NMEDIT@ +NULLPTR_T_NEEDS_STDDEF = @NULLPTR_T_NEEDS_STDDEF@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ @@ -1735,6 +1847,7 @@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ RC = @RC@ RELOCATABLE = @RELOCATABLE@ +REPLACE_ABORT = @REPLACE_ABORT@ REPLACE_ACCESS = @REPLACE_ACCESS@ REPLACE_ACOSF = @REPLACE_ACOSF@ REPLACE_ALIGNED_ALLOC = @REPLACE_ALIGNED_ALLOC@ @@ -1754,11 +1867,13 @@ REPLACE_CEILL = @REPLACE_CEILL@ REPLACE_CHMOD = @REPLACE_CHMOD@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ +REPLACE_CLOSEDIR = @REPLACE_CLOSEDIR@ REPLACE_COPY_FILE_RANGE = @REPLACE_COPY_FILE_RANGE@ REPLACE_COSF = @REPLACE_COSF@ REPLACE_COSHF = @REPLACE_COSHF@ REPLACE_CREAT = @REPLACE_CREAT@ REPLACE_CTIME = @REPLACE_CTIME@ +REPLACE_DIRFD = @REPLACE_DIRFD@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ @@ -1789,6 +1904,7 @@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDATASYNC = @REPLACE_FDATASYNC@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ +REPLACE_FDOPENDIR = @REPLACE_FDOPENDIR@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FFSLL = @REPLACE_FFSLL@ REPLACE_FLOOR = @REPLACE_FLOOR@ @@ -1830,9 +1946,13 @@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETPASS_FOR_GETPASS_GNU = @REPLACE_GETPASS_FOR_GETPASS_GNU@ +REPLACE_GETPAYLOAD = @REPLACE_GETPAYLOAD@ +REPLACE_GETPAYLOADF = @REPLACE_GETPAYLOADF@ +REPLACE_GETPAYLOADL = @REPLACE_GETPAYLOADL@ REPLACE_GETPROGNAME = @REPLACE_GETPROGNAME@ REPLACE_GETSUBOPT = @REPLACE_GETSUBOPT@ REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@ +REPLACE_GETUSERSHELL = @REPLACE_GETUSERSHELL@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_HUGE_VAL = @REPLACE_HUGE_VAL@ REPLACE_HYPOT = @REPLACE_HYPOT@ @@ -1868,6 +1988,7 @@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALECONV = @REPLACE_LOCALECONV@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ +REPLACE_LOCALTIME_RZ = @REPLACE_LOCALTIME_RZ@ REPLACE_LOG = @REPLACE_LOG@ REPLACE_LOG10 = @REPLACE_LOG10@ REPLACE_LOG10F = @REPLACE_LOG10F@ @@ -1911,6 +2032,7 @@ REPLACE_MKOSTEMP = @REPLACE_MKOSTEMP@ REPLACE_MKOSTEMPS = @REPLACE_MKOSTEMPS@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ +REPLACE_MKTIME_Z = @REPLACE_MKTIME_Z@ REPLACE_MODF = @REPLACE_MODF@ REPLACE_MODFF = @REPLACE_MODFF@ REPLACE_MODFL = @REPLACE_MODFL@ @@ -1922,6 +2044,7 @@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ +REPLACE_OPENDIR = @REPLACE_OPENDIR@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_PIPE2 = @REPLACE_PIPE2@ REPLACE_POPEN = @REPLACE_POPEN@ @@ -1992,6 +2115,7 @@ REPLACE_RAND = @REPLACE_RAND@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ +REPLACE_READDIR = @REPLACE_READDIR@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOCARRAY = @REPLACE_REALLOCARRAY@ @@ -2004,6 +2128,7 @@ REPLACE_REMAINDERL = @REPLACE_REMAINDERL@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ +REPLACE_REWINDDIR = @REPLACE_REWINDDIR@ REPLACE_RINTL = @REPLACE_RINTL@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_ROUND = @REPLACE_ROUND@ @@ -2066,6 +2191,9 @@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TOTALORDER = @REPLACE_TOTALORDER@ REPLACE_TOTALORDERF = @REPLACE_TOTALORDERF@ REPLACE_TOTALORDERL = @REPLACE_TOTALORDERL@ +REPLACE_TOTALORDERMAG = @REPLACE_TOTALORDERMAG@ +REPLACE_TOTALORDERMAGF = @REPLACE_TOTALORDERMAGF@ +REPLACE_TOTALORDERMAGL = @REPLACE_TOTALORDERMAGL@ REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ @@ -2114,6 +2242,7 @@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ SMALL_WCHAR_T = @SMALL_WCHAR_T@ STDCKDINT_H = @STDCKDINT_H@ STDDEF_H = @STDDEF_H@ +STDDEF_NOT_IDEMPOTENT = @STDDEF_NOT_IDEMPOTENT@ STDINT_H = @STDINT_H@ STRIP = @STRIP@ SYS_IOCTL_H_HAVE_WINSOCK2_H = @SYS_IOCTL_H_HAVE_WINSOCK2_H@ @@ -2152,8 +2281,10 @@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ +am__rm_f_notfound = @am__rm_f_notfound@ am__tar = @am__tar@ am__untar = @am__untar@ +am__xargs_n = @am__xargs_n@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ @@ -2193,6 +2324,8 @@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ +reloc_final_prefix_c = @reloc_final_prefix_c@ +reloc_final_prefix_c_make = @reloc_final_prefix_c_make@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ @@ -2298,13 +2431,13 @@ clean-libtool: .texi.dvi: $(AM_V_TEXI2DVI)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \ - $(TEXI2DVI) $(AM_V_texinfo) --build-dir=$(@:.dvi=.t2d) -o $@ $(AM_V_texidevnull) \ + $(TEXI2DVI) $(AM_TEXI2FLAGS) -I $(srcdir) $(AM_V_texinfo) --build-dir=$(@:.dvi=.t2d) -o $@ $(AM_V_texidevnull) \ $< .texi.pdf: $(AM_V_TEXI2PDF)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \ - $(TEXI2PDF) $(AM_V_texinfo) --build-dir=$(@:.pdf=.t2p) -o $@ $(AM_V_texidevnull) \ + $(TEXI2PDF) $(AM_TEXI2FLAGS) -I $(srcdir) $(AM_V_texinfo) --build-dir=$(@:.pdf=.t2p) -o $@ $(AM_V_texidevnull) \ $< .texi.html: @@ -2407,11 +2540,10 @@ dist-info: $(INFO_DEPS) done mostlyclean-aminfo: - -rm -rf libunistring.t2d libunistring.t2p + -$(am__rm_rf) libunistring.t2d libunistring.t2p clean-aminfo: - -test -z "libunistring.dvi libunistring.pdf libunistring.ps libunistring.html" \ - || rm -rf libunistring.dvi libunistring.pdf libunistring.ps libunistring.html + -$(am__rm_rf) libunistring.dvi libunistring.pdf libunistring.ps libunistring.html maintainer-clean-aminfo: @list='$(INFO_DEPS)'; for i in $$list; do \ @@ -2488,18 +2620,18 @@ install-strip: "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: - -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) + -$(am__rm_f) $(MOSTLYCLEANFILES) clean-generic: distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -$(am__rm_f) $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) + -$(am__rm_f) $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-aminfo clean-generic clean-libtool mostlyclean-am @@ -2802,3 +2934,10 @@ dist-html-split: libunistring_toc.html # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: + +# Tell GNU make to disable its built-in pattern rules. +%:: %,v +%:: RCS/%,v +%:: RCS/% +%:: s.% +%:: SCCS/s.% diff --git a/doc/libunistring.info b/doc/libunistring.info index 32de75c4..af5354f1 100644 --- a/doc/libunistring.info +++ b/doc/libunistring.info @@ -2513,6 +2513,7 @@ two contexts of right-joining characters. -- Constant: int UC_JOINING_GROUP_HANIFI_ROHINGYA_KINNA_YA -- Constant: int UC_JOINING_GROUP_THIN_YEH -- Constant: int UC_JOINING_GROUP_VERTICAL_TAIL + -- Constant: int UC_JOINING_GROUP_KASHMIRI_YEH The following functions implement the association between a joining group and its name. @@ -2619,6 +2620,7 @@ File: libunistring.info, Node: Properties as objects, Next: Properties as func -- Constant: uc_property_t UC_PROPERTY_GRAPHEME_EXTEND -- Constant: uc_property_t UC_PROPERTY_OTHER_GRAPHEME_EXTEND -- Constant: uc_property_t UC_PROPERTY_GRAPHEME_LINK + -- Constant: uc_property_t UC_PROPERTY_MODIFIER_COMBINING_MARK The following properties relate to bidirectional reordering. @@ -2778,6 +2780,7 @@ File: libunistring.info, Node: Properties as functions, Prev: Properties as ob -- Function: bool uc_is_property_grapheme_extend (ucs4_t UC) -- Function: bool uc_is_property_other_grapheme_extend (ucs4_t UC) -- Function: bool uc_is_property_grapheme_link (ucs4_t UC) + -- Function: bool uc_is_property_modifier_combining_mark (ucs4_t UC) The following properties relate to bidirectional reordering. @@ -6659,45 +6662,45 @@ Index * uc_is_print: Classifications like in ISO C. (line 40) * uc_is_property: Properties as objects. - (line 164) + (line 165) * uc_is_property_alphabetic: Properties as functions. (line 9) * uc_is_property_ascii_hex_digit: Properties as functions. - (line 82) + (line 83) * uc_is_property_bidi_arabic_digit: Properties as functions. - (line 68) + (line 69) * uc_is_property_bidi_arabic_right_to_left: Properties as functions. - (line 64) + (line 65) * uc_is_property_bidi_block_separator: Properties as functions. - (line 70) + (line 71) * uc_is_property_bidi_boundary_neutral: Properties as functions. - (line 74) + (line 75) * uc_is_property_bidi_common_separator: Properties as functions. - (line 69) + (line 70) * uc_is_property_bidi_control: Properties as functions. - (line 61) + (line 62) * uc_is_property_bidi_embedding_or_override: Properties as functions. - (line 76) + (line 77) * uc_is_property_bidi_european_digit: Properties as functions. - (line 65) -* uc_is_property_bidi_eur_num_separator: Properties as functions. (line 66) -* uc_is_property_bidi_eur_num_terminator: Properties as functions. +* uc_is_property_bidi_eur_num_separator: Properties as functions. (line 67) +* uc_is_property_bidi_eur_num_terminator: Properties as functions. + (line 68) * uc_is_property_bidi_hebrew_right_to_left: Properties as functions. - (line 63) + (line 64) * uc_is_property_bidi_left_to_right: Properties as functions. - (line 62) + (line 63) * uc_is_property_bidi_non_spacing_mark: Properties as functions. - (line 73) + (line 74) * uc_is_property_bidi_other_neutral: Properties as functions. - (line 77) + (line 78) * uc_is_property_bidi_pdf: Properties as functions. - (line 75) + (line 76) * uc_is_property_bidi_segment_separator: Properties as functions. - (line 71) -* uc_is_property_bidi_whitespace: Properties as functions. (line 72) +* uc_is_property_bidi_whitespace: Properties as functions. + (line 73) * uc_is_property_cased: Properties as functions. (line 29) * uc_is_property_case_ignorable: Properties as functions. @@ -6713,37 +6716,37 @@ Index * uc_is_property_changes_when_uppercased: Properties as functions. (line 32) * uc_is_property_combining: Properties as functions. - (line 124) -* uc_is_property_composite: Properties as functions. (line 125) +* uc_is_property_composite: Properties as functions. + (line 126) * uc_is_property_currency_symbol: Properties as functions. - (line 119) + (line 120) * uc_is_property_dash: Properties as functions. - (line 111) + (line 112) * uc_is_property_decimal_digit: Properties as functions. - (line 126) + (line 127) * uc_is_property_default_ignorable_code_point: Properties as functions. (line 12) * uc_is_property_deprecated: Properties as functions. (line 16) * uc_is_property_diacritic: Properties as functions. - (line 128) + (line 129) * uc_is_property_emoji: Properties as functions. - (line 95) + (line 96) * uc_is_property_emoji_component: Properties as functions. - (line 99) + (line 100) * uc_is_property_emoji_modifier: Properties as functions. - (line 97) -* uc_is_property_emoji_modifier_base: Properties as functions. (line 98) +* uc_is_property_emoji_modifier_base: Properties as functions. + (line 99) * uc_is_property_emoji_presentation: Properties as functions. - (line 96) + (line 97) * uc_is_property_extended_pictographic: Properties as functions. - (line 100) + (line 101) * uc_is_property_extender: Properties as functions. - (line 129) + (line 130) * uc_is_property_format_control: Properties as functions. - (line 108) + (line 109) * uc_is_property_grapheme_base: Properties as functions. (line 54) * uc_is_property_grapheme_extend: Properties as functions. @@ -6751,17 +6754,17 @@ Index * uc_is_property_grapheme_link: Properties as functions. (line 57) * uc_is_property_hex_digit: Properties as functions. - (line 81) + (line 82) * uc_is_property_hyphen: Properties as functions. - (line 112) + (line 113) * uc_is_property_ideographic: Properties as functions. - (line 86) + (line 87) * uc_is_property_ids_binary_operator: Properties as functions. - (line 90) -* uc_is_property_ids_trinary_operator: Properties as functions. (line 91) +* uc_is_property_ids_trinary_operator: Properties as functions. + (line 92) * uc_is_property_ids_unary_operator: Properties as functions. - (line 89) + (line 90) * uc_is_property_id_compat_math_continue: Properties as functions. (line 47) * uc_is_property_id_compat_math_start: Properties as functions. @@ -6771,27 +6774,29 @@ Index * uc_is_property_id_start: Properties as functions. (line 40) * uc_is_property_ignorable_control: Properties as functions. - (line 130) + (line 131) * uc_is_property_iso_control: Properties as functions. - (line 107) + (line 108) * uc_is_property_join_control: Properties as functions. (line 53) * uc_is_property_left_of_pair: Properties as functions. - (line 123) + (line 124) * uc_is_property_line_separator: Properties as functions. - (line 114) + (line 115) * uc_is_property_logical_order_exception: Properties as functions. (line 17) * uc_is_property_lowercase: Properties as functions. (line 26) * uc_is_property_math: Properties as functions. - (line 120) + (line 121) +* uc_is_property_modifier_combining_mark: Properties as functions. + (line 58) * uc_is_property_non_break: Properties as functions. - (line 106) + (line 107) * uc_is_property_not_a_character: Properties as functions. (line 11) * uc_is_property_numeric: Properties as functions. - (line 127) + (line 128) * uc_is_property_other_alphabetic: Properties as functions. (line 10) * uc_is_property_other_default_ignorable_code_point: Properties as functions. @@ -6805,43 +6810,43 @@ Index * uc_is_property_other_lowercase: Properties as functions. (line 27) * uc_is_property_other_math: Properties as functions. - (line 121) + (line 122) * uc_is_property_other_uppercase: Properties as functions. (line 25) * uc_is_property_paired_punctuation: Properties as functions. - (line 122) + (line 123) * uc_is_property_paragraph_separator: Properties as functions. - (line 115) + (line 116) * uc_is_property_pattern_syntax: Properties as functions. (line 49) * uc_is_property_pattern_white_space: Properties as functions. (line 48) * uc_is_property_prepended_concatenation_mark: Properties as functions. - (line 109) + (line 110) * uc_is_property_private_use: Properties as functions. (line 19) * uc_is_property_punctuation: Properties as functions. - (line 113) + (line 114) * uc_is_property_quotation_mark: Properties as functions. - (line 116) + (line 117) * uc_is_property_radical: Properties as functions. - (line 88) + (line 89) * uc_is_property_regional_indicator: Properties as functions. - (line 131) + (line 132) * uc_is_property_sentence_terminal: Properties as functions. - (line 117) + (line 118) * uc_is_property_soft_dotted: Properties as functions. (line 36) * uc_is_property_space: Properties as functions. - (line 105) + (line 106) * uc_is_property_terminal_punctuation: Properties as functions. - (line 118) + (line 119) * uc_is_property_titlecase: Properties as functions. (line 28) * uc_is_property_unassigned_code_value: Properties as functions. (line 20) * uc_is_property_unified_ideograph: Properties as functions. - (line 87) + (line 88) * uc_is_property_uppercase: Properties as functions. (line 24) * uc_is_property_variation_selector: Properties as functions. @@ -6853,7 +6858,7 @@ Index * uc_is_property_xid_start: Properties as functions. (line 44) * uc_is_property_zero_width: Properties as functions. - (line 104) + (line 105) * uc_is_punct: Classifications like in ISO C. (line 43) * uc_is_script: Scripts. (line 30) @@ -6865,9 +6870,9 @@ Index (line 59) * uc_java_ident_category: ISO C and Java syntax. (line 42) -* uc_joining_group: Joining group. (line 132) -* uc_joining_group_byname: Joining group. (line 123) -* uc_joining_group_name: Joining group. (line 120) +* uc_joining_group: Joining group. (line 133) +* uc_joining_group_byname: Joining group. (line 124) +* uc_joining_group_name: Joining group. (line 121) * uc_joining_type: Joining type. (line 54) * uc_joining_type_byname: Joining type. (line 45) * uc_joining_type_long_name: Joining type. (line 42) @@ -6877,9 +6882,9 @@ Index * uc_mirror_char: Mirrored character. (line 13) * uc_numeric_value: Numeric value. (line 21) * uc_property_byname: Properties as objects. - (line 142) + (line 143) * uc_property_is_valid: Properties as objects. - (line 157) + (line 158) * uc_property_t: Properties as objects. (line 8) * uc_script: Scripts. (line 19) @@ -7035,50 +7040,50 @@ Node: Mirrored character95296 Node: Arabic shaping96510 Node: Joining type96983 Node: Joining group99133 -Node: Properties104945 -Node: Properties as objects105645 -Node: Properties as functions113379 -Node: Other attributes120183 -Node: Indic conjunct break120438 -Node: Scripts121729 -Node: Blocks123140 -Node: ISO C and Java syntax124483 -Node: Classifications like in ISO C126201 -Node: uniwidth.h129013 -Node: unigbrk.h131059 -Node: Grapheme cluster breaks in a string132553 -Node: Grapheme cluster break property135742 -Node: uniwbrk.h138068 -Node: Word breaks in a string138606 -Node: Word break property139698 -Node: unilbrk.h141026 -Node: uninorm.h145578 -Node: Decomposition of characters146215 -Node: Composition of characters149996 -Node: Normalization of strings150709 -Node: Normalizing comparisons152882 -Node: Normalization of streams155380 -Node: unicase.h157505 -Node: Case mappings of characters158194 -Node: Case mappings of strings160343 -Node: Case mappings of substrings163981 -Node: Case insensitive comparison171251 -Node: Case detection177089 -Node: uniregex.h180403 -Node: Using the library180630 -Node: Installation181041 -Node: Compiler options181529 -Node: Include files183169 -Node: Autoconf macro184809 -Node: Reporting problems186450 -Node: More functionality187260 -Node: The wchar_t mess187712 -Node: The char32_t problem190139 -Node: Licenses192514 -Node: GNU GPL194987 -Node: GNU LGPL232736 -Node: GNU FDL241220 -Node: Index266531 +Node: Properties104993 +Node: Properties as objects105693 +Node: Properties as functions113491 +Node: Other attributes120365 +Node: Indic conjunct break120620 +Node: Scripts121911 +Node: Blocks123322 +Node: ISO C and Java syntax124665 +Node: Classifications like in ISO C126383 +Node: uniwidth.h129195 +Node: unigbrk.h131241 +Node: Grapheme cluster breaks in a string132735 +Node: Grapheme cluster break property135924 +Node: uniwbrk.h138250 +Node: Word breaks in a string138788 +Node: Word break property139880 +Node: unilbrk.h141208 +Node: uninorm.h145760 +Node: Decomposition of characters146397 +Node: Composition of characters150178 +Node: Normalization of strings150891 +Node: Normalizing comparisons153064 +Node: Normalization of streams155562 +Node: unicase.h157687 +Node: Case mappings of characters158376 +Node: Case mappings of strings160525 +Node: Case mappings of substrings164163 +Node: Case insensitive comparison171433 +Node: Case detection177271 +Node: uniregex.h180585 +Node: Using the library180812 +Node: Installation181223 +Node: Compiler options181711 +Node: Include files183351 +Node: Autoconf macro184991 +Node: Reporting problems186632 +Node: More functionality187442 +Node: The wchar_t mess187894 +Node: The char32_t problem190321 +Node: Licenses192696 +Node: GNU GPL195169 +Node: GNU LGPL232918 +Node: GNU FDL241402 +Node: Index266713  End Tag Table diff --git a/doc/libunistring_1.html b/doc/libunistring_1.html index 06fdb6e2..5cf8ae27 100644 --- a/doc/libunistring_1.html +++ b/doc/libunistring_1.html @@ -1,6 +1,6 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + +