summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-10-20 15:22:21 +0200
committerJörg Frings-Fürst <debian@jff.email>2024-10-20 15:22:21 +0200
commit1d8b9e17ea13630aec475484da09ebba0366f7c8 (patch)
tree0c801f68561bfb0930a4ade80d7ca3a7940887ab /configure
parent84e26c587987e8484d55db4165f188b40c09e94b (diff)
parent630f99f29bd31a76d8d24da2975a045452c763ef (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10571
1 files changed, 7813 insertions, 2758 deletions
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
+# <dollar><star>; 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: <http://austingroupbugs.net/view.php?id=542>
-
-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: <https://www.gnu.org/software/coreutils/>.
-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 :
@@ -14789,11 +15103,15 @@ 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 <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
+ 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,36 +20778,17 @@ _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;;
+{ 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
- 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
-
-
-
-
-
@@ -20476,6 +20810,7 @@ else case e in #(
#endif
#include <stdlib.h>
#include <string.h>
+#include <wchar.h>
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 <wchar.h>
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 <stdint.h>
+ #endif
+ #include <uchar.h>
+
+" "$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 <stdlib.h>
+ #ifdef __HAIKU__
+ #include <stdint.h>
+ #endif
+ #include <uchar.h>
+
+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 <locale.h>
+#include <stdlib.h>
+#include <string.h>
+#include <wchar.h>
+#ifdef __HAIKU__
+ #include <stdint.h>
+#endif
+#include <uchar.h>
+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 <sys/types.h>
+ #include <sys/param.h>
+
+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 <sys/types.h>
+ #include <sys/param.h>
+
+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 <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <limits.h>
+
+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 <limits.h>
+
+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 <sys/types.h>
- #include <sys/param.h>
-
-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 <sys/types.h>
- #include <sys/param.h>
-
-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 <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <limits.h>
-
-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 <limits.h>
-
-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 <stddef.h>
- 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 <stddef.h>" >&5
+printf %s "checking whether nullptr_t needs <stddef.h>... " >&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 <stddef.h>
+ #undef __STDC_VERSION_STDDEF_H__
+ #include <time.h>
+ #ifdef __STDC_VERSION_STDDEF_H__
+ # error "<time.h> 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 <pthread.h>" >&5
+printf %s "checking absolute name of <pthread.h>... " >&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 <pthread.h>
+_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 <pthread.h>
+ #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 <pthread.h>
+ #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 <pthread.h>
+
+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 <sys/cdefs.h>
+ 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 <sys/cdefs.h>
+ #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 <sched.h>" >&5
+printf %s "checking absolute name of <sched.h>... " >&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 <sched.h>
+_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 <sys/cdefs.h>
+ #endif
+ #include <sched.h>
+
+"
+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 <spawn.h>
+"
+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 <pthread.h>
+"
+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 <sys/types.h>
+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 <time.h>" >&5
+printf %s "checking for struct timespec in <time.h>... " >&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 <time.h>
+
+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 <sys/time.h>" >&5
+printf %s "checking for struct timespec in <sys/time.h>... " >&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 <sys/time.h>
+
+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 <pthread.h>" >&5
+printf %s "checking for struct timespec in <pthread.h>... " >&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 <pthread.h>
+
+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 <unistd.h>" >&5
+printf %s "checking for struct timespec in <unistd.h>... " >&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 <unistd.h>
+
+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 <time.h>" >&5
+printf %s "checking absolute name of <time.h>... " >&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 <time.h>
+_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 <time.h>" >&5
+printf %s "checking for TIME_UTC in <time.h>... " >&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 <time.h>
+
+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
<https://lists.gnu.org/r/bug-gnulib/2007-04/msg00107.html> */
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 <https://sourceware.org/bugzilla/show_bug.cgi?id=2908>. */
+ glibc 2.4 bug <https://sourceware.org/bugzilla/show_bug.cgi?id=2908>
+ 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 <locale.h>
+#include <time.h>
+#if HAVE_LANGINFO_CODESET
+# include <langinfo.h>
+#endif
+#include <stdlib.h>
+#include <string.h>
+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 <dirent.h>" >&5
+printf %s "checking absolute name of <dirent.h>... " >&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 <dirent.h>
+_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,159 +40345,16 @@ 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}
+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 :
- 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
+ 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 HAVE_DECL_MEMRCHR $ac_have_decl" >>confdefs.h
-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
-
-
-
- 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
@@ -39024,443 +41005,14 @@ 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;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 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 <pthread.h>" >&5
-printf %s "checking absolute name of <pthread.h>... " >&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 <pthread.h>
-_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 <pthread.h>
- #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 <pthread.h>
- #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
-
-
- { 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 <pthread.h>
- 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 <pthread.h>
- 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 <pthread.h>
- 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 <pthread.h>
- 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"
-
-
-
-
- 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
-
-
-
-
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;
@@ -39480,6 +41032,10 @@ printf "%s\n" "$gl_cv_const_PTHREAD_PROCESS_SHARED" >&6; }
+ GL_GNULIB_SIG2STR=0
+
+
+
GL_GNULIB_SIGNAL_H_SIGPIPE=0
@@ -39492,6 +41048,16 @@ printf "%s\n" "$gl_cv_const_PTHREAD_PROCESS_SHARED" >&6; }
+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
+
ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "
#include <signal.h>
@@ -39542,168 +41108,6 @@ printf "%s\n" "#define HAVE_DECL_SETSTATE $ac_have_decl" >>confdefs.h
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 <sys/cdefs.h>
- #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 <sched.h>" >&5
-printf %s "checking absolute name of <sched.h>... " >&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 <sched.h>
-_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 <sys/cdefs.h>
- #endif
- #include <sched.h>
-
-"
-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 <spawn.h>
-"
-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 <pthread.h>
-"
-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
-
-
-
-
@@ -39933,6 +41337,7 @@ 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}
@@ -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
+
@@ -40639,6 +42054,7 @@ printf "%s\n" "$gl_cv_next_sys_ioctl_h" >&6; }
+
if test $gl_cv_have_include_next = yes; then
gl_cv_next_sys_uio_h='<'sys/uio.h'>'
else
@@ -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 <time.h>" >&5
-printf %s "checking for struct timespec in <time.h>... " >&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 <time.h>
-
-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 <sys/time.h>" >&5
-printf %s "checking for struct timespec in <sys/time.h>... " >&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 <sys/time.h>
-
-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 <pthread.h>" >&5
-printf %s "checking for struct timespec in <pthread.h>... " >&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 <pthread.h>
-
-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 <unistd.h>" >&5
-printf %s "checking for struct timespec in <unistd.h>... " >&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 <unistd.h>
-
-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 <time.h>" >&5
-printf %s "checking absolute name of <time.h>... " >&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 <time.h>
-_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 <time.h>" >&5
-printf %s "checking for TIME_UTC in <time.h>... " >&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 <time.h>
-
-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 <float.h>
+ 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 <locale.h>
+ #ifdef __HAIKU__
+ #include <stdint.h>
+ #endif
+ #include <uchar.h>
+
+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 <wchar.h>
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 <wchar.h>
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 <pthread.h>
+ 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 <pthread.h>
+ 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 <pthread.h>
+ 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 <pthread.h>
+ 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
}
}
}
@@ -57542,6 +59083,50 @@ fi
+ 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 \
+ || {
+
+
+
test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
|| { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
&& { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
@@ -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
}
}
@@ -69559,8 +71139,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
}
}
@@ -69594,8 +71174,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
}
}
@@ -69629,8 +71209,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
}
}
@@ -69664,8 +71244,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
}
}
@@ -69699,8 +71279,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
}
}
@@ -69764,8 +71344,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
}
}
@@ -69799,8 +71379,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
}
}
@@ -69834,8 +71414,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
}
}
@@ -69869,8 +71449,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
}
}
@@ -69904,8 +71484,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
}
}
@@ -69939,8 +71519,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
}
}
@@ -69974,8 +71554,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
}
}
@@ -70028,7 +71608,6 @@ fi
-
ac_fn_check_decl "$LINENO" "wcwidth" "ac_cv_have_decl_wcwidth" "
#include <wchar.h>
@@ -70348,6 +71927,11 @@ 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}
@@ -70443,6 +72027,7 @@ esac
+
if test "$ac_cv_header_winsock2_h" = yes; then
GL_COND_OBJ_BIND_TRUE=
GL_COND_OBJ_BIND_FALSE='#'
@@ -70483,6 +72068,11 @@ printf "%s\n" "#define GNULIB_TEST_BIND 1" >>confdefs.h
+printf "%s\n" "#define GNULIB_BIND $gl_module_indicator_condition" >>confdefs.h
+
+
+
+
@@ -70514,6 +72104,7 @@ printf "%s\n" "#define GNULIB_TEST_BTOC32 1" >>confdefs.h
+
if test $ac_cv_func_btowc = no; then
HAVE_BTOWC=0
else
@@ -70898,59 +72489,21 @@ printf "%s\n" "#define GNULIB_TEST_BTOWC 1" >>confdefs.h
- ac_fn_check_decl "$LINENO" "c32rtomb" "ac_cv_have_decl_c32rtomb" "#ifdef __HAIKU__
- #include <stdint.h>
- #endif
- #include <uchar.h>
-" "$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 <stdlib.h>
- #ifdef __HAIKU__
- #include <stdint.h>
- #endif
- #include <uchar.h>
-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 $gl_cv_func_c32rtomb = no; then
HAVE_C32RTOMB=0
else
@@ -71014,6 +72567,9 @@ 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
@@ -71069,6 +72625,8 @@ 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
@@ -71092,6 +72650,9 @@ printf "%s\n" "#define GNULIB_TEST_C32TOB 1" >>confdefs.h
+
+
+
REPLACE_CALLOC_FOR_CALLOC_GNU="$REPLACE_CALLOC_FOR_CALLOC_POSIX"
if test $REPLACE_CALLOC_FOR_CALLOC_GNU = 0; then
@@ -71248,6 +72809,100 @@ printf "%s\n" "#define GNULIB_TEST_CALLOC_POSIX 1" >>confdefs.h
+
+
+
+
+
+
+
+ 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 <unistd.h>
+#endif
+#include <limits.h>
+#if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
+# include <sys/param.h>
+#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
+
+
printf "%s\n" "#define GNULIB_TEST_CLOEXEC 1" >>confdefs.h
@@ -71293,6 +72948,81 @@ printf "%s\n" "#define GNULIB_TEST_CLOSE 1" >>confdefs.h
+printf "%s\n" "#define GNULIB_CLOSE $gl_module_indicator_condition" >>confdefs.h
+
+
+
+
+
+ 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 $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then
+ GL_COND_OBJ_CLOSEDIR_TRUE=
+ GL_COND_OBJ_CLOSEDIR_FALSE='#'
+else
+ GL_COND_OBJ_CLOSEDIR_TRUE='#'
+ GL_COND_OBJ_CLOSEDIR_FALSE=
+fi
+:
+ 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
+
+
+
+
+
+
+
+
+
+
+ if test "$GL_GNULIB_CLOSEDIR" != 1; then
+ if test "$GL_GNULIB_CLOSEDIR" = 0; then
+ GL_GNULIB_CLOSEDIR=$gl_module_indicator_condition
+ else
+ GL_GNULIB_CLOSEDIR="($GL_GNULIB_CLOSEDIR || $gl_module_indicator_condition)"
+ fi
+ fi
+
+
+
+
+
+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='#'
@@ -71333,8 +73063,257 @@ printf "%s\n" "#define GNULIB_TEST_CONNECT 1" >>confdefs.h
+printf "%s\n" "#define GNULIB_CONNECT $gl_module_indicator_condition" >>confdefs.h
+
+
+
+
+
+
+
+
+
+ { 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
+then :
+ 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 <sys/types.h>
+ #include <sys/stat.h>
+ #include <dirent.h>
+
+int
+main (void)
+{
+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_struct_dirent_d_ino=yes
+else case e in #(
+ 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_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" "#define D_INO_IN_DIRENT 1" >>confdefs.h
+
+ ;;
+ esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ac_fn_c_check_func "$LINENO" "dirfd" "ac_cv_func_dirfd"
+if test "x$ac_cv_func_dirfd" = xyes
+then :
+ printf "%s\n" "#define HAVE_DIRFD 1" >>confdefs.h
+
+fi
+
+ ac_fn_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include <sys/types.h>
+ #include <dirent.h>
+" "$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" "#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 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) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#include <sys/types.h>
+#include <dirent.h>
+#ifdef dirfd
+ dirent_header_defines_dirfd
+#endif
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP_TRADITIONAL "dirent_header_defines_dirfd" >/dev/null 2>&1
+then :
+ gl_cv_func_dirfd_macro=yes
+else case e in #(
+ e) gl_cv_func_dirfd_macro=no ;;
+esac
+fi
+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
+
+ 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)
+ 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 <sys/types.h>
+ #include <dirent.h>
+int
+main (void)
+{
+DIR *dir_p = opendir("."); (void) dir_p->DIR_FD_MEMBER_NAME;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"
+then :
+ dir_fd_found=yes
+
+fi
+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
@@ -71382,6 +73361,130 @@ printf "%s\n" "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
+
+ 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 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 <unistd.h>
+ #include <fcntl.h>
+ #include <errno.h>
+
+
+$gl_mda_defines
+
+int
+main (void)
+{
+/* 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_dup_works=yes
+else case e in #(
+ e) gl_cv_func_dup_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_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 $REPLACE_DUP = 1; then
+ GL_COND_OBJ_DUP_TRUE=
+ GL_COND_OBJ_DUP_FALSE='#'
+else
+ GL_COND_OBJ_DUP_TRUE='#'
+ GL_COND_OBJ_DUP_FALSE=
+fi
+:
+ 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_DUP_TRUE"; then :
+
+ :
+
+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
+
+
+
+
+
+
{ 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}
@@ -71508,6 +73611,17 @@ fi
+
+ 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='#'
@@ -71612,6 +73726,134 @@ fi
+ if test $ac_cv_have_decl_fchdir = no; then
+ HAVE_DECL_FCHDIR=0
+ fi
+
+
+ if test $HAVE_FCHDIR = 1; then
+
+ if test $DIR_HAS_FD_MEMBER = 0; then
+ REPLACE_FCHDIR=1
+ fi
+ 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) 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 <fcntl.h>
+
+
+$gl_mda_defines
+
+int
+main (void)
+{
+return open(".", O_RDONLY) < 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"
+then :
+ gl_cv_func_open_directory_works=yes
+else case e in #(
+ 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_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 REPLACE_OPEN_DIRECTORY 1" >>confdefs.h
+
+ ;;
+ 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 :
+
+ :
+
+fi
+
+
+
+
+
+
+
+
+
+ if test "$GL_GNULIB_FCHDIR" != 1; then
+ if test "$GL_GNULIB_FCHDIR" = 0; then
+ GL_GNULIB_FCHDIR=$gl_module_indicator_condition
+ else
+ GL_GNULIB_FCHDIR="($GL_GNULIB_FCHDIR || $gl_module_indicator_condition)"
+ fi
+ fi
+
+
+
+
+
+printf "%s\n" "#define GNULIB_TEST_FCHDIR 1" >>confdefs.h
+
+
+
+
+
+
+
+
if test $ac_cv_func_fcntl = no; then
@@ -71813,6 +74055,25 @@ printf "%s\n" "$gl_cv_func_fcntl_f_dupfd_cloexec" >&6; }
+
+ if test $ac_cv_func_fchdir = no; then
+ HAVE_FCHDIR=0
+ fi
+
+ if test $HAVE_FCHDIR = 0; then
+
+
+
+ if test $ac_cv_func_fcntl = no; then
+ HAVE_FCNTL=0
+ else
+ REPLACE_FCNTL=1
+ fi
+
+ fi
+
+
+
if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
GL_COND_OBJ_FCNTL_TRUE=
GL_COND_OBJ_FCNTL_FALSE='#'
@@ -71860,6 +74121,11 @@ printf "%s\n" "#define GNULIB_TEST_FCNTL 1" >>confdefs.h
+printf "%s\n" "#define GNULIB_FD_SAFER_FLAG $gl_module_indicator_condition" >>confdefs.h
+
+
+
+
if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
@@ -71972,6 +74238,224 @@ printf "%s\n" "#define GNULIB_TEST_FDOPEN 1" >>confdefs.h
+
+ ac_fn_check_decl "$LINENO" "fdopendir" "ac_cv_have_decl_fdopendir" "
+#include <dirent.h>
+
+" "$ac_c_undeclared_builtin_options" "CFLAGS"
+if test "x$ac_cv_have_decl_fdopendir" = xyes
+then :
+ ac_have_decl=1
+else case e in #(
+ e) ac_have_decl=0 ;;
+esac
+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
+
+
+ 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
+ # 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 <dirent.h>
+#include <fcntl.h>
+#include <unistd.h>
+
+
+$gl_mda_defines
+
+#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;
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"
+then :
+ gl_cv_func_fdopendir_works=yes
+else case e in #(
+ 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_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 $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then
+ GL_COND_OBJ_FDOPENDIR_TRUE=
+ GL_COND_OBJ_FDOPENDIR_FALSE='#'
+else
+ GL_COND_OBJ_FDOPENDIR_TRUE='#'
+ GL_COND_OBJ_FDOPENDIR_FALSE=
+fi
+:
+ 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 "$GL_GNULIB_FDOPENDIR" != 1; then
+ if test "$GL_GNULIB_FDOPENDIR" = 0; then
+ GL_GNULIB_FDOPENDIR=$gl_module_indicator_condition
+ else
+ GL_GNULIB_FDOPENDIR="($GL_GNULIB_FDOPENDIR || $gl_module_indicator_condition)"
+ fi
+ fi
+
+
+
+
+
+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 <string.h>
+" "$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
+
+
+
+
+
+
+
case "$host_os" in
darwin* | mingw* | windows* | solaris*)
REPLACE_FSTAT=1
@@ -71981,6 +74465,22 @@ printf "%s\n" "#define GNULIB_TEST_FDOPEN 1" >>confdefs.h
+
+ 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='#'
@@ -72044,6 +74544,129 @@ printf "%s\n" "#define GNULIB_TEST_FSTAT 1" >>confdefs.h
+printf "%s\n" "#define GNULIB_FSTAT $gl_module_indicator_condition" >>confdefs.h
+
+
+
+
+
+
+
+
+
+ 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
+ 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 <fcntl.h>
+ #include <sys/stat.h>
+ int
+ main (void)
+ {
+ struct stat a;
+ return fstatat (AT_FDCWD, ".", &a, 0) != 0;
+ }
+
+_ACEOF
+if ac_fn_c_try_run "$LINENO"
+then :
+ gl_cv_func_fstatat_zero_flag=yes
+else case e in #(
+ e) gl_cv_func_fstatat_zero_flag=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_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
+
+ 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_FSTATAT = 0 || test $REPLACE_FSTATAT = 1; then
+ GL_COND_OBJ_FSTATAT_TRUE=
+ GL_COND_OBJ_FSTATAT_FALSE='#'
+else
+ GL_COND_OBJ_FSTATAT_TRUE='#'
+ GL_COND_OBJ_FSTATAT_FALSE=
+fi
+:
+ 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
+
+
+
+
+
+
+
+
+
+
+ if test "$GL_GNULIB_FSTATAT" != 1; then
+ if test "$GL_GNULIB_FSTATAT" = 0; then
+ GL_GNULIB_FSTATAT=$gl_module_indicator_condition
+ else
+ GL_GNULIB_FSTATAT="($GL_GNULIB_FSTATAT || $gl_module_indicator_condition)"
+ fi
+ fi
+
+
+
+
+
+printf "%s\n" "#define GNULIB_TEST_FSTATAT 1" >>confdefs.h
+
+
+
+
+
+printf "%s\n" "#define GNULIB_FSTATAT $gl_module_indicator_condition" >>confdefs.h
+
+
+
+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ftruncate" >&5
@@ -72186,6 +74809,553 @@ printf "%s\n" "#define GNULIB_TEST_FTRUNCATE 1" >>confdefs.h
+ 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 <errno.h>
+#include <stdlib.h>
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#else
+# include <direct.h>
+#endif
+#if HAVE_DECL_ALARM
+# include <signal.h>
+#endif
+#include <string.h>
+#include <limits.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <fcntl.h>
+
+
+/* Arrange to define PATH_MAX, like "pathmax.h" does. */
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+#include <limits.h>
+#if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
+# include <sys/param.h>
+#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
+
+
+#ifndef S_IRWXU
+# define S_IRWXU 0700
+#endif
+
+/* 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)
+
+/* 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
+ <https://lists.gnu.org/archive/html/bug-gnulib/2024-03/msg00444.html>
+ and in sandboxed environments <https://bugs.gentoo.org/447970>.
+ 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;
+ }
+
+ /* 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;
+ }
+ }
+
+ 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. */
+
+#include <errno.h>
+#include <stdlib.h>
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#else /* on Windows with MSVC */
+# include <direct.h>
+#endif
+#include <string.h>
+#include <sys/stat.h>
+
+
+/* Arrange to define PATH_MAX, like "pathmax.h" does. */
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+#include <limits.h>
+#if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
+# include <sys/param.h>
+#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
+
+
+
+$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);
+
+ 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;
+ }
+ }
+
+ /* 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);
+ }
+ }
+
+ return fail;
+}
+
+_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
+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_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
+ ;;
+ *)
+
+ ;;
+ esac
+
+ ;;
+ esac
+ ;;
+ esac
+ case "$gl_cv_func_getcwd_path_max" in
+ *"no" | *"no, it has the AIX bug") ;;
+ *)
+
+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")
+
+printf "%s\n" "#define HAVE_PARTLY_WORKING_GETCWD 1" >>confdefs.h
+
+ ;;
+ *"yes, but with shorter paths")
+
+printf "%s\n" "#define HAVE_GETCWD_SHORTER 1" >>confdefs.h
+
+ ;;
+ 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 $REPLACE_GETCWD = 1; then
+ GL_COND_OBJ_GETCWD_TRUE=
+ GL_COND_OBJ_GETCWD_FALSE='#'
+else
+ GL_COND_OBJ_GETCWD_TRUE='#'
+ GL_COND_OBJ_GETCWD_FALSE=
+fi
+:
+ 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_GETCWD_TRUE"; then :
+
+
+
+
+ :
+
+
+fi
+
+
+printf "%s\n" "#define GNULIB_GETCWD $gl_module_indicator_condition" >>confdefs.h
+
+
+
+
+
+
+
+
+
+
+
+ if test "$GL_GNULIB_GETCWD" != 1; then
+ if test "$GL_GNULIB_GETCWD" = 0; then
+ GL_GNULIB_GETCWD=$gl_module_indicator_condition
+ else
+ GL_GNULIB_GETCWD="($GL_GNULIB_GETCWD || $gl_module_indicator_condition)"
+ fi
+ fi
+
+
+
+
+
+printf "%s\n" "#define GNULIB_TEST_GETCWD 1" >>confdefs.h
+
+
+
+
+
+
+
+
case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature in
*yes,yes) ;;
*)
@@ -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 <unistd.h>
-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
@@ -73895,6 +76972,11 @@ printf "%s\n" "#define GNULIB_TEST_MALLOC_GNU 1" >>confdefs.h
+
+
+
+
+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbtowc" >&5
printf %s "checking for mbtowc... " >&6; }
if test ${gl_cv_onwards_func_mbtowc+y}
@@ -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 <string.h>
+" "$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.h>
+ 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 <pthread.h>
+" "$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 <pthread.h>
+#include <stdbool.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <time.h>
+
+#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 <pthread.h>
+" "$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 <pthread.h>
+ #include <time.h>
+
+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" "
/* <sys/types.h> is not needed according to POSIX, but the
<sys/socket.h> 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 <sys/types.h>
@@ -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 <string.h>
+" "$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; }
@@ -78443,6 +83008,178 @@ 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 <sys/types.h>
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+#ifdef HAVE_WINSOCK2_H
+#include <winsock2.h>
+#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 <sys/types.h>
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+#ifdef HAVE_WINSOCK2_H
+#include <winsock2.h>
+#endif
+#ifdef HAVE_WS2TCPIP_H
+#include <ws2tcpip.h>
+#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 <winsock2.h>
+"
+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 <sys/types.h>
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#ifdef HAVE_SYS_UN_H
+#include <sys/un.h>
+#endif
+#ifdef HAVE_WINSOCK2_H
+#include <winsock2.h>
+#endif
+#ifdef HAVE_AFUNIX_H
+#include <afunix.h>
+#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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -78450,16 +83187,267 @@ 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";;
@@ -78730,10 +83713,6 @@ printf "%s\n" "#define GNULIB_TEST_TIME 1" >>confdefs.h
-
-
-
-
if test $ac_cv_have_decl_unsetenv = no; then
HAVE_DECL_UNSETENV=0
fi
@@ -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
@@ -79594,6 +84575,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='#'
else
@@ -79609,6 +84605,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='#'
else
@@ -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