diff options
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 16418 |
1 files changed, 10435 insertions, 5983 deletions
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.72. +# Generated by GNU Autoconf 2.72 for libunistring dummy. # # # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation, @@ -609,10 +609,10 @@ MFLAGS= MAKEFLAGS= # Identity of this package. -PACKAGE_NAME='' -PACKAGE_TARNAME='' -PACKAGE_VERSION='' -PACKAGE_STRING='' +PACKAGE_NAME='libunistring' +PACKAGE_TARNAME='libunistring' +PACKAGE_VERSION='dummy' +PACKAGE_STRING='libunistring dummy' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -654,9 +654,15 @@ gl_use_winpthreads_default=no ac_config_libobj_dir=tests ac_func_c_list= enable_year2038=no -ac_subst_vars='gltests_LIBOBJDEPS +ac_subst_vars='gltests_libunistring_LIBOBJDEPS +gltests_libunistring_LTLIBOBJS +gltests_libunistring_LIBOBJS +gltests_LIBOBJDEPS gltests_LTLIBOBJS gltests_LIBOBJS +gl_libunistring_LIBOBJDEPS +gl_libunistring_LTLIBOBJS +gl_libunistring_LIBOBJS gl_LIBOBJDEPS gl_LTLIBOBJS gl_LIBOBJS @@ -664,6 +670,7 @@ am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS +AUGMENT_SHLIBPATH PERL DVIPS TEXI2DVI @@ -679,8 +686,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,13 +707,6 @@ 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 HAVE_SYS_UIO_H @@ -713,10 +721,14 @@ 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_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 GL_COND_OBJ_STDIO_READ_TRUE +GL_COND_OBJ_STDIO_CONSOLESAFE_FALSE +GL_COND_OBJ_STDIO_CONSOLESAFE_TRUE NEXT_AS_FIRST_DIRECTIVE_STDIO_H NEXT_STDIO_H GL_COND_OBJ_STAT_FALSE @@ -744,16 +756,10 @@ 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_REALLOCARRAY_FALSE GL_COND_OBJ_REALLOCARRAY_TRUE +GL_COND_OBJ_REALLOC_POSIX_FALSE +GL_COND_OBJ_REALLOC_POSIX_TRUE GL_COND_OBJ_RANDOM_R_FALSE GL_COND_OBJ_RANDOM_R_TRUE GL_COND_OBJ_RANDOM_FALSE @@ -765,6 +771,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 +783,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 @@ -926,52 +823,22 @@ 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_MKFIFO_FALSE +GL_COND_OBJ_MKFIFO_TRUE GL_COND_OBJ_MBTOWC_FALSE GL_COND_OBJ_MBTOWC_TRUE GL_COND_OBJ_LSTAT_FALSE GL_COND_OBJ_LSTAT_TRUE LIB_SEMAPHORE +WINDRES GL_COND_OBJ_LISTEN_FALSE GL_COND_OBJ_LISTEN_TRUE GL_COND_OBJ_ISBLANK_FALSE @@ -982,6 +849,9 @@ GL_COND_OBJ_IOCTL_TRUE GL_COND_OBJ_INET_PTON_FALSE GL_COND_OBJ_INET_PTON_TRUE INET_PTON_LIB +GNULIB_LOCALEDIR_c_make +GNULIB_LOCALEDIR_c +GNULIB_LOCALEDIR GL_GNULIB_GETTIMEOFDAY GL_COND_OBJ_GETTIMEOFDAY_FALSE GL_COND_OBJ_GETTIMEOFDAY_TRUE @@ -996,8 +866,6 @@ 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 @@ -1061,20 +929,29 @@ 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 +965,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 +993,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 @@ -1169,23 +1049,8 @@ HAVE_DECL_FTELLO HAVE_DECL_FSEEKO HAVE_DECL_FPURGE HAVE_DECL_FCLOSEALL -NEXT_AS_FIRST_DIRECTIVE_FCNTL_H -NEXT_FCNTL_H -GL_GNULIB_MDA_OPEN -GL_GNULIB_MDA_CREAT -GL_GNULIB_OPENAT -GL_GNULIB_OPEN -GL_GNULIB_NONBLOCKING -GL_GNULIB_FCNTL -GL_GNULIB_CREAT GL_COND_OBJ_FCNTL_FALSE GL_COND_OBJ_FCNTL_TRUE -REPLACE_OPENAT -REPLACE_OPEN -REPLACE_FCNTL -REPLACE_CREAT -HAVE_OPENAT -HAVE_FCNTL GL_COND_OBJ_ERROR_FALSE GL_COND_OBJ_ERROR_TRUE REPLACE_ERROR_AT_LINE @@ -1197,10 +1062,38 @@ NEXT_AS_FIRST_DIRECTIVE_ERROR_H NEXT_ERROR_H GL_COND_OBJ_DUP2_FALSE GL_COND_OBJ_DUP2_TRUE +GL_GNULIB_TOUPPER_L +GL_GNULIB_TOLOWER_L +GL_GNULIB_ISXDIGIT_L +GL_GNULIB_ISUPPER_L +GL_GNULIB_ISSPACE_L +GL_GNULIB_ISPUNCT_L +GL_GNULIB_ISPRINT_L +GL_GNULIB_ISLOWER_L +GL_GNULIB_ISGRAPH_L +GL_GNULIB_ISDIGIT_L +GL_GNULIB_ISCNTRL_L +GL_GNULIB_ISBLANK_L GL_GNULIB_ISBLANK +GL_GNULIB_ISALPHA_L +GL_GNULIB_ISALNUM_L NEXT_AS_FIRST_DIRECTIVE_CTYPE_H NEXT_CTYPE_H +HAVE_TOUPPER_L +HAVE_TOLOWER_L +HAVE_ISXDIGIT_L +HAVE_ISUPPER_L +HAVE_ISSPACE_L +HAVE_ISPUNCT_L +HAVE_ISPRINT_L +HAVE_ISLOWER_L +HAVE_ISGRAPH_L +HAVE_ISDIGIT_L +HAVE_ISCNTRL_L +HAVE_ISBLANK_L HAVE_ISBLANK +HAVE_ISALPHA_L +HAVE_ISALNUM_L GL_COND_OBJ_CONNECT_FALSE GL_COND_OBJ_CONNECT_TRUE GL_COND_OBJ_CLOSE_FALSE @@ -1211,6 +1104,11 @@ 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 +1118,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 @@ -1243,12 +1145,12 @@ HAVE_WINSOCK2_H REPLACE_IOCTL SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS SYS_IOCTL_H_HAVE_WINSOCK2_H +HAVE_SA_FAMILY_T HAVE_WS2TCPIP_H HAVE_SYS_SOCKET_H NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H NEXT_SYS_SOCKET_H HAVE_ACCEPT4 -HAVE_SA_FAMILY_T HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY HAVE_STRUCT_SOCKADDR_STORAGE gltests_WITNESS @@ -1776,11 +1678,13 @@ REPLACE_LINKAT REPLACE_LINK REPLACE_LCHOWN REPLACE_ISATTY +REPLACE_GETUSERSHELL REPLACE_GETPASS_FOR_GETPASS_GNU REPLACE_GETPASS REPLACE_GETPAGESIZE REPLACE_GETGROUPS REPLACE_GETLOGIN_R +REPLACE_GETLOGIN REPLACE_GETENTROPY REPLACE_GETDTABLESIZE REPLACE_GETDOMAINNAME @@ -2030,6 +1934,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 +2288,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 +2534,90 @@ 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 +OS_IS_ANDROID_FALSE +OS_IS_ANDROID_TRUE +OS_IS_HAIKU_FALSE +OS_IS_HAIKU_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_BLKCNT_T +HAVE_BLKSIZE_T WINDOWS_STAT_INODES +HAVE_OFF64_T WINDOWS_64_BIT_OFF_T NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H NEXT_SYS_TYPES_H @@ -2646,17 +2636,160 @@ STDDEF_H GL_GENERATE_STDCKDINT_H_FALSE GL_GENERATE_STDCKDINT_H_TRUE STDCKDINT_H +HAVE_WORKING_CXX_STDCKDINT_H +HAVE_CXX_STDCKDINT_H +HAVE_WORKING_C_STDCKDINT_H +HAVE_C_STDCKDINT_H +HAVE_STDCKDINT_H +NEXT_AS_FIRST_DIRECTIVE_STDCKDINT_H +NEXT_STDCKDINT_H GL_COND_OBJ_SIGNBIT3_FALSE GL_COND_OBJ_SIGNBIT3_TRUE GL_COND_OBJ_SETLOCALE_LOCK_FALSE GL_COND_OBJ_SETLOCALE_LOCK_TRUE +GL_COND_OBJ_SETLOCALE_FIXES_FALSE +GL_COND_OBJ_SETLOCALE_FIXES_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 +PTHREAD_ONCE_LIB +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 REPLACE_STRVERSCMP REPLACE_STRSIGNAL REPLACE_STRERRORNAME_NP +REPLACE_STRERROR_L REPLACE_STRERROR_R REPLACE_STRERROR REPLACE_STRTOK_R @@ -2679,6 +2812,7 @@ HAVE_DECL_STRSIGNAL HAVE_SIGDESCR_NP HAVE_SIGABBREV_NP HAVE_STRERRORNAME_NP +HAVE_STRERROR_L HAVE_DECL_STRERROR_R HAVE_DECL_STRTOK_R HAVE_STRCASESTR @@ -2686,6 +2820,7 @@ HAVE_STRSEP HAVE_STRPBRK HAVE_DECL_STRNLEN HAVE_DECL_STRNDUP +HAVE_DECL_STREQ HAVE_DECL_STRDUP HAVE_STRCHRNUL HAVE_STPNCPY @@ -2695,6 +2830,7 @@ HAVE_DECL_MEMRCHR HAVE_MEMSET_EXPLICIT HAVE_MEMPCPY HAVE_DECL_MEMMEM +HAVE_DECL_MEMEQ HAVE_FFSLL HAVE_FFSL HAVE_EXPLICIT_BZERO @@ -2706,8 +2842,11 @@ GL_GNULIB_STRSIGNAL GL_GNULIB_SIGDESCR_NP GL_GNULIB_SIGABBREV_NP GL_GNULIB_STRERRORNAME_NP +GL_GNULIB_STRERROR_L GL_GNULIB_STRERROR_R GL_GNULIB_STRERROR +GL_GNULIB_MBS_ENDSWITH +GL_GNULIB_MBS_STARTSWITH GL_GNULIB_MBSTOK_R GL_GNULIB_MBSSEP GL_GNULIB_MBSSPN @@ -2722,6 +2861,8 @@ GL_GNULIB_MBSRCHR GL_GNULIB_MBSCHR GL_GNULIB_MBSNLEN GL_GNULIB_MBSLEN +GL_GNULIB_STR_ENDSWITH +GL_GNULIB_STR_STARTSWITH GL_GNULIB_STRTOK_R GL_GNULIB_STRCASESTR GL_GNULIB_STRSTR @@ -2730,6 +2871,7 @@ GL_GNULIB_STRPBRK GL_GNULIB_STRNLEN GL_GNULIB_STRNDUP GL_GNULIB_STRNCAT +GL_GNULIB_STRINGEQ GL_GNULIB_STRDUP GL_GNULIB_STRCHRNUL GL_GNULIB_STPNCPY @@ -2807,44 +2949,22 @@ LIBSTDTHREAD GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_FALSE GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_TRUE INTL_MACOSX_LIBS -GL_GNULIB_LOCALENAME_UNSAFE -GL_GNULIB_DUPLOCALE -GL_GNULIB_SETLOCALE_NULL -GL_GNULIB_SETLOCALE -GL_GNULIB_LOCALECONV +GL_COND_OBJ_LOCALECONV_FALSE +GL_COND_OBJ_LOCALECONV_TRUE NEXT_AS_FIRST_DIRECTIVE_LOCALE_H NEXT_LOCALE_H -HAVE_XLOCALE_H +HAVE_WINDOWS_LOCALE_T NEXT_AS_FIRST_DIRECTIVE_STDDEF_H NEXT_STDDEF_H -HAVE_WCHAR_T +HAVE_C_UNREACHABLE HAVE_MAX_ALIGN_T REPLACE_NULL -LOCALENAME_ENHANCE_LOCALE_FUNCS -REPLACE_STRUCT_LCONV -REPLACE_FREELOCALE -REPLACE_DUPLOCALE -REPLACE_NEWLOCALE -REPLACE_SETLOCALE -REPLACE_LOCALECONV -HAVE_FREELOCALE -HAVE_DUPLOCALE -HAVE_NEWLOCALE +STDDEF_NOT_IDEMPOTENT +NULLPTR_T_NEEDS_STDDEF LOCALCHARSET_TESTS_ENVIRONMENT GL_GENERATE_LIMITS_H_FALSE GL_GENERATE_LIMITS_H_TRUE LIMITS_H -GL_GNULIB_NL_LANGINFO -HAVE_LANGINFO_YESEXPR -HAVE_LANGINFO_ERA -HAVE_LANGINFO_ALTMON -HAVE_LANGINFO_T_FMT_AMPM -HAVE_LANGINFO_CODESET -HAVE_LANGINFO_H -NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H -NEXT_LANGINFO_H -REPLACE_NL_LANGINFO -HAVE_NL_LANGINFO GL_COND_OBJ_ISWXDIGIT_FALSE GL_COND_OBJ_ISWXDIGIT_TRUE GL_COND_OBJ_ISWPUNCT_FALSE @@ -2943,12 +3063,38 @@ LTLIBICONV LIBICONV LIB_HARD_LOCALE HARD_LOCALE_LIB +GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_FALSE +GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_TRUE +GL_GNULIB_LOCALENAME_UNSAFE +GL_GNULIB_GETLOCALENAME_L_UNSAFE +GL_GNULIB_GETLOCALENAME_L +GL_GNULIB_FREELOCALE +GL_GNULIB_DUPLOCALE +GL_GNULIB_NEWLOCALE +GL_GNULIB_SETLOCALE_NULL +GL_GNULIB_SETLOCALE +GL_GNULIB_LOCALECONV +HAVE_LOCALE_T +HAVE_XLOCALE_H +GETLOCALENAME_L_LIB LIB_SETLOCALE_NULL SETLOCALE_NULL_LIB LIB_SCHED_YIELD SCHED_YIELD_LIB LIBPMULTITHREAD LIBPTHREAD +LOCALENAME_ENHANCE_LOCALE_FUNCS +REPLACE_STRUCT_LCONV +REPLACE_GETLOCALENAME_L +REPLACE_FREELOCALE +REPLACE_DUPLOCALE +REPLACE_NEWLOCALE +REPLACE_SETLOCALE +REPLACE_LOCALECONV +HAVE_GETLOCALENAME_L +HAVE_FREELOCALE +HAVE_DUPLOCALE +HAVE_NEWLOCALE GL_COND_OBJ_FSETERR_FALSE GL_COND_OBJ_FSETERR_TRUE HAVE_SAME_LONG_DOUBLE_AS_DOUBLE @@ -2961,6 +3107,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 +3122,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 +3141,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 +3174,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 +3221,9 @@ GL_GNULIB_ACOSF REPLACE_TRUNCL REPLACE_TRUNCF REPLACE_TRUNC +REPLACE_TOTALORDERMAGL +REPLACE_TOTALORDERMAGF +REPLACE_TOTALORDERMAG REPLACE_TOTALORDERL REPLACE_TOTALORDERF REPLACE_TOTALORDER @@ -3109,6 +3273,9 @@ REPLACE_HYPOTL REPLACE_HYPOTF REPLACE_HYPOT REPLACE_HUGE_VAL +REPLACE_GETPAYLOADL +REPLACE_GETPAYLOADF +REPLACE_GETPAYLOAD REPLACE_FREXPL REPLACE_FREXP REPLACE_FREXPF @@ -3146,36 +3313,23 @@ HAVE_DECL_TRUNC HAVE_DECL_TANL HAVE_DECL_SQRTL HAVE_DECL_SINL -HAVE_DECL_ROUNDL -HAVE_DECL_ROUNDF -HAVE_DECL_ROUND -HAVE_DECL_RINTF -HAVE_DECL_REMAINDERL -HAVE_DECL_REMAINDER HAVE_DECL_LOGB -HAVE_DECL_LOG2L -HAVE_DECL_LOG2F -HAVE_DECL_LOG2 HAVE_DECL_LOG10L HAVE_DECL_LOGL HAVE_DECL_LDEXPL HAVE_DECL_FREXPL HAVE_DECL_FLOORL HAVE_DECL_FLOORF -HAVE_DECL_EXPM1L -HAVE_DECL_EXP2L -HAVE_DECL_EXP2F -HAVE_DECL_EXP2 HAVE_DECL_EXPL HAVE_DECL_COSL -HAVE_DECL_COPYSIGNF HAVE_DECL_CEILL HAVE_DECL_CEILF -HAVE_DECL_CBRTL -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,15 +3341,32 @@ HAVE_SQRTF HAVE_SINHF HAVE_SINL HAVE_SINF +HAVE_SETPAYLOADSIGL +HAVE_SETPAYLOADSIGF +HAVE_SETPAYLOADSIG +HAVE_SETPAYLOADL +HAVE_SETPAYLOADF +HAVE_SETPAYLOAD +HAVE_ROUNDL +HAVE_ROUNDF +HAVE_ROUND HAVE_RINTL +HAVE_RINTF HAVE_RINT +HAVE_REMAINDERL HAVE_REMAINDERF HAVE_REMAINDER HAVE_POWF HAVE_MODFL HAVE_MODFF +HAVE_LOGP1L +HAVE_LOGP1F +HAVE_LOGP1 HAVE_LOGBL HAVE_LOGBF +HAVE_LOG2L +HAVE_LOG2F +HAVE_LOG2 HAVE_LOG1PL HAVE_LOG1PF HAVE_LOG1P @@ -3212,6 +3383,9 @@ HAVE_ILOGBF HAVE_ILOGB HAVE_HYPOTL HAVE_HYPOTF +HAVE_GETPAYLOADL +HAVE_GETPAYLOADF +HAVE_GETPAYLOAD HAVE_FREXPF HAVE_FMODL HAVE_FMODF @@ -3220,14 +3394,19 @@ HAVE_FMAF HAVE_FMA HAVE_FABSL HAVE_FABSF +HAVE_EXPM1L HAVE_EXPM1F HAVE_EXPM1 +HAVE_EXP2L +HAVE_EXP2F +HAVE_EXP2 HAVE_EXPL HAVE_EXPF HAVE_COSHF HAVE_COSL HAVE_COSF HAVE_COPYSIGNL +HAVE_COPYSIGNF HAVE_COPYSIGN HAVE_CBRTL HAVE_CBRTF @@ -3255,12 +3434,12 @@ 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 GL_GNULIB_REALPATH GL_GNULIB_REALLOC_POSIX -GL_GNULIB_REALLOC_GNU GL_GNULIB_REALLOCARRAY GL_GNULIB_RANDOM_R GL_GNULIB_RANDOM @@ -3290,9 +3469,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 @@ -3307,7 +3488,6 @@ REPLACE_SETENV REPLACE_REALPATH REPLACE_REALLOCARRAY REPLACE_REALLOC_FOR_REALLOC_POSIX -REPLACE_REALLOC_FOR_REALLOC_GNU REPLACE_RANDOM_R REPLACE_RANDOM REPLACE_RAND @@ -3334,6 +3514,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 @@ -3355,7 +3536,6 @@ HAVE_RPMATCH HAVE_REALPATH HAVE_REALLOCARRAY HAVE_RANDOM_R -HAVE_RANDOM_H HAVE_RANDOM HAVE_QSORT_R HAVE_PTSNAME_R @@ -3392,15 +3572,24 @@ FLOAT_H REPLACE_ITOLD NEXT_AS_FIRST_DIRECTIVE_FLOAT_H NEXT_FLOAT_H +GL_GNULIB_MDA_OPEN +GL_GNULIB_MDA_CREAT +GL_GNULIB_OPENAT +GL_GNULIB_OPEN +GL_GNULIB_NONBLOCKING +GL_GNULIB_FCNTL +GL_GNULIB_CREAT +NEXT_AS_FIRST_DIRECTIVE_FCNTL_H +NEXT_FCNTL_H +REPLACE_OPENAT +REPLACE_OPEN +REPLACE_FCNTL +REPLACE_CREAT +HAVE_OPENAT +HAVE_FCNTL GL_GENERATE_ERRNO_H_FALSE GL_GENERATE_ERRNO_H_TRUE ERRNO_H -EOVERFLOW_VALUE -EOVERFLOW_HIDDEN -ENOLINK_VALUE -ENOLINK_HIDDEN -EMULTIHOP_VALUE -EMULTIHOP_HIDDEN NEXT_AS_FIRST_DIRECTIVE_ERRNO_H NEXT_ERRNO_H GL_GNULIB_MBSTOC32S @@ -3434,20 +3623,18 @@ 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 REPLACE_WCSTOK REPLACE_WCSSTR REPLACE_WCSNCMP +REPLACE_WCSNCAT REPLACE_WCSCMP REPLACE_WCSFTIME REPLACE_WCSWIDTH @@ -3465,7 +3652,7 @@ REPLACE_BTOWC REPLACE_MBSTATE_T HAVE_DECL_WCWIDTH HAVE_DECL_WCSDUP -HAVE_DECL_WCTOB +HAVE_WCTOB HAVE_WCSFTIME HAVE_WCSWIDTH HAVE_WCSTOK @@ -3512,6 +3699,7 @@ CXX_HAS_UCHAR_TYPES GNULIBHEADERS_OVERRIDE_CHAR32_T GNULIBHEADERS_OVERRIDE_CHAR16_T GNULIBHEADERS_OVERRIDE_CHAR8_T +CXX_HAVE_UCHAR_H HAVE_UCHAR_H NEXT_AS_FIRST_DIRECTIVE_UCHAR_H NEXT_UCHAR_H @@ -3590,6 +3778,8 @@ CPPFLAGS LDFLAGS CFLAGS CC +am__xargs_n +am__rm_f_notfound AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V @@ -3669,8 +3859,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 @@ -3679,6 +3871,7 @@ enable_cross_guesses enable_rpath with_libiconv_prefix enable_relocatable +with_gnulib_prefix enable_namespacing enable_year2038 ' @@ -3733,7 +3926,7 @@ localstatedir='${prefix}/var' runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE}' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' @@ -4240,7 +4433,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -'configure' configures this package to adapt to many kinds of systems. +'configure' configures libunistring dummy to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -4289,7 +4482,7 @@ Fine tuning of the installation directories: --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] + --docdir=DIR documentation root [DATAROOTDIR/doc/libunistring] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] @@ -4310,7 +4503,9 @@ _ACEOF fi if test -n "$ac_init_help"; then - + case $ac_init_help in + short | recursive ) echo "Configuration of libunistring dummy:";; + esac cat <<\_ACEOF Optional Features: @@ -4326,11 +4521,15 @@ Optional Features: --disable-largefile omit support for large files --enable-threads={isoc|posix|isoc+posix|windows} specify multithreading API - --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,17 +4542,13 @@ 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). --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-gnulib-prefix=DIR search for gnulib's runtime data in DIR/share Some influential environment variables: CC C compiler command @@ -4434,7 +4629,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -configure +libunistring configure dummy generated by GNU Autoconf 2.72 Copyright (C) 2023 Free Software Foundation, Inc. @@ -5117,7 +5312,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by $as_me, which was +It was created by libunistring $as_me dummy, which was generated by GNU Autoconf 2.72. Invocation command line was $ $0$ac_configure_args_raw @@ -5724,23 +5919,27 @@ as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" +as_fn_append ac_header_c_list " stdbool.h stdbool_h HAVE_STDBOOL_H" as_fn_append ac_header_c_list " uchar.h uchar_h HAVE_UCHAR_H" as_fn_append ac_func_c_list " mbsinit HAVE_MBSINIT" as_fn_append ac_func_c_list " mbrtowc HAVE_MBRTOWC" +as_fn_append ac_func_c_list " symlink HAVE_SYMLINK" as_fn_append ac_header_c_list " threads.h threads_h HAVE_THREADS_H" +as_fn_append ac_func_c_list " getlocalename_l HAVE_GETLOCALENAME_L" +as_fn_append ac_header_c_list " xlocale.h xlocale_h HAVE_XLOCALE_H" +as_fn_append ac_header_c_list " langinfo.h langinfo_h HAVE_LANGINFO_H" as_fn_append ac_header_c_list " iconv.h iconv_h HAVE_ICONV_H" as_fn_append ac_header_c_list " limits.h limits_h HAVE_LIMITS_H" as_fn_append ac_func_c_list " iswcntrl HAVE_ISWCNTRL" as_fn_append ac_header_c_list " crtdefs.h crtdefs_h HAVE_CRTDEFS_H" as_fn_append ac_header_c_list " wctype.h wctype_h HAVE_WCTYPE_H" -as_fn_append ac_header_c_list " langinfo.h langinfo_h HAVE_LANGINFO_H" -as_fn_append ac_header_c_list " xlocale.h xlocale_h HAVE_XLOCALE_H" 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 " stdbool.h stdbool_h HAVE_STDBOOL_H" +as_fn_append ac_header_c_list " pthread.h pthread_h HAVE_PTHREAD_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" @@ -5751,10 +5950,8 @@ as_fn_append ac_func_c_list " btowc HAVE_BTOWC" as_fn_append ac_func_c_list " _set_invalid_parameter_handler HAVE__SET_INVALID_PARAMETER_HANDLER" 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 " 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" @@ -5767,13 +5964,12 @@ 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 +6150,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -am__api_version='1.16' +am__api_version='1.18' @@ -6057,6 +6253,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 @@ -6065,10 +6420,14 @@ am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac @@ -6077,49 +6436,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 +6764,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 +6793,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 @@ -6474,7 +6855,7 @@ fi # Define the identity of the package. - PACKAGE='' + PACKAGE='libunistring' VERSION='' @@ -6508,9 +6889,133 @@ AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. -_am_tools='gnutar pax cpio none' +_am_tools='gnutar plaintar pax cpio none' + +# The POSIX 1988 'ustar' format is defined with fixed-size fields. + # There is notably a 21 bits limit for the UID and the GID. In fact, + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 + # and bug#13588). + am_max_uid=2097151 # 2^21 - 1 + am_max_gid=$am_max_uid + # The $UID and $GID variables are not portable, so we need to resort + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls + # below are definitely unexpected, so allow the users to see them + # (that is, avoid stderr redirection). + am_uid=`id -u || echo unknown` + am_gid=`id -g || echo unknown` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 +printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; } + if test x$am_uid = xunknown; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5 +printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;} + elif test $am_uid -le $am_max_uid; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + _am_tools=none + fi + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 +printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; } + if test x$gm_gid = xunknown; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5 +printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;} + elif test $am_gid -le $am_max_gid; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + _am_tools=none + fi + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 +printf %s "checking how to create a ustar tar archive... " >&6; } -am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' + # Go ahead even if we have the value already cached. We do so because we + # need to set the values for the 'am__tar' and 'am__untar' variables. + _am_tools=${am_cv_prog_tar_ustar-$_am_tools} + + for _am_tool in $_am_tools; do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; do + { echo "$as_me:$LINENO: $_am_tar --version" >&5 + ($_am_tar --version) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && break + done + am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x ustar -w "$$tardir"' + am__tar_='pax -L -x ustar -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H ustar -L' + am__tar_='find "$tardir" -print | cpio -o -H ustar -L' + am__untar='cpio -i -H ustar -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_ustar}" && break + + # tar/untar a dummy directory, and stop if the command works. + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 + (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + rm -rf conftest.dir + if test -s conftest.tar; then + { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 + ($am__untar <conftest.tar) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 + (cat conftest.dir/file) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break + fi + done + rm -rf conftest.dir + + if test ${am_cv_prog_tar_ustar+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) am_cv_prog_tar_ustar=$_am_tool ;; +esac +fi + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 +printf "%s\n" "$am_cv_prog_tar_ustar" >&6; } @@ -6531,51 +7036,23 @@ 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/>. + VERSION="$VERSION_NUMBER" -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. + PACKAGE_VERSION="$VERSION_NUMBER" -END - as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 - fi -fi + PACKAGE_STRING="libunistring $VERSION_NUMBER" + + printf "%s\n" "#undef PACKAGE_VERSION" >>confdefs.h - PACKAGE=libunistring +printf "%s\n" "#define PACKAGE_VERSION \"$VERSION_NUMBER\"" >>confdefs.h - VERSION=$VERSION_NUMBER + printf "%s\n" "#undef PACKAGE_STRING" >>confdefs.h + +printf "%s\n" "#define PACKAGE_STRING \"libunistring $VERSION_NUMBER\"" >>confdefs.h @@ -7660,7 +8137,10 @@ _ACEOF break fi done - rm -f core conftest* + # aligned with autoconf, so not including core; see bug#72225. + rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \ + conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \ + conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM unset am_i ;; esac fi @@ -7922,7 +8402,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 +8849,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 +9254,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 +9293,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 +9333,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 +9354,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 +9390,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 @@ -8992,7 +9477,7 @@ fi - # Check whether --enable-threads was given. + # Check whether --enable-threads was given. if test ${enable_threads+y} then : enableval=$enable_threads; gl_use_threads=$enableval @@ -9000,58 +9485,58 @@ else case e in #( e) if test -n "$gl_use_threads_default"; then gl_use_threads="$gl_use_threads_default" else - case "$host_os" in - osf*) gl_use_threads=no ;; - cygwin*) - case `uname -r` in - 1.[0-5].*) gl_use_threads=no ;; - *) gl_use_threads=yes ;; - esac - ;; - mingw* | windows*) - case "$gl_use_winpthreads_default" in - yes) gl_use_threads=posix ;; - no) gl_use_threads=windows ;; - *) gl_use_threads=yes ;; - esac - ;; - *) gl_use_threads=yes ;; - esac + case $host_os in #( + cygwin*) : + case $(uname -r) in #( + 1.[0-5].*) : + gl_use_threads=no ;; #( + *) : + gl_use_threads=yes ;; +esac + ;; #( + mingw* | windows*) : + case $gl_use_winpthreads_default in #( + yes) : + gl_use_threads=posix ;; #( + no) : + gl_use_threads=windows ;; #( + *) : + gl_use_threads=yes ;; +esac + ;; #( + *) : + gl_use_threads=yes ;; +esac fi ;; esac fi - if test "$gl_use_threads" = yes \ - || test "$gl_use_threads" = isoc \ - || test "$gl_use_threads" = posix \ - || test "$gl_use_threads" = isoc+posix; then - # For using <threads.h> or <pthread.h>: + case $gl_use_threads in #( + yes | isoc | posix | isoc+posix) : + + # For using <threads.h> or <pthread.h>: if test -z "$gl_anythreadlib_early_done"; then - case "$host_os" in - osf*) - # On OSF/1, the compiler needs the flag -D_REENTRANT so that it - # groks <pthread.h>. cc also understands the flag -pthread, but - # we don't use it because 1. gcc-2.95 doesn't understand -pthread, - # 2. putting a flag into CPPFLAGS that has an effect on the linker - # causes the AC_LINK_IFELSE test below to succeed unexpectedly, - # leading to wrong values of LIBTHREAD and LTLIBTHREAD. - CPPFLAGS="$CPPFLAGS -D_REENTRANT" - ;; - esac # Some systems optimize for single-threaded programs by default, and # need special flags to disable these optimizations. For example, the - # definition of 'errno' in <errno.h>. - case "$host_os" in - aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; - solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; - esac + # definition of errno in <errno.h>. + case $host_os in #( + aix* | freebsd*) : + CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; #( + hpux* | solaris*) : + CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; #( + *) : + ;; +esac gl_anythreadlib_early_done=done fi - fi + ;; #( + *) : + ;; +esac @@ -9068,8 +9553,8 @@ fi # Code from module alloca-opt: # Code from module alloca-opt-tests: # Code from module amemxfrm: - # Code from module arpa_inet: - # Code from module arpa_inet-tests: + # Code from module arpa_inet-h: + # Code from module arpa_inet-h-tests: # Code from module array-mergesort: # Code from module array-mergesort-tests: # Code from module assert-h: @@ -9080,6 +9565,8 @@ fi # Code from module binary-io-tests: # Code from module bind: # Code from module bind-tests: + # Code from module bool: + # Code from module bool-tests: # Code from module btoc32: # Code from module btoc32-tests: # Code from module btowc: @@ -9087,8 +9574,8 @@ fi # Code from module builtin-expect: # Code from module c-ctype: # Code from module c-ctype-tests: - # Code from module c-strcase: - # Code from module c-strcase-tests: + # Code from module c-strcasecmp: + # Code from module c-strcasecmp-tests: # Code from module c-strcaseeq: # Code from module c32isalnum: # Code from module c32isalnum-tests: @@ -9125,26 +9612,32 @@ fi # Code from module calloc-gnu: # Code from module calloc-gnu-tests: # Code from module calloc-posix: + # Code from module calloc-posix-tests: # Code from module cloexec: # Code from module cloexec-tests: # Code from module close: # Code from module close-tests: + # 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 ctype-h: + # Code from module ctype-h-tests: # Code from module double-slash-root: # Code from module dup2: # Code from module dup2-tests: # Code from module environ: # Code from module environ-tests: - # Code from module errno: - # Code from module errno-tests: + # Code from module errno-h: + # Code from module errno-h-tests: # Code from module error: # Code from module error-h: # 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 fcntl: # Code from module fcntl-h: @@ -9156,8 +9649,7 @@ fi # Code from module fgetc-tests: # Code from module filename: # Code from module flexmember: - # Code from module float: - # Code from module float-tests: + # Code from module float-h: # Code from module fpieee: # Code from module fpucw: @@ -9181,13 +9673,16 @@ fi # Code from module getcwd-lgpl-tests: # Code from module getdtablesize: # Code from module getdtablesize-tests: - # Code from module getpagesize: + # Code from module getlocalename_l-unsafe: + # Code from module getlocalename_l-unsafe-limited: # Code from module getprogname: # Code from module getprogname-tests: # Code from module gettext-h: + # Code from module gettext-h-tests: # Code from module gettimeofday: # Code from module gettimeofday-tests: # Code from module gitlog-to-changelog: + # Code from module gnulib-i18n: # Code from module gperf: # Code from module hard-locale: # Code from module hard-locale-tests: @@ -9207,9 +9702,9 @@ fi # Code from module inline: # Code from module intprops: # Code from module intprops-tests: - # Code from module inttypes: - # Code from module inttypes-incomplete: - # Code from module inttypes-tests: + # Code from module inttypes-h: + # Code from module inttypes-h-incomplete: + # Code from module inttypes-h-tests: # Code from module ioctl: # Code from module ioctl-tests: # Code from module isblank: @@ -9228,8 +9723,6 @@ fi # Code from module iswpunct-tests: # Code from module iswxdigit: # Code from module iswxdigit-tests: - # Code from module langinfo: - # Code from module langinfo-tests: # Code from module largefile: # Code from module largefile-tests: @@ -9240,9 +9733,12 @@ fi # Code from module listen-tests: # Code from module localcharset: # Code from module localcharset-tests: - # Code from module locale: - # Code from module locale-tests: + # Code from module locale-h: + # Code from module locale-h-tests: + # Code from module localeconv: + # Code from module localeconv-tests: # Code from module localename: + # Code from module localename-environ: # Code from module localename-tests: # Code from module localename-unsafe: # Code from module localename-unsafe-limited: @@ -9253,10 +9749,11 @@ fi # Code from module malloc-gnu: # Code from module malloc-gnu-tests: # Code from module malloc-posix: + # Code from module malloc-posix-tests: # Code from module malloca: # Code from module malloca-tests: - # Code from module math: - # Code from module math-tests: + # Code from module math-h: + # Code from module math-h-tests: # Code from module mbchar: # Code from module mbiterf: # Code from module mbrtoc32: @@ -9266,23 +9763,30 @@ 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 minmax: + # Code from module mixin/printf-posix: + # Code from module mkfifo: + # Code from module mkfifo-tests: # Code from module msvc-inval: # Code from module msvc-nothrow: # Code from module multiarch: # Code from module nan: # Code from module nanosleep: # Code from module nanosleep-tests: - # Code from module netinet_in: - # Code from module netinet_in-tests: + # Code from module netinet_in-h: + # Code from module netinet_in-h-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 package-version: # Code from module pathmax: # Code from module pathmax-tests: # Code from module perror: @@ -9296,58 +9800,61 @@ 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: if test -z "$gl_anythreadlib_early_done"; then - case "$host_os" in - osf*) - # On OSF/1, the compiler needs the flag -D_REENTRANT so that it - # groks <pthread.h>. cc also understands the flag -pthread, but - # we don't use it because 1. gcc-2.95 doesn't understand -pthread, - # 2. putting a flag into CPPFLAGS that has an effect on the linker - # causes the AC_LINK_IFELSE test below to succeed unexpectedly, - # leading to wrong values of LIBTHREAD and LTLIBTHREAD. - CPPFLAGS="$CPPFLAGS -D_REENTRANT" - ;; - esac # Some systems optimize for single-threaded programs by default, and # need special flags to disable these optimizations. For example, the - # definition of 'errno' in <errno.h>. - case "$host_os" in - aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; - solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; - esac + # definition of errno in <errno.h>. + case $host_os in #( + aix* | freebsd*) : + CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; #( + hpux* | solaris*) : + CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; #( + *) : + ;; +esac gl_anythreadlib_early_done=done 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 realloc-gnu: - # Code from module realloc-gnu-tests: # Code from module realloc-posix: + # Code from module realloc-posix-tests: # Code from module reallocarray: # Code from module reallocarray-tests: # Code from module relocatable-lib-lgpl: # Code from module same-inode: - # Code from module sched: - # Code from module sched-tests: + # Code from module sched-h: + # Code from module sched-h-tests: # Code from module sched_yield: # Code from module select: # Code from module select-tests: # Code from module setenv: # Code from module setenv-tests: # Code from module setlocale: + # Code from module setlocale-fixes: # Code from module setlocale-null: # Code from module setlocale-null-tests: # Code from module setlocale-null-unlocked: @@ -9382,23 +9889,26 @@ fi # Code from module stat-time: # Code from module stat-time-tests: # Code from module std-gnu11: - # Code from module stdbool: - # Code from module stdbool-tests: - # Code from module stdckdint: - # Code from module stdckdint-tests: - # Code from module stddef: - # Code from module stddef-tests: - # Code from module stdint: - # Code from module stdint-tests: - # Code from module stdio: + # Code from module stdckdint-h: + # Code from module stdckdint-h-tests: + # Code from module stddef-h: + # Code from module stddef-h-tests: + # Code from module stdint-h: + # Code from module stdint-h-tests: + # Code from module stdio-h: printf "%s\n" "#define __USE_MINGW_ANSI_STDIO 1" >>confdefs.h - # Code from module stdio-tests: - # Code from module stdlib: - # Code from module stdlib-tests: + # Code from module stdio-h-tests: + # Code from module stdlib-h: + # Code from module stdlib-h-tests: + # Code from module stpcpy: + # Code from module str_endswith: + # Code from module str_endswith-tests: + # Code from module str_startswith: + # Code from module str_startswith-tests: # Code from module streq: # Code from module strerror: # Code from module strerror-override: @@ -9409,8 +9919,9 @@ fi # Code from module striconveh-tests: # Code from module striconveha: # Code from module striconveha-tests: - # Code from module string: - # Code from module string-tests: + # Code from module string-h: + # Code from module string-h-tests: + # Code from module stringeq: # Code from module strncat: # Code from module strncat-tests: # Code from module strstr: @@ -9418,22 +9929,24 @@ fi # Code from module strstr-tests: # Code from module symlink: # Code from module symlink-tests: - # Code from module sys_ioctl: - # Code from module sys_ioctl-tests: - # Code from module sys_select: - # Code from module sys_select-tests: - # Code from module sys_socket: - # Code from module sys_socket-tests: - # Code from module sys_stat: - # Code from module sys_stat-tests: - # 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 sys_ioctl-h: + # Code from module sys_ioctl-h-tests: + # Code from module sys_select-h: + # Code from module sys_select-h-tests: + # Code from module sys_socket-h: + # Code from module sys_socket-h-tests: + # Code from module sys_stat-h: + # Code from module sys_stat-h-tests: + # Code from module sys_time-h: + # Code from module sys_time-h-tests: + # Code from module sys_types-h: + + # Code from module sys_types-h-tests: + # Code from module sys_uio-h: + # Code from module sys_uio-h-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: @@ -9445,9 +9958,10 @@ fi # Code from module time-h: # Code from module time-h-tests: # Code from module time-tests: - # Code from module uchar: - # Code from module uchar-tests: + # Code from module uchar-h: + # Code from module uchar-h-tests: # Code from module unicase/base: + # Code from module unicase/base-tests: # Code from module unicase/cased: # Code from module unicase/cased-tests: # Code from module unicase/empty-prefix-context: @@ -9563,6 +10077,7 @@ fi # Code from module unicase/ulc-casecoll-tests: # Code from module unicase/ulc-casexfrm: # Code from module uniconv/base: + # Code from module uniconv/base-tests: # Code from module uniconv/u16-conv-from-enc: # Code from module uniconv/u16-conv-from-enc-tests: # Code from module uniconv/u16-conv-to-enc: @@ -9594,6 +10109,7 @@ fi # Code from module uniconv/u8-strconv-to-enc-tests: # Code from module uniconv/u8-strconv-to-locale: # Code from module unictype/base: + # Code from module unictype/base-tests: # Code from module unictype/bidiclass-all: # Code from module unictype/bidiclass-byname: # Code from module unictype/bidiclass-byname-tests: @@ -9901,6 +10417,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: @@ -9983,6 +10501,7 @@ fi # Code from module unictype/syntax-java-whitespace: # Code from module unictype/syntax-java-whitespace-tests: # Code from module unigbrk/base: + # Code from module unigbrk/base-tests: # Code from module unigbrk/u16-grapheme-breaks: # Code from module unigbrk/u16-grapheme-breaks-tests: # Code from module unigbrk/u16-grapheme-next: @@ -10010,6 +10529,7 @@ fi # Code from module unigbrk/ulc-grapheme-breaks: # Code from module unigbrk/ulc-grapheme-breaks-tests: # Code from module unilbrk/base: + # Code from module unilbrk/base-tests: # Code from module unilbrk/tables: # Code from module unilbrk/u16-possible-linebreaks: # Code from module unilbrk/u16-possible-linebreaks-tests: @@ -10029,12 +10549,15 @@ fi # Code from module unilbrk/ulc-width-linebreaks: # Code from module unilbrk/ulc-width-linebreaks-tests: # Code from module unimetadata/base: + # Code from module unimetadata/base-tests: # Code from module unimetadata/u-version: # Code from module unimetadata/u-version-tests: # Code from module uniname/base: + # Code from module uniname/base-tests: # Code from module uniname/uniname: # Code from module uniname/uniname-tests: # Code from module uninorm/base: + # Code from module uninorm/base-tests: # Code from module uninorm/canonical-decomposition: # Code from module uninorm/canonical-decomposition-tests: # Code from module uninorm/compat-decomposition: @@ -10075,9 +10598,10 @@ fi # Code from module uninorm/u8-normcoll: # Code from module uninorm/u8-normcoll-tests: # Code from module uninorm/u8-normxfrm: - # Code from module unistd: - # Code from module unistd-tests: + # Code from module unistd-h: + # Code from module unistd-h-tests: # Code from module unistdio/base: + # Code from module unistdio/base-tests: # Code from module unistdio/u-printf-args: # Code from module unistdio/u16-asnprintf: # Code from module unistdio/u16-asnprintf-tests: @@ -10162,6 +10686,7 @@ fi # Code from module unistdio/ulc-vsprintf: # Code from module unistdio/ulc-vsprintf-tests: # Code from module unistr/base: + # Code from module unistr/base-tests: # Code from module unistr/u16-check: # Code from module unistr/u16-check-tests: # Code from module unistr/u16-chr: @@ -10396,8 +10921,9 @@ fi # Code from module unistr/u8-to-u32-tests: # Code from module unistr/u8-uctomb: # Code from module unistr/u8-uctomb-tests: - # Code from module unitypes: + # Code from module unitypes-h: # Code from module uniwbrk/base: + # Code from module uniwbrk/base-tests: # Code from module uniwbrk/table: # Code from module uniwbrk/u16-wordbreaks: # Code from module uniwbrk/u16-wordbreaks-tests: @@ -10409,6 +10935,7 @@ fi # Code from module uniwbrk/ulc-wordbreaks-tests: # Code from module uniwbrk/wordbreak-property: # Code from module uniwidth/base: + # Code from module uniwidth/base-tests: # Code from module uniwidth/u16-strwidth: # Code from module uniwidth/u16-strwidth-tests: # Code from module uniwidth/u16-width: @@ -10430,8 +10957,8 @@ fi # Code from module vararrays: # Code from module verify: # Code from module verify-tests: - # Code from module wchar: - # Code from module wchar-tests: + # Code from module wchar-h: + # Code from module wchar-h-tests: # Code from module wcrtomb: # Code from module wcrtomb-tests: # Code from module wctob: @@ -10440,16 +10967,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-lgpl: # Code from module xsize: # Code from module yield: @@ -10519,8 +11056,8 @@ esac -macro_version='2.4.7' -macro_revision='2.4.7' +macro_version='2.5.4' +macro_revision='2.5.4' @@ -10954,7 +11491,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 +11604,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 +11620,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 @@ -11312,14 +11846,14 @@ else case e in #( lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. + gnu* | ironclad*) + # Under GNU Hurd and Ironclad, this test is not required because there + # is no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever 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 +11875,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 +12018,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 +12031,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 +12067,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 +12105,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 +12127,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 +12149,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 +12157,7 @@ done done IFS=$as_save_IFS + test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":" fi ;; esac fi @@ -11637,66 +12171,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 +12302,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 +12328,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 +12337,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 ;; @@ -11937,7 +12410,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) lt_cv_deplibs_check_method=pass_all ;; -netbsd*) +*-mlibc) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else @@ -11955,7 +12432,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 @@ -11971,6 +12448,10 @@ rdos*) lt_cv_deplibs_check_method=pass_all ;; +serenity*) + lt_cv_deplibs_check_method=pass_all + ;; + solaris*) lt_cv_deplibs_check_method=pass_all ;; @@ -12023,7 +12504,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 +12660,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 +12812,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 +13004,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 +13018,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 +13099,7 @@ case $host_os in aix*) symcode='[BCDT]' ;; -cygwin* | mingw* | pw32* | cegcc*) +cygwin* | mingw* | windows* | pw32* | cegcc*) symcode='[ABCDGISTW]' ;; hpux*) @@ -12807,7 +13178,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 +13229,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 @@ -12868,11 +13239,8 @@ _LT_EOF test $ac_status = 0; }; then # Now try to grab the symbols. nlist=conftest.nm - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 - (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 - ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s "$nlist"; then + $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 + if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" @@ -13043,7 +13411,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 +13899,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 +14510,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 +14603,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,13 +14632,32 @@ 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 if test yes = "$lt_cv_apple_cc_single_mod"; then _lt_dar_single_mod='$single_module' fi + _lt_dar_needs_single_mod=no + case $host_os in + rhapsody* | darwin1.*) + _lt_dar_needs_single_mod=yes ;; + darwin*) + # When targeting Mac OS X 10.4 (darwin 8) or later, + # -single_module is the default and -multi_module is unsupported. + # The toolchain on macOS 10.14 (darwin 18) and later cannot + # target any OS version that needs -single_module. + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*) + _lt_dar_needs_single_mod=yes ;; + esac + ;; + esac if test yes = "$lt_cv_ld_exported_symbols_list"; then _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' else @@ -14294,7 +14722,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 +15128,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 +15220,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 +15251,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 +15293,7 @@ esac LIBTOOL_DEPS=$ltmain # Always use our own libtool. -LIBTOOL="${CONFIG_SHELL-$SHELL} "'$(top_builddir)/libtool' +LIBTOOL='$(SHELL) $(top_builddir)/libtool' @@ -15109,7 +15575,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 +15717,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 +15820,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 +15861,12 @@ lt_prog_compiler_static= lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; + *flang* | ftn | f18* | f95*) + # 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*) @@ -15477,6 +15949,12 @@ lt_prog_compiler_static= lt_prog_compiler_static='-Bstatic' ;; + *-mlibc) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. @@ -15493,6 +15971,9 @@ lt_prog_compiler_static= lt_prog_compiler_static='-non_shared' ;; + serenity*) + ;; + solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' @@ -15866,7 +16347,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,9 +16359,6 @@ 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*) - with_gnu_ld=no - ;; esac ld_shlibs=yes @@ -15981,7 +16459,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' @@ -15991,6 +16469,7 @@ _LT_EOF enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' + file_list_spec='@' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' @@ -16010,7 +16489,7 @@ _LT_EOF haiku*) archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - link_all_deplibs=yes + link_all_deplibs=no ;; os2*) @@ -16037,7 +16516,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='@' ;; @@ -16116,6 +16595,7 @@ _LT_EOF case $cc_basename in tcc*) + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' export_dynamic_flag_spec='-rdynamic' ;; xlf* | bgf* | bgxlf* | mpixlf*) @@ -16136,7 +16616,12 @@ _LT_EOF fi ;; - netbsd*) + *-mlibc) + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + ;; + + netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= @@ -16528,7 +17013,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 +17030,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' @@ -16835,11 +17320,15 @@ printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } # Fabrice Bellard et al's Tiny C Compiler ld_shlibs=yes archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' ;; esac ;; - netbsd*) + *-mlibc) + ;; + + netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else @@ -16861,7 +17350,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 +17393,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='@' ;; @@ -16940,6 +17429,9 @@ printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } hardcode_libdir_separator=: ;; + serenity*) + ;; + solaris*) no_undefined_flag=' -z defs' if test yes = "$GCC"; then @@ -17346,7 +17838,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 +17896,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 +17970,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 +18064,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,15 +18075,29 @@ cygwin* | mingw* | pw32* | cegcc*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \$file`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' + # If user builds GCC with multilib 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`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + 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 +18110,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 +18129,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 +18236,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 @@ -17760,8 +18287,9 @@ haiku*) soname_spec='$libname$release$shared_ext$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=no - sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' - hardcode_into_libs=yes + sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib' + sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib' + hardcode_into_libs=no ;; hpux9* | hpux10* | hpux11*) @@ -17942,7 +18470,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, @@ -17962,6 +18490,18 @@ fi dynamic_linker='GNU/Linux ld.so' ;; +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; + netbsd*) version_type=sunos need_lib_prefix=no @@ -17980,6 +18520,18 @@ netbsd*) hardcode_into_libs=yes ;; +*-mlibc) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + dynamic_linker='mlibc ld.so' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' @@ -17999,7 +18551,7 @@ newsos6) dynamic_linker='ldqnx.so' ;; -openbsd* | bitrig*) +openbsd*) version_type=sunos sys_lib_dlsearch_path_spec=/usr/lib need_lib_prefix=no @@ -18059,6 +18611,17 @@ rdos*) dynamic_linker=no ;; +serenity*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + dynamic_linker='SerenityOS LibELF' + ;; + solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no @@ -18156,6 +18719,496 @@ uts4*) shlibpath_var=LD_LIBRARY_PATH ;; +emscripten*) + version_type=none + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext' + soname_spec='$libname$release$shared_ext' + finish_cmds= + dynamic_linker="Emscripten linker" + lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + + + if test yes = "$GCC"; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test ia64 = "$host_cpu"; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + lt_prog_compiler_pic='-fPIC' + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + lt_prog_compiler_pic='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the '-m68020' flag to GCC prevents building anything better, + # like '-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + 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 + # (--disable-auto-import) libraries + lt_prog_compiler_pic='-DDLL_EXPORT' + case $host_os in + os2*) + lt_prog_compiler_static='$wl-static' + ;; + esac + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + lt_prog_compiler_static= + ;; + + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + lt_prog_compiler_wl='-Xlinker ' + if test -n "$lt_prog_compiler_pic"; then + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" + fi + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test ia64 = "$host_cpu"; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + case $cc_basename in + nagfor*) + # NAG Fortran compiler + lt_prog_compiler_wl='-Wl,-Wl,,' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + esac + ;; + + 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' + case $host_os in + os2*) + lt_prog_compiler_static='$wl-static' + ;; + esac + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='$wl-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + case $cc_basename in + # old Intel for x86_64, which still supported -KPIC. + ecc*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + *flang* | ftn | f18* | f95*) + # 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*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='--shared' + lt_prog_compiler_static='--static' + ;; + nagfor*) + # NAG Fortran compiler + lt_prog_compiler_wl='-Wl,-Wl,,' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + tcc*) + # Fabrice Bellard et al's Tiny C Compiler + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-qpic' + lt_prog_compiler_static='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | $SED 5q` in + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='' + ;; + *Sun\ F* | *Sun*Fortran*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Qoption ld ' + ;; + *Sun\ C*) + # Sun C 5.9 + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Wl,' + ;; + *Intel*\ [CF]*Compiler*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + *Portland\ Group*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + esac + ;; + esac + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + *-mlibc) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + rdos*) + lt_prog_compiler_static='-non_shared' + ;; + + serenity*) + ;; + + solaris*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + case $cc_basename in + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) + lt_prog_compiler_wl='-Qoption ld ';; + *) + lt_prog_compiler_wl='-Wl,';; + esac + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + unicos*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_can_build_shared=no + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +case $host_os in + # For platforms that do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +printf %s "checking for $compiler option to produce PIC... " >&6; } +if test ${lt_cv_prog_compiler_pic+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 +printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } +if test ${lt_cv_prog_compiler_pic_works+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) lt_cv_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_pic_works=yes + fi + fi + $RM conftest* + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 +printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } + +if test yes = "$lt_cv_prog_compiler_pic_works"; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi + + + + + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +if test ${lt_cv_prog_compiler_static_works+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) lt_cv_prog_compiler_static_works=no + save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_static_works=yes + fi + else + lt_cv_prog_compiler_static_works=yes + fi + fi + $RM -r conftest* + LDFLAGS=$save_LDFLAGS + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 +printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } + +if test yes = "$lt_cv_prog_compiler_static_works"; then + : +else + lt_prog_compiler_static= +fi + + + +='-fPIC' + archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib' + archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym' + archive_cmds_need_lc=no + no_undefined_flag= + ;; + *) dynamic_linker=no ;; @@ -18340,7 +19393,7 @@ else lt_cv_dlopen_self=yes ;; - mingw* | pw32* | cegcc*) + mingw* | windows* | pw32* | cegcc*) lt_cv_dlopen=LoadLibrary lt_cv_dlopen_libs= ;; @@ -18713,11 +19766,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 +19874,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; @@ -19241,6 +20294,8 @@ fi + + # Check whether --enable-cross-guesses was given. if test ${enable_cross_guesses+y} then : @@ -19611,6 +20666,7 @@ printf "%s\n" "$gl_cv_source_line_length_unlimited" >&6; } + HAVE_C32RTOMB=1; HAVE_MBRTOC16=1; HAVE_MBRTOC32=1; @@ -19849,6 +20905,40 @@ printf "%s\n" "$gl_cv_next_uchar_h" >&6; } + CXX_HAVE_UCHAR_H=0 + if test "$CXX" != no; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler has <uchar.h>" >&5 +printf %s "checking whether the C++ compiler has <uchar.h>... " >&6; } +if test ${gl_cv_cxx_have_uchar_h+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat > conftest.cpp <<\EOF +#include <uchar.h> +EOF + gl_command="$CXX $CXXFLAGS $CPPFLAGS -c conftest.cpp" + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gl_command\""; } >&5 + (eval $gl_command) 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + gl_cv_cxx_have_uchar_h=yes + else + gl_cv_cxx_have_uchar_h=no + fi + rm -fr conftest* + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cxx_have_uchar_h" >&5 +printf "%s\n" "$gl_cv_cxx_have_uchar_h" >&6; } + if test $gl_cv_cxx_have_uchar_h = yes; then + CXX_HAVE_UCHAR_H=1 + fi + fi + + + @@ -19892,8 +20982,8 @@ printf "%s\n" "$gl_cv_cxx_has_uchar_types" >&6; } CXX_HAS_CHAR8_TYPE=0 if test $HAVE_UCHAR_H = 0; then if test "$CXX" != no; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler predefines the char8_t types" >&5 -printf %s "checking whether the C++ compiler predefines the char8_t types... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler predefines the char8_t type" >&5 +printf %s "checking whether the C++ compiler predefines the char8_t type... " >&6; } if test ${gl_cv_cxx_has_char8_type+y} then : printf %s "(cached) " >&6 @@ -20018,7 +21108,7 @@ printf "%s\n" "$ac_res" >&6; } HAVE_WCSTOK=1; HAVE_WCSWIDTH=1; HAVE_WCSFTIME=1; - HAVE_DECL_WCTOB=1; + HAVE_WCTOB=1; HAVE_DECL_WCSDUP=1; HAVE_DECL_WCWIDTH=1; REPLACE_MBSTATE_T=0; @@ -20036,6 +21126,7 @@ printf "%s\n" "$ac_res" >&6; } REPLACE_WCSWIDTH=0; REPLACE_WCSFTIME=0; REPLACE_WCSCMP=0; + REPLACE_WCSNCAT=0; REPLACE_WCSNCMP=0; REPLACE_WCSSTR=0; REPLACE_WCSTOK=0; @@ -20226,10 +21317,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 @@ -20250,15 +21342,15 @@ _ACEOF if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC-JP else - # Test for the HP-UX, OSF/1, NetBSD locale name. + # Test for the HP-UX, NetBSD locale name. if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.eucJP else - # Test for the IRIX, FreeBSD locale name. + # Test for the FreeBSD locale name. 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 +21387,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 +21428,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 +21443,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 +21463,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 +21483,21 @@ _ACEOF # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. - # Test for the usual locale name. - if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then - gt_cv_locale_fr_utf8=fr_FR + # Test for the locale name with explicit encoding suffix first + # (this is necessary on Haiku). + if (LC_ALL=en_US.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_en_utf8=en_US.UTF-8 else - # Test for the locale name with explicit encoding suffix. - if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then - gt_cv_locale_fr_utf8=fr_FR.UTF-8 + # Test for the locale name without encoding suffix. + if (LC_ALL=en_US LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_en_utf8=en_US else - # Test for the Solaris 7 locale name. - if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then - gt_cv_locale_fr_utf8=fr.UTF-8 + # Test for the Solaris 10 locale name. + if (LC_ALL=en.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_en_utf8=en.UTF-8 else # None found. - gt_cv_locale_fr_utf8=none + gt_cv_locale_en_utf8=none fi fi fi @@ -20425,39 +21510,20 @@ _ACEOF ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 -printf "%s\n" "$gt_cv_locale_fr_utf8" >&6; } - LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 - case $LOCALE_FR_UTF8 in #( - '' | *[[:space:]\"\$\'*[]*) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: invalid locale \"$LOCALE_FR_UTF8\"; assuming \"none\"" >&5 -printf "%s\n" "$as_me: WARNING: invalid locale \"$LOCALE_FR_UTF8\"; assuming \"none\"" >&2;} - LOCALE_FR_UTF8=none;; - esac - - - case "$host_os" in - *-musl* | midipix*) - LC_COLLATE_IMPLEMENTED=false - LC_NUMERIC_IMPLEMENTED=false - LC_TIME_IMPLEMENTED=false - LC_MONETARY_IMPLEMENTED=false - ;; - *) - LC_COLLATE_IMPLEMENTED=true - LC_NUMERIC_IMPLEMENTED=true - LC_TIME_IMPLEMENTED=true - LC_MONETARY_IMPLEMENTED=true - ;; +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_en_utf8" >&5 +printf "%s\n" "$gt_cv_locale_en_utf8" >&6; } + LOCALE_EN_UTF8="$gt_cv_locale_en_utf8" + case "$LOCALE_EN_UTF8" in #( + '' | *[\"\$\'*[]*) + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: invalid locale \"$LOCALE_EN_UTF8\"; assuming \"none\"" >&5 +printf "%s\n" "$as_me: WARNING: invalid locale \"$LOCALE_EN_UTF8\"; assuming \"none\"" >&2;} + LOCALE_EN_UTF8=none;; esac - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 printf %s "checking for a transitional chinese locale... " >&6; } if test ${gt_cv_locale_zh_CN+y} @@ -20476,6 +21542,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 +21601,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 +21626,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. @@ -20629,10 +21710,10 @@ then : else case e in #( e) case "$host_os" in - # Guess no on AIX and OSF/1. - aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; - # Guess yes otherwise. - *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; + # Guess no on AIX. + aix*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; esac if test $LOCALE_JA != none; then if test "$cross_compiling" = yes @@ -20674,7 +21755,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 +21768,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 +22089,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 +22106,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. @@ -21051,7 +22134,7 @@ _ACEOF if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO-8859-1 else - # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. + # Test for the AIX, FreeBSD, NetBSD, OpenBSD locale name. if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO8859-1 else @@ -21059,7 +22142,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 +22177,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 +22285,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 +22570,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 +22634,9 @@ booboo #if !defined EILSEQ booboo #endif +#if !defined ESOCKTNOSUPPORT +booboo +#endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | @@ -21486,270 +22733,714 @@ printf "%s\n" "$gl_cv_next_errno_h" >&6; } GL_GENERATE_ERRNO_H=true fi - if $GL_GENERATE_ERRNO_H; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 -printf %s "checking for EMULTIHOP value... " >&6; } -if test ${gl_cv_header_errno_h_EMULTIHOP+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ctype.h defines __header_inline" >&5 +printf %s "checking whether ctype.h defines __header_inline... " >&6; } +if test ${gl_cv_have___header_inline+y} then : printf %s "(cached) " >&6 else case e in #( - e) - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - -#include <errno.h> -#ifdef EMULTIHOP -yes -#endif +#include <ctype.h> + #ifndef __header_inline + #error "<ctype.h> does not define __header_inline" + #endif _ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 +if ac_fn_c_try_cpp "$LINENO" then : - gl_cv_header_errno_h_EMULTIHOP=yes + gl_cv_have___header_inline=yes else case e in #( - e) gl_cv_header_errno_h_EMULTIHOP=no ;; + e) gl_cv_have___header_inline=no ;; esac fi -rm -rf conftest* +rm -f conftest.err conftest.i conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have___header_inline" >&5 +printf "%s\n" "$gl_cv_have___header_inline" >&6; } + if test "$gl_cv_have___header_inline" = yes; then - if test $gl_cv_header_errno_h_EMULTIHOP = no; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ +printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h -#define _XOPEN_SOURCE_EXTENDED 1 -#include <errno.h> -#ifdef EMULTIHOP -yes -#endif + fi -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 -then : - gl_cv_header_errno_h_EMULTIHOP=hidden -fi -rm -rf conftest* - if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then - if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" " -#define _XOPEN_SOURCE_EXTENDED 1 -#include <errno.h> -/* The following two lines are a workaround against an autoconf-2.52 bug. */ -#include <stdio.h> -#include <stdlib.h> -" -then : -fi - fi - fi - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 -printf "%s\n" "$gl_cv_header_errno_h_EMULTIHOP" >&6; } - case $gl_cv_header_errno_h_EMULTIHOP in - yes | no) - EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE= - ;; - *) - EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP" - ;; - esac + HAVE_FCNTL=1; + HAVE_OPENAT=1; + REPLACE_CREAT=0; + REPLACE_FCNTL=0; + REPLACE_OPEN=0; + REPLACE_OPENAT=0; + + +gl_mda_defines=' +#if defined _WIN32 && !defined __CYGWIN__ +#define access _access +#define chdir _chdir +#define chmod _chmod +#define close _close +#define creat _creat +#define dup _dup +#define dup2 _dup2 +#define ecvt _ecvt +#define execl _execl +#define execle _execle +#define execlp _execlp +#define execv _execv +#define execve _execve +#define execvp _execvp +#define execvpe _execvpe +#define fcloseall _fcloseall +#define fcvt _fcvt +#define fdopen _fdopen +#define fileno _fileno +#define gcvt _gcvt +#define getcwd _getcwd +#define getpid _getpid +#define getw _getw +#define isatty _isatty +#define j0 _j0 +#define j1 _j1 +#define jn _jn +#define lfind _lfind +#define lsearch _lsearch +#define lseek _lseek +#define memccpy _memccpy +#define mkdir _mkdir +#define mktemp _mktemp +#define open _open +#define putenv _putenv +#define putw _putw +#define read _read +#define rmdir _rmdir +#define strdup _strdup +#define swab _swab +#define tempnam _tempnam +#define tzset _tzset +#define umask _umask +#define unlink _unlink +#define utime _utime +#define wcsdup _wcsdup +#define write _write +#define y0 _y0 +#define y1 _y1 +#define yn _yn +#endif +' - fi - if $GL_GENERATE_ERRNO_H; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 -printf %s "checking for ENOLINK value... " >&6; } -if test ${gl_cv_header_errno_h_ENOLINK+y} + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 +printf %s "checking for working fcntl.h... " >&6; } +if test ${gl_cv_header_working_fcntl_h+y} then : printf %s "(cached) " >&6 else case e in #( - e) - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + e) if test "$cross_compiling" = yes +then : + case $host_os,$gl_cross_guess_normal in #( + # The O_DIRECTORY test is known to fail on Mac OS X 10.4.11 (2007) + # (see <https://bugs.gnu.org/78509#95>) + # and to succeed on Mac OS X 10.5.8 [darwin9.8.0] (2009). + # Guess it fails on Mac OS X 10.4.x and earlier. + darwin[0-8].*yes) : + gl_cv_header_working_fcntl_h="guessing no (bad O_DIRECTORY)" ;; #( + # Known to be "no" on native MS-Windows. + mingw* | windows*) : + gl_cv_header_working_fcntl_h=no ;; #( + *) : + gl_cv_header_working_fcntl_h=$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> + #if HAVE_UNISTD_H + # include <unistd.h> + #else /* on Windows with MSVC */ + # include <io.h> + # include <stdlib.h> + # define sleep(n) _sleep ((n) * 1000) + #endif + #include <errno.h> + #include <fcntl.h> -#include <errno.h> -#ifdef ENOLINK -yes -#endif +$gl_mda_defines + + #ifndef O_DIRECTORY + #define O_DIRECTORY 0 + #endif + #ifndef O_NOATIME + #define O_NOATIME 0 + #endif + #ifndef O_NOFOLLOW + #define O_NOFOLLOW 0 + #endif + #ifndef O_SEARCH + #define O_SEARCH O_RDONLY + #endif + static int const constants[] = + { + O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, + O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY + }; + +int +main (void) +{ + + int result = !constants; + #if HAVE_SYMLINK + { + static char const sym[] = "conftest.sym"; + if (symlink ("/dev/null", sym) != 0) + result |= 1; + else + { + int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0); + if (fd >= 0) + { + close (fd); + result |= 3; + } + } + if (unlink (sym) != 0 || symlink (".", sym) != 0) + result |= 1; + else + { + int fd = open (sym, O_RDONLY | O_NOFOLLOW); + if (fd >= 0) + { + close (fd); + result |= 3; + } + } + unlink (sym); + } + #endif + { + int fd = open ("confdefs.h", O_SEARCH | O_DIRECTORY); + if (!(fd < 0 && errno == ENOTDIR)) + result |= 4; + if (0 <= fd) + close (fd); + } + { + static char const file[] = "confdefs.h"; + int fd = open (file, O_RDONLY | O_NOATIME); + if (fd < 0) + result |= 8; + else + { + struct stat st0; + if (fstat (fd, &st0) != 0) + result |= 16; + else + { + char c; + sleep (1); + if (read (fd, &c, 1) != 1) + result |= 24; + else + { + if (close (fd) != 0) + result |= 32; + else + { + struct stat st1; + if (stat (file, &st1) != 0) + result |= 40; + else + if (st0.st_atime != st1.st_atime) + result |= 64; + } + } + } + } + } + return result; + ; + return 0; +} _ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 +if ac_fn_c_try_run "$LINENO" then : - gl_cv_header_errno_h_ENOLINK=yes + gl_cv_header_working_fcntl_h=yes else case e in #( - e) gl_cv_header_errno_h_ENOLINK=no ;; + e) case $? in #( + 3) : + gl_cv_header_working_fcntl_h="no (bad O_NOFOLLOW)" ;; #( + 4) : + gl_cv_header_working_fcntl_h="no (bad O_DIRECTORY)" ;; #( + 7) : + gl_cv_header_working_fcntl_h="no (bad O_NOFOLLOW, O_DIRECTORY)" ;; #( + 64) : + gl_cv_header_working_fcntl_h="no (bad O_NOATIME)" ;; #( + 67) : + gl_cv_header_working_fcntl_h="no (bad O_NOFOLLOW, O_NOATIME)" ;; #( + 68) : + gl_cv_header_working_fcntl_h="no (bad O_DIRECTORY, O_NOATIME)" ;; #( + 71) : + gl_cv_header_working_fcntl_h="no (bad O_NOFOLLOW, O_DIRECTORY, O_NOATIME)" ;; #( + *) : + gl_cv_header_working_fcntl_h="no" ;; +esac ;; esac fi -rm -rf conftest* +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_header_working_fcntl_h" >&5 +printf "%s\n" "$gl_cv_header_working_fcntl_h" >&6; } - if test $gl_cv_header_errno_h_ENOLINK = no; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + case $gl_cv_header_working_fcntl_h in #( + *O_DIRECTORY* | *no) : + gl_val=0 ;; #( + *) : + gl_val=1 ;; +esac + +printf "%s\n" "#define HAVE_WORKING_O_DIRECTORY $gl_val" >>confdefs.h + + + case $gl_cv_header_working_fcntl_h in #( + *O_NOATIME* | *no) : + gl_val=0 ;; #( + *) : + gl_val=1 ;; +esac + +printf "%s\n" "#define HAVE_WORKING_O_NOATIME $gl_val" >>confdefs.h + + + case $gl_cv_header_working_fcntl_h in #( + *O_NOFOLLOW* | *no) : + gl_val=0 ;; #( + *) : + gl_val=1 ;; +esac + +printf "%s\n" "#define HAVE_WORKING_O_NOFOLLOW $gl_val" >>confdefs.h + + + + 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. */ -#define _XOPEN_SOURCE_EXTENDED 1 -#include <errno.h> -#ifdef ENOLINK -yes -#endif + #if defined _WIN64 && !defined __CYGWIN__ + LLP64 + #endif + +int +main (void) +{ + + ; + return 0; +} _ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 +if ac_fn_c_try_compile "$LINENO" then : - gl_cv_header_errno_h_ENOLINK=hidden + ac_pid_type='int' +else case e in #( + e) ac_pid_type='__int64' ;; +esac fi -rm -rf conftest* +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - if test $gl_cv_header_errno_h_ENOLINK = hidden; then - if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" " -#define _XOPEN_SOURCE_EXTENDED 1 -#include <errno.h> -/* The following two lines are a workaround against an autoconf-2.52 bug. */ -#include <stdio.h> -#include <stdlib.h> -" -then : +printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h + ;; +esac fi - fi - 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 : + +else case e in #( + e) +printf "%s\n" "#define mode_t int" >>confdefs.h + ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5 -printf "%s\n" "$gl_cv_header_errno_h_ENOLINK" >&6; } - case $gl_cv_header_errno_h_ENOLINK in - yes | no) - ENOLINK_HIDDEN=0; ENOLINK_VALUE= - ;; - *) - ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK" - ;; - esac - fi - if $GL_GENERATE_ERRNO_H; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 -printf %s "checking for EOVERFLOW value... " >&6; } -if test ${gl_cv_header_errno_h_EOVERFLOW+y} + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_fcntl_h='<'fcntl.h'>' + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <fcntl.h>" >&5 +printf %s "checking absolute name of <fcntl.h>... " >&6; } +if test ${gl_cv_next_fcntl_h+y} then : printf %s "(cached) " >&6 else case e in #( e) - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <errno.h> -#ifdef EOVERFLOW -yes -#endif + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <fcntl.h> _ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 -then : - gl_cv_header_errno_h_EOVERFLOW=yes -else case e in #( - e) gl_cv_header_errno_h_EOVERFLOW=no ;; + 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 'fcntl.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_fcntl_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n "$gl_absolute_header_sed"` + + gl_header=$gl_cv_absolute_fcntl_h + gl_cv_next_fcntl_h='"'$gl_header'"' + + ;; esac fi -rm -rf conftest* +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5 +printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + fi + NEXT_FCNTL_H=$gl_cv_next_fcntl_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='<'fcntl.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_fcntl_h + fi + NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=$gl_next_as_first_directive + + + + + + + + + + + + + + + + GL_GNULIB_CREAT=0 + + + + GL_GNULIB_FCNTL=0 + + + + GL_GNULIB_NONBLOCKING=0 + + + + GL_GNULIB_OPEN=0 + + + + GL_GNULIB_OPENAT=0 + + + + GL_GNULIB_MDA_CREAT=1 + + + + GL_GNULIB_MDA_OPEN=1 - if test $gl_cv_header_errno_h_EOVERFLOW = no; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#define _XOPEN_SOURCE_EXTENDED 1 -#include <errno.h> -#ifdef EOVERFLOW -yes -#endif + + + { 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 (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 +if ac_fn_c_try_compile "$LINENO" then : - gl_cv_header_errno_h_EOVERFLOW=hidden + + # 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 -rf conftest* +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> - if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then - if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" " -#define _XOPEN_SOURCE_EXTENDED 1 -#include <errno.h> -/* The following two lines are a workaround against an autoconf-2.52 bug. */ -#include <stdio.h> -#include <stdlib.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> -fi +int +main (void) +{ +#if BYTE_ORDER != BIG_ENDIAN + not big endian + #endif - fi - fi - ;; + ; + 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 -printf "%s\n" "$gl_cv_header_errno_h_EOVERFLOW" >&6; } - case $gl_cv_header_errno_h_EOVERFLOW in - yes | no) - EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE= - ;; - *) - EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW" - ;; - esac - +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> - fi +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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ctype.h defines __header_inline" >&5 -printf %s "checking whether ctype.h defines __header_inline... " >&6; } -if test ${gl_cv_have___header_inline+y} + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" then : - printf %s "(cached) " >&6 + 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. */ -#include <ctype.h> - #ifndef __header_inline - #error "<ctype.h> does not define __header_inline" - #endif +$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_cpp "$LINENO" +if ac_fn_c_try_run "$LINENO" then : - gl_cv_have___header_inline=yes + ac_cv_c_bigendian=no else case e in #( - e) gl_cv_have___header_inline=no ;; + e) ac_cv_c_bigendian=yes ;; esac fi -rm -f conftest.err conftest.i conftest.$ac_ext ;; +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have___header_inline" >&5 -printf "%s\n" "$gl_cv_have___header_inline" >&6; } - if test "$gl_cv_have___header_inline" = yes; then -printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h + 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) - fi +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 @@ -21779,7 +23470,6 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h HAVE_PTSNAME_R=1; HAVE_QSORT_R=1; HAVE_RANDOM=1; - HAVE_RANDOM_H=1; HAVE_RANDOM_R=1; HAVE_REALLOCARRAY=1; HAVE_REALPATH=1; @@ -21801,6 +23491,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; @@ -21827,7 +23518,6 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h REPLACE_RAND=0; REPLACE_RANDOM=0; REPLACE_RANDOM_R=0; - REPLACE_REALLOC_FOR_REALLOC_GNU=0; REPLACE_REALLOC_FOR_REALLOC_POSIX=0; REPLACE_REALLOCARRAY=0; REPLACE_REALPATH=0; @@ -21842,6 +23532,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 +23540,10 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h + GL_GNULIB_ABORT_DEBUG=0 + + + GL_GNULIB_ALIGNED_ALLOC=0 @@ -21965,10 +23660,6 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h - GL_GNULIB_REALLOC_GNU=0 - - - GL_GNULIB_REALLOC_POSIX=0 @@ -21989,6 +23680,10 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h + GL_GNULIB_STACK_TRACE=0 + + + GL_GNULIB_STRTOD=0 @@ -22065,14 +23760,19 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h HAVE_CBRTF=1; HAVE_CBRTL=1; HAVE_COPYSIGN=1; + HAVE_COPYSIGNF=1; HAVE_COPYSIGNL=1; HAVE_COSF=1; HAVE_COSL=1; HAVE_COSHF=1; HAVE_EXPF=1; HAVE_EXPL=1; + HAVE_EXP2=1; + HAVE_EXP2F=1; + HAVE_EXP2L=1; HAVE_EXPM1=1; HAVE_EXPM1F=1; + HAVE_EXPM1L=1; HAVE_FABSF=1; HAVE_FABSL=1; HAVE_FMA=1; @@ -22081,6 +23781,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; @@ -22097,15 +23800,32 @@ printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h HAVE_LOG1P=1; HAVE_LOG1PF=1; HAVE_LOG1PL=1; + HAVE_LOG2=1; + HAVE_LOG2F=1; + HAVE_LOG2L=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; HAVE_REMAINDER=1; HAVE_REMAINDERF=1; + HAVE_REMAINDERL=1; HAVE_RINT=1; + HAVE_RINTF=1; HAVE_RINTL=1; + HAVE_ROUND=1; + HAVE_ROUNDF=1; + HAVE_ROUNDL=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,36 +23837,23 @@ 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; - HAVE_DECL_CBRTF=1; - HAVE_DECL_CBRTL=1; HAVE_DECL_CEILF=1; HAVE_DECL_CEILL=1; - HAVE_DECL_COPYSIGNF=1; HAVE_DECL_COSL=1; HAVE_DECL_EXPL=1; - HAVE_DECL_EXP2=1; - HAVE_DECL_EXP2F=1; - HAVE_DECL_EXP2L=1; - HAVE_DECL_EXPM1L=1; HAVE_DECL_FLOORF=1; HAVE_DECL_FLOORL=1; HAVE_DECL_FREXPL=1; HAVE_DECL_LDEXPL=1; HAVE_DECL_LOGL=1; HAVE_DECL_LOG10L=1; - HAVE_DECL_LOG2=1; - HAVE_DECL_LOG2F=1; - HAVE_DECL_LOG2L=1; HAVE_DECL_LOGB=1; - HAVE_DECL_REMAINDER=1; - HAVE_DECL_REMAINDERL=1; - HAVE_DECL_RINTF=1; - HAVE_DECL_ROUND=1; - HAVE_DECL_ROUNDF=1; - HAVE_DECL_ROUNDL=1; HAVE_DECL_SINL=1; HAVE_DECL_SQRTL=1; HAVE_DECL_TANL=1; @@ -22184,6 +23891,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 +23943,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 +24161,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 +24293,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 +24357,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 +24429,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 @@ -22751,15 +24524,29 @@ printf "%s\n" "#define HAVE_SAME_LONG_DOUBLE_AS_DOUBLE 1" >>confdefs.h + HAVE_NEWLOCALE=1; + HAVE_DUPLOCALE=1; + HAVE_FREELOCALE=1; + HAVE_GETLOCALENAME_L=1; + REPLACE_LOCALECONV=0; + REPLACE_SETLOCALE=0; + REPLACE_NEWLOCALE=0; + REPLACE_DUPLOCALE=0; + REPLACE_FREELOCALE=0; + REPLACE_GETLOCALENAME_L=0; + REPLACE_STRUCT_LCONV=0; + LOCALENAME_ENHANCE_LOCALE_FUNCS=0; + + + + if test -z "$gl_pthreadlib_body_done" +then : - if test -z "$gl_pthreadlib_body_done"; then gl_pthread_api=no LIBPTHREAD= LIBPMULTITHREAD= - # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that - # it groks <pthread.h>. It's added above, in gl_ANYTHREADLIB_EARLY. ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" if test "x$ac_cv_header_pthread_h" = xyes then : @@ -22769,31 +24556,29 @@ else case e in #( esac fi - if test "$gl_have_pthread_h" = yes; then + if test "$gl_have_pthread_h" = yes +then : + # Other possible tests: # -lpthreads (FSU threads, PCthreads) # -lgthreads - # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist - # in libc. IRIX 6.5 has the first one in both libc and libpthread, but - # the second one only in libpthread, and lock.c needs it. + # Test whether both pthread_mutex_lock exists in libc. # # If -pthread works, prefer it to -lpthread, since Ubuntu 14.04 # needs -pthread for some reason. See: # https://lists.gnu.org/r/bug-gnulib/2014-09/msg00023.html saved_LIBS="$LIBS" - for gl_pthread in '' '-pthread'; do + for gl_pthread in "" "-pthread"; do LIBS="$LIBS $gl_pthread" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <pthread.h> pthread_mutex_t m; - pthread_mutexattr_t ma; int main (void) { pthread_mutex_lock (&m); - pthread_mutexattr_init (&ma); ; return 0; } @@ -22809,14 +24594,15 @@ 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:24597: gl_pthread_api=$gl_pthread_api" >&5 + echo "$as_me:24598: LIBPTHREAD=$LIBPTHREAD" >&5 gl_pthread_in_glibc=no # On Linux with glibc >= 2.34, libc contains the fully functional # pthread functions. - case "$host_os" in - linux*) + case $host_os in #( + linux*) : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <features.h> @@ -22834,13 +24620,16 @@ then : fi rm -rf conftest* - ;; - esac - echo "$as_me:22839: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 + ;; #( + *) : + ;; +esac + echo "$as_me:24627: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 + + # Test for libpthread by looking for pthread_kill. + if test $gl_pthread_api = yes && test -z "$LIBPTHREAD" +then : - # Test for libpthread by looking for pthread_kill. (Not pthread_self, - # since it is defined as a macro on OSF/1.) - if test $gl_pthread_api = yes && test -z "$LIBPTHREAD"; then # The program links fine without libpthread. But it may actually # need to link with libpthread in order to create multiple threads. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 @@ -22888,9 +24677,13 @@ fi printf "%s\n" "$ac_cv_lib_pthread_pthread_kill" >&6; } if test "x$ac_cv_lib_pthread_pthread_kill" = xyes then : - if test $gl_pthread_in_glibc = yes; then + if test $gl_pthread_in_glibc = yes +then : + LIBPMULTITHREAD= - else + +else case e in #( + e) LIBPMULTITHREAD=-lpthread # On Solaris and HP-UX, most pthread functions exist also in libc. # Therefore pthread_in_use() needs to actually try to create a @@ -22898,13 +24691,19 @@ then : # pthread_create will actually create a thread. # On Solaris 10 or newer, this test is no longer needed, because # libc contains the fully functional pthread functions. - case "$host_os" in - solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*) + case $host_os in #( + solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*) : + printf "%s\n" "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h - esac - fi + ;; #( + *) : + ;; +esac + ;; +esac +fi else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lthr" >&5 @@ -22964,7 +24763,10 @@ fi esac fi - elif test $gl_pthread_api != yes; then + +elif test $gl_pthread_api != yes +then : + # Some library is needed. Try libpthread and libc_r. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 printf %s "checking for pthread_kill in -lpthread... " >&6; } @@ -23016,7 +24818,9 @@ then : LIBPMULTITHREAD=-lpthread fi - if test $gl_pthread_api != yes; then + if test $gl_pthread_api != yes +then : + # For FreeBSD 4. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5 printf %s "checking for pthread_kill in -lc_r... " >&6; } @@ -23068,25 +24872,32 @@ then : LIBPMULTITHREAD=-lc_r fi - fi - fi - echo "$as_me:23073: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 - fi + +fi + +fi + echo "$as_me:24879: 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; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_pthread_api" >&5 printf "%s\n" "$gl_pthread_api" >&6; } - if test $gl_pthread_api = yes; then + if test $gl_pthread_api = yes +then : + printf "%s\n" "#define HAVE_PTHREAD_API 1" >>confdefs.h - fi + +fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <sched.h> + int main (void) { @@ -23208,7 +25019,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ gl_pthreadlib_body_done=done - fi + +fi @@ -23251,8 +25063,8 @@ fi rm -rf conftest* ;; - # Guess yes on glibc, HP-UX, IRIX, Solaris, native Windows. - *-gnu* | gnu* | hpux* | irix* | solaris* | mingw* | windows*) + # Guess yes on glibc, HP-UX, Solaris, native Windows. + *-gnu* | gnu* | hpux* | solaris* | mingw* | windows*) gl_cv_func_setlocale_null_all_mtsafe=yes ;; # If we don't know, obey --enable-cross-guesses. *) @@ -23289,8 +25101,8 @@ else case e in #( # Guess no on OpenBSD, AIX. openbsd* | aix*) gl_cv_func_setlocale_null_one_mtsafe=no ;; - # Guess yes on glibc, musl libc, macOS, FreeBSD, NetBSD, HP-UX, IRIX, Solaris, Haiku, Cygwin, native Windows. - *-gnu* | gnu* | *-musl* | midipix* | darwin* | freebsd* | midnightbsd* | netbsd* | hpux* | irix* | solaris* | haiku* | cygwin* | mingw* | windows*) + # Guess yes on glibc, musl libc, macOS, FreeBSD, NetBSD, HP-UX, Solaris, Haiku, Cygwin, native Windows. + *-gnu* | gnu* | *-musl* | midipix* | darwin* | freebsd* | midnightbsd* | netbsd* | hpux* | solaris* | haiku* | cygwin* | mingw* | windows*) gl_cv_func_setlocale_null_one_mtsafe=yes ;; # If we don't know, obey --enable-cross-guesses. *) @@ -23331,16 +25143,19 @@ if test ${gl_cv_have_weak+y} then : printf %s "(cached) " >&6 else case e in #( - e) case "$host_os" in - cygwin* | mingw* | windows*) + e) case $host_os in #( + cygwin* | mingw* | windows*) : + gl_cv_have_weak="guessing no" - ;; - *) + ;; #( + *) : + gl_cv_have_weak=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern void xyzzy (); #pragma weak xyzzy + int main (void) { @@ -23355,7 +25170,9 @@ then : fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext - if test $gl_cv_have_weak = maybe; then + if test $gl_cv_have_weak = maybe +then : + if test "$cross_compiling" = yes then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -23399,16 +25216,21 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ esac fi - fi + +fi ;; - esac - case " $LDFLAGS " in - *" -static "*) gl_cv_have_weak=no ;; - esac - case "$gl_cv_have_weak" in - *yes) - case "$host_os" in - freebsd* | dragonfly* | midnightbsd*) +esac + case " $LDFLAGS " in #( + *" -static "*) : + gl_cv_have_weak=no ;; #( + *) : + ;; +esac + case $gl_cv_have_weak in #( + *yes) : + case $host_os in #( + freebsd* | dragonfly* | midnightbsd*) : + : > conftest1.c $CC $CPPFLAGS $CFLAGS $LDFLAGS -fPIC -shared -o libempty.so conftest1.c -lpthread >&5 2>&1 cat <<EOF > conftest2.c @@ -23422,22 +25244,29 @@ EOF $CC $CPPFLAGS $CFLAGS $LDFLAGS -o conftest conftest2.c libempty.so >&5 2>&1 \ || gl_cv_have_weak=no rm -f conftest1.c libempty.so conftest2.c conftest - ;; - esac - ;; - esac + ;; #( + *) : + ;; +esac + ;; #( + *) : + ;; +esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5 printf "%s\n" "$gl_cv_have_weak" >&6; } - case "$gl_cv_have_weak" in - *yes) + case $gl_cv_have_weak in #( + *yes) : + printf "%s\n" "#define HAVE_WEAK_SYMBOLS 1" >>confdefs.h - ;; - esac + ;; #( + *) : + ;; +esac case "$gl_cv_have_weak" in *yes) SETLOCALE_NULL_LIB= ;; @@ -23453,6 +25282,503 @@ printf "%s\n" "#define HAVE_WEAK_SYMBOLS 1" >>confdefs.h + + + + + if test $ac_cv_func_getlocalename_l = yes; then + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getlocalename_l works" >&5 +printf %s "checking whether getlocalename_l works... " >&6; } +if test ${gl_cv_func_getlocalename_l_works+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) if test "$cross_compiling" = yes +then : + case "$host_os" in + cygwin*) # Guess no on Cygwin. + gl_cv_func_getlocalename_l_works="guessing no" ;; + *) # Guess yes otherwise. + gl_cv_func_getlocalename_l_works="guessing yes" ;; + esac + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <locale.h> +#include <string.h> +int main () +{ + const char *ret = getlocalename_l (LC_COLLATE, LC_GLOBAL_LOCALE); + return strlen (ret) == 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_getlocalename_l_works=yes +else case e in #( + e) gl_cv_func_getlocalename_l_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_getlocalename_l_works" >&5 +printf "%s\n" "$gl_cv_func_getlocalename_l_works" >&6; } + case "$gl_cv_func_getlocalename_l_works" in + *yes) ;; + *) REPLACE_GETLOCALENAME_L=1 ;; + esac + else + HAVE_GETLOCALENAME_L=0 + fi + if test $HAVE_GETLOCALENAME_L = 0 || test $REPLACE_GETLOCALENAME_L = 1; then + GETLOCALENAME_L_LIB="$SETLOCALE_NULL_LIB" + else + GETLOCALENAME_L_LIB= + fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5 +printf %s "checking whether locale.h defines locale_t... " >&6; } +if test ${gl_cv_header_locale_has_locale_t+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <locale.h> + locale_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_header_locale_has_locale_t=yes +else case e in #( + e) gl_cv_header_locale_has_locale_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_header_locale_has_locale_t" >&5 +printf "%s\n" "$gl_cv_header_locale_has_locale_t" >&6; } + + + if test $ac_cv_header_xlocale_h = yes; then + HAVE_XLOCALE_H=1 + if test $gl_cv_header_locale_has_locale_t = yes; then + gl_cv_header_locale_h_needs_xlocale_h=no + else + gl_cv_header_locale_h_needs_xlocale_h=yes + fi + HAVE_LOCALE_T=1 + else + HAVE_XLOCALE_H=0 + gl_cv_header_locale_h_needs_xlocale_h=no + if test $gl_cv_header_locale_has_locale_t = yes; then + HAVE_LOCALE_T=1 + else + HAVE_LOCALE_T=0 + fi + fi + + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uselocale" >&5 +printf %s "checking for uselocale... " >&6; } +if test ${gl_cv_onwards_func_uselocale+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" "uselocale" "ac_cv_have_decl_uselocale" "#include <locale.h> +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_uselocale" = xyes +then : + +fi + if test $ac_cv_have_decl_uselocale = yes; then + ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale" +if test "x$ac_cv_func_uselocale" = xyes +then : + +fi + + if test $ac_cv_func_uselocale = yes; then + gl_cv_onwards_func_uselocale=yes + else + gl_cv_onwards_func_uselocale='future OS version' + fi + else + gl_cv_onwards_func_uselocale='future OS version' + fi + ;; + + + *) + ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale" +if test "x$ac_cv_func_uselocale" = xyes +then : + +fi + + gl_cv_onwards_func_uselocale=$ac_cv_func_uselocale + ;; + + esac + + exec 6>&9 9>&- + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_uselocale" >&5 +printf "%s\n" "$gl_cv_onwards_func_uselocale" >&6; } + + case "$gl_cv_onwards_func_uselocale" in + future*) ac_cv_func_uselocale=no ;; + *) ac_cv_func_uselocale=$gl_cv_onwards_func_uselocale ;; + esac + if test $ac_cv_func_uselocale = yes; then + +printf "%s\n" "#define HAVE_USELOCALE 1" >>confdefs.h + + fi + + + + if test $ac_cv_func_uselocale = yes; then + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether uselocale works" >&5 +printf %s "checking whether uselocale works... " >&6; } +if test ${gt_cv_func_uselocale_works+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) if test "$cross_compiling" = yes +then : + # Guess no on AIX and z/OS, yes otherwise. + case "$host_os" in + aix* | openedition*) gt_cv_func_uselocale_works="guessing no" ;; + *) gt_cv_func_uselocale_works="guessing yes" ;; + esac + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <locale.h> +#if HAVE_XLOCALE_H +# include <xlocale.h> +#endif +locale_t loc1; +int main () +{ + uselocale (NULL); + setlocale (LC_ALL, "en_US.UTF-8"); + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gt_cv_func_uselocale_works=yes +else case e in #( + e) gt_cv_func_uselocale_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: $gt_cv_func_uselocale_works" >&5 +printf "%s\n" "$gt_cv_func_uselocale_works" >&6; } + else + gt_cv_func_uselocale_works=no + fi + case "$gt_cv_func_uselocale_works" in + *yes) + gt_working_uselocale=yes + +printf "%s\n" "#define HAVE_WORKING_USELOCALE 1" >>confdefs.h + + ;; + *) + gt_working_uselocale=no + ;; + esac + + + case "$gt_cv_func_uselocale_works" in + *yes) + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fake locale system (OpenBSD, Android)" >&5 +printf %s "checking for fake locale system (OpenBSD, Android)... " >&6; } +if test ${gt_cv_locale_fake+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) case "$host_os" in + *-android*) gt_cv_locale_fake=yes ;; + *) + if test "$cross_compiling" = yes +then : + case "$host_os" in + openbsd*) gt_cv_locale_fake="guessing yes" ;; + *) gt_cv_locale_fake="guessing no" ;; + esac + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include <locale.h> +#if HAVE_XLOCALE_H +# include <xlocale.h> +#endif +int main () +{ + locale_t loc1, loc2; + if (setlocale (LC_ALL, "de_DE.UTF-8") == NULL) return 1; + if (setlocale (LC_ALL, "fr_FR.UTF-8") == NULL) return 1; + loc1 = newlocale (LC_ALL_MASK, "de_DE.UTF-8", (locale_t)0); + loc2 = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", (locale_t)0); + return !(loc1 == loc2); +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gt_cv_locale_fake=yes +else case e in #( + e) gt_cv_locale_fake=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 + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fake" >&5 +printf "%s\n" "$gt_cv_locale_fake" >&6; } + ;; + *) gt_cv_locale_fake=no ;; + esac + case "$gt_cv_locale_fake" in + *yes) + gt_fake_locales=yes + +printf "%s\n" "#define HAVE_FAKE_LOCALES 1" >>confdefs.h + + ;; + *) + gt_fake_locales=no + ;; + esac + + case "$gt_cv_func_uselocale_works" in + *yes) + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Solaris 11.4 locale system" >&5 +printf %s "checking for Solaris 11.4 locale system... " >&6; } +if test ${gt_cv_locale_solaris114+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) case "$host_os" in + solaris*) + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include <locale.h> + struct _LC_locale_t *x; + locale_t y; + +int +main (void) +{ +*y = x; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gt_cv_locale_solaris114=yes +else case e in #( + e) gt_cv_locale_solaris114=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ;; + *) gt_cv_locale_solaris114=no ;; + esac + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_solaris114" >&5 +printf "%s\n" "$gt_cv_locale_solaris114" >&6; } + ;; + *) gt_cv_locale_solaris114=no ;; + esac + if test $gt_cv_locale_solaris114 = yes; then + +printf "%s\n" "#define HAVE_SOLARIS114_LOCALES 1" >>confdefs.h + + fi + + gt_nameless_locales=$gt_fake_locales + case "$host_os" in + aix*) + gt_nameless_locales=yes + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AIX locales with LC_MESSAGES name" >&5 +printf %s "checking for AIX locales with LC_MESSAGES name... " >&6; } +if test ${gt_cv_locale_aix72+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include <locale.h> + /* Include <sys/localedef.h>, which defines __locale_t. */ + #include <stdlib.h> + locale_t x; + +int +main (void) +{ +return ((__locale_t) x)->locale_name[0]; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gt_cv_locale_aix72=yes +else case e in #( + e) gt_cv_locale_aix72=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_locale_aix72" >&5 +printf "%s\n" "$gt_cv_locale_aix72" >&6; } + if test $gt_cv_locale_aix72 = yes; then + +printf "%s\n" "#define HAVE_AIX72_LOCALES 1" >>confdefs.h + + fi + ;; + esac + if test $gt_nameless_locales = yes; then + +printf "%s\n" "#define HAVE_NAMELESS_LOCALES 1" >>confdefs.h + + fi + + if test $gt_working_uselocale = yes && test $gt_fake_locales = no; then + gt_good_uselocale=yes + +printf "%s\n" "#define HAVE_GOOD_USELOCALE 1" >>confdefs.h + + else + gt_good_uselocale=no + fi + + if test $gt_working_uselocale = yes && test $gt_nameless_locales = yes; then + gt_localename_enhances_locale_funcs=yes + LOCALENAME_ENHANCE_LOCALE_FUNCS=1 + +printf "%s\n" "#define LOCALENAME_ENHANCE_LOCALE_FUNCS 1" >>confdefs.h + + else + gt_localename_enhances_locale_funcs=no + fi + + + + + GL_GNULIB_LOCALECONV=0 + + + + GL_GNULIB_SETLOCALE=0 + + + + GL_GNULIB_SETLOCALE_NULL=0 + + + + GL_GNULIB_NEWLOCALE=0 + + + + GL_GNULIB_DUPLOCALE=0 + + + + GL_GNULIB_FREELOCALE=0 + + + + GL_GNULIB_GETLOCALENAME_L=0 + + + + GL_GNULIB_GETLOCALENAME_L_UNSAFE=0 + + + + GL_GNULIB_LOCALENAME_UNSAFE=0 + + + + if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else @@ -23733,9 +26059,9 @@ else case e in #( *) if test -n "$gl_cv_host_cpu_c_abi"; then case "$gl_cv_host_cpu_c_abi" in - i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc) + i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | loongarch32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc) gl_cv_host_cpu_c_abi_32bit=yes ;; - x86_64 | alpha | arm64 | aarch64c | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 ) + x86_64 | alpha | arm64 | aarch64c | hppa64 | ia64 | loongarch64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 ) gl_cv_host_cpu_c_abi_32bit=no ;; *) gl_cv_host_cpu_c_abi_32bit=unknown ;; @@ -23780,7 +26106,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 +26917,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 +26962,7 @@ int result = 0; &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) - result |= 2; + result |= 4; iconv_close (cd_ascii_to_88591); } } @@ -24626,7 +26981,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 +27001,7 @@ int result = 0; &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) - result |= 8; + result |= 16; iconv_close (cd_88591_to_utf8); } } @@ -24656,7 +27011,7 @@ int result = 0; { /* Try standardized names. */ iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); - /* Try IRIX, OSF/1 names. */ + /* Try possible *BSD names. */ iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); /* Try AIX names. */ iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); @@ -24664,7 +27019,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)) @@ -25452,7 +27807,7 @@ uintmax_t j = UINTMAX_MAX; || defined __clang__) int k = _Generic (SIZE_MAX, size_t: 0); #elif (2 <= __GNUC__ || 4 <= __clang_major__ || defined __IBM__TYPEOF__ \ - || (0x5110 <= __SUNPRO_C && !__STDC__)) + || (0x5110 <= __SUNPRO_C && !__STDC__) || 1939 <= _MSC_VER) extern size_t k; extern __typeof__ (SIZE_MAX) k; #endif @@ -26197,7 +28552,7 @@ then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#if defined arm || defined __arm || defined __arm__ +#if defined __arm__ mixed_endianness #endif @@ -26661,296 +29016,163 @@ 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} + + { 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; } +if test ${gl_cv_cc_long_double_expbit0+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" + e) + if test "$cross_compiling" = yes 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 + if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then - ; - 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 + gl_cv_cc_long_double_expbit0="$gl_cv_cc_double_expbit0" + if test "$gl_cv_cc_double_expbit0" = unknown; then + case "$host_cpu" in + arm*) + # See the comments in exponentd.m4. + ;; + aarch64 | sh4) + # little-endian IEEE 754 double-precision + gl_cv_cc_long_double_expbit0='word 1 bit 20' + ;; + hppa*) + # big-endian IEEE 754 double-precision + gl_cv_cc_long_double_expbit0='word 0 bit 20' + ;; + mips*) + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include <sys/types.h> - #include <sys/param.h> + + #if defined _MIPSEB /* equivalent: __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ */ + int big; + #else + #error little + #endif 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 + # big-endian IEEE 754 double-precision + gl_cv_cc_long_double_expbit0='word 0 bit 20' + else case e in #( - e) ac_cv_c_bigendian=no ;; + e) # little-endian IEEE 754 double-precision + gl_cv_cc_long_double_expbit0='word 1 bit 20' + ;; 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 + ;; + esac + fi + else + case "$host_cpu" in + i[34567]86 | x86_64 | ia64*) + # 80-bits "extended precision" + gl_cv_cc_long_double_expbit0='word 2 bit 0' + ;; + m68k*) + # big-endian, 80-bits padded to 96 bits, non-IEEE exponent + gl_cv_cc_long_double_expbit0='word 0 bit 16' + ;; + alpha* | aarch64 | loongarch64 | riscv32 | riscv64 | sh4) + # little-endian IEEE 754 quadruple-precision + gl_cv_cc_long_double_expbit0='word 3 bit 16' + ;; + s390* | sparc | sparc64) + # big-endian IEEE 754 quadruple-precision + gl_cv_cc_long_double_expbit0='word 0 bit 16' + ;; + arm*) + 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> + #if defined _ARMEL + int little; + #else + #error big + #endif 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 + # little-endian IEEE 754 quadruple-precision + gl_cv_cc_long_double_expbit0='word 3 bit 16' + else case e in #( - e) ac_cv_c_bigendian=no ;; + e) # big-endian IEEE 754 quadruple-precision + gl_cv_cc_long_double_expbit0='word 0 bit 16' + ;; 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 + ;; + mips*) + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -$ac_includes_default + + #if defined _MIPSEB /* equivalent: __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ */ + int big; + #else + #error little + #endif + 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; } -if test ${gl_cv_cc_long_double_expbit0+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - if test "$cross_compiling" = yes -then : - - gl_cv_cc_long_double_expbit0="unknown" - case "$host_os" in - mingw* | windows*) - # On native Windows (little-endian), we know the result - # in two cases: mingw, MSVC. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef __MINGW32__ - Known -#endif _ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "Known" >/dev/null 2>&1 +if ac_fn_c_try_compile "$LINENO" then : - gl_cv_cc_long_double_expbit0="word 2 bit 0" -fi -rm -rf conftest* - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef _MSC_VER - Known -#endif + # big-endian IEEE 754 quadruple-precision + gl_cv_cc_long_double_expbit0='word 0 bit 16' -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "Known" >/dev/null 2>&1 -then : - gl_cv_cc_long_double_expbit0="word 1 bit 20" +else case e in #( + e) # little-endian IEEE 754 quadruple-precision + gl_cv_cc_long_double_expbit0='word 3 bit 16' + ;; +esac fi -rm -rf conftest* - - ;; - esac +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ;; + powerpc64le) + # little-endian double-double + gl_cv_cc_long_double_expbit0='word 1 bit 20' + ;; + powerpc* | rs6000) + # big-endian double-double + gl_cv_cc_long_double_expbit0='word 0 bit 20' + ;; + *) + gl_cv_cc_long_double_expbit0="unknown" + ;; + esac + fi else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -27413,353 +29635,10 @@ printf "%s\n" "$gl_cv_type_wctrans_t" >&6; } - HAVE_NL_LANGINFO=1; - REPLACE_NL_LANGINFO=0; - - - - - - - - - - - - - - - - - if test $gl_cv_have_include_next = yes; then - gl_cv_next_langinfo_h='<'langinfo.h'>' - else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <langinfo.h>" >&5 -printf %s "checking absolute name of <langinfo.h>... " >&6; } -if test ${gl_cv_next_langinfo_h+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - if test $ac_cv_header_langinfo_h = yes; then - - - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <langinfo.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 'langinfo.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_langinfo_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | - sed -n "$gl_absolute_header_sed"` - - gl_header=$gl_cv_absolute_langinfo_h - gl_cv_next_langinfo_h='"'$gl_header'"' - else - gl_cv_next_langinfo_h='<'langinfo.h'>' - fi - - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_langinfo_h" >&5 -printf "%s\n" "$gl_cv_next_langinfo_h" >&6; } - fi - NEXT_LANGINFO_H=$gl_cv_next_langinfo_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='<'langinfo.h'>' - else - # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' - gl_next_as_first_directive=$gl_cv_next_langinfo_h - fi - NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H=$gl_next_as_first_directive - - - - - - HAVE_LANGINFO_CODESET=0 - HAVE_LANGINFO_T_FMT_AMPM=0 - HAVE_LANGINFO_ALTMON=0 - HAVE_LANGINFO_ERA=0 - HAVE_LANGINFO_YESEXPR=0 - - if test $ac_cv_header_langinfo_h = yes; then - HAVE_LANGINFO_H=1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5 -printf %s "checking whether langinfo.h defines CODESET... " >&6; } -if test ${gl_cv_header_langinfo_codeset+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <langinfo.h> -int a = CODESET; - -int -main (void) -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_header_langinfo_codeset=yes -else case e in #( - e) gl_cv_header_langinfo_codeset=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_langinfo_codeset" >&5 -printf "%s\n" "$gl_cv_header_langinfo_codeset" >&6; } - if test $gl_cv_header_langinfo_codeset = yes; then - HAVE_LANGINFO_CODESET=1 - fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5 -printf %s "checking whether langinfo.h defines T_FMT_AMPM... " >&6; } -if test ${gl_cv_header_langinfo_t_fmt_ampm+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <langinfo.h> -int a = T_FMT_AMPM; - -int -main (void) -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_header_langinfo_t_fmt_ampm=yes -else case e in #( - e) gl_cv_header_langinfo_t_fmt_ampm=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_langinfo_t_fmt_ampm" >&5 -printf "%s\n" "$gl_cv_header_langinfo_t_fmt_ampm" >&6; } - if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then - HAVE_LANGINFO_T_FMT_AMPM=1 - fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ALTMON_1" >&5 -printf %s "checking whether langinfo.h defines ALTMON_1... " >&6; } -if test ${gl_cv_header_langinfo_altmon+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <langinfo.h> -int a = ALTMON_1; - -int -main (void) -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_header_langinfo_altmon=yes -else case e in #( - e) gl_cv_header_langinfo_altmon=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_langinfo_altmon" >&5 -printf "%s\n" "$gl_cv_header_langinfo_altmon" >&6; } - if test $gl_cv_header_langinfo_altmon = yes; then - HAVE_LANGINFO_ALTMON=1 - fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5 -printf %s "checking whether langinfo.h defines ERA... " >&6; } -if test ${gl_cv_header_langinfo_era+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <langinfo.h> -int a = ERA; - -int -main (void) -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_header_langinfo_era=yes -else case e in #( - e) gl_cv_header_langinfo_era=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_langinfo_era" >&5 -printf "%s\n" "$gl_cv_header_langinfo_era" >&6; } - if test $gl_cv_header_langinfo_era = yes; then - HAVE_LANGINFO_ERA=1 - fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5 -printf %s "checking whether langinfo.h defines YESEXPR... " >&6; } -if test ${gl_cv_header_langinfo_yesexpr+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <langinfo.h> -int a = YESEXPR; - -int -main (void) -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_header_langinfo_yesexpr=yes -else case e in #( - e) gl_cv_header_langinfo_yesexpr=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_langinfo_yesexpr" >&5 -printf "%s\n" "$gl_cv_header_langinfo_yesexpr" >&6; } - if test $gl_cv_header_langinfo_yesexpr = yes; then - HAVE_LANGINFO_YESEXPR=1 - fi - else - HAVE_LANGINFO_H=0 - fi - - - - - - - - - - - - - - GL_GNULIB_NL_LANGINFO=0 - - - - - HAVE_NEWLOCALE=1; - HAVE_DUPLOCALE=1; - HAVE_FREELOCALE=1; - REPLACE_LOCALECONV=0; - REPLACE_SETLOCALE=0; - REPLACE_NEWLOCALE=0; - REPLACE_DUPLOCALE=0; - REPLACE_FREELOCALE=0; - REPLACE_STRUCT_LCONV=0; - 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 +29702,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} @@ -27864,9 +29738,9 @@ printf "%s\n" "$gl_cv_decl_null_works" >&6; } GL_GENERATE_STDDEF_H=true fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unreachable" >&5 -printf %s "checking for unreachable... " >&6; } -if test ${gl_cv_func_unreachable+y} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unreachable in C" >&5 +printf %s "checking for unreachable in C... " >&6; } +if test ${gl_cv_c_func_unreachable+y} then : printf %s "(cached) " >&6 else case e in #( @@ -27885,9 +29759,9 @@ unreachable (); _ACEOF if ac_fn_c_try_link "$LINENO" then : - gl_cv_func_unreachable=yes + gl_cv_c_func_unreachable=yes else case e in #( - e) gl_cv_func_unreachable=no ;; + e) gl_cv_c_func_unreachable=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ @@ -27895,12 +29769,80 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unreachable" >&5 -printf "%s\n" "$gl_cv_func_unreachable" >&6; } - if test $gl_cv_func_unreachable = no; then +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_func_unreachable" >&5 +printf "%s\n" "$gl_cv_c_func_unreachable" >&6; } + if test $gl_cv_c_func_unreachable = no; then GL_GENERATE_STDDEF_H=true + HAVE_C_UNREACHABLE=0 + else + HAVE_C_UNREACHABLE=1 fi + GL_GENERATE_STDDEF_H=true + + { 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 whether <stddef.h> is idempotent" >&5 +printf %s "checking whether <stddef.h> is idempotent... " >&6; } +if test ${gl_cv_stddef_idempotent+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #if \ + ((__GNUC__ == 13 && __GNUC_MINOR__ <= 3) \ + || (__GNUC__ == 14 && __GNUC_MINOR__ <= 2)) + #error "bug 114870 is present" + #endif + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_stddef_idempotent="guessing yes" +else case e in #( + e) gl_cv_stddef_idempotent="guessing 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_stddef_idempotent" >&5 +printf "%s\n" "$gl_cv_stddef_idempotent" >&6; } + case "$gl_cv_stddef_idempotent" in + *yes) ;; + *) STDDEF_NOT_IDEMPOTENT=1 + GL_GENERATE_STDDEF_H=true + ;; + esac + if $GL_GENERATE_STDDEF_H; then @@ -27981,16 +29923,20 @@ printf "%s\n" "$gl_cv_next_stddef_h" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5 -printf %s "checking whether locale.h defines locale_t... " >&6; } -if test ${gl_cv_header_locale_has_locale_t+y} + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines _locale_t" >&5 +printf %s "checking whether locale.h defines _locale_t... " >&6; } +if test ${gl_cv_header_locale_has_windows_locale_t+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <locale.h> - locale_t x; + _locale_t x; int main (void) { @@ -28001,48 +29947,28 @@ main (void) _ACEOF if ac_fn_c_try_compile "$LINENO" then : - gl_cv_header_locale_has_locale_t=yes + gl_cv_header_locale_has_windows_locale_t=yes else case e in #( - e) gl_cv_header_locale_has_locale_t=no ;; + e) gl_cv_header_locale_has_windows_locale_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_header_locale_has_locale_t" >&5 -printf "%s\n" "$gl_cv_header_locale_has_locale_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_has_windows_locale_t" >&5 +printf "%s\n" "$gl_cv_header_locale_has_windows_locale_t" >&6; } + if test $gl_cv_header_locale_has_windows_locale_t = yes; then + HAVE_WINDOWS_LOCALE_T=1 +printf "%s\n" "#define HAVE_WINDOWS_LOCALE_T 1" >>confdefs.h - if test $ac_cv_header_xlocale_h = yes; then - HAVE_XLOCALE_H=1 - if test $gl_cv_header_locale_has_locale_t = yes; then - gl_cv_header_locale_h_needs_xlocale_h=no - else - gl_cv_header_locale_h_needs_xlocale_h=yes - fi - HAVE_LOCALE_T=1 else - HAVE_XLOCALE_H=0 - gl_cv_header_locale_h_needs_xlocale_h=no - if test $gl_cv_header_locale_has_locale_t = yes; then - HAVE_LOCALE_T=1 - else - HAVE_LOCALE_T=0 - fi + HAVE_WINDOWS_LOCALE_T=0 fi - - - - - - - - - case "$host_os" in solaris*) @@ -28223,406 +30149,6 @@ printf "%s\n" "$gl_cv_next_locale_h" >&6; } - - GL_GNULIB_LOCALECONV=0 - - - - GL_GNULIB_SETLOCALE=0 - - - - GL_GNULIB_SETLOCALE_NULL=0 - - - - GL_GNULIB_DUPLOCALE=0 - - - - GL_GNULIB_LOCALENAME_UNSAFE=0 - - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 -printf %s "checking for LC_MESSAGES... " >&6; } -if test ${gt_cv_val_LC_MESSAGES+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <locale.h> -int -main (void) -{ -return LC_MESSAGES - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO" -then : - gt_cv_val_LC_MESSAGES=yes -else case e in #( - e) gt_cv_val_LC_MESSAGES=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: $gt_cv_val_LC_MESSAGES" >&5 -printf "%s\n" "$gt_cv_val_LC_MESSAGES" >&6; } - if test $gt_cv_val_LC_MESSAGES = yes; then - -printf "%s\n" "#define HAVE_LC_MESSAGES 1" >>confdefs.h - - fi - - - - - - - - - - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uselocale" >&5 -printf %s "checking for uselocale... " >&6; } -if test ${gl_cv_onwards_func_uselocale+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" "uselocale" "ac_cv_have_decl_uselocale" "#include <locale.h> -" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_uselocale" = xyes -then : - -fi - if test $ac_cv_have_decl_uselocale = yes; then - ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale" -if test "x$ac_cv_func_uselocale" = xyes -then : - -fi - - if test $ac_cv_func_uselocale = yes; then - gl_cv_onwards_func_uselocale=yes - else - gl_cv_onwards_func_uselocale='future OS version' - fi - else - gl_cv_onwards_func_uselocale='future OS version' - fi - ;; - - - *) - ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale" -if test "x$ac_cv_func_uselocale" = xyes -then : - -fi - - gl_cv_onwards_func_uselocale=$ac_cv_func_uselocale - ;; - - esac - - exec 6>&9 9>&- - - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_uselocale" >&5 -printf "%s\n" "$gl_cv_onwards_func_uselocale" >&6; } - - case "$gl_cv_onwards_func_uselocale" in - future*) ac_cv_func_uselocale=no ;; - *) ac_cv_func_uselocale=$gl_cv_onwards_func_uselocale ;; - esac - if test $ac_cv_func_uselocale = yes; then - -printf "%s\n" "#define HAVE_USELOCALE 1" >>confdefs.h - - fi - - - - if test $ac_cv_func_uselocale = yes; then - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether uselocale works" >&5 -printf %s "checking whether uselocale works... " >&6; } -if test ${gt_cv_func_uselocale_works+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) if test "$cross_compiling" = yes -then : - # Guess no on AIX and z/OS, yes otherwise. - case "$host_os" in - aix* | openedition*) gt_cv_func_uselocale_works="guessing no" ;; - *) gt_cv_func_uselocale_works="guessing yes" ;; - esac - -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <locale.h> -#if HAVE_XLOCALE_H -# include <xlocale.h> -#endif -locale_t loc1; -int main () -{ - uselocale (NULL); - setlocale (LC_ALL, "en_US.UTF-8"); - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gt_cv_func_uselocale_works=yes -else case e in #( - e) gt_cv_func_uselocale_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: $gt_cv_func_uselocale_works" >&5 -printf "%s\n" "$gt_cv_func_uselocale_works" >&6; } - else - gt_cv_func_uselocale_works=no - fi - case "$gt_cv_func_uselocale_works" in - *yes) - gt_working_uselocale=yes - -printf "%s\n" "#define HAVE_WORKING_USELOCALE 1" >>confdefs.h - - ;; - *) - gt_working_uselocale=no - ;; - esac - - - case "$gt_cv_func_uselocale_works" in - *yes) - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fake locale system (OpenBSD)" >&5 -printf %s "checking for fake locale system (OpenBSD)... " >&6; } -if test ${gt_cv_locale_fake+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) if test "$cross_compiling" = yes -then : - case "$host_os" in - openbsd*) gt_cv_locale_fake="guessing yes" ;; - *) gt_cv_locale_fake="guessing no" ;; - esac - -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <locale.h> -#if HAVE_XLOCALE_H -# include <xlocale.h> -#endif -int main () -{ - locale_t loc1, loc2; - if (setlocale (LC_ALL, "de_DE.UTF-8") == NULL) return 1; - if (setlocale (LC_ALL, "fr_FR.UTF-8") == NULL) return 1; - loc1 = newlocale (LC_ALL_MASK, "de_DE.UTF-8", (locale_t)0); - loc2 = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", (locale_t)0); - return !(loc1 == loc2); -} -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gt_cv_locale_fake=yes -else case e in #( - e) gt_cv_locale_fake=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: $gt_cv_locale_fake" >&5 -printf "%s\n" "$gt_cv_locale_fake" >&6; } - ;; - *) gt_cv_locale_fake=no ;; - esac - case "$gt_cv_locale_fake" in - *yes) - gt_fake_locales=yes - -printf "%s\n" "#define HAVE_FAKE_LOCALES 1" >>confdefs.h - - ;; - *) - gt_fake_locales=no - ;; - esac - - case "$gt_cv_func_uselocale_works" in - *yes) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Solaris 11.4 locale system" >&5 -printf %s "checking for Solaris 11.4 locale system... " >&6; } -if test ${gt_cv_locale_solaris114+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) case "$host_os" in - solaris*) - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include <locale.h> - struct _LC_locale_t *x; - locale_t y; - -int -main (void) -{ -*y = x; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gt_cv_locale_solaris114=yes -else case e in #( - e) gt_cv_locale_solaris114=no ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ;; - *) gt_cv_locale_solaris114=no ;; - esac - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_solaris114" >&5 -printf "%s\n" "$gt_cv_locale_solaris114" >&6; } - ;; - *) gt_cv_locale_solaris114=no ;; - esac - if test $gt_cv_locale_solaris114 = yes; then - -printf "%s\n" "#define HAVE_SOLARIS114_LOCALES 1" >>confdefs.h - - fi - - case "$gt_cv_func_uselocale_works" in - *yes) - ac_fn_c_check_func "$LINENO" "getlocalename_l" "ac_cv_func_getlocalename_l" -if test "x$ac_cv_func_getlocalename_l" = xyes -then : - printf "%s\n" "#define HAVE_GETLOCALENAME_L 1" >>confdefs.h - -fi - - ;; - esac - - gt_nameless_locales=no - case "$host_os" in - aix*) - gt_nameless_locales=yes - -printf "%s\n" "#define HAVE_NAMELESS_LOCALES 1" >>confdefs.h - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AIX locales with LC_MESSAGES name" >&5 -printf %s "checking for AIX locales with LC_MESSAGES name... " >&6; } -if test ${gt_cv_locale_aix72+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include <locale.h> - /* Include <sys/localedef.h>, which defines __locale_t. */ - #include <stdlib.h> - locale_t x; - -int -main (void) -{ -return ((__locale_t) x)->locale_name[0]; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gt_cv_locale_aix72=yes -else case e in #( - e) gt_cv_locale_aix72=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_locale_aix72" >&5 -printf "%s\n" "$gt_cv_locale_aix72" >&6; } - if test $gt_cv_locale_aix72 = yes; then - -printf "%s\n" "#define HAVE_AIX72_LOCALES 1" >>confdefs.h - - fi - ;; - esac - - if test $gt_working_uselocale = yes && test $gt_fake_locales = no; then - gt_good_uselocale=yes - -printf "%s\n" "#define HAVE_GOOD_USELOCALE 1" >>confdefs.h - - else - gt_good_uselocale=no - fi - - if test $gt_good_uselocale = yes && test $gt_nameless_locales = yes; then - gt_localename_enhances_locale_funcs=yes - LOCALENAME_ENHANCE_LOCALE_FUNCS=1 - -printf "%s\n" "#define LOCALENAME_ENHANCE_LOCALE_FUNCS 1" >>confdefs.h - - else - gt_localename_enhances_locale_funcs=no - fi - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 printf %s "checking for CFPreferencesCopyAppValue... " >&6; } if test ${gt_cv_func_CFPreferencesCopyAppValue+y} @@ -28707,6 +30233,43 @@ printf "%s\n" "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 +printf %s "checking for LC_MESSAGES... " >&6; } +if test ${gt_cv_val_LC_MESSAGES+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <locale.h> +int +main (void) +{ +return LC_MESSAGES + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + gt_cv_val_LC_MESSAGES=yes +else case e in #( + e) gt_cv_val_LC_MESSAGES=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: $gt_cv_val_LC_MESSAGES" >&5 +printf "%s\n" "$gt_cv_val_LC_MESSAGES" >&6; } + if test $gt_cv_val_LC_MESSAGES = yes; then + +printf "%s\n" "#define HAVE_LC_MESSAGES 1" >>confdefs.h + + fi + + case "$host_os" in *-musl* | midipix*) @@ -28723,7 +30286,13 @@ printf "%s\n" "#define MUSL_LIBC 1" >>confdefs.h LTLIBTHREAD= LIBMULTITHREAD= LTLIBMULTITHREAD= - if test "$gl_use_threads" != no; then + if test "$gl_use_threads" = no +then : + +printf "%s\n" "#define AVOID_ANY_THREADS 1" >>confdefs.h + +else case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5 @@ -28732,16 +30301,19 @@ if test ${gl_cv_have_weak+y} then : printf %s "(cached) " >&6 else case e in #( - e) case "$host_os" in - cygwin* | mingw* | windows*) + e) case $host_os in #( + cygwin* | mingw* | windows*) : + gl_cv_have_weak="guessing no" - ;; - *) + ;; #( + *) : + gl_cv_have_weak=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern void xyzzy (); #pragma weak xyzzy + int main (void) { @@ -28756,7 +30328,9 @@ then : fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext - if test $gl_cv_have_weak = maybe; then + if test $gl_cv_have_weak = maybe +then : + if test "$cross_compiling" = yes then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -28800,16 +30374,21 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ esac fi - fi + +fi ;; - esac - case " $LDFLAGS " in - *" -static "*) gl_cv_have_weak=no ;; - esac - case "$gl_cv_have_weak" in - *yes) - case "$host_os" in - freebsd* | dragonfly* | midnightbsd*) +esac + case " $LDFLAGS " in #( + *" -static "*) : + gl_cv_have_weak=no ;; #( + *) : + ;; +esac + case $gl_cv_have_weak in #( + *yes) : + case $host_os in #( + freebsd* | dragonfly* | midnightbsd*) : + : > conftest1.c $CC $CPPFLAGS $CFLAGS $LDFLAGS -fPIC -shared -o libempty.so conftest1.c -lpthread >&5 2>&1 cat <<EOF > conftest2.c @@ -28823,42 +30402,59 @@ EOF $CC $CPPFLAGS $CFLAGS $LDFLAGS -o conftest conftest2.c libempty.so >&5 2>&1 \ || gl_cv_have_weak=no rm -f conftest1.c libempty.so conftest2.c conftest - ;; - esac - ;; - esac + ;; #( + *) : + ;; +esac + ;; #( + *) : + ;; +esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5 printf "%s\n" "$gl_cv_have_weak" >&6; } - case "$gl_cv_have_weak" in - *yes) + case $gl_cv_have_weak in #( + *yes) : + printf "%s\n" "#define HAVE_WEAK_SYMBOLS 1" >>confdefs.h - ;; - esac + ;; #( + *) : + ;; +esac - if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then + case $gl_cv_have_weak in #( + *yes) : - : - fi - if test "$gl_use_threads" = isoc || test "$gl_use_threads" = isoc+posix; then - gl_have_isoc_threads="$ac_cv_header_threads_h" - fi - if test "$gl_use_threads" = yes \ - || test "$gl_use_threads" = posix \ - || test "$gl_use_threads" = isoc+posix; then + : + ;; #( + *) : + ;; +esac + case $gl_use_threads in #( + isoc | isoc+posix) : - if test -z "$gl_pthreadlib_body_done"; then + gl_have_isoc_threads="$ac_cv_header_threads_h" + ;; #( + *) : + ;; +esac + case $gl_use_threads in #( + yes | posix | isoc+posix) : + + + + if test -z "$gl_pthreadlib_body_done" +then : + gl_pthread_api=no LIBPTHREAD= LIBPMULTITHREAD= - # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that - # it groks <pthread.h>. It's added above, in gl_ANYTHREADLIB_EARLY. ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" if test "x$ac_cv_header_pthread_h" = xyes then : @@ -28868,31 +30464,29 @@ else case e in #( esac fi - if test "$gl_have_pthread_h" = yes; then + if test "$gl_have_pthread_h" = yes +then : + # Other possible tests: # -lpthreads (FSU threads, PCthreads) # -lgthreads - # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist - # in libc. IRIX 6.5 has the first one in both libc and libpthread, but - # the second one only in libpthread, and lock.c needs it. + # Test whether both pthread_mutex_lock exists in libc. # # If -pthread works, prefer it to -lpthread, since Ubuntu 14.04 # needs -pthread for some reason. See: # https://lists.gnu.org/r/bug-gnulib/2014-09/msg00023.html saved_LIBS="$LIBS" - for gl_pthread in '' '-pthread'; do + for gl_pthread in "" "-pthread"; do LIBS="$LIBS $gl_pthread" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <pthread.h> pthread_mutex_t m; - pthread_mutexattr_t ma; int main (void) { pthread_mutex_lock (&m); - pthread_mutexattr_init (&ma); ; return 0; } @@ -28908,14 +30502,15 @@ 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:30505: gl_pthread_api=$gl_pthread_api" >&5 + echo "$as_me:30506: LIBPTHREAD=$LIBPTHREAD" >&5 gl_pthread_in_glibc=no # On Linux with glibc >= 2.34, libc contains the fully functional # pthread functions. - case "$host_os" in - linux*) + case $host_os in #( + linux*) : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <features.h> @@ -28933,13 +30528,16 @@ then : fi rm -rf conftest* - ;; - esac - echo "$as_me:28938: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 + ;; #( + *) : + ;; +esac + echo "$as_me:30535: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 + + # Test for libpthread by looking for pthread_kill. + if test $gl_pthread_api = yes && test -z "$LIBPTHREAD" +then : - # Test for libpthread by looking for pthread_kill. (Not pthread_self, - # since it is defined as a macro on OSF/1.) - if test $gl_pthread_api = yes && test -z "$LIBPTHREAD"; then # The program links fine without libpthread. But it may actually # need to link with libpthread in order to create multiple threads. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 @@ -28987,9 +30585,13 @@ fi printf "%s\n" "$ac_cv_lib_pthread_pthread_kill" >&6; } if test "x$ac_cv_lib_pthread_pthread_kill" = xyes then : - if test $gl_pthread_in_glibc = yes; then + if test $gl_pthread_in_glibc = yes +then : + LIBPMULTITHREAD= - else + +else case e in #( + e) LIBPMULTITHREAD=-lpthread # On Solaris and HP-UX, most pthread functions exist also in libc. # Therefore pthread_in_use() needs to actually try to create a @@ -28997,13 +30599,19 @@ then : # pthread_create will actually create a thread. # On Solaris 10 or newer, this test is no longer needed, because # libc contains the fully functional pthread functions. - case "$host_os" in - solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*) + case $host_os in #( + solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*) : + printf "%s\n" "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h - esac - fi + ;; #( + *) : + ;; +esac + ;; +esac +fi else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lthr" >&5 @@ -29063,7 +30671,10 @@ fi esac fi - elif test $gl_pthread_api != yes; then + +elif test $gl_pthread_api != yes +then : + # Some library is needed. Try libpthread and libc_r. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 printf %s "checking for pthread_kill in -lpthread... " >&6; } @@ -29115,7 +30726,9 @@ then : LIBPMULTITHREAD=-lpthread fi - if test $gl_pthread_api != yes; then + if test $gl_pthread_api != yes +then : + # For FreeBSD 4. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5 printf %s "checking for pthread_kill in -lc_r... " >&6; } @@ -29167,25 +30780,32 @@ then : LIBPMULTITHREAD=-lc_r fi - fi - fi - echo "$as_me:29172: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 - fi + +fi + +fi + echo "$as_me:30787: 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; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_pthread_api" >&5 printf "%s\n" "$gl_pthread_api" >&6; } - if test $gl_pthread_api = yes; then + if test $gl_pthread_api = yes +then : + printf "%s\n" "#define HAVE_PTHREAD_API 1" >>confdefs.h - fi + +fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <sched.h> + int main (void) { @@ -29307,68 +30927,106 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ gl_pthreadlib_body_done=done - fi - LIBTHREAD=$LIBPTHREAD LTLIBTHREAD=$LIBPTHREAD - LIBMULTITHREAD=$LIBPMULTITHREAD LTLIBMULTITHREAD=$LIBPMULTITHREAD - if test $gl_pthread_api = yes; then - if test "$gl_use_threads" = isoc+posix && test "$gl_have_isoc_threads" = yes; then - gl_threads_api='isoc+posix' +fi + + LIBTHREAD=$LIBPTHREAD LTLIBTHREAD=$LIBPTHREAD + LIBMULTITHREAD=$LIBPMULTITHREAD LTLIBMULTITHREAD=$LIBPMULTITHREAD + if test $gl_pthread_api = yes +then : + + if test "$gl_use_threads" = isoc+posix && + test "$gl_have_isoc_threads" = yes +then : + + gl_threads_api="isoc+posix" printf "%s\n" "#define USE_ISOC_AND_POSIX_THREADS 1" >>confdefs.h - LIBTHREAD= LTLIBTHREAD= - else - gl_threads_api=posix + LIBTHREAD= LTLIBTHREAD= + +else case e in #( + e) + gl_threads_api=posix printf "%s\n" "#define USE_POSIX_THREADS 1" >>confdefs.h - if test -z "$LIBMULTITHREAD" && test -z "$LTLIBMULTITHREAD"; then + if test -z "$LIBMULTITHREAD" && test -z "$LTLIBMULTITHREAD" +then : + printf "%s\n" "#define USE_POSIX_THREADS_FROM_LIBC 1" >>confdefs.h - else - if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then + +else case e in #( + e) + case $gl_cv_have_weak in #( + *yes) : + printf "%s\n" "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h - LIBTHREAD= LTLIBTHREAD= - else - case "$host_os" in - freebsd* | dragonfly* | midnightbsd*) - if test "x$LIBTHREAD" != "x$LIBMULTITHREAD"; then + LIBTHREAD= LTLIBTHREAD= + ;; #( + *) : + case $host_os in #( + freebsd* | dragonfly* | midnightbsd*) : + + if test "x$LIBTHREAD" != "x$LIBMULTITHREAD" +then : + printf "%s\n" "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h - fi + +fi + ;; #( + *) : + ;; +esac ;; - esac - fi - fi - fi - fi - fi - if test $gl_threads_api = none; then - if test "$gl_use_threads" = isoc && test "$gl_have_isoc_threads" = yes; then +esac + ;; +esac +fi + ;; +esac +fi +fi + ;; #( + *) : + ;; +esac + if test $gl_threads_api = none +then : + if test "$gl_use_threads" = isoc && test "$gl_have_isoc_threads" = yes +then : - if test -z "$gl_stdthreadlib_body_done"; then - case "$host_os" in - mingw* | windows*) + + if test -z "$gl_stdthreadlib_body_done" +then : + + + + case $host_os in #( + mingw* | windows*) : + LIBSTDTHREAD= - ;; - *) + ;; #( + *) : - if test -z "$gl_pthreadlib_body_done"; then + + if test -z "$gl_pthreadlib_body_done" +then : + gl_pthread_api=no LIBPTHREAD= LIBPMULTITHREAD= - # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that - # it groks <pthread.h>. It's added above, in gl_ANYTHREADLIB_EARLY. ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" if test "x$ac_cv_header_pthread_h" = xyes then : @@ -29378,31 +31036,29 @@ else case e in #( esac fi - if test "$gl_have_pthread_h" = yes; then + if test "$gl_have_pthread_h" = yes +then : + # Other possible tests: # -lpthreads (FSU threads, PCthreads) # -lgthreads - # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist - # in libc. IRIX 6.5 has the first one in both libc and libpthread, but - # the second one only in libpthread, and lock.c needs it. + # Test whether both pthread_mutex_lock exists in libc. # # If -pthread works, prefer it to -lpthread, since Ubuntu 14.04 # needs -pthread for some reason. See: # https://lists.gnu.org/r/bug-gnulib/2014-09/msg00023.html saved_LIBS="$LIBS" - for gl_pthread in '' '-pthread'; do + for gl_pthread in "" "-pthread"; do LIBS="$LIBS $gl_pthread" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <pthread.h> pthread_mutex_t m; - pthread_mutexattr_t ma; int main (void) { pthread_mutex_lock (&m); - pthread_mutexattr_init (&ma); ; return 0; } @@ -29418,14 +31074,15 @@ 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:31077: gl_pthread_api=$gl_pthread_api" >&5 + echo "$as_me:31078: LIBPTHREAD=$LIBPTHREAD" >&5 gl_pthread_in_glibc=no # On Linux with glibc >= 2.34, libc contains the fully functional # pthread functions. - case "$host_os" in - linux*) + case $host_os in #( + linux*) : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <features.h> @@ -29443,13 +31100,16 @@ then : fi rm -rf conftest* - ;; - esac - echo "$as_me:29448: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 + ;; #( + *) : + ;; +esac + echo "$as_me:31107: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 + + # Test for libpthread by looking for pthread_kill. + if test $gl_pthread_api = yes && test -z "$LIBPTHREAD" +then : - # Test for libpthread by looking for pthread_kill. (Not pthread_self, - # since it is defined as a macro on OSF/1.) - if test $gl_pthread_api = yes && test -z "$LIBPTHREAD"; then # The program links fine without libpthread. But it may actually # need to link with libpthread in order to create multiple threads. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 @@ -29497,9 +31157,13 @@ fi printf "%s\n" "$ac_cv_lib_pthread_pthread_kill" >&6; } if test "x$ac_cv_lib_pthread_pthread_kill" = xyes then : - if test $gl_pthread_in_glibc = yes; then + if test $gl_pthread_in_glibc = yes +then : + LIBPMULTITHREAD= - else + +else case e in #( + e) LIBPMULTITHREAD=-lpthread # On Solaris and HP-UX, most pthread functions exist also in libc. # Therefore pthread_in_use() needs to actually try to create a @@ -29507,13 +31171,19 @@ then : # pthread_create will actually create a thread. # On Solaris 10 or newer, this test is no longer needed, because # libc contains the fully functional pthread functions. - case "$host_os" in - solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*) + case $host_os in #( + solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*) : + printf "%s\n" "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h - esac - fi + ;; #( + *) : + ;; +esac + ;; +esac +fi else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lthr" >&5 @@ -29573,7 +31243,10 @@ fi esac fi - elif test $gl_pthread_api != yes; then + +elif test $gl_pthread_api != yes +then : + # Some library is needed. Try libpthread and libc_r. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 printf %s "checking for pthread_kill in -lpthread... " >&6; } @@ -29625,7 +31298,9 @@ then : LIBPMULTITHREAD=-lpthread fi - if test $gl_pthread_api != yes; then + if test $gl_pthread_api != yes +then : + # For FreeBSD 4. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5 printf %s "checking for pthread_kill in -lc_r... " >&6; } @@ -29677,25 +31352,32 @@ then : LIBPMULTITHREAD=-lc_r fi - fi - fi - echo "$as_me:29682: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 - fi + +fi + +fi + echo "$as_me:31359: 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; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_pthread_api" >&5 printf "%s\n" "$gl_pthread_api" >&6; } - if test $gl_pthread_api = yes; then + if test $gl_pthread_api = yes +then : + printf "%s\n" "#define HAVE_PTHREAD_API 1" >>confdefs.h - fi + +fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <sched.h> + int main (void) { @@ -29817,9 +31499,12 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ gl_pthreadlib_body_done=done - fi - if test $ac_cv_header_threads_h = yes; then +fi + + if test $ac_cv_header_threads_h = yes +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for thrd_create" >&5 @@ -29835,6 +31520,7 @@ else case e in #( linux*-android*) ac_fn_check_decl "$LINENO" "thrd_create" "ac_cv_have_decl_thrd_create" "#include <threads.h> + " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_thrd_create" = xyes then : @@ -29889,9 +31575,13 @@ printf "%s\n" "#define HAVE_THRD_CREATE 1" >>confdefs.h fi - if test $ac_cv_func_thrd_create = yes; then + if test $ac_cv_func_thrd_create = yes +then : + LIBSTDTHREAD= - else + +else case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for thrd_create in -lstdthreads" >&5 printf %s "checking for thrd_create in -lstdthreads... " >&6; } if test ${ac_cv_lib_stdthreads_thrd_create+y} @@ -29938,7 +31628,7 @@ printf "%s\n" "$ac_cv_lib_stdthreads_thrd_create" >&6; } if test "x$ac_cv_lib_stdthreads_thrd_create" = xyes then : - LIBSTDTHREAD='-lstdthreads -lpthread' + LIBSTDTHREAD="-lstdthreads -lpthread" else case e in #( e) @@ -29947,12 +31637,18 @@ else case e in #( esac fi - fi - else + ;; +esac +fi + +else case e in #( + e) LIBSTDTHREAD="$LIBPMULTITHREAD $SCHED_YIELD_LIB" - fi + ;; +esac +fi ;; - esac +esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ISO C threads API is available" >&5 @@ -29960,7 +31656,8 @@ printf %s "checking whether ISO C threads API is available... " >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_threads_h" >&5 printf "%s\n" "$ac_cv_header_threads_h" >&6; } gl_stdthreadlib_body_done=done - fi + +fi LIBTHREAD=$LIBSTDTHREAD LTLIBTHREAD=$LIBSTDTHREAD LIBMULTITHREAD=$LIBSTDTHREAD LTLIBMULTITHREAD=$LIBSTDTHREAD @@ -29968,29 +31665,36 @@ printf "%s\n" "$ac_cv_header_threads_h" >&6; } printf "%s\n" "#define USE_ISOC_THREADS 1" >>confdefs.h - fi - fi - if test $gl_threads_api = none; then - case "$gl_use_threads" in - yes | windows | win32) # The 'win32' is for backward compatibility. - if { case "$host_os" in - mingw* | windows*) true;; - *) false;; - esac - }; then - gl_threads_api=windows -printf "%s\n" "#define USE_WINDOWS_THREADS 1" >>confdefs.h +fi - fi - ;; - esac - fi - else +fi + if test $gl_threads_api = none +then : -printf "%s\n" "#define AVOID_ANY_THREADS 1" >>confdefs.h + # The "win32" is for backward compatibility. + case $gl_use_threads in #( + yes | windows | win32) : + case $host_os in #( + mingw* | windows*) : - fi + gl_threads_api=windows + +printf "%s\n" "#define USE_WINDOWS_THREADS 1" >>confdefs.h + + ;; #( + *) : + ;; +esac + ;; #( + *) : + ;; +esac + +fi + ;; +esac +fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5 printf %s "checking for multithread API to use... " >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5 @@ -30059,7 +31763,15 @@ printf "%s\n" "$gl_cv_malloc_ptrdiff" >&6; } - test "$gl_cv_malloc_ptrdiff" = yes || REPLACE_MALLOC_FOR_MALLOC_POSIX=1 + if test "$gl_cv_malloc_ptrdiff" = yes +then : + +printf "%s\n" "#define HAVE_MALLOC_PTRDIFF 1" >>confdefs.h + +else case e in #( + e) REPLACE_MALLOC_FOR_MALLOC_POSIX=1 ;; +esac +fi @@ -30072,8 +31784,32 @@ else case e in #( e) case "$host_os" in mingw* | windows*) - gl_cv_func_malloc_posix=no ;; - irix* | solaris*) + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdio.h> + #ifndef _UCRT + msvcrt yuck + #endif + +int +main (void) +{ + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_func_malloc_posix="guessing yes" +else case e in #( + e) gl_cv_func_malloc_posix="guessing no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ;; + solaris*) gl_cv_func_malloc_posix=no ;; *) @@ -30089,13 +31825,16 @@ printf "%s\n" "$gl_cv_func_malloc_posix" >&6; } - if test "$gl_cv_func_malloc_posix" = yes; then + case "$gl_cv_func_malloc_posix" in + *yes) printf "%s\n" "#define HAVE_MALLOC_POSIX 1" >>confdefs.h - else - REPLACE_MALLOC_FOR_MALLOC_POSIX=1 - fi + ;; + *) + REPLACE_MALLOC_FOR_MALLOC_POSIX=1 + ;; + esac @@ -30107,33 +31846,33 @@ then : else case e in #( e) if test "$cross_compiling" = yes then : - case "$host_os" in - # Guess yes on platforms where we know the result. - *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ - | gnu* | *-musl* | midipix* | midnightbsd* \ - | hpux* | solaris* | cygwin* | mingw* | windows* | msys* ) - ac_cv_func_malloc_0_nonnull="guessing yes" ;; - # If we don't know, obey --enable-cross-guesses. - *) ac_cv_func_malloc_0_nonnull="$gl_cross_guess_normal" ;; - esac - + case $host_os in #( + # Guess yes on platforms where we know the result. + *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ + | gnu* | *-musl* | midipix* | midnightbsd* \ + | hpux* | solaris* | cygwin* | mingw* | windows* | msys*) : + ac_cv_func_malloc_0_nonnull="guessing yes" ;; #( + *) : + # Guess as follows if we don't know. + ac_cv_func_malloc_0_nonnull="$gl_cross_guess_normal" ;; +esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <stdlib.h> - + /* Use pmalloc to test; 'volatile' prevents the compiler + from optimizing the malloc call away. */ + void *(*volatile pmalloc) (size_t) = malloc; int main (void) { -void *p = malloc (0); - void * volatile vp = p; - int result = !vp; +void *p = pmalloc (0); + int result = !p; free (p); return result; ; return 0; } - _ACEOF if ac_fn_c_try_run "$LINENO" then : @@ -30146,26 +31885,36 @@ 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: $ac_cv_func_malloc_0_nonnull" >&5 printf "%s\n" "$ac_cv_func_malloc_0_nonnull" >&6; } case $ac_cv_func_malloc_0_nonnull in #( *yes) : - gl_cv_func_malloc_0_nonnull=1 ;; #( + +printf "%s\n" "#define HAVE_MALLOC_0_NONNULL 1" >>confdefs.h + ;; #( *) : - gl_cv_func_malloc_0_nonnull=0 ;; + ;; esac -printf "%s\n" "#define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull" >>confdefs.h + case $ac_cv_func_malloc_0_nonnull in #( + *yes) : + REPLACE_MALLOC_FOR_MALLOC_GNU=$REPLACE_MALLOC_FOR_MALLOC_POSIX ;; #( + *) : + REPLACE_MALLOC_FOR_MALLOC_GNU=1 ;; +esac + + + + @@ -30557,6 +32306,10 @@ printf "%s\n" "$gl_cv_header_math_huge_val_works" >&6; } + GL_GNULIB_STRINGEQ=0 + + + GL_GNULIB_STRNCAT=0 @@ -30589,6 +32342,14 @@ printf "%s\n" "$gl_cv_header_math_huge_val_works" >&6; } + GL_GNULIB_STR_STARTSWITH=0 + + + + GL_GNULIB_STR_ENDSWITH=0 + + + GL_GNULIB_MBSLEN=0 @@ -30645,6 +32406,14 @@ printf "%s\n" "$gl_cv_header_math_huge_val_works" >&6; } + GL_GNULIB_MBS_STARTSWITH=0 + + + + GL_GNULIB_MBS_ENDSWITH=0 + + + GL_GNULIB_STRERROR=0 @@ -30653,6 +32422,10 @@ printf "%s\n" "$gl_cv_header_math_huge_val_works" >&6; } + GL_GNULIB_STRERROR_L=0 + + + GL_GNULIB_STRERRORNAME_NP=0 @@ -30686,6 +32459,7 @@ printf "%s\n" "$gl_cv_header_math_huge_val_works" >&6; } HAVE_EXPLICIT_BZERO=1; HAVE_FFSL=1; HAVE_FFSLL=1; + HAVE_DECL_MEMEQ=0; HAVE_DECL_MEMMEM=1; HAVE_MEMPCPY=1; HAVE_MEMSET_EXPLICIT=1; @@ -30695,6 +32469,7 @@ printf "%s\n" "$gl_cv_header_math_huge_val_works" >&6; } HAVE_STPNCPY=1; HAVE_STRCHRNUL=1; HAVE_DECL_STRDUP=1; + HAVE_DECL_STREQ=0; HAVE_DECL_STRNDUP=1; HAVE_DECL_STRNLEN=1; HAVE_STRPBRK=1; @@ -30702,6 +32477,7 @@ printf "%s\n" "$gl_cv_header_math_huge_val_works" >&6; } HAVE_STRCASESTR=1; HAVE_DECL_STRTOK_R=1; HAVE_DECL_STRERROR_R=1; + HAVE_STRERROR_L=1; HAVE_STRERRORNAME_NP=1; HAVE_SIGABBREV_NP=1; HAVE_SIGDESCR_NP=1; @@ -30724,6 +32500,7 @@ printf "%s\n" "$gl_cv_header_math_huge_val_works" >&6; } REPLACE_STRTOK_R=0; REPLACE_STRERROR=0; REPLACE_STRERROR_R=0; + REPLACE_STRERROR_L=0; REPLACE_STRERRORNAME_NP=0; REPLACE_STRSIGNAL=0; REPLACE_STRVERSCMP=0; @@ -30732,22 +32509,17 @@ printf "%s\n" "$gl_cv_header_math_huge_val_works" >&6; } + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is # irrelevant for anonymous mappings. - ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" -if test "x$ac_cv_func_mmap" = xyes -then : - gl_have_mmap=yes -else case e in #( - e) gl_have_mmap=no ;; -esac -fi + # Instead, assume that mmap() exists if and only if <sys/mman.h> exists. + # Code needs to tests HAVE_SYS_MMAN_H, not HAVE_MMAP. # Try to allow MAP_ANONYMOUS. gl_have_mmap_anonymous=no - if test $gl_have_mmap = yes; then + if test $ac_cv_header_sys_mman_h = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 printf %s "checking for MAP_ANONYMOUS... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30789,11 +32561,6 @@ rm -rf conftest* fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 printf "%s\n" "$gl_have_mmap_anonymous" >&6; } - if test $gl_have_mmap_anonymous = yes; then - -printf "%s\n" "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h - - fi fi @@ -30804,13 +32571,12 @@ printf "%s\n" "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h - # Detect platform-specific bugs in some versions of glibc: # memchr should not dereference anything with length 0 # https://bugzilla.redhat.com/show_bug.cgi?id=499689 # memchr should not dereference overestimated length after a match # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 - # https://sourceware.org/bugzilla/show_bug.cgi?id=10162 + # https://sourceware.org/PR10162 # memchr should cast the second argument to 'unsigned char'. # This bug exists in Android 4.3. # Assume that memchr works on platforms that lack mprotect. @@ -30841,9 +32607,6 @@ else case e in #( # include <unistd.h> # include <sys/types.h> # include <sys/mman.h> -# ifndef MAP_FILE -# define MAP_FILE 0 -# endif #endif int @@ -30853,23 +32616,15 @@ main (void) int result = 0; char *fence = NULL; #if HAVE_SYS_MMAN_H && HAVE_MPROTECT -# if HAVE_MAP_ANONYMOUS - const int flags = MAP_ANONYMOUS | MAP_PRIVATE; - const int fd = -1; -# else /* !HAVE_MAP_ANONYMOUS */ - const int flags = MAP_FILE | MAP_PRIVATE; - int fd = open ("/dev/zero", O_RDONLY, 0666); - if (fd >= 0) -# endif - { - int pagesize = getpagesize (); - char *two_pages = - (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, - flags, fd, 0); - if (two_pages != (char *)(-1) - && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) - fence = two_pages + pagesize; - } + { + long int pagesize = sysconf (_SC_PAGESIZE); + char *two_pages = + (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, + MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); + if (two_pages != (char *)(-1) + && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) + fence = two_pages + pagesize; + } #endif if (fence) { @@ -31007,6 +32762,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 +33135,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 +33152,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 +33185,456 @@ 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_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 + + + + + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_stdckdint_h='<'stdckdint.h'>' + else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdckdint.h>" >&5 +printf %s "checking absolute name of <stdckdint.h>... " >&6; } +if test ${gl_cv_next_stdckdint_h+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + if test $ac_cv_header_stdckdint_h = yes; then + + + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdckdint.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 'stdckdint.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_stdckdint_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n "$gl_absolute_header_sed"` + + gl_header=$gl_cv_absolute_stdckdint_h + gl_cv_next_stdckdint_h='"'$gl_header'"' + else + gl_cv_next_stdckdint_h='<'stdckdint.h'>' + fi + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdckdint_h" >&5 +printf "%s\n" "$gl_cv_next_stdckdint_h" >&6; } + fi + NEXT_STDCKDINT_H=$gl_cv_next_stdckdint_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='<'stdckdint.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_stdckdint_h + fi + NEXT_AS_FIRST_DIRECTIVE_STDCKDINT_H=$gl_next_as_first_directive + + + + + if test $ac_cv_header_stdckdint_h = yes; then + HAVE_STDCKDINT_H=1 + else + HAVE_STDCKDINT_H=0 + fi + + + if test $HAVE_STDCKDINT_H = 1; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stdckdint.h can be included in C" >&5 +printf %s "checking whether stdckdint.h can be included in C... " >&6; } +if test ${gl_cv_header_c_stdckdint_h+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdckdint.h> + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_header_c_stdckdint_h=yes +else case e in #( + e) gl_cv_header_c_stdckdint_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_c_stdckdint_h" >&5 +printf "%s\n" "$gl_cv_header_c_stdckdint_h" >&6; } + if test $gl_cv_header_c_stdckdint_h = yes; then + HAVE_C_STDCKDINT_H=1 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking checking for an ISO C23 compliant stdckdint.h in C" >&5 +printf %s "checking checking for an ISO C23 compliant stdckdint.h in C... " >&6; } +if test ${gl_cv_header_c_stdckdint_h_works+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdckdint.h> + +int +main (void) +{ +int r; + int a = 1; + int b = 1; + return !!(ckd_add (&r, a, b) || ckd_sub (&r, a, b) + || ckd_mul (&r, a, b)); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_header_c_stdckdint_h_works=yes +else case e in #( + e) gl_cv_header_c_stdckdint_h_works=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_c_stdckdint_h_works" >&5 +printf "%s\n" "$gl_cv_header_c_stdckdint_h_works" >&6; } + if test $gl_cv_header_c_stdckdint_h_works = yes; then + HAVE_WORKING_C_STDCKDINT_H=1 + else + HAVE_WORKING_C_STDCKDINT_H=0 + fi + else + HAVE_C_STDCKDINT_H=0 + HAVE_WORKING_C_STDCKDINT_H=0 + fi + if test "$CXX" != no; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stdckdint.h can be included in C++" >&5 +printf %s "checking whether stdckdint.h can be included in C++... " >&6; } +if test ${gl_cv_header_cxx_stdckdint_h+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat > conftest.cpp <<\EOF +#include <stdckdint.h> +EOF + gl_command="$CXX $CXXFLAGS $CPPFLAGS -c conftest.cpp" + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gl_command\""; } >&5 + (eval $gl_command) 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + gl_cv_header_cxx_stdckdint_h=yes + else + gl_cv_header_cxx_stdckdint_h=no + fi + rm -fr conftest* + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_cxx_stdckdint_h" >&5 +printf "%s\n" "$gl_cv_header_cxx_stdckdint_h" >&6; } + if test $gl_cv_header_cxx_stdckdint_h = yes; then + HAVE_CXX_STDCKDINT_H=1 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking checking for an ISO C++26 compliant stdckdint.h in C++" >&5 +printf %s "checking checking for an ISO C++26 compliant stdckdint.h in C++... " >&6; } +if test ${gl_cv_header_cxx_stdckdint_h_works+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat > conftest.cpp <<\EOF +#include <stdckdint.h> +int +main (void) +{ + int r; + int a = 1; + int b = 1; + return !!(ckd_add (&r, a, b) || ckd_sub (&r, a, b) || ckd_mul (&r, a, b)); +} +EOF + gl_command="$CXX $CXXFLAGS $CPPFLAGS -c conftest.cpp" + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gl_command\""; } >&5 + (eval $gl_command) 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + gl_cv_header_cxx_stdckdint_h_works=yes + else + gl_cv_header_cxx_stdckdint_h_works=no + fi + rm -fr conftest* + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_cxx_stdckdint_h_works" >&5 +printf "%s\n" "$gl_cv_header_cxx_stdckdint_h_works" >&6; } + if test $gl_cv_header_cxx_stdckdint_h_works = yes; then + HAVE_WORKING_CXX_STDCKDINT_H=1 + else + HAVE_WORKING_CXX_STDCKDINT_H=0 + fi + else + HAVE_CXX_STDCKDINT_H=0 + HAVE_WORKING_CXX_STDCKDINT_H=0 + fi + fi + else + HAVE_C_STDCKDINT_H=0 + HAVE_WORKING_C_STDCKDINT_H=0 + HAVE_CXX_STDCKDINT_H=0 + HAVE_WORKING_CXX_STDCKDINT_H=0 + fi + + + + + + if test "$CXX" != no; then + if test $HAVE_C_STDCKDINT_H = 1 \ + && test $HAVE_WORKING_C_STDCKDINT_H = 1 \ + && test $HAVE_CXX_STDCKDINT_H = 1 \ + && test $HAVE_WORKING_CXX_STDCKDINT_H = 1; then + GL_GENERATE_STDCKDINT_H=false + else + GL_GENERATE_STDCKDINT_H=true + fi + else + if test $HAVE_C_STDCKDINT_H = 1 \ + && test $HAVE_WORKING_C_STDCKDINT_H = 1; then + GL_GENERATE_STDCKDINT_H=false + else + GL_GENERATE_STDCKDINT_H=true + fi + fi @@ -31167,15 +33758,30 @@ if test ${gl_cv_macro_MB_CUR_MAX_good+y} then : printf %s "(cached) " >&6 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" ;; - esac - if test $LOCALE_FR_UTF8 != none; then - if test "$cross_compiling" = yes + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <stdlib.h> + +int +main (void) +{ +return !!MB_CUR_MAX; + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + # Guess no on Solaris and Haiku, yes otherwise. + case $host_os in #( + solaris* | haiku*) : + gl_cv_macro_MB_CUR_MAX_good="guessing no" ;; #( + *) : + gl_cv_macro_MB_CUR_MAX_good="guessing yes" ;; +esac + if test "$LOCALE_EN_UTF8" != none; then + if test "$cross_compiling" = yes then : : else case e in #( @@ -31187,7 +33793,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; @@ -31207,16 +33813,29 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ esac fi - fi + fi + +else case e in #( + e) gl_cv_macro_MB_CUR_MAX_good="link failed - so 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_macro_MB_CUR_MAX_good" >&5 printf "%s\n" "$gl_cv_macro_MB_CUR_MAX_good" >&6; } - case "$gl_cv_macro_MB_CUR_MAX_good" in - *yes) ;; - *) REPLACE_MB_CUR_MAX=1 ;; - esac + case $gl_cv_macro_MB_CUR_MAX_good in #( + *yes) : + ;; #( + "link failed - so no") : + # 4 suffices as a workaround in Android NDK 16, + # the only known platform with the bug. + REPLACE_MB_CUR_MAX=4 ;; #( + *) : + REPLACE_MB_CUR_MAX="(-1)" ;; +esac if test $ac_cv_have_decl_ecvt = no; then @@ -31313,60 +33932,25 @@ printf "%s\n" "$gl_cv_next_string_h" >&6; } -gl_mda_defines=' -#if defined _WIN32 && !defined __CYGWIN__ -#define access _access -#define chdir _chdir -#define chmod _chmod -#define close _close -#define creat _creat -#define dup _dup -#define dup2 _dup2 -#define ecvt _ecvt -#define execl _execl -#define execle _execle -#define execlp _execlp -#define execv _execv -#define execve _execve -#define execvp _execvp -#define execvpe _execvpe -#define fcloseall _fcloseall -#define fcvt _fcvt -#define fdopen _fdopen -#define fileno _fileno -#define gcvt _gcvt -#define getcwd _getcwd -#define getpid _getpid -#define getw _getw -#define isatty _isatty -#define j0 _j0 -#define j1 _j1 -#define jn _jn -#define lfind _lfind -#define lsearch _lsearch -#define lseek _lseek -#define memccpy _memccpy -#define mkdir _mkdir -#define mktemp _mktemp -#define open _open -#define putenv _putenv -#define putw _putw -#define read _read -#define rmdir _rmdir -#define strdup _strdup -#define swab _swab -#define tempnam _tempnam -#define tzset _tzset -#define umask _umask -#define unlink _unlink -#define utime _utime -#define wcsdup _wcsdup -#define write _write -#define y0 _y0 -#define y1 _y1 -#define yn _yn -#endif -' +ac_fn_check_decl "$LINENO" "streq" "ac_cv_have_decl_streq" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_streq" = xyes +then : + ac_have_decl=1 +else case e in #( + e) ac_have_decl=0 ;; +esac +fi +printf "%s\n" "#define HAVE_DECL_STREQ $ac_have_decl" >>confdefs.h + +ac_fn_check_decl "$LINENO" "memeq" "ac_cv_have_decl_memeq" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_memeq" = xyes +then : + ac_have_decl=1 +else case e in #( + e) ac_have_decl=0 ;; +esac +fi +printf "%s\n" "#define HAVE_DECL_MEMEQ $ac_have_decl" >>confdefs.h @@ -31404,9 +33988,6 @@ else case e in #( # include <unistd.h> # include <sys/types.h> # include <sys/mman.h> -# ifndef MAP_FILE -# define MAP_FILE 0 -# endif #endif @@ -31418,23 +33999,15 @@ main (void) char *fence = NULL; #if HAVE_SYS_MMAN_H && HAVE_MPROTECT -# if HAVE_MAP_ANONYMOUS - const int flags = MAP_ANONYMOUS | MAP_PRIVATE; - const int fd = -1; -# else /* !HAVE_MAP_ANONYMOUS */ - const int flags = MAP_FILE | MAP_PRIVATE; - int fd = open ("/dev/zero", O_RDONLY, 0666); - if (fd >= 0) -# endif - { - int pagesize = getpagesize (); - char *two_pages = - (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, - flags, fd, 0); - if (two_pages != (char *)(-1) - && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) - fence = two_pages + pagesize; - } + { + long int pagesize = sysconf (_SC_PAGESIZE); + char *two_pages = + (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, + MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); + if (two_pages != (char *)(-1) + && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) + fence = two_pages + pagesize; + } #endif if (fence) { @@ -31588,56 +34161,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 : - -else case e in #( - e) -printf "%s\n" "#define mode_t int" >>confdefs.h - ;; -esac -fi - - case "$host_os" in mingw* | windows*) @@ -31718,7 +34241,7 @@ printf "%s\n" "$gl_cv_member_st_size_64" >&6; } fi ;; *) - WINDOWS_64_BIT_OFF_T=0 + WINDOWS_64_BIT_OFF_T=0 WINDOWS_64_BIT_ST_SIZE=0 ;; esac @@ -31732,6 +34255,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,10 +34381,389 @@ printf "%s\n" "$gl_cv_next_sys_types_h" >&6; } + + WINDOWS_STAT_INODES=0 + ac_fn_c_check_type "$LINENO" "blksize_t" "ac_cv_type_blksize_t" "$ac_includes_default" +if test "x$ac_cv_type_blksize_t" = xyes +then : + HAVE_BLKSIZE_T=1 +else case e in #( + e) HAVE_BLKSIZE_T=0 ;; +esac +fi + + + + ac_fn_c_check_type "$LINENO" "blkcnt_t" "ac_cv_type_blkcnt_t" "$ac_includes_default" +if test "x$ac_cv_type_blkcnt_t" = xyes +then : + HAVE_BLKCNT_T=1 +else case e in #( + e) HAVE_BLKCNT_T=0 ;; +esac +fi + + + + + + + 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 +35129,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' @@ -32524,11 +35471,13 @@ q REPLACE_GETDOMAINNAME=0; REPLACE_GETDTABLESIZE=0; REPLACE_GETENTROPY=0; + REPLACE_GETLOGIN=0; REPLACE_GETLOGIN_R=0; REPLACE_GETGROUPS=0; REPLACE_GETPAGESIZE=0; REPLACE_GETPASS=0; REPLACE_GETPASS_FOR_GETPASS_GNU=0; + REPLACE_GETUSERSHELL=0; REPLACE_ISATTY=0; REPLACE_LCHOWN=0; REPLACE_LINK=0; @@ -33307,11 +36256,6 @@ then : # Guess yes on HP-UX >= 11. hpux[7-9]* | hpux10*) gl_cv_func_snprintf_truncation_c99="guessing no";; hpux*) gl_cv_func_snprintf_truncation_c99="guessing yes";; - # Guess yes on IRIX >= 6.5. - irix6.5) gl_cv_func_snprintf_truncation_c99="guessing yes";; - # Guess yes on OSF/1 >= 5. - osf[3-4]*) gl_cv_func_snprintf_truncation_c99="guessing no";; - osf*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_snprintf_truncation_c99="guessing no";; @@ -33377,7 +36321,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 +37042,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 +37054,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 +37084,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/PR2908> + 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 @@ -34362,7 +37309,6 @@ then : # Guess yes on OpenBSD >= 6.0. openbsd[1-5].*) gl_cv_func_printf_directive_ls="guessing no";; openbsd*) gl_cv_func_printf_directive_ls="guessing yes";; - irix*) gl_cv_func_printf_directive_ls="guessing no";; solaris*) gl_cv_func_printf_directive_ls="guessing no";; cygwin*) gl_cv_func_printf_directive_ls="guessing no";; beos* | haiku*) gl_cv_func_printf_directive_ls="guessing no";; @@ -34385,7 +37331,7 @@ int main () int result = 0; char buf[100]; /* Test whether %ls works at all. - This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku, but not on + This test fails on OpenBSD 4.0, Solaris 2.6, Haiku, but not on Cygwin 1.5. */ { static const wchar_t wstring[] = { 'a', 'b', 'c', 0 }; @@ -34394,8 +37340,8 @@ int main () || strcmp (buf, "abc") != 0) result |= 1; } - /* This test fails on IRIX 6.5, Solaris 2.6, Cygwin 1.5, Haiku (with an - assertion failure inside libc), but not on OpenBSD 4.0. */ + /* This test fails on Solaris 2.6, Cygwin 1.5, Haiku (with an assertion + failure inside libc), but not on OpenBSD 4.0. */ { static const wchar_t wstring[] = { 'a', 0 }; buf[0] = '\0'; @@ -34554,6 +37500,139 @@ printf "%s\n" "$gl_cv_func_printf_flag_grouping" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether printf supports grouping on integers with a precision" >&5 +printf %s "checking whether printf supports grouping on integers with a precision... " >&6; } +if test ${gl_cv_func_printf_flag_grouping_int_precision+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + case "$host_os" in + # Guess no on FreeBSD, NetBSD, Solaris, Cygwin, Haiku. + freebsd* | dragonfly* | netbsd* | solaris* | cygwin* | haiku*) + gl_cv_func_printf_flag_grouping_int_precision="guessing no";; + *) + gl_cv_func_printf_flag_grouping_int_precision="guessing yes";; + esac + 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 <stdio.h> +#include <string.h> +static char buf[100]; +int main () +{ + if (setlocale (LC_ALL, "fr_FR.UTF-8") != NULL + || setlocale (LC_ALL, "fr_FR") != NULL + || setlocale (LC_ALL, "fr_FR.ISO-8859-1") != NULL + || setlocale (LC_ALL, "fr_FR.ISO8859-1") != NULL) + { + if (sprintf (buf, "%'.10d", 1000) < 0) + return 1; + if (strlen (buf) == 10 && strcmp (buf, "0000001000") != 0) + /* The sprintf implementation has produced fewer than 10 digits. */ + return 2; + else + return 0; + } + return 3; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_printf_flag_grouping_int_precision=yes +else case e in #( + e) if test $? = 2; then + gl_cv_func_printf_flag_grouping_int_precision=no + 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_printf_flag_grouping_int_precision" >&5 +printf "%s\n" "$gl_cv_func_printf_flag_grouping_int_precision" >&6; } + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether printf supports grouping with a multibyte separator" >&5 +printf %s "checking whether printf supports grouping with a multibyte separator... " >&6; } +if test ${gl_cv_func_printf_flag_grouping_multibyte+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) + case "$host_os" in + # Guess no on NetBSD and Solaris 11 OpenIndiana. + netbsd* | solaris*) + gl_cv_func_printf_flag_grouping_multibyte="guessing no";; + *) + gl_cv_func_printf_flag_grouping_multibyte="guessing yes";; + esac + 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 <stdio.h> +#include <string.h> +static char buf[100]; +int main () +{ + if (setlocale (LC_ALL, "fr_FR.UTF-8") == NULL) + return 0; + if (sprintf (buf, "%'.0f", 1000.0) < 0) + return 1; + if (strlen (localeconv ()->thousands_sep) > 1) + { + if (strlen (buf) <= 4 + 1) + return 2; + else + return 3; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + : +else case e in #( + e) case $? in + 2) gl_cv_func_printf_flag_grouping_multibyte=no ;; + 3) gl_cv_func_printf_flag_grouping_multibyte=yes ;; + 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_printf_flag_grouping_multibyte" >&5 +printf "%s\n" "$gl_cv_func_printf_flag_grouping_multibyte" >&6; } + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether printf supports the left-adjust flag correctly" >&5 printf %s "checking whether printf supports the left-adjust flag correctly... " >&6; } if test ${gl_cv_func_printf_flag_leftadjust+y} @@ -35008,10 +38087,6 @@ _ACEOF *) gl_cv_func_printf_enomem="guessing no";; esac ;; - # Guess yes on IRIX. - irix*) gl_cv_func_printf_enomem="guessing yes";; - # Guess yes on OSF/1. - osf*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on Haiku. @@ -35031,6 +38106,9 @@ printf "%s\n" "$gl_cv_func_printf_enomem" >&6; } + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h> uses 'inline' correctly" >&5 printf %s "checking whether <wchar.h> uses 'inline' correctly... " >&6; } if test ${gl_cv_header_wchar_h_correct_inline+y} @@ -35236,7 +38314,7 @@ if test ${gl_cv_cc_wallow+y} then : printf %s "(cached) " >&6 else case e in #( - e) rm -f conftest* + e) rm -fr conftest* echo 'int dummy;' > conftest.c { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c 2>conftest1.err' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 @@ -35255,7 +38333,7 @@ else case e in #( else gl_cv_cc_wallow=none fi - rm -f conftest* + rm -fr conftest* ;; esac fi @@ -35275,7 +38353,7 @@ if test ${gl_cv_cxx_wallow+y} then : printf %s "(cached) " >&6 else case e in #( - e) rm -f conftest* + e) rm -fr conftest* echo 'int dummy;' > conftest.cc { ac_try='${CXX-c++} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>conftest1.err' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 @@ -35294,7 +38372,7 @@ else case e in #( else gl_cv_cxx_wallow=none fi - rm -f conftest* + rm -fr conftest* ;; esac fi @@ -35313,7 +38391,6 @@ printf "%s\n" "$gl_cv_cxx_wallow" >&6; } HAVE_STRUCT_SOCKADDR_STORAGE=1; HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1; - HAVE_SA_FAMILY_T=1; HAVE_ACCEPT4=1; @@ -35338,14 +38415,6 @@ fi - case "$host_os" in - osf*) - -printf "%s\n" "#define _POSIX_PII_SOCKET 1" >>confdefs.h - - ;; - esac - GL_GENERATE_SYS_SOCKET_H=false { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether <sys/socket.h> is self-contained" >&5 printf %s "checking whether <sys/socket.h> is self-contained... " >&6; } @@ -35526,6 +38595,8 @@ printf "%s\n" "$gl_cv_next_sys_socket_h" >&6; } + + ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and @@ -35567,12 +38638,16 @@ printf "%s\n" "#define HAVE_SA_FAMILY_T 1" >>confdefs.h fi + if test $ac_cv_type_sa_family_t = yes; then + HAVE_SA_FAMILY_T=1 + else + HAVE_SA_FAMILY_T=0 + fi + + if test $ac_cv_type_struct_sockaddr_storage = no; then HAVE_STRUCT_SOCKADDR_STORAGE=0 fi - if test $ac_cv_type_sa_family_t = no; then - HAVE_SA_FAMILY_T=0 - fi if test $ac_cv_type_struct_sockaddr_storage != no; then ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "#include <sys/types.h> #ifdef HAVE_SYS_SOCKET_H @@ -35691,8 +38766,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 +38900,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 +39146,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 +39174,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 @@ -35961,9 +39206,7 @@ printf "%s\n" "$as_me: WARNING: invalid locale \"$LOCALE_TR_UTF8\"; assuming \"n - if test $REPLACE_MALLOC_FOR_MALLOC_POSIX = 1; then - REPLACE_CALLOC_FOR_CALLOC_POSIX=1 - fi + REPLACE_CALLOC_FOR_CALLOC_POSIX=$REPLACE_MALLOC_FOR_MALLOC_POSIX @@ -36016,7 +39259,21 @@ fi - HAVE_ISBLANK=1; + HAVE_ISALNUM_L=1; + HAVE_ISALPHA_L=1; + HAVE_ISBLANK=1; + HAVE_ISBLANK_L=1; + HAVE_ISCNTRL_L=1; + HAVE_ISDIGIT_L=1; + HAVE_ISGRAPH_L=1; + HAVE_ISLOWER_L=1; + HAVE_ISPRINT_L=1; + HAVE_ISPUNCT_L=1; + HAVE_ISSPACE_L=1; + HAVE_ISUPPER_L=1; + HAVE_ISXDIGIT_L=1; + HAVE_TOLOWER_L=1; + HAVE_TOUPPER_L=1; @@ -36101,10 +39358,66 @@ printf "%s\n" "$gl_cv_next_ctype_h" >&6; } + GL_GNULIB_ISALNUM_L=0 + + + + GL_GNULIB_ISALPHA_L=0 + + + GL_GNULIB_ISBLANK=0 + GL_GNULIB_ISBLANK_L=0 + + + + GL_GNULIB_ISCNTRL_L=0 + + + + GL_GNULIB_ISDIGIT_L=0 + + + + GL_GNULIB_ISGRAPH_L=0 + + + + GL_GNULIB_ISLOWER_L=0 + + + + GL_GNULIB_ISPRINT_L=0 + + + + GL_GNULIB_ISPUNCT_L=0 + + + + GL_GNULIB_ISSPACE_L=0 + + + + GL_GNULIB_ISUPPER_L=0 + + + + GL_GNULIB_ISXDIGIT_L=0 + + + + GL_GNULIB_TOLOWER_L=0 + + + + GL_GNULIB_TOUPPER_L=0 + + + @@ -36471,11 +39784,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 @@ -36546,288 +39860,6 @@ printf "%s\n" "#define STRERROR_R_CHAR_P 1" >>confdefs.h fi - HAVE_FCNTL=1; - HAVE_OPENAT=1; - REPLACE_CREAT=0; - REPLACE_FCNTL=0; - REPLACE_OPEN=0; - REPLACE_OPENAT=0; - - - - - GL_GNULIB_CREAT=0 - - - - GL_GNULIB_FCNTL=0 - - - - GL_GNULIB_NONBLOCKING=0 - - - - GL_GNULIB_OPEN=0 - - - - GL_GNULIB_OPENAT=0 - - - - GL_GNULIB_MDA_CREAT=1 - - - - GL_GNULIB_MDA_OPEN=1 - - - - - - - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 -printf %s "checking for working fcntl.h... " >&6; } -if test ${gl_cv_header_working_fcntl_h+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_header_working_fcntl_h='no' ;; - *) gl_cv_header_working_fcntl_h=cross-compiling ;; - esac - -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <sys/types.h> - #include <sys/stat.h> - #if HAVE_UNISTD_H - # include <unistd.h> - #else /* on Windows with MSVC */ - # include <io.h> - # include <stdlib.h> - # defined sleep(n) _sleep ((n) * 1000) - #endif - #include <fcntl.h> - - -$gl_mda_defines - - #ifndef O_NOATIME - #define O_NOATIME 0 - #endif - #ifndef O_NOFOLLOW - #define O_NOFOLLOW 0 - #endif - static int const constants[] = - { - O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, - O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY - }; - -int -main (void) -{ - - int result = !constants; - #if HAVE_SYMLINK - { - static char const sym[] = "conftest.sym"; - if (symlink ("/dev/null", sym) != 0) - result |= 2; - else - { - int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0); - if (fd >= 0) - { - close (fd); - result |= 4; - } - } - if (unlink (sym) != 0 || symlink (".", sym) != 0) - result |= 2; - else - { - int fd = open (sym, O_RDONLY | O_NOFOLLOW); - if (fd >= 0) - { - close (fd); - result |= 4; - } - } - unlink (sym); - } - #endif - { - static char const file[] = "confdefs.h"; - int fd = open (file, O_RDONLY | O_NOATIME); - if (fd < 0) - result |= 8; - else - { - struct stat st0; - if (fstat (fd, &st0) != 0) - result |= 16; - else - { - char c; - sleep (1); - if (read (fd, &c, 1) != 1) - result |= 24; - else - { - if (close (fd) != 0) - result |= 32; - else - { - struct stat st1; - if (stat (file, &st1) != 0) - result |= 40; - else - if (st0.st_atime != st1.st_atime) - result |= 64; - } - } - } - } - } - return result; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gl_cv_header_working_fcntl_h=yes -else case e in #( - e) case $? in #( - 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( - 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( - 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( - *) gl_cv_header_working_fcntl_h='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_header_working_fcntl_h" >&5 -printf "%s\n" "$gl_cv_header_working_fcntl_h" >&6; } - - case $gl_cv_header_working_fcntl_h in #( - *O_NOATIME* | no | cross-compiling) ac_val=0;; #( - *) ac_val=1;; - esac - -printf "%s\n" "#define HAVE_WORKING_O_NOATIME $ac_val" >>confdefs.h - - - case $gl_cv_header_working_fcntl_h in #( - *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( - *) ac_val=1;; - esac - -printf "%s\n" "#define HAVE_WORKING_O_NOFOLLOW $ac_val" >>confdefs.h - - - - - - - - - - - - - - if test $gl_cv_have_include_next = yes; then - gl_cv_next_fcntl_h='<'fcntl.h'>' - else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <fcntl.h>" >&5 -printf %s "checking absolute name of <fcntl.h>... " >&6; } -if test ${gl_cv_next_fcntl_h+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <fcntl.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 'fcntl.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_fcntl_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | - sed -n "$gl_absolute_header_sed"` - - gl_header=$gl_cv_absolute_fcntl_h - gl_cv_next_fcntl_h='"'$gl_header'"' - - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5 -printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } - fi - NEXT_FCNTL_H=$gl_cv_next_fcntl_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='<'fcntl.h'>' - else - # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' - gl_next_as_first_directive=$gl_cv_next_fcntl_h - fi - NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=$gl_next_as_first_directive - - - - - - - - - - - - - HAVE_DECL_FCLOSEALL=1; HAVE_DECL_FPURGE=1; @@ -36888,6 +39920,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_DZPRINTF=0 + + + GL_GNULIB_FCLOSE=0 @@ -36968,6 +40004,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_FZPRINTF=0 + + + GL_GNULIB_GETC=0 @@ -36992,6 +40032,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_OBSTACK_ZPRINTF=0 + + + GL_GNULIB_PCLOSE=0 @@ -37044,6 +40088,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_SNZPRINTF=0 + + + GL_GNULIB_SPRINTF_POSIX=0 @@ -37056,6 +40104,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_SZPRINTF=0 + + + GL_GNULIB_TMPFILE=0 @@ -37064,6 +40116,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_VASZPRINTF=0 + + + GL_GNULIB_VFSCANF=0 @@ -37076,6 +40132,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_VDZPRINTF=0 + + + GL_GNULIB_VFPRINTF=0 @@ -37084,6 +40144,10 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } + GL_GNULIB_VFZPRINTF=0 + + + GL_GNULIB_VPRINTF=0 @@ -37096,10 +40160,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 @@ -37552,6 +40632,11 @@ printf "%s\n" "#define HAVE_DECL_GETDTABLESIZE $ac_have_decl" >>confdefs.h + + + + + HAVE_GETTIMEOFDAY=1; HAVE_STRUCT_TIMEVAL=1; HAVE_SYS_TIME_H=1; @@ -37571,7 +40656,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 @@ -38157,6 +41241,117 @@ printf "%s\n" "$gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&6; } + case "$host_os" in + mingw* | windows*) + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. +set dummy ${ac_tool_prefix}windres; 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_WINDRES+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) if test -n "$WINDRES"; then + ac_cv_prog_WINDRES="$WINDRES" # 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_WINDRES="${ac_tool_prefix}windres" + 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 +WINDRES=$ac_cv_prog_WINDRES +if test -n "$WINDRES"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 +printf "%s\n" "$WINDRES" >&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_WINDRES"; then + ac_ct_WINDRES=$WINDRES + # Extract the first word of "windres", so it can be a program name with args. +set dummy windres; 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_WINDRES+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) if test -n "$ac_ct_WINDRES"; then + ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # 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_WINDRES="windres" + 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_WINDRES=$ac_cv_prog_ac_ct_WINDRES +if test -n "$ac_ct_WINDRES"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 +printf "%s\n" "$ac_ct_WINDRES" >&6; } +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi + + if test "x$ac_ct_WINDRES" = x; then + WINDRES="" + 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 + WINDRES=$ac_ct_WINDRES + fi +else + WINDRES="$ac_cv_prog_WINDRES" +fi + + ;; + esac + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library needed for semaphore functions" >&5 printf %s "checking for library needed for semaphore functions... " >&6; } @@ -38299,85 +41494,6 @@ printf "%s\n" "#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1" >>confdefs.h - 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 - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for O_CLOEXEC" >&5 printf %s "checking for O_CLOEXEC... " >&6; } if test ${gl_cv_macro_O_CLOEXEC+y} @@ -38817,13 +41933,13 @@ then : printf %s "(cached) " >&6 else case e in #( e) - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <sys/select.h> int main (void) { -struct timeval b; + ; return 0; } @@ -39024,443 +42140,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 +42167,10 @@ printf "%s\n" "$gl_cv_const_PTHREAD_PROCESS_SHARED" >&6; } + GL_GNULIB_SIG2STR=0 + + + GL_GNULIB_SIGNAL_H_SIGPIPE=0 @@ -39492,6 +42183,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> @@ -39535,173 +42236,17 @@ fi printf "%s\n" "#define HAVE_DECL_SETSTATE $ac_have_decl" >>confdefs.h - - - if test $REPLACE_MALLOC_FOR_MALLOC_POSIX = 1; then - REPLACE_REALLOC_FOR_REALLOC_POSIX=1 - fi - - - HAVE_SCHED_YIELD=1; - REPLACE_SCHED_YIELD=0; - - - - - - - - - ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "#if HAVE_SYS_CDEFS_H - #include <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} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether realloc should abort upon undefined behaviour" >&5 +printf %s "checking whether realloc should abort upon undefined behaviour... " >&6; } +if test ${gl_cv_func_realloc_sanitize+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'"' - - ;; + e) test -n "$gl_cv_func_realloc_sanitize" || gl_cv_func_realloc_sanitize=no ;; 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 - - +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_realloc_sanitize" >&5 +printf "%s\n" "$gl_cv_func_realloc_sanitize" >&6; } @@ -39933,6 +42478,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} @@ -40639,6 +43185,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 +43268,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 +43335,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 +43356,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 +43412,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 +43422,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 @@ -41303,35 +43586,35 @@ then : else case e in #( e) gl_saved_CFLAGS=$CFLAGS for gl_working in "yes, a keyword" "yes, an <assert.h> macro"; do - case $gl_working in #( + case $gl_working in #( *assert.h*) : CFLAGS="$gl_saved_CFLAGS -DINCLUDE_ASSERT_H" ;; #( *) : ;; esac - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __clang__ && __STDC_VERSION__ < 202311 - #pragma clang diagnostic error "-Wc2x-extensions" - #pragma clang diagnostic error "-Wc++1z-extensions" - #endif - #ifdef INCLUDE_ASSERT_H - #include <assert.h> - #endif - static_assert (2 + 2 == 4, "arithmetic does not work"); - static_assert (2 + 2 == 4); + #pragma clang diagnostic error "-Wc2x-extensions" + #pragma clang diagnostic error "-Wc++1z-extensions" + #endif + #ifdef INCLUDE_ASSERT_H + #include <assert.h> + #endif + static_assert (2 + 2 == 4, "arithmetic does not work"); + static_assert (2 + 2 == 4); int main (void) { - static_assert (sizeof (char) == 1, "sizeof does not work"); - static_assert (sizeof (char) == 1); + static_assert (sizeof (char) == 1, "sizeof does not work"); + static_assert (sizeof (char) == 1); ; return 0; } + _ACEOF if ac_fn_c_try_compile "$LINENO" then : @@ -41341,9 +43624,10 @@ else case e in #( esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - CFLAGS=$gl_saved_CFLAGS - test "$gl_cv_static_assert" != no && break - done ;; + CFLAGS=$gl_saved_CFLAGS + test "$gl_cv_static_assert" != no && break + done + ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_static_assert" >&5 @@ -41470,6 +43754,44 @@ fi + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bool, true, false" >&5 +printf %s "checking for bool, true, false... " >&6; } +if test ${gl_cv_c_bool+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #if true == false + #error "true == false" + #endif + extern bool b; + bool b = true == false; +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + gl_cv_c_bool=yes +else case e in #( + e) gl_cv_c_bool=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_c_bool" >&5 +printf "%s\n" "$gl_cv_c_bool" >&6; } + if test "$gl_cv_c_bool" = yes; then + +printf "%s\n" "#define HAVE_C_BOOL 1" >>confdefs.h + + fi + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5 printf %s "checking for __builtin_expect... " >&6; } if test ${gl_cv___builtin_expect+y} @@ -41561,6 +43883,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISALNUM 1" >>confdefs.h + GL_GNULIB_C32ISALPHA=1 @@ -41583,6 +43906,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISALPHA 1" >>confdefs.h + GL_GNULIB_C32ISBLANK=1 @@ -41605,6 +43929,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISBLANK 1" >>confdefs.h + GL_GNULIB_C32ISCNTRL=1 @@ -41627,6 +43952,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISCNTRL 1" >>confdefs.h + GL_GNULIB_C32ISDIGIT=1 @@ -41649,6 +43975,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISDIGIT 1" >>confdefs.h + GL_GNULIB_C32ISGRAPH=1 @@ -41671,6 +43998,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISGRAPH 1" >>confdefs.h + GL_GNULIB_C32ISLOWER=1 @@ -41693,6 +44021,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISLOWER 1" >>confdefs.h + GL_GNULIB_C32ISPRINT=1 @@ -41715,6 +44044,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISPRINT 1" >>confdefs.h + GL_GNULIB_C32ISPUNCT=1 @@ -41737,6 +44067,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISPUNCT 1" >>confdefs.h + GL_GNULIB_C32ISSPACE=1 @@ -41759,6 +44090,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISSPACE 1" >>confdefs.h + GL_GNULIB_C32ISUPPER=1 @@ -41781,6 +44113,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISUPPER 1" >>confdefs.h + GL_GNULIB_C32ISXDIGIT=1 @@ -41803,6 +44136,7 @@ printf "%s\n" "#define GNULIB_TEST_C32ISXDIGIT 1" >>confdefs.h + GL_GNULIB_C32TOLOWER=1 @@ -41825,6 +44159,7 @@ printf "%s\n" "#define GNULIB_TEST_C32TOLOWER 1" >>confdefs.h + GL_GNULIB_C32WIDTH=1 @@ -41871,6 +44206,13 @@ fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flexible array member" >&5 printf %s "checking for flexible array member... " >&6; } if test ${ac_cv_c_flexmember+y} @@ -41927,7 +44269,7 @@ printf "%s\n" "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h GL_GENERATE_FLOAT_H=false REPLACE_FLOAT_LDBL=0 case "$host_os" in - aix* | beos* | openbsd* | mirbsd* | irix*) + aix* | beos* | openbsd* | mirbsd*) GL_GENERATE_FLOAT_H=true ;; freebsd* | dragonfly*) @@ -41974,6 +44316,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 +44547,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 +44577,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} @@ -42292,7 +44680,7 @@ else case e in #( if test "$cross_compiling" = yes then : case "$host_os" in - netbsd* | irix*) gl_cv_func_frexp_works="guessing no" ;; + netbsd*) gl_cv_func_frexp_works="guessing no" ;; # Guess yes with MSVC, no with mingw. windows*-msvc*) gl_cv_func_frexp_works="guessing yes" @@ -42335,7 +44723,7 @@ else case e in #( ICC 10.0 has a bug when optimizing the expression -zero. The expression -DBL_MIN * DBL_MIN does not work when cross-compiling to PowerPC on Mac OS X 10.5. */ -#if defined __hpux || defined __sgi || defined __ICC +#if defined __hpux || defined __ICC static double compute_minus_zero (void) { @@ -42514,7 +44902,7 @@ else case e in #( then : case "$host_os" in - aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | windows* | pw*) + aix | aix[3-6]* | beos* | darwin* | mingw* | windows* | pw*) gl_cv_func_frexpl_works="guessing no";; *) gl_cv_func_frexpl_works="guessing yes";; esac @@ -42538,12 +44926,6 @@ else case e in #( # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP #endif -#if defined __sgi && (LDBL_MANT_DIG >= 106) -# if defined __GNUC__ -# undef LDBL_MIN_EXP -# define LDBL_MIN_EXP DBL_MIN_EXP -# endif -#endif extern #ifdef __cplusplus "C" @@ -42770,6 +45152,538 @@ fi fi + + + + + + if test $HAVE_LOCALE_T = 1; then + + + { 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} +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" "newlocale" "ac_cv_have_decl_newlocale" "#include <locale.h> +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_newlocale" = xyes +then : + +fi + if test $ac_cv_have_decl_newlocale = yes; then + ac_fn_c_check_func "$LINENO" "newlocale" "ac_cv_func_newlocale" +if test "x$ac_cv_func_newlocale" = xyes +then : + +fi + + if test $ac_cv_func_newlocale = yes; then + gl_cv_onwards_func_newlocale=yes + else + gl_cv_onwards_func_newlocale='future OS version' + fi + else + gl_cv_onwards_func_newlocale='future OS version' + fi + ;; + + + *) + ac_fn_c_check_func "$LINENO" "newlocale" "ac_cv_func_newlocale" +if test "x$ac_cv_func_newlocale" = xyes +then : + +fi + + gl_cv_onwards_func_newlocale=$ac_cv_func_newlocale + ;; + + esac + + exec 6>&9 9>&- + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_newlocale" >&5 +printf "%s\n" "$gl_cv_onwards_func_newlocale" >&6; } + + case "$gl_cv_onwards_func_newlocale" in + future*) ac_cv_func_newlocale=no ;; + *) ac_cv_func_newlocale=$gl_cv_onwards_func_newlocale ;; + esac + if test $ac_cv_func_newlocale = yes; then + +printf "%s\n" "#define HAVE_NEWLOCALE 1" >>confdefs.h + + fi + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for duplocale" >&5 +printf %s "checking for duplocale... " >&6; } +if test ${gl_cv_onwards_func_duplocale+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" "duplocale" "ac_cv_have_decl_duplocale" "#include <locale.h> +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_duplocale" = xyes +then : + +fi + if test $ac_cv_have_decl_duplocale = yes; then + ac_fn_c_check_func "$LINENO" "duplocale" "ac_cv_func_duplocale" +if test "x$ac_cv_func_duplocale" = xyes +then : + +fi + + if test $ac_cv_func_duplocale = yes; then + gl_cv_onwards_func_duplocale=yes + else + gl_cv_onwards_func_duplocale='future OS version' + fi + else + gl_cv_onwards_func_duplocale='future OS version' + fi + ;; + + + *) + ac_fn_c_check_func "$LINENO" "duplocale" "ac_cv_func_duplocale" +if test "x$ac_cv_func_duplocale" = xyes +then : + +fi + + gl_cv_onwards_func_duplocale=$ac_cv_func_duplocale + ;; + + esac + + exec 6>&9 9>&- + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_duplocale" >&5 +printf "%s\n" "$gl_cv_onwards_func_duplocale" >&6; } + + case "$gl_cv_onwards_func_duplocale" in + future*) ac_cv_func_duplocale=no ;; + *) ac_cv_func_duplocale=$gl_cv_onwards_func_duplocale ;; + esac + if test $ac_cv_func_duplocale = yes; then + +printf "%s\n" "#define HAVE_DUPLOCALE 1" >>confdefs.h + + fi + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for freelocale" >&5 +printf %s "checking for freelocale... " >&6; } +if test ${gl_cv_onwards_func_freelocale+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" "freelocale" "ac_cv_have_decl_freelocale" "#include <locale.h> +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_freelocale" = xyes +then : + +fi + if test $ac_cv_have_decl_freelocale = yes; then + ac_fn_c_check_func "$LINENO" "freelocale" "ac_cv_func_freelocale" +if test "x$ac_cv_func_freelocale" = xyes +then : + +fi + + if test $ac_cv_func_freelocale = yes; then + gl_cv_onwards_func_freelocale=yes + else + gl_cv_onwards_func_freelocale='future OS version' + fi + else + gl_cv_onwards_func_freelocale='future OS version' + fi + ;; + + + *) + ac_fn_c_check_func "$LINENO" "freelocale" "ac_cv_func_freelocale" +if test "x$ac_cv_func_freelocale" = xyes +then : + +fi + + gl_cv_onwards_func_freelocale=$ac_cv_func_freelocale + ;; + + esac + + exec 6>&9 9>&- + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_freelocale" >&5 +printf "%s\n" "$gl_cv_onwards_func_freelocale" >&6; } + + case "$gl_cv_onwards_func_freelocale" in + future*) ac_cv_func_freelocale=no ;; + *) ac_cv_func_freelocale=$gl_cv_onwards_func_freelocale ;; + esac + if test $ac_cv_func_freelocale = yes; then + +printf "%s\n" "#define HAVE_FREELOCALE 1" >>confdefs.h + + fi + + + gl_func_newlocale="$ac_cv_func_newlocale" + gl_func_duplocale="$ac_cv_func_duplocale" + gl_func_freelocale="$ac_cv_func_freelocale" + else + gl_cv_onwards_func_newlocale='future OS version' + gl_cv_onwards_func_duplocale='future OS version' + gl_cv_onwards_func_freelocale='future OS version' + gl_func_newlocale=no + gl_func_duplocale=no + gl_func_freelocale=no + fi + if test $gl_func_newlocale != yes; then + HAVE_NEWLOCALE=0 + case "$gl_cv_onwards_func_newlocale" in + future*) REPLACE_NEWLOCALE=1 ;; + esac + fi + if test $gl_func_duplocale != yes; then + HAVE_DUPLOCALE=0 + case "$gl_cv_onwards_func_duplocale" in + future*) REPLACE_DUPLOCALE=1 ;; + esac + fi + if test $gl_func_freelocale != yes; then + HAVE_FREELOCALE=0 + case "$gl_cv_onwards_func_freelocale" in + future*) REPLACE_FREELOCALE=1 ;; + esac + fi + if test $gt_localename_enhances_locale_funcs = yes; then + REPLACE_NEWLOCALE=1 + REPLACE_DUPLOCALE=1 + REPLACE_FREELOCALE=1 + fi + + + + + + + + + + + GL_GNULIB_GETLOCALENAME_L_UNSAFE=1 + + + + + +printf "%s\n" "#define GNULIB_TEST_GETLOCALENAME_L_UNSAFE 1" >>confdefs.h + + + + + + + + + + if test $HAVE_LOCALE_T = 1; then + + + { 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} +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" "newlocale" "ac_cv_have_decl_newlocale" "#include <locale.h> +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_newlocale" = xyes +then : + +fi + if test $ac_cv_have_decl_newlocale = yes; then + ac_fn_c_check_func "$LINENO" "newlocale" "ac_cv_func_newlocale" +if test "x$ac_cv_func_newlocale" = xyes +then : + +fi + + if test $ac_cv_func_newlocale = yes; then + gl_cv_onwards_func_newlocale=yes + else + gl_cv_onwards_func_newlocale='future OS version' + fi + else + gl_cv_onwards_func_newlocale='future OS version' + fi + ;; + + + *) + ac_fn_c_check_func "$LINENO" "newlocale" "ac_cv_func_newlocale" +if test "x$ac_cv_func_newlocale" = xyes +then : + +fi + + gl_cv_onwards_func_newlocale=$ac_cv_func_newlocale + ;; + + esac + + exec 6>&9 9>&- + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_newlocale" >&5 +printf "%s\n" "$gl_cv_onwards_func_newlocale" >&6; } + + case "$gl_cv_onwards_func_newlocale" in + future*) ac_cv_func_newlocale=no ;; + *) ac_cv_func_newlocale=$gl_cv_onwards_func_newlocale ;; + esac + if test $ac_cv_func_newlocale = yes; then + +printf "%s\n" "#define HAVE_NEWLOCALE 1" >>confdefs.h + + fi + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for duplocale" >&5 +printf %s "checking for duplocale... " >&6; } +if test ${gl_cv_onwards_func_duplocale+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" "duplocale" "ac_cv_have_decl_duplocale" "#include <locale.h> +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_duplocale" = xyes +then : + +fi + if test $ac_cv_have_decl_duplocale = yes; then + ac_fn_c_check_func "$LINENO" "duplocale" "ac_cv_func_duplocale" +if test "x$ac_cv_func_duplocale" = xyes +then : + +fi + + if test $ac_cv_func_duplocale = yes; then + gl_cv_onwards_func_duplocale=yes + else + gl_cv_onwards_func_duplocale='future OS version' + fi + else + gl_cv_onwards_func_duplocale='future OS version' + fi + ;; + + + *) + ac_fn_c_check_func "$LINENO" "duplocale" "ac_cv_func_duplocale" +if test "x$ac_cv_func_duplocale" = xyes +then : + +fi + + gl_cv_onwards_func_duplocale=$ac_cv_func_duplocale + ;; + + esac + + exec 6>&9 9>&- + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_duplocale" >&5 +printf "%s\n" "$gl_cv_onwards_func_duplocale" >&6; } + + case "$gl_cv_onwards_func_duplocale" in + future*) ac_cv_func_duplocale=no ;; + *) ac_cv_func_duplocale=$gl_cv_onwards_func_duplocale ;; + esac + if test $ac_cv_func_duplocale = yes; then + +printf "%s\n" "#define HAVE_DUPLOCALE 1" >>confdefs.h + + fi + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for freelocale" >&5 +printf %s "checking for freelocale... " >&6; } +if test ${gl_cv_onwards_func_freelocale+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" "freelocale" "ac_cv_have_decl_freelocale" "#include <locale.h> +" "$ac_c_undeclared_builtin_options" "CFLAGS" +if test "x$ac_cv_have_decl_freelocale" = xyes +then : + +fi + if test $ac_cv_have_decl_freelocale = yes; then + ac_fn_c_check_func "$LINENO" "freelocale" "ac_cv_func_freelocale" +if test "x$ac_cv_func_freelocale" = xyes +then : + +fi + + if test $ac_cv_func_freelocale = yes; then + gl_cv_onwards_func_freelocale=yes + else + gl_cv_onwards_func_freelocale='future OS version' + fi + else + gl_cv_onwards_func_freelocale='future OS version' + fi + ;; + + + *) + ac_fn_c_check_func "$LINENO" "freelocale" "ac_cv_func_freelocale" +if test "x$ac_cv_func_freelocale" = xyes +then : + +fi + + gl_cv_onwards_func_freelocale=$ac_cv_func_freelocale + ;; + + esac + + exec 6>&9 9>&- + + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_freelocale" >&5 +printf "%s\n" "$gl_cv_onwards_func_freelocale" >&6; } + + case "$gl_cv_onwards_func_freelocale" in + future*) ac_cv_func_freelocale=no ;; + *) ac_cv_func_freelocale=$gl_cv_onwards_func_freelocale ;; + esac + if test $ac_cv_func_freelocale = yes; then + +printf "%s\n" "#define HAVE_FREELOCALE 1" >>confdefs.h + + fi + + + gl_func_newlocale="$ac_cv_func_newlocale" + gl_func_duplocale="$ac_cv_func_duplocale" + gl_func_freelocale="$ac_cv_func_freelocale" + else + gl_cv_onwards_func_newlocale='future OS version' + gl_cv_onwards_func_duplocale='future OS version' + gl_cv_onwards_func_freelocale='future OS version' + gl_func_newlocale=no + gl_func_duplocale=no + gl_func_freelocale=no + fi + if test $gl_func_newlocale != yes; then + HAVE_NEWLOCALE=0 + case "$gl_cv_onwards_func_newlocale" in + future*) REPLACE_NEWLOCALE=1 ;; + esac + fi + if test $gl_func_duplocale != yes; then + HAVE_DUPLOCALE=0 + case "$gl_cv_onwards_func_duplocale" in + future*) REPLACE_DUPLOCALE=1 ;; + esac + fi + if test $gl_func_freelocale != yes; then + HAVE_FREELOCALE=0 + case "$gl_cv_onwards_func_freelocale" in + future*) REPLACE_FREELOCALE=1 ;; + esac + fi + if test $gt_localename_enhances_locale_funcs = yes; then + REPLACE_NEWLOCALE=1 + REPLACE_DUPLOCALE=1 + REPLACE_FREELOCALE=1 + fi + + + + if case "$host_os" in openbsd* | aix* | *-android*) false;; *) true;; esac; then + GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_TRUE= + GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_FALSE='#' +else + GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_TRUE='#' + GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_FALSE= +fi +: + if test -z "${GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_TRUE}" && test -z "${GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_FALSE}"; then + GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_TRUE='#' + GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_FALSE='#' + fi + + HARD_LOCALE_LIB="$SETLOCALE_NULL_LIB" LIB_HARD_LOCALE="$HARD_LOCALE_LIB" @@ -42866,9 +45780,7 @@ rm -rf conftest* iconv_flavor= case "$host_os" in aix*) iconv_flavor=ICONV_FLAVOR_AIX ;; - irix*) iconv_flavor=ICONV_FLAVOR_IRIX ;; hpux*) iconv_flavor=ICONV_FLAVOR_HPUX ;; - osf*) iconv_flavor=ICONV_FLAVOR_OSF ;; solaris*) iconv_flavor=ICONV_FLAVOR_SOLARIS ;; openedition*) iconv_flavor=ICONV_FLAVOR_ZOS ;; esac @@ -43125,7 +46037,7 @@ else case e in #( if test "$cross_compiling" = yes then : case "$host_os" in - irix* | solaris*) gl_cv_func_isnanf_works="guessing no" ;; + solaris*) gl_cv_func_isnanf_works="guessing no" ;; mingw* | windows*) # Guess yes on mingw, no on MSVC. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -43161,20 +46073,6 @@ else case e in #( # undef isnanf # define isnanf(x) isnan ((float)(x)) #endif -/* The Compaq (ex-DEC) C 6.4 compiler chokes on the expression 0.0 / 0.0. */ -#ifdef __DECC -static float -NaN () -{ - static float zero = 0.0f; - return zero / zero; -} -#else -# define NaN() (0.0f / 0.0f) -#endif -#define NWORDS \ - ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) -typedef union { unsigned int word[NWORDS]; float value; } memory_float; int main() { int result = 0; @@ -43182,26 +46080,6 @@ int main() if (isnanf (1.0f / 0.0f)) result |= 1; - if (!isnanf (NaN ())) - result |= 2; - -#if defined FLT_EXPBIT0_WORD && defined FLT_EXPBIT0_BIT - /* The isnanf function should be immune against changes in the sign bit and - in the mantissa bits. The xor operation twiddles a bit that can only be - a sign bit or a mantissa bit. */ - if (FLT_EXPBIT0_WORD == 0 && FLT_EXPBIT0_BIT > 0) - { - memory_float m; - - m.value = NaN (); - /* Set the bits below the exponent to 01111...111. */ - m.word[0] &= -1U << FLT_EXPBIT0_BIT; - m.word[0] |= (1U << (FLT_EXPBIT0_BIT - 1)) - 1; - if (!isnanf (m.value)) - result |= 4; - } -#endif - return result; } _ACEOF @@ -43353,17 +46231,7 @@ else case e in #( ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { unsigned int word[NWORDS]; long double value; } memory_long_double; -/* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the - runtime type conversion. */ -#ifdef __sgi -static long double NaNl () -{ - double zero = 0.0; - return zero / zero; -} -#else -# define NaNl() (0.0L / 0.0L) -#endif +#define NaNl() (0.0L / 0.0L) int main () { int result = 0; @@ -43653,13 +46521,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 +46576,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 +46599,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 +46779,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 +46825,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)) @@ -44051,13 +46919,6 @@ printf "%s\n" "#define GNULIB_TEST_ISWXDIGIT 1" >>confdefs.h - - - - - - - case "$GL_GENERATE_LIMITS_H" in false) LIMITS_H='' ;; true) @@ -44103,251 +46964,154 @@ fi - - - - if test $HAVE_LOCALE_T = 1; then - - - { 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} + if test $REPLACE_STRUCT_LCONV = 1; then + REPLACE_LOCALECONV=1 + fi + if test $REPLACE_LOCALECONV = 0; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether localeconv works" >&5 +printf %s "checking whether localeconv works... " >&6; } +if test ${gl_cv_func_localeconv_works+y} then : printf %s "(cached) " >&6 else case e in #( - e) - exec 9>&6 6>/dev/null + e) if test "$cross_compiling" = yes +then : + case "$host_os" in + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_localeconv_works="guessing yes" ;; + # Guess yes on musl systems. + *-musl* | midipix*) gl_cv_func_localeconv_works="guessing yes" ;; + # Guess no on native Windows. + mingw* | windows*) gl_cv_func_localeconv_works="guessing no" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_localeconv_works="$gl_cross_guess_normal" ;; + esac - case "$host_os" in +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ - linux*-android*) - ac_fn_check_decl "$LINENO" "newlocale" "ac_cv_have_decl_newlocale" "#include <locale.h> -" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_newlocale" = xyes + #include <locale.h> + #include <limits.h> + int main () + { + struct lconv *l = localeconv (); + return l->frac_digits != CHAR_MAX && l->frac_digits < 0; + } + +_ACEOF +if ac_fn_c_try_run "$LINENO" then : + gl_cv_func_localeconv_works=yes +else case e in #( + e) gl_cv_func_localeconv_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 - if test $ac_cv_have_decl_newlocale = yes; then - ac_fn_c_check_func "$LINENO" "newlocale" "ac_cv_func_newlocale" -if test "x$ac_cv_func_newlocale" = xyes -then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_localeconv_works" >&5 +printf "%s\n" "$gl_cv_func_localeconv_works" >&6; } + case "$gl_cv_func_localeconv_works" in + *yes) ;; + *) REPLACE_LOCALECONV=1 ;; + esac + fi + + if test $REPLACE_LOCALECONV = 1; then + GL_COND_OBJ_LOCALECONV_TRUE= + GL_COND_OBJ_LOCALECONV_FALSE='#' +else + GL_COND_OBJ_LOCALECONV_TRUE='#' + GL_COND_OBJ_LOCALECONV_FALSE= fi +: + if test -z "${GL_COND_OBJ_LOCALECONV_TRUE}" && test -z "${GL_COND_OBJ_LOCALECONV_FALSE}"; then + GL_COND_OBJ_LOCALECONV_TRUE='#' + GL_COND_OBJ_LOCALECONV_FALSE='#' + fi - if test $ac_cv_func_newlocale = yes; then - gl_cv_onwards_func_newlocale=yes - else - gl_cv_onwards_func_newlocale='future OS version' - fi - else - gl_cv_onwards_func_newlocale='future OS version' - fi - ;; + if test -z "$GL_COND_OBJ_LOCALECONV_TRUE"; then : - *) - ac_fn_c_check_func "$LINENO" "newlocale" "ac_cv_func_newlocale" -if test "x$ac_cv_func_newlocale" = xyes + ac_fn_c_check_member "$LINENO" "struct lconv" "decimal_point" "ac_cv_member_struct_lconv_decimal_point" "#include <locale.h> +" +if test "x$ac_cv_member_struct_lconv_decimal_point" = xyes then : +printf "%s\n" "#define HAVE_STRUCT_LCONV_DECIMAL_POINT 1" >>confdefs.h + + fi - gl_cv_onwards_func_newlocale=$ac_cv_func_newlocale - ;; + ac_fn_c_check_member "$LINENO" "struct lconv" "int_p_cs_precedes" "ac_cv_member_struct_lconv_int_p_cs_precedes" "#include <locale.h> +" +if test "x$ac_cv_member_struct_lconv_int_p_cs_precedes" = xyes +then : - esac +printf "%s\n" "#define HAVE_STRUCT_LCONV_INT_P_CS_PRECEDES 1" >>confdefs.h - exec 6>&9 9>&- - ;; -esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_newlocale" >&5 -printf "%s\n" "$gl_cv_onwards_func_newlocale" >&6; } - case "$gl_cv_onwards_func_newlocale" in - future*) ac_cv_func_newlocale=no ;; - *) ac_cv_func_newlocale=$gl_cv_onwards_func_newlocale ;; - esac - if test $ac_cv_func_newlocale = yes; then -printf "%s\n" "#define HAVE_NEWLOCALE 1" >>confdefs.h - fi +fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for duplocale" >&5 -printf %s "checking for duplocale... " >&6; } -if test ${gl_cv_onwards_func_duplocale+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" "duplocale" "ac_cv_have_decl_duplocale" "#include <locale.h> -" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_duplocale" = xyes -then : -fi - if test $ac_cv_have_decl_duplocale = yes; then - ac_fn_c_check_func "$LINENO" "duplocale" "ac_cv_func_duplocale" -if test "x$ac_cv_func_duplocale" = xyes -then : -fi - if test $ac_cv_func_duplocale = yes; then - gl_cv_onwards_func_duplocale=yes - else - gl_cv_onwards_func_duplocale='future OS version' - fi - else - gl_cv_onwards_func_duplocale='future OS version' - fi - ;; + GL_GNULIB_LOCALECONV=1 - *) - ac_fn_c_check_func "$LINENO" "duplocale" "ac_cv_func_duplocale" -if test "x$ac_cv_func_duplocale" = xyes -then : -fi - gl_cv_onwards_func_duplocale=$ac_cv_func_duplocale - ;; - esac +printf "%s\n" "#define GNULIB_TEST_LOCALECONV 1" >>confdefs.h - exec 6>&9 9>&- - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_duplocale" >&5 -printf "%s\n" "$gl_cv_onwards_func_duplocale" >&6; } - case "$gl_cv_onwards_func_duplocale" in - future*) ac_cv_func_duplocale=no ;; - *) ac_cv_func_duplocale=$gl_cv_onwards_func_duplocale ;; - esac - if test $ac_cv_func_duplocale = yes; then -printf "%s\n" "#define HAVE_DUPLOCALE 1" >>confdefs.h - fi +printf "%s\n" "#define GNULIB_LOCALECONV 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for freelocale" >&5 -printf %s "checking for freelocale... " >&6; } -if test ${gl_cv_onwards_func_freelocale+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" "freelocale" "ac_cv_have_decl_freelocale" "#include <locale.h> -" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_freelocale" = xyes -then : -fi - if test $ac_cv_have_decl_freelocale = yes; then - ac_fn_c_check_func "$LINENO" "freelocale" "ac_cv_func_freelocale" -if test "x$ac_cv_func_freelocale" = xyes -then : -fi - if test $ac_cv_func_freelocale = yes; then - gl_cv_onwards_func_freelocale=yes - else - gl_cv_onwards_func_freelocale='future OS version' - fi - else - gl_cv_onwards_func_freelocale='future OS version' - fi - ;; - *) - ac_fn_c_check_func "$LINENO" "freelocale" "ac_cv_func_freelocale" -if test "x$ac_cv_func_freelocale" = xyes -then : -fi - gl_cv_onwards_func_freelocale=$ac_cv_func_freelocale - ;; - esac + GL_GNULIB_LOCALENAME_ENVIRON=1 - exec 6>&9 9>&- - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_freelocale" >&5 -printf "%s\n" "$gl_cv_onwards_func_freelocale" >&6; } - case "$gl_cv_onwards_func_freelocale" in - future*) ac_cv_func_freelocale=no ;; - *) ac_cv_func_freelocale=$gl_cv_onwards_func_freelocale ;; - esac - if test $ac_cv_func_freelocale = yes; then -printf "%s\n" "#define HAVE_FREELOCALE 1" >>confdefs.h - fi +printf "%s\n" "#define GNULIB_TEST_LOCALENAME_ENVIRON 1" >>confdefs.h + + + + - gl_func_newlocale="$ac_cv_func_newlocale" - gl_func_duplocale="$ac_cv_func_duplocale" - gl_func_freelocale="$ac_cv_func_freelocale" - else - gl_cv_onwards_func_newlocale='future OS version' - gl_cv_onwards_func_duplocale='future OS version' - gl_cv_onwards_func_freelocale='future OS version' - gl_func_newlocale=no - gl_func_duplocale=no - gl_func_freelocale=no - fi - if test $gl_func_newlocale != yes; then - HAVE_NEWLOCALE=0 - case "$gl_cv_onwards_func_newlocale" in - future*) REPLACE_NEWLOCALE=1 ;; - esac - fi - if test $gl_func_duplocale != yes; then - HAVE_DUPLOCALE=0 - case "$gl_cv_onwards_func_duplocale" in - future*) REPLACE_DUPLOCALE=1 ;; - esac - fi - if test $gl_func_freelocale != yes; then - HAVE_FREELOCALE=0 - case "$gl_cv_onwards_func_freelocale" in - future*) REPLACE_FREELOCALE=1 ;; - esac - fi - if test $gt_localename_enhances_locale_funcs = yes; then - REPLACE_NEWLOCALE=1 - REPLACE_DUPLOCALE=1 - REPLACE_FREELOCALE=1 - fi @@ -44375,7 +47139,7 @@ printf "%s\n" "#define GNULIB_TEST_LOCALENAME_UNSAFE 1" >>confdefs.h - if case "$host_os" in netbsd* | solaris*) true;; *) false;; esac; then + if case "$host_os" in openbsd* | aix* | *-android*) false;; *) true;; esac; then GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_TRUE= GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_FALSE='#' else @@ -44390,9 +47154,10 @@ fi + if test "$gl_threads_api" = posix; then - # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the - # pthread_rwlock_* functions. + # Mac OS X 10.1 lacks the pthread_rwlock_t type and the pthread_rwlock_* + # functions. has_rwlock=false ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h> " @@ -44803,6 +47568,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 +47654,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 +47805,7 @@ printf "%s\n" "#define HAVE_VISIBILITY $HAVE_VISIBILITY" >>confdefs.h fi + : @@ -45031,7 +47876,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 +47892,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; @@ -45094,70 +47939,6 @@ printf "%s\n" "$gl_cv_func_mbrtowc_null_arg1" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5 -printf %s "checking whether mbrtowc handles a NULL string argument... " >&6; } -if test ${gl_cv_func_mbrtowc_null_arg2+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - case "$host_os" in - # Guess no on OSF/1. - osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;; - # Guess yes otherwise. - *) gl_cv_func_mbrtowc_null_arg2="guessing yes" ;; - esac - if test $LOCALE_FR_UTF8 != 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 <string.h> -#include <wchar.h> -int main () -{ - if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) - { - mbstate_t state; - wchar_t wc; - int ret; - - memset (&state, '\0', sizeof (mbstate_t)); - wc = (wchar_t) 0xBADFACE; - mbrtowc (&wc, NULL, 5, &state); - /* Check that wc was not modified. */ - if (wc != (wchar_t) 0xBADFACE) - return 2; - } - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gl_cv_func_mbrtowc_null_arg2=yes -else case e in #( - e) gl_cv_func_mbrtowc_null_arg2=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_mbrtowc_null_arg2" >&5 -printf "%s\n" "$gl_cv_func_mbrtowc_null_arg2" >&6; } - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5 @@ -45175,7 +47956,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 +47973,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 +48225,7 @@ fi ;; *) - if test $LOCALE_FR_UTF8 != none; then + if test "$LOCALE_EN_UTF8" != none; then if test "$cross_compiling" = yes then : : @@ -45457,7 +48238,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; @@ -45613,14 +48394,6 @@ printf "%s\n" "#define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; esac - case "$gl_cv_func_mbrtowc_null_arg2" in - *yes) ;; - *) -printf "%s\n" "#define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h - - REPLACE_MBRTOWC=1 - ;; - esac case "$gl_cv_func_mbrtowc_retval" in *yes) ;; *) @@ -45677,16 +48450,19 @@ if test ${gl_cv_have_weak+y} then : printf %s "(cached) " >&6 else case e in #( - e) case "$host_os" in - cygwin* | mingw* | windows*) + e) case $host_os in #( + cygwin* | mingw* | windows*) : + gl_cv_have_weak="guessing no" - ;; - *) + ;; #( + *) : + gl_cv_have_weak=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern void xyzzy (); #pragma weak xyzzy + int main (void) { @@ -45701,7 +48477,9 @@ then : fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext - if test $gl_cv_have_weak = maybe; then + if test $gl_cv_have_weak = maybe +then : + if test "$cross_compiling" = yes then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -45745,16 +48523,21 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ esac fi - fi + +fi ;; - esac - case " $LDFLAGS " in - *" -static "*) gl_cv_have_weak=no ;; - esac - case "$gl_cv_have_weak" in - *yes) - case "$host_os" in - freebsd* | dragonfly* | midnightbsd*) +esac + case " $LDFLAGS " in #( + *" -static "*) : + gl_cv_have_weak=no ;; #( + *) : + ;; +esac + case $gl_cv_have_weak in #( + *yes) : + case $host_os in #( + freebsd* | dragonfly* | midnightbsd*) : + : > conftest1.c $CC $CPPFLAGS $CFLAGS $LDFLAGS -fPIC -shared -o libempty.so conftest1.c -lpthread >&5 2>&1 cat <<EOF > conftest2.c @@ -45768,22 +48551,29 @@ EOF $CC $CPPFLAGS $CFLAGS $LDFLAGS -o conftest conftest2.c libempty.so >&5 2>&1 \ || gl_cv_have_weak=no rm -f conftest1.c libempty.so conftest2.c conftest - ;; - esac - ;; - esac + ;; #( + *) : + ;; +esac + ;; #( + *) : + ;; +esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5 printf "%s\n" "$gl_cv_have_weak" >&6; } - case "$gl_cv_have_weak" in - *yes) + case $gl_cv_have_weak in #( + *yes) : + printf "%s\n" "#define HAVE_WEAK_SYMBOLS 1" >>confdefs.h - ;; - esac + ;; #( + *) : + ;; +esac case "$gl_cv_have_weak" in *yes) MBRTOWC_LIB= ;; @@ -46150,6 +48940,10 @@ printf "%s\n" "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h + # Conditionally invoke gl_PREREQ_VASNPRINTF_WITH_POSIX_EXTRAS. + + + @@ -46167,7 +48961,7 @@ else case e in #( if test "$cross_compiling" = yes then : case "$host_os" in - netbsd* | irix*) gl_cv_func_frexp_works="guessing no" ;; + netbsd*) gl_cv_func_frexp_works="guessing no" ;; # Guess yes with MSVC, no with mingw. windows*-msvc*) gl_cv_func_frexp_works="guessing yes" @@ -46210,7 +49004,7 @@ else case e in #( ICC 10.0 has a bug when optimizing the expression -zero. The expression -DBL_MIN * DBL_MIN does not work when cross-compiling to PowerPC on Mac OS X 10.5. */ -#if defined __hpux || defined __sgi || defined __ICC +#if defined __hpux || defined __ICC static double compute_minus_zero (void) { @@ -46384,7 +49178,7 @@ else case e in #( then : case "$host_os" in - aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | windows* | pw*) + aix | aix[3-6]* | beos* | darwin* | mingw* | windows* | pw*) gl_cv_func_frexpl_works="guessing no";; *) gl_cv_func_frexpl_works="guessing yes";; esac @@ -46408,12 +49202,6 @@ else case e in #( # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP #endif -#if defined __sgi && (LDBL_MANT_DIG >= 106) -# if defined __GNUC__ -# undef LDBL_MIN_EXP -# define LDBL_MIN_EXP DBL_MIN_EXP -# endif -#endif extern #ifdef __cplusplus "C" @@ -46652,198 +49440,246 @@ fi - if test $RELOCATABLE = yes; then - - - - - - gl_LIBOBJS="$gl_LIBOBJS relocatable.$ac_objext" - - 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} + { 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) case "$host_os" in - # Guess no on musl libc, macOS, FreeBSD, NetBSD, OpenBSD, AIX, Haiku. - *-musl* | midipix* | darwin* | freebsd* | midnightbsd* | netbsd* | openbsd* | aix* | haiku*) - gl_cv_func_setlocale_null_all_mtsafe=no ;; - # Guess no on Cygwin < 3.4.6. - cygwin*) - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include <pthread.h> + int x = PTHREAD_CREATE_DETACHED; -#if defined __CYGWIN__ - #include <cygwin/version.h> - #if CYGWIN_VERSION_DLL_COMBINED >= CYGWIN_VERSION_DLL_MAKE_COMBINED (3004, 6) - Lucky user - #endif -#endif +int +main (void) +{ + ; + return 0; +} _ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "Lucky user" >/dev/null 2>&1 +if ac_fn_c_try_compile "$LINENO" then : - gl_cv_func_setlocale_null_all_mtsafe=yes + gl_cv_const_PTHREAD_CREATE_DETACHED=yes else case e in #( - e) gl_cv_func_setlocale_null_all_mtsafe=no ;; + e) gl_cv_const_PTHREAD_CREATE_DETACHED=no ;; esac fi -rm -rf conftest* - - ;; - # Guess yes on glibc, HP-UX, IRIX, Solaris, native Windows. - *-gnu* | gnu* | hpux* | irix* | solaris* | mingw* | windows*) - gl_cv_func_setlocale_null_all_mtsafe=yes ;; - # If we don't know, obey --enable-cross-guesses. - *) - gl_cv_func_setlocale_null_all_mtsafe="$gl_cross_guess_normal" ;; - esac +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_func_setlocale_null_all_mtsafe" >&5 -printf "%s\n" "$gl_cv_func_setlocale_null_all_mtsafe" >&6; } - case "$host_os" in - mingw* | windows*) ;; - *) - if test $gl_pthread_api = no && test $ac_cv_header_threads_h = no; then - gl_cv_func_setlocale_null_all_mtsafe="trivially yes" - fi - ;; - esac - case "$gl_cv_func_setlocale_null_all_mtsafe" in - *yes) SETLOCALE_NULL_ALL_MTSAFE=1 ;; - *) SETLOCALE_NULL_ALL_MTSAFE=0 ;; - esac +{ 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" "#define SETLOCALE_NULL_ALL_MTSAFE $SETLOCALE_NULL_ALL_MTSAFE" >>confdefs.h + { 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) +{ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether setlocale (category, NULL) is multithread-safe" >&5 -printf %s "checking whether setlocale (category, NULL) is multithread-safe... " >&6; } -if test ${gl_cv_func_setlocale_null_one_mtsafe+y} + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" then : - printf %s "(cached) " >&6 + gl_cv_const_PTHREAD_MUTEX_RECURSIVE=yes else case e in #( - e) case "$host_os" in - # Guess no on OpenBSD, AIX. - openbsd* | aix*) - gl_cv_func_setlocale_null_one_mtsafe=no ;; - # Guess yes on glibc, musl libc, macOS, FreeBSD, NetBSD, HP-UX, IRIX, Solaris, Haiku, Cygwin, native Windows. - *-gnu* | gnu* | *-musl* | midipix* | darwin* | freebsd* | midnightbsd* | netbsd* | hpux* | irix* | solaris* | haiku* | cygwin* | mingw* | windows*) - gl_cv_func_setlocale_null_one_mtsafe=yes ;; - # If we don't know, obey --enable-cross-guesses. - *) - gl_cv_func_setlocale_null_one_mtsafe="$gl_cross_guess_normal" ;; - esac + 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_func_setlocale_null_one_mtsafe" >&5 -printf "%s\n" "$gl_cv_func_setlocale_null_one_mtsafe" >&6; } - case "$host_os" in - mingw* | windows*) ;; - *) - if test $gl_pthread_api = no && test $ac_cv_header_threads_h = no; then - gl_cv_func_setlocale_null_one_mtsafe="trivially yes" - fi - ;; - esac - case "$gl_cv_func_setlocale_null_one_mtsafe" in - *yes) SETLOCALE_NULL_ONE_MTSAFE=1 ;; - *) SETLOCALE_NULL_ONE_MTSAFE=0 ;; - esac - -printf "%s\n" "#define SETLOCALE_NULL_ONE_MTSAFE $SETLOCALE_NULL_ONE_MTSAFE" >>confdefs.h - - - if test $SETLOCALE_NULL_ALL_MTSAFE = 0 || test $SETLOCALE_NULL_ONE_MTSAFE = 0; then - case "$host_os" in - mingw* | windows*) - SETLOCALE_NULL_LIB= - ;; - *) - +{ 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 whether imported symbols can be declared weak" >&5 -printf %s "checking whether imported symbols can be declared weak... " >&6; } -if test ${gl_cv_have_weak+y} + { 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) case "$host_os" in - cygwin* | mingw* | windows*) - gl_cv_have_weak="guessing no" - ;; - *) - gl_cv_have_weak=no - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -extern void xyzzy (); -#pragma weak xyzzy +#include <pthread.h> + int x = PTHREAD_MUTEX_ROBUST; + int main (void) { -xyzzy(); + ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO" +if ac_fn_c_try_compile "$LINENO" then : - gl_cv_have_weak=maybe + 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_exeext conftest.$ac_ext - if test $gl_cv_have_weak = maybe; then - if test "$cross_compiling" = yes +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 : - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#ifdef __ELF__ - Extensible Linking Format - #endif +#include <pthread.h> + int x = PTHREAD_PROCESS_SHARED; +int +main (void) +{ + + ; + return 0; +} _ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "Extensible Linking Format" >/dev/null 2>&1 +if ac_fn_c_try_compile "$LINENO" then : - gl_cv_have_weak="guessing yes" + gl_cv_const_PTHREAD_PROCESS_SHARED=yes else case e in #( - e) gl_cv_have_weak="guessing no" ;; + e) gl_cv_const_PTHREAD_PROCESS_SHARED=no ;; esac fi -rm -rf conftest* +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 + PTHREAD_ONCE_LIB= + else + if test $HAVE_PTHREAD_H = 0; then + HAVE_PTHREAD_ONCE=0 + PTHREAD_ONCE_LIB= + 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 + if test -z "$LIBPTHREAD" && test -n "$LIBPMULTITHREAD"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_once can be used without linking with libpthread" >&5 +printf %s "checking whether pthread_once can be used without linking with libpthread... " >&6; } +if test ${gl_cv_func_pthread_once_no_lib+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) if test "$cross_compiling" = yes +then : + case "$host_os" in + # Guess no on glibc. + *-gnu* | gnu*) + gl_cv_func_pthread_once_no_lib="guessing no" ;; + # Guess no on FreeBSD. + freebsd* | dragonfly* | midnightbsd*) + gl_cv_func_pthread_once_no_lib="guessing no" ;; + # Guess yes otherwise. + *) + gl_cv_func_pthread_once_no_lib="guessing yes" ;; + esac + else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include <pthread.h> + static pthread_once_t a_once = PTHREAD_ONCE_INIT; + static int a; + static void a_init (void) { a = 8647; } -#include <stdio.h> -#pragma weak fputs -int main () +int +main (void) { - return (fputs == NULL); +if (pthread_once (&a_once, a_init)) return 1; + if (a != 8647) return 2; + return 0; + + ; + return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : - gl_cv_have_weak=yes + gl_cv_func_pthread_once_no_lib=yes else case e in #( - e) gl_cv_have_weak=no ;; + e) gl_cv_func_pthread_once_no_lib=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -46851,57 +49687,91 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ esac fi - fi - ;; - esac - case " $LDFLAGS " in - *" -static "*) gl_cv_have_weak=no ;; - esac - case "$gl_cv_have_weak" in - *yes) - case "$host_os" in - freebsd* | dragonfly* | midnightbsd*) - : > conftest1.c - $CC $CPPFLAGS $CFLAGS $LDFLAGS -fPIC -shared -o libempty.so conftest1.c -lpthread >&5 2>&1 - cat <<EOF > conftest2.c -#include <pthread.h> -#pragma weak pthread_mutexattr_gettype -int main () -{ - return (pthread_mutexattr_gettype != NULL); -} -EOF - $CC $CPPFLAGS $CFLAGS $LDFLAGS -o conftest conftest2.c libempty.so >&5 2>&1 \ - || gl_cv_have_weak=no - rm -f conftest1.c libempty.so conftest2.c conftest - ;; - esac - ;; - esac - ;; + ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5 -printf "%s\n" "$gl_cv_have_weak" >&6; } - case "$gl_cv_have_weak" in - *yes) +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_once_no_lib" >&5 +printf "%s\n" "$gl_cv_func_pthread_once_no_lib" >&6; } + case "$gl_cv_func_pthread_once_no_lib" in + *yes) PTHREAD_ONCE_LIB="$LIBPTHREAD" ;; + *) PTHREAD_ONCE_LIB="$LIBPMULTITHREAD" ;; + esac + else + PTHREAD_ONCE_LIB="$LIBPTHREAD" + fi + fi + fi -printf "%s\n" "#define HAVE_WEAK_SYMBOLS 1" >>confdefs.h - ;; - esac - case "$gl_cv_have_weak" in - *yes) SETLOCALE_NULL_LIB= ;; - *) SETLOCALE_NULL_LIB="$LIBPTHREAD" ;; - esac - ;; - esac - else - SETLOCALE_NULL_LIB= + 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 - LIB_SETLOCALE_NULL="$SETLOCALE_NULL_LIB" + + + + + + + + + + GL_GNULIB_PTHREAD_ONCE=1 + + + + + +printf "%s\n" "#define GNULIB_TEST_PTHREAD_ONCE 1" >>confdefs.h + + + + + + + if test $RELOCATABLE = yes; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS relocatable.$ac_objext" + + fi + + + + + + + + + + if case "$host_os" in mingw* | windows* | *-android*) true;; *) false;; esac; then + GL_COND_OBJ_SETLOCALE_FIXES_TRUE= + GL_COND_OBJ_SETLOCALE_FIXES_FALSE='#' +else + GL_COND_OBJ_SETLOCALE_FIXES_TRUE='#' + GL_COND_OBJ_SETLOCALE_FIXES_FALSE= +fi +: + if test -z "${GL_COND_OBJ_SETLOCALE_FIXES_TRUE}" && test -z "${GL_COND_OBJ_SETLOCALE_FIXES_FALSE}"; then + GL_COND_OBJ_SETLOCALE_FIXES_TRUE='#' + GL_COND_OBJ_SETLOCALE_FIXES_FALSE='#' + fi @@ -47097,7 +49967,7 @@ double m0d = -p0d; But that expression does not work on other platforms, such as when cross-compiling to PowerPC on Mac OS X 10.5. */ long double p0l = 0.0L; -#if defined __hpux || defined __sgi +#if defined __hpux long double m0l = -LDBL_MIN * LDBL_MIN; #else long double m0l = -p0l; @@ -47227,7 +50097,7 @@ double m0d = -p0d; But that expression does not work on other platforms, such as when cross-compiling to PowerPC on Mac OS X 10.5. */ long double p0l = 0.0L; -#if defined __hpux || defined __sgi +#if defined __hpux long double m0l = -LDBL_MIN * LDBL_MIN; #else long double m0l = -p0l; @@ -48009,49 +50879,6 @@ printf "%s\n" "#define ssize_t $gl_def_ssize_t" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bool, true, false" >&5 -printf %s "checking for bool, true, false... " >&6; } -if test ${gl_cv_c_bool+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #if true == false - #error "true == false" - #endif - extern bool b; - bool b = true == false; -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_c_bool=yes -else case e in #( - e) gl_cv_c_bool=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_c_bool" >&5 -printf "%s\n" "$gl_cv_c_bool" >&6; } - if test "$gl_cv_c_bool" = yes; then - -printf "%s\n" "#define HAVE_C_BOOL 1" >>confdefs.h - - fi - - - - - - - if test $ac_cv_header_stdckdint_h = yes; then - GL_GENERATE_STDCKDINT_H=false - else - GL_GENERATE_STDCKDINT_H=true - fi @@ -48215,6 +51042,44 @@ fi + + if test $ac_cv_have_decl_streq != no; then + HAVE_DECL_STREQ=1 + fi + + + + + if test $ac_cv_have_decl_memeq != no; then + HAVE_DECL_MEMEQ=1 + fi + + + + + + + + + + + + + + + + GL_GNULIB_STRINGEQ=1 + + + + + +printf "%s\n" "#define GNULIB_TEST_STRINGEQ 1" >>confdefs.h + + + + + if test $REPLACE_STRNCAT = 1; then GL_COND_OBJ_STRNCAT_TRUE= GL_COND_OBJ_STRNCAT_FALSE='#' @@ -48325,7 +51190,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. */ @@ -48523,6 +51388,283 @@ printf "%s\n" "#define GNULIB_TEST_STRSTR 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 haiku*) true ;; *) false ;; esac; then + OS_IS_HAIKU_TRUE= + OS_IS_HAIKU_FALSE='#' +else + OS_IS_HAIKU_TRUE='#' + OS_IS_HAIKU_FALSE= +fi +: + if test -z "${OS_IS_HAIKU_TRUE}" && test -z "${OS_IS_HAIKU_FALSE}"; then + OS_IS_HAIKU_TRUE='#' + OS_IS_HAIKU_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 + ac_fn_c_check_header_compile "$LINENO" "sys/single_threaded.h" "ac_cv_header_sys_single_threaded_h" "$ac_includes_default" if test "x$ac_cv_header_sys_single_threaded_h" = xyes then : @@ -48540,6 +51682,13 @@ fi + + + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ || { @@ -48706,11 +51855,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -48741,11 +51890,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -48776,11 +51925,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -48813,8 +51962,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -48848,8 +51997,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -48883,8 +52032,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -48918,8 +52067,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -48953,8 +52102,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -48988,8 +52137,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49023,8 +52172,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49058,8 +52207,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49093,8 +52242,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49128,8 +52277,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49163,8 +52312,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49198,8 +52347,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49233,8 +52382,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49268,8 +52417,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49303,8 +52452,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49338,8 +52487,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49373,8 +52522,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49408,8 +52557,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49443,8 +52592,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49478,8 +52627,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49513,8 +52662,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49548,8 +52697,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49583,8 +52732,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49618,8 +52767,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49653,8 +52802,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49688,8 +52837,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49723,8 +52872,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49758,8 +52907,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49793,8 +52942,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49828,8 +52977,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49863,8 +53012,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49898,8 +53047,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49933,8 +53082,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -49968,8 +53117,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50003,8 +53152,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50038,8 +53187,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50073,8 +53222,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50108,8 +53257,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50143,8 +53292,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50178,8 +53327,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50213,8 +53362,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50248,8 +53397,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50283,8 +53432,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50318,8 +53467,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50353,8 +53502,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50388,8 +53537,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50423,8 +53572,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50458,8 +53607,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50493,8 +53642,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50528,8 +53677,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50563,8 +53712,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50598,8 +53747,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50633,8 +53782,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50668,8 +53817,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50703,8 +53852,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50738,8 +53887,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50773,8 +53922,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51470,8 +54619,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 } } @@ -51505,11 +54654,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -51540,11 +54689,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -51575,11 +54724,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -51612,8 +54761,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51647,8 +54796,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51682,8 +54831,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51715,11 +54864,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -51758,8 +54907,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51799,11 +54948,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -51844,8 +54993,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51887,8 +55036,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51928,11 +55077,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -51971,11 +55120,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -52016,8 +55165,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52059,8 +55208,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52102,8 +55251,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52145,8 +55294,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52188,8 +55337,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52229,11 +55378,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -52272,11 +55421,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -52317,8 +55466,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52360,8 +55509,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52401,11 +55550,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -52446,8 +55595,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52489,8 +55638,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52532,8 +55681,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52573,11 +55722,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -52618,8 +55767,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52661,8 +55810,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52702,11 +55851,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -52745,11 +55894,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -52788,11 +55937,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -52831,11 +55980,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -52874,11 +56023,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -52919,8 +56068,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52960,11 +56109,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53005,8 +56154,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53046,11 +56195,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53089,11 +56238,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53132,11 +56281,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53177,8 +56326,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53218,11 +56367,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53261,11 +56410,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53304,11 +56453,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53347,11 +56496,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53386,8 +56535,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53421,8 +56570,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53456,8 +56605,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53489,11 +56638,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53524,11 +56673,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53562,8 +56711,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53597,8 +56746,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53631,11 +56780,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53668,8 +56817,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53701,11 +56850,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53736,11 +56885,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53771,11 +56920,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53809,8 +56958,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53845,8 +56994,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53879,11 +57028,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53915,11 +57064,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53951,11 +57100,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -53989,8 +57138,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54023,11 +57172,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -54061,8 +57210,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54097,8 +57246,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54131,11 +57280,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -54167,11 +57316,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -54203,11 +57352,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -54240,8 +57389,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54275,8 +57424,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54310,8 +57459,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54345,8 +57494,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54380,8 +57529,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54413,11 +57562,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -54448,11 +57597,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -54483,11 +57632,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -54518,11 +57667,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -54553,11 +57702,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -54588,11 +57737,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -54625,8 +57774,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54660,8 +57809,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54695,8 +57844,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54737,8 +57886,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54779,11 +57928,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -54825,8 +57974,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54869,8 +58018,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54913,8 +58062,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54957,8 +58106,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55001,8 +58150,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55045,8 +58194,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55089,8 +58238,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55133,8 +58282,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55177,8 +58326,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55221,8 +58370,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55265,8 +58414,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55309,8 +58458,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55353,8 +58502,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55397,8 +58546,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55441,8 +58590,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55485,8 +58634,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55529,8 +58678,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55566,8 +58715,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55608,8 +58757,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55652,8 +58801,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55694,11 +58843,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -55738,11 +58887,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -55782,11 +58931,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -55826,11 +58975,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -55870,11 +59019,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -55916,8 +59065,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55958,11 +59107,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -56002,11 +59151,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -56046,11 +59195,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -56092,8 +59241,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56134,11 +59283,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -56178,11 +59327,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -56224,8 +59373,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56268,8 +59417,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56310,11 +59459,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -56354,11 +59503,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -56400,8 +59549,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56444,8 +59593,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56486,11 +59635,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -56530,11 +59679,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -56574,11 +59723,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -56620,8 +59769,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56664,8 +59813,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56708,8 +59857,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56750,11 +59899,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -56794,11 +59943,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -56840,8 +59989,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56884,8 +60033,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56928,8 +60077,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56972,8 +60121,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57016,8 +60165,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57060,8 +60209,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57102,11 +60251,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -57148,8 +60297,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57192,8 +60341,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57234,11 +60383,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -57278,11 +60427,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -57322,11 +60471,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -57366,11 +60515,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -57410,11 +60559,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -57456,8 +60605,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57498,11 +60647,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -57542,11 +60691,55 @@ 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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && 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 1 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -57586,11 +60779,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -57632,8 +60825,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57676,8 +60869,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57718,11 +60911,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -57762,11 +60955,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -57808,8 +61001,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57850,11 +61043,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -57896,8 +61089,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57938,11 +61131,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -57982,11 +61175,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58026,11 +61219,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58070,11 +61263,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58114,11 +61307,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58158,11 +61351,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58204,8 +61397,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58246,11 +61439,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58292,8 +61485,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58334,11 +61527,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58378,11 +61571,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58422,11 +61615,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58468,8 +61661,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58512,8 +61705,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58554,11 +61747,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58600,8 +61793,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58635,11 +61828,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58677,11 +61870,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58723,8 +61916,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58767,8 +61960,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58809,11 +62002,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58853,11 +62046,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58897,11 +62090,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -58943,8 +62136,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58987,8 +62180,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59031,8 +62224,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59068,8 +62261,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59102,11 +62295,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -59137,11 +62330,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -59175,8 +62368,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59208,11 +62401,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } @@ -59280,8 +62473,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59320,8 +62513,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59360,8 +62553,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59400,8 +62593,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59440,8 +62633,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59480,8 +62673,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59520,8 +62713,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59560,8 +62753,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59600,8 +62793,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59635,8 +62828,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59675,8 +62868,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59710,8 +62903,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59750,8 +62943,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59816,8 +63009,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59851,8 +63044,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59886,8 +63079,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59921,8 +63114,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59956,8 +63149,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59991,8 +63184,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60026,8 +63219,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60061,8 +63254,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60138,8 +63331,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60205,8 +63398,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60276,8 +63469,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60309,11 +63502,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 +63574,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60417,8 +63610,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60458,8 +63651,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60501,8 +63694,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60544,8 +63737,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60587,8 +63780,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60629,8 +63822,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60664,8 +63857,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60699,8 +63892,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60734,8 +63927,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60774,8 +63967,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60809,8 +64002,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60844,8 +64037,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60879,8 +64072,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60919,8 +64112,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60954,8 +64147,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60989,8 +64182,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61024,8 +64217,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61092,7 +64285,6 @@ fi - if { test "$HAVE_LIBUNISTRING" != yes \ || { @@ -61164,7 +64356,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 : @@ -61552,13 +64743,34 @@ printf "%s\n" "#define NEED_PRINTF_DIRECTIVE_LC 1" >>confdefs.h - case "$gl_cv_func_printf_flag_grouping" in - *yes) + + + + case "$host_os" in + mingw* | windows*) + +printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h + ;; *) + case "$gl_cv_func_printf_flag_grouping,$gl_cv_func_printf_flag_grouping_multibyte" in + *yes,*yes) + case "$gl_cv_func_printf_flag_grouping_int_precision" in + *yes) + ;; + *) + +printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING_INT 1" >>confdefs.h + + ;; + esac + ;; + *) printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h + ;; + esac ;; esac @@ -61938,13 +65150,34 @@ printf "%s\n" "#define NEED_PRINTF_DIRECTIVE_LC 1" >>confdefs.h - case "$gl_cv_func_printf_flag_grouping" in - *yes) + + + + case "$host_os" in + mingw* | windows*) + +printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h + ;; *) + case "$gl_cv_func_printf_flag_grouping,$gl_cv_func_printf_flag_grouping_multibyte" in + *yes,*yes) + case "$gl_cv_func_printf_flag_grouping_int_precision" in + *yes) + ;; + *) + +printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING_INT 1" >>confdefs.h + + ;; + esac + ;; + *) printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h + ;; + esac ;; esac @@ -62235,7 +65468,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 : @@ -62623,13 +65855,34 @@ printf "%s\n" "#define NEED_PRINTF_DIRECTIVE_LC 1" >>confdefs.h - case "$gl_cv_func_printf_flag_grouping" in - *yes) + + + + case "$host_os" in + mingw* | windows*) + +printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h + ;; *) + case "$gl_cv_func_printf_flag_grouping,$gl_cv_func_printf_flag_grouping_multibyte" in + *yes,*yes) + case "$gl_cv_func_printf_flag_grouping_int_precision" in + *yes) + ;; + *) + +printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING_INT 1" >>confdefs.h + + ;; + esac + ;; + *) printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h + ;; + esac ;; esac @@ -63009,13 +66262,34 @@ printf "%s\n" "#define NEED_PRINTF_DIRECTIVE_LC 1" >>confdefs.h - case "$gl_cv_func_printf_flag_grouping" in - *yes) + + + + case "$host_os" in + mingw* | windows*) + +printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h + ;; *) + case "$gl_cv_func_printf_flag_grouping,$gl_cv_func_printf_flag_grouping_multibyte" in + *yes,*yes) + case "$gl_cv_func_printf_flag_grouping_int_precision" in + *yes) + ;; + *) + +printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING_INT 1" >>confdefs.h + + ;; + esac + ;; + *) printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h + ;; + esac ;; esac @@ -63306,7 +66580,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 : @@ -63694,13 +66967,34 @@ printf "%s\n" "#define NEED_PRINTF_DIRECTIVE_LC 1" >>confdefs.h - case "$gl_cv_func_printf_flag_grouping" in - *yes) + + + + case "$host_os" in + mingw* | windows*) + +printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h + ;; *) + case "$gl_cv_func_printf_flag_grouping,$gl_cv_func_printf_flag_grouping_multibyte" in + *yes,*yes) + case "$gl_cv_func_printf_flag_grouping_int_precision" in + *yes) + ;; + *) + +printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING_INT 1" >>confdefs.h + + ;; + esac + ;; + *) printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h + ;; + esac ;; esac @@ -64080,13 +67374,34 @@ printf "%s\n" "#define NEED_PRINTF_DIRECTIVE_LC 1" >>confdefs.h - case "$gl_cv_func_printf_flag_grouping" in - *yes) + + + + case "$host_os" in + mingw* | windows*) + +printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h + ;; *) + case "$gl_cv_func_printf_flag_grouping,$gl_cv_func_printf_flag_grouping_multibyte" in + *yes,*yes) + case "$gl_cv_func_printf_flag_grouping_int_precision" in + *yes) + ;; + *) + +printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING_INT 1" >>confdefs.h + + ;; + esac + ;; + *) printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h + ;; + esac ;; esac @@ -64313,8 +67628,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64348,8 +67663,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64383,8 +67698,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64412,7 +67727,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 +67751,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64472,8 +67786,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64660,13 +67974,34 @@ printf "%s\n" "#define NEED_PRINTF_DIRECTIVE_LC 1" >>confdefs.h - case "$gl_cv_func_printf_flag_grouping" in - *yes) + + + + case "$host_os" in + mingw* | windows*) + +printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h + ;; *) + case "$gl_cv_func_printf_flag_grouping,$gl_cv_func_printf_flag_grouping_multibyte" in + *yes,*yes) + case "$gl_cv_func_printf_flag_grouping_int_precision" in + *yes) + ;; + *) + +printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING_INT 1" >>confdefs.h + + ;; + esac + ;; + *) printf "%s\n" "#define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h + ;; + esac ;; esac @@ -64753,8 +68088,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64788,8 +68123,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64823,8 +68158,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64858,8 +68193,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -64893,8 +68228,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -69559,8 +72894,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -69594,8 +72929,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -69629,8 +72964,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -69664,8 +72999,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -69699,8 +73034,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -69764,8 +73099,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -69799,8 +73134,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -69834,8 +73169,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -69869,8 +73204,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -69904,8 +73239,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -69939,8 +73274,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -69974,8 +73309,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 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -70028,7 +73363,6 @@ fi - ac_fn_check_decl "$LINENO" "wcwidth" "ac_cv_have_decl_wcwidth" " #include <wchar.h> @@ -70348,6 +73682,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} @@ -70372,7 +73711,7 @@ esac /* Test that alignof yields a result consistent with offsetof. This catches GCC bug 52023 - <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023>. */ + <https://gcc.gnu.org/PR52023>. */ #ifdef __cplusplus template <class t> struct alignof_helper { char a; t b; }; # define ao(type) offsetof (alignof_helper<type>, b) @@ -70483,6 +73822,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 +73858,8 @@ printf "%s\n" "#define GNULIB_TEST_BTOC32 1" >>confdefs.h + + if test $ac_cv_func_btowc = no; then HAVE_BTOWC=0 else @@ -70570,61 +73916,6 @@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_nul" >&5 printf "%s\n" "$gl_cv_func_btowc_nul" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5 -printf %s "checking whether btowc(EOF) is correct... " >&6; } -if test ${gl_cv_func_btowc_eof+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - case "$host_os" in - # Guess no on IRIX. - irix*) gl_cv_func_btowc_eof="guessing no" ;; - # Guess yes on native Windows. - mingw* | windows*) gl_cv_func_btowc_eof="guessing yes" ;; - # Guess yes otherwise. - *) gl_cv_func_btowc_eof="guessing yes" ;; - esac - if test $LOCALE_FR != none; then - if test "$cross_compiling" = yes -then : - : -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <locale.h> -#include <stdio.h> -#include <wchar.h> -int main () -{ - if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) - { - if (btowc (EOF) != WEOF) - return 1; - } - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gl_cv_func_btowc_eof=yes -else case e in #( - e) gl_cv_func_btowc_eof=no ;; -esac -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi - - fi - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5 -printf "%s\n" "$gl_cv_func_btowc_eof" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether btowc is consistent with mbrtowc in the C locale" >&5 printf %s "checking whether btowc is consistent with mbrtowc in the C locale... " >&6; } @@ -70700,14 +73991,13 @@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_consistent" >&5 printf "%s\n" "$gl_cv_func_btowc_consistent" >&6; } + if test $GNULIBHEADERS_OVERRIDE_WINT_T = 1; then + REPLACE_BTOWC=1 + fi case "$gl_cv_func_btowc_nul" in *yes) ;; *) REPLACE_BTOWC=1 ;; esac - case "$gl_cv_func_btowc_eof" in - *yes) ;; - *) REPLACE_BTOWC=1 ;; - esac case "$gl_cv_func_btowc_consistent" in *yes) ;; *) REPLACE_BTOWC=1 ;; @@ -70898,59 +74188,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 +74266,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 +74324,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,71 +74349,65 @@ 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 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether calloc (0, n) and calloc (n, 0) return nonnull" >&5 printf %s "checking whether calloc (0, n) and calloc (n, 0) return nonnull... " >&6; } -if test ${ac_cv_func_calloc_0_nonnull+y} +if test ${gl_cv_func_calloc_0_nonnull+y} then : printf %s "(cached) " >&6 else case e in #( - e) if test $cross_compiling != yes; then - ac_cv_func_calloc_0_nonnull=yes - if test "$cross_compiling" = yes + e) if test "$cross_compiling" = yes then : - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See 'config.log' for more details" "$LINENO" 5; } + case $host_os in #( + # Guess yes on platforms where we know the result. + *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ + | gnu* | *-musl* | midipix* | midnightbsd* \ + | hpux* | solaris* | cygwin* | mingw* | windows* | msys*) : + gl_cv_func_calloc_0_nonnull="guessing yes" ;; #( + *) : + # If we don't know, obey --enable-cross-guesses. + gl_cv_func_calloc_0_nonnull="$gl_cross_guess_normal" ;; +esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -$ac_includes_default +#include <stdlib.h> + /* Use pcalloc to test; "volatile" prevents the compiler + from optimizing the calloc call away. */ + void *(*volatile pcalloc) (size_t, size_t) = calloc; int main (void) { -int result = 0; - char * volatile p = calloc (0, 0); - if (!p) - result |= 1; - free (p); - return result; - +void *p = pcalloc (0, 0); + int result = !p; + free (p); + return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : - + gl_cv_func_calloc_0_nonnull=yes else case e in #( - e) ac_cv_func_calloc_0_nonnull=no ;; + e) gl_cv_func_calloc_0_nonnull=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi - - else - case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) ac_cv_func_calloc_0_nonnull="guessing yes" ;; - # Guess yes on musl systems. - *-musl* | midipix*) ac_cv_func_calloc_0_nonnull="guessing yes" ;; - # Guess yes on native Windows. - mingw* | windows*) ac_cv_func_calloc_0_nonnull="guessing yes" ;; - # If we don't know, obey --enable-cross-guesses. - *) ac_cv_func_calloc_0_nonnull="$gl_cross_guess_normal" ;; - esac - fi - ;; + ;; esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_calloc_0_nonnull" >&5 -printf "%s\n" "$ac_cv_func_calloc_0_nonnull" >&6; } - case $ac_cv_func_calloc_0_nonnull in #( +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_calloc_0_nonnull" >&5 +printf "%s\n" "$gl_cv_func_calloc_0_nonnull" >&6; } + case $gl_cv_func_calloc_0_nonnull in #( *yes) : ;; #( *) : @@ -71205,9 +74456,7 @@ printf "%s\n" "#define GNULIB_TEST_CALLOC_GNU 1" >>confdefs.h - if test $REPLACE_MALLOC_FOR_MALLOC_POSIX = 1; then - REPLACE_CALLOC_FOR_CALLOC_POSIX=1 - fi + REPLACE_CALLOC_FOR_CALLOC_POSIX=$REPLACE_MALLOC_FOR_MALLOC_POSIX if test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1; then @@ -71293,6 +74542,11 @@ printf "%s\n" "#define GNULIB_TEST_CLOSE 1" >>confdefs.h +printf "%s\n" "#define GNULIB_CLOSE $gl_module_indicator_condition" >>confdefs.h + + + + if test "$ac_cv_header_winsock2_h" = yes; then GL_COND_OBJ_CONNECT_TRUE= GL_COND_OBJ_CONNECT_FALSE='#' @@ -71333,6 +74587,11 @@ printf "%s\n" "#define GNULIB_TEST_CONNECT 1" >>confdefs.h +printf "%s\n" "#define GNULIB_CONNECT $gl_module_indicator_condition" >>confdefs.h + + + + @@ -71855,13 +75114,6 @@ printf "%s\n" "#define GNULIB_TEST_FCNTL 1" >>confdefs.h - - - - - - - if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_FDOPEN=1 fi @@ -72044,6 +75296,11 @@ printf "%s\n" "#define GNULIB_TEST_FSTAT 1" >>confdefs.h +printf "%s\n" "#define GNULIB_FSTAT $gl_module_indicator_condition" >>confdefs.h + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ftruncate" >&5 @@ -72354,118 +75611,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 @@ -72705,7 +75850,6 @@ printf "%s\n" "#define GNULIB_TEST_GETPROGNAME 1" >>confdefs.h - gl_gettimeofday_timezone=void if test $ac_cv_func_gettimeofday != yes; then HAVE_GETTIMEOFDAY=0 @@ -72833,6 +75977,64 @@ printf "%s\n" "#define GNULIB_TEST_GETTIMEOFDAY 1" >>confdefs.h + GNULIB_LOCALEDIR="${localedir}" + +# Check whether --with-gnulib-prefix was given. +if test ${with_gnulib_prefix+y} +then : + withval=$with_gnulib_prefix; if test "X$withval" != "X" && test "X$withval" != "Xno"; then + GNULIB_LOCALEDIR="$withval/share/locale" + fi + +fi + + + + gl_saved_prefix="${prefix}" + gl_saved_datarootdir="${datarootdir}" + gl_saved_localedir="${localedir}" + gl_saved_gnuliblocaledir="${GNULIB_LOCALEDIR}" + if test "X$prefix" = "XNONE"; then + prefix="$ac_default_prefix" + fi + eval datarootdir="$datarootdir" + eval localedir="$localedir" + eval GNULIB_LOCALEDIR="$GNULIB_LOCALEDIR" + + + + + + gl_final_GNULIB_LOCALEDIR="$GNULIB_LOCALEDIR" + case "$build_os" in + cygwin*) + case "$host_os" in + mingw* | windows*) + gl_final_GNULIB_LOCALEDIR=`cygpath -w "$gl_final_GNULIB_LOCALEDIR"` ;; + esac + ;; + esac + GNULIB_LOCALEDIR_c=`printf '%s\n' "$gl_final_GNULIB_LOCALEDIR" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` + GNULIB_LOCALEDIR_c='"'"$GNULIB_LOCALEDIR_c"'"' + + + GNULIB_LOCALEDIR_c_make=`printf '%s\n' "$GNULIB_LOCALEDIR_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` + if test "$GNULIB_LOCALEDIR_c_make" = '\"'"${gl_final_GNULIB_LOCALEDIR}"'\"'; then + GNULIB_LOCALEDIR_c_make='\"$(GNULIB_LOCALEDIR)\"' + fi + + + GNULIB_LOCALEDIR="${gl_saved_gnuliblocaledir}" + localedir="${gl_saved_localedir}" + datarootdir="${gl_saved_datarootdir}" + prefix="${gl_saved_prefix}" + + +printf "%s\n" "#define GNULIB_LOCALEDIR ${GNULIB_LOCALEDIR_c}" >>confdefs.h + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for duplocale" >&5 printf %s "checking for duplocale... " >&6; } @@ -73442,6 +76644,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 +76706,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 +76786,12 @@ 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} @@ -73721,6 +76936,7 @@ printf "%s\n" "#define HAVE_NEWLOCALE 1" >>confdefs.h + if test $ac_cv_func_lstat = yes; then case $host_os,$gl_cv_func_lstat_dereferences_slashed_symlink in @@ -73778,72 +76994,21 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc (0) returns nonnull" >&5 -printf %s "checking whether malloc (0) returns nonnull... " >&6; } -if test ${ac_cv_func_malloc_0_nonnull+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) if test "$cross_compiling" = yes -then : - case "$host_os" in - # Guess yes on platforms where we know the result. - *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ - | gnu* | *-musl* | midipix* | midnightbsd* \ - | hpux* | solaris* | cygwin* | mingw* | windows* | msys* ) - ac_cv_func_malloc_0_nonnull="guessing yes" ;; - # If we don't know, obey --enable-cross-guesses. - *) ac_cv_func_malloc_0_nonnull="$gl_cross_guess_normal" ;; - esac -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdlib.h> -int -main (void) -{ -void *p = malloc (0); - void * volatile vp = p; - int result = !vp; - free (p); - return result; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - ac_cv_func_malloc_0_nonnull=yes -else case e in #( - e) ac_cv_func_malloc_0_nonnull=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: $ac_cv_func_malloc_0_nonnull" >&5 -printf "%s\n" "$ac_cv_func_malloc_0_nonnull" >&6; } case $ac_cv_func_malloc_0_nonnull in #( *yes) : - ;; #( + REPLACE_MALLOC_FOR_MALLOC_GNU=$REPLACE_MALLOC_FOR_MALLOC_POSIX ;; #( *) : REPLACE_MALLOC_FOR_MALLOC_GNU=1 ;; esac - fi - if test $REPLACE_MALLOC_FOR_MALLOC_GNU = 1; then @@ -73895,6 +77060,12 @@ 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 +77195,157 @@ printf "%s\n" "#define GNULIB_TEST_MBTOWC 1" >>confdefs.h + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mkfifo" >&5 +printf %s "checking for mkfifo... " >&6; } +if test ${gl_cv_func_mkfifo+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <sys/stat.h> +int +main (void) +{ +return mkfifo("/",0); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + gl_cv_func_mkfifo=yes +else case e in #( + e) gl_cv_func_mkfifo=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_mkfifo" >&5 +printf "%s\n" "$gl_cv_func_mkfifo" >&6; } + if test $gl_cv_func_mkfifo = no; then + HAVE_MKFIFO=0 + else + +printf "%s\n" "#define HAVE_MKFIFO 1" >>confdefs.h + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mkfifo rejects trailing slashes" >&5 +printf %s "checking whether mkfifo rejects trailing slashes... " >&6; } +if test ${gl_cv_func_mkfifo_works+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) # Assume that if we have lstat, we can also check symlinks. + if test $ac_cv_func_lstat = yes; then + ln -s conftest.tmp conftest.lnk + fi + if test "$cross_compiling" = yes +then : + case "$host_os" in + # Guess yes on Linux systems. + linux-* | linux) gl_cv_func_mkfifo_works="guessing yes" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_mkfifo_works="guessing yes" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_mkfifo_works="$gl_cross_guess_normal" ;; + esac + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <sys/stat.h> + +int +main (void) +{ +int result = 0; + if (!mkfifo ("conftest.tmp/", 0600)) + result |= 1; +#if HAVE_LSTAT + if (!mkfifo ("conftest.lnk/", 0600)) + result |= 2; +#endif + return result; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_mkfifo_works=yes +else case e in #( + e) gl_cv_func_mkfifo_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 + + rm -f conftest.tmp conftest.lnk ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mkfifo_works" >&5 +printf "%s\n" "$gl_cv_func_mkfifo_works" >&6; } + case "$gl_cv_func_mkfifo_works" in + *yes) ;; + *) + +printf "%s\n" "#define MKFIFO_TRAILING_SLASH_BUG 1" >>confdefs.h + + REPLACE_MKFIFO=1 + ;; + esac + fi + + + if test $HAVE_MKFIFO = 0 || test $REPLACE_MKFIFO = 1; then + GL_COND_OBJ_MKFIFO_TRUE= + GL_COND_OBJ_MKFIFO_FALSE='#' +else + GL_COND_OBJ_MKFIFO_TRUE='#' + GL_COND_OBJ_MKFIFO_FALSE= +fi +: + if test -z "${GL_COND_OBJ_MKFIFO_TRUE}" && test -z "${GL_COND_OBJ_MKFIFO_FALSE}"; then + GL_COND_OBJ_MKFIFO_TRUE='#' + GL_COND_OBJ_MKFIFO_FALSE='#' + fi + + + + + + + + + + + if test "$GL_GNULIB_MKFIFO" != 1; then + if test "$GL_GNULIB_MKFIFO" = 0; then + GL_GNULIB_MKFIFO=$gl_module_indicator_condition + else + GL_GNULIB_MKFIFO="($GL_GNULIB_MKFIFO || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_MKFIFO 1" >>confdefs.h + + + + + if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then GL_COND_OBJ_MSVC_INVAL_TRUE= GL_COND_OBJ_MSVC_INVAL_FALSE='#' @@ -74491,6 +77813,13 @@ fi + + case $gl_cv_header_working_fcntl_h in #( + *O_DIRECTORY* | *no) : + REPLACE_OPEN=1 ;; #( + *) : + ;; +esac case "$host_os" in mingw* | windows* | pw*) REPLACE_OPEN=1 @@ -74639,6 +77968,7 @@ printf "%s\n" "#define GNULIB_TEST_OPEN 1" >>confdefs.h + if test "$GL_GENERATE_ERRNO_H:$REPLACE_STRERROR_0" != false:0; then REPLACE_PERROR=1 fi @@ -74978,6 +78308,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 (), (void * (*) (void *)) 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 +79140,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 @@ -75332,96 +79472,6 @@ printf "%s\n" "#define PTHREAD_SIGMASK_FAILS_WITH_ERRNO 1" >>confdefs.h ;; esac - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_sigmask unblocks signals correctly" >&5 -printf %s "checking whether pthread_sigmask unblocks signals correctly... " >&6; } -if test ${gl_cv_func_pthread_sigmask_unblock_works+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - case "$host_os" in - irix*) - gl_cv_func_pthread_sigmask_unblock_works="guessing no";; - *) - gl_cv_func_pthread_sigmask_unblock_works="guessing yes";; - esac - gl_saved_LIBS=$LIBS - LIBS="$LIBS $LIBMULTITHREAD" - if test "$cross_compiling" = yes -then : - : -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <limits.h> -#include <pthread.h> -#include <signal.h> -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> - - -$gl_mda_defines - -static volatile int sigint_occurred; -static void -sigint_handler (int sig) -{ - sigint_occurred++; -} -int main () -{ - sigset_t set; - pid_t pid = getpid (); - char command[80]; - if (LONG_MAX < pid) - return 6; - signal (SIGINT, sigint_handler); - sigemptyset (&set); - sigaddset (&set, SIGINT); - if (!(pthread_sigmask (SIG_BLOCK, &set, NULL) == 0)) - return 1; - sprintf (command, "sh -c 'sleep 1; kill -INT %ld' &", (long) pid); - if (!(system (command) == 0)) - return 2; - sleep (2); - if (!(sigint_occurred == 0)) - return 3; - if (!(pthread_sigmask (SIG_UNBLOCK, &set, NULL) == 0)) - return 4; - if (!(sigint_occurred == 1)) /* This fails on IRIX. */ - return 5; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - : -else case e in #( - e) gl_cv_func_pthread_sigmask_unblock_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 - - LIBS=$gl_saved_LIBS - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_sigmask_unblock_works" >&5 -printf "%s\n" "$gl_cv_func_pthread_sigmask_unblock_works" >&6; } - case "$gl_cv_func_pthread_sigmask_unblock_works" in - *no) - REPLACE_PTHREAD_SIGMASK=1 - -printf "%s\n" "#define PTHREAD_SIGMASK_UNBLOCK_BUG 1" >>confdefs.h - - ;; - esac fi @@ -75566,15 +79616,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 @@ -75966,9 +80007,6 @@ then : fi - if test $ac_cv_header_random_h = no; then - HAVE_RANDOM_H=0 - fi ac_fn_c_check_type "$LINENO" "struct random_data" "ac_cv_type_struct_random_data" "#include <stdlib.h> #if HAVE_RANDOM_H @@ -75989,7 +80027,7 @@ fi case "$host_os" in - aix* | osf*) + aix*) REPLACE_RANDOM_R=1 ;; *) @@ -76055,126 +80093,102 @@ printf "%s\n" "#define GNULIB_TEST_RANDOM_R 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 -printf %s "checking whether realloc (0, 0) returns nonnull... " >&6; } -if test ${ac_cv_func_realloc_0_nonnull+y} + if test "$gl_cv_func_realloc_sanitize" != no; then + REPLACE_REALLOC_FOR_REALLOC_POSIX=1 + +printf "%s\n" "#define NEED_SANITIZED_REALLOC 1" >>confdefs.h + + else + REPLACE_REALLOC_FOR_REALLOC_POSIX=$REPLACE_MALLOC_FOR_MALLOC_POSIX + fi + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether realloc (..., 0) returns nonnull" >&5 +printf %s "checking whether realloc (..., 0) returns nonnull... " >&6; } +if test ${gl_cv_func_realloc_0_nonnull+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : - case "$host_os" in - # Guess yes on platforms where we know the result. - *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ - | gnu* | *-musl* | midipix* | midnightbsd* \ - | hpux* | solaris* | cygwin* | mingw* | windows* | msys* ) - ac_cv_func_realloc_0_nonnull="guessing yes" ;; - # If we don't know, obey --enable-cross-guesses. - *) ac_cv_func_realloc_0_nonnull="$gl_cross_guess_normal" ;; - esac - + case $host_os in #( + # Guess yes on platforms where we know the result. + freebsd* | netbsd* | openbsd* | darwin* | bitrig* \ + | *-musl* | midipix* | midnightbsd* \ + | hpux* | solaris* | cygwin*) : + gl_cv_func_realloc_0_nonnull="guessing yes" ;; #( + *) : + # Guess as follows if we don't know. + gl_cv_func_realloc_0_nonnull=$gl_cross_guess_normal ;; +esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <stdlib.h> - + /* Use prealloc to test; "volatile" prevents the compiler + from optimizing the realloc call away. */ + void *(*volatile prealloc) (void *, size_t) = realloc; int main (void) { -void *p = realloc (0, 0); - void * volatile vp = p; - int result = !vp; +void *p = prealloc (0, 0); + int result = !p; + p = prealloc (p, 0); + result |= !p; free (p); return result; ; return 0; } - _ACEOF if ac_fn_c_try_run "$LINENO" then : - ac_cv_func_realloc_0_nonnull=yes + gl_cv_func_realloc_0_nonnull=yes else case e in #( - e) ac_cv_func_realloc_0_nonnull=no ;; + e) gl_cv_func_realloc_0_nonnull=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: $ac_cv_func_realloc_0_nonnull" >&5 -printf "%s\n" "$ac_cv_func_realloc_0_nonnull" >&6; } - case $ac_cv_func_realloc_0_nonnull in #( +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_realloc_0_nonnull" >&5 +printf "%s\n" "$gl_cv_func_realloc_0_nonnull" >&6; } + case $gl_cv_func_realloc_0_nonnull in #( *yes) : - ;; #( + +printf "%s\n" "#define HAVE_REALLOC_0_NONNULL 1" >>confdefs.h + ;; #( + *) : + case $gl_cv_func_realloc_sanitize,$gl_cv_malloc_ptrdiff,$gl_cv_func_malloc_posix,$host in #( + yes,*,*,* | *,no,*,* | *,*,*no,* | *,*,*,aarch64c-*-freebsd*) : + REPLACE_REALLOC_FOR_REALLOC_POSIX=1 ;; #( *) : - REPLACE_REALLOC_FOR_REALLOC_GNU=1 ;; + # Optimize for common case of glibc 2.1.1+ and compatibles. + REPLACE_REALLOC_FOR_REALLOC_POSIX=2 ;; +esac ;; esac - fi - - if test $REPLACE_REALLOC_FOR_REALLOC_GNU = 1; then - - - - - - - - - gltests_LIBOBJS="$gltests_LIBOBJS realloc.$ac_objext" - - fi - - - - - - - - - - if test "$GL_GNULIB_REALLOC_GNU" != 1; then - if test "$GL_GNULIB_REALLOC_GNU" = 0; then - GL_GNULIB_REALLOC_GNU=$gl_module_indicator_condition - else - GL_GNULIB_REALLOC_GNU="($GL_GNULIB_REALLOC_GNU || $gl_module_indicator_condition)" - fi - fi - - - - - -printf "%s\n" "#define GNULIB_TEST_REALLOC_GNU 1" >>confdefs.h - - - - - - if test $REPLACE_MALLOC_FOR_MALLOC_POSIX = 1; then - REPLACE_REALLOC_FOR_REALLOC_POSIX=1 + if test $REPLACE_REALLOC_FOR_REALLOC_POSIX != 0; then + GL_COND_OBJ_REALLOC_POSIX_TRUE= + GL_COND_OBJ_REALLOC_POSIX_FALSE='#' +else + GL_COND_OBJ_REALLOC_POSIX_TRUE='#' + GL_COND_OBJ_REALLOC_POSIX_FALSE= +fi +: + if test -z "${GL_COND_OBJ_REALLOC_POSIX_TRUE}" && test -z "${GL_COND_OBJ_REALLOC_POSIX_FALSE}"; then + GL_COND_OBJ_REALLOC_POSIX_TRUE='#' + GL_COND_OBJ_REALLOC_POSIX_FALSE='#' fi - if test $REPLACE_REALLOC_FOR_REALLOC_POSIX = 1; then - - - - - - - - - gltests_LIBOBJS="$gltests_LIBOBJS realloc.$ac_objext" - - fi @@ -76207,6 +80221,7 @@ printf "%s\n" "#define GNULIB_TEST_REALLOC_POSIX 1" >>confdefs.h + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for reallocarray" >&5 printf %s "checking for reallocarray... " >&6; } if test ${gl_cv_onwards_func_reallocarray+y} @@ -76279,8 +80294,14 @@ printf "%s\n" "#define HAVE_REALLOCARRAY 1" >>confdefs.h case "$gl_cv_onwards_func_reallocarray" in future*) REPLACE_REALLOCARRAY=1 ;; esac - elif test "$gl_cv_malloc_ptrdiff" = no; then - REPLACE_REALLOCARRAY=1 + else + if test "$gl_cv_malloc_ptrdiff" = no; then + REPLACE_REALLOCARRAY=1 + fi + case "$gl_cv_func_realloc_0_nonnull" in + *yes) ;; + *) REPLACE_REALLOCARRAY=1 ;; + esac fi @@ -76337,13 +80358,6 @@ printf "%s\n" "#define GNULIB_TEST_REALLOCARRAY 1" >>confdefs.h - - - - - - - if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \ && test $gl_threads_api = windows; then REPLACE_SCHED_YIELD=1 @@ -76612,6 +80626,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 @@ -76735,59 +80754,12 @@ printf "%s\n" "#define GNULIB_TEST_SETENV 1" >>confdefs.h NEED_SETLOCALE_IMPROVED=0 case "$host_os" in mingw* | windows*) NEED_SETLOCALE_IMPROVED=1 ;; + *-android*) NEED_SETLOCALE_IMPROVED=1 ;; cygwin*) case `uname -r` in 1.5.*) NEED_SETLOCALE_IMPROVED=1 ;; esac ;; - *) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether setlocale supports the C locale" >&5 -printf %s "checking whether setlocale supports the C locale... " >&6; } -if test ${gl_cv_func_setlocale_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 Android. - linux*-android*) gl_cv_func_setlocale_works="guessing no";; - # Guess yes otherwise. - *) gl_cv_func_setlocale_works="guessing yes";; - esac - -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <locale.h> -int main () -{ - return setlocale (LC_ALL, "C") == NULL; -} -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gl_cv_func_setlocale_works=yes -else case e in #( - e) gl_cv_func_setlocale_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_setlocale_works" >&5 -printf "%s\n" "$gl_cv_func_setlocale_works" >&6; } - case "$gl_cv_func_setlocale_works" in - *yes) ;; - *) NEED_SETLOCALE_IMPROVED=1 ;; - esac - ;; esac printf "%s\n" "#define NEED_SETLOCALE_IMPROVED $NEED_SETLOCALE_IMPROVED" >>confdefs.h @@ -76866,6 +80838,7 @@ printf "%s\n" "#define GNULIB_TEST_SETLOCALE 1" >>confdefs.h + if test "$ac_cv_header_winsock2_h" = yes; then GL_COND_OBJ_SETSOCKOPT_TRUE= GL_COND_OBJ_SETSOCKOPT_FALSE='#' @@ -76906,6 +80879,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 +81003,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 +81144,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 +81364,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> @@ -77527,6 +81515,39 @@ fi + USES_MSVCRT=0 + case "$host_os" in + mingw* | windows*) + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #ifndef _UCRT + Special + #endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP_TRADITIONAL "Special" >/dev/null 2>&1 +then : + USES_MSVCRT=1 +fi +rm -rf conftest* + + ;; + esac + + if test $USES_MSVCRT = 1; then + GL_COND_OBJ_STDIO_CONSOLESAFE_TRUE= + GL_COND_OBJ_STDIO_CONSOLESAFE_FALSE='#' +else + GL_COND_OBJ_STDIO_CONSOLESAFE_TRUE='#' + GL_COND_OBJ_STDIO_CONSOLESAFE_FALSE= +fi +: + if test -z "${GL_COND_OBJ_STDIO_CONSOLESAFE_TRUE}" && test -z "${GL_COND_OBJ_STDIO_CONSOLESAFE_FALSE}"; then + GL_COND_OBJ_STDIO_CONSOLESAFE_TRUE='#' + GL_COND_OBJ_STDIO_CONSOLESAFE_FALSE='#' + fi if test $REPLACE_STDIO_READ_FUNCS = 1; then @@ -77999,6 +82020,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_GNULIB_STR_ENDSWITH" != 1; then + if test "$GL_GNULIB_STR_ENDSWITH" = 0; then + GL_GNULIB_STR_ENDSWITH=$gl_module_indicator_condition + else + GL_GNULIB_STR_ENDSWITH="($GL_GNULIB_STR_ENDSWITH || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_STR_ENDSWITH 1" >>confdefs.h + + + + + + + + + + + + + + + + + + if test "$GL_GNULIB_STR_STARTSWITH" != 1; then + if test "$GL_GNULIB_STR_STARTSWITH" = 0; then + GL_GNULIB_STR_STARTSWITH=$gl_module_indicator_condition + else + GL_GNULIB_STR_STARTSWITH="($GL_GNULIB_STR_STARTSWITH || $gl_module_indicator_condition)" + fi + fi + + + + + +printf "%s\n" "#define GNULIB_TEST_STR_STARTSWITH 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 +82657,166 @@ 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 + + + + + @@ -78570,12 +82944,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";; @@ -78727,13 +83096,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 @@ -78757,8 +83119,6 @@ else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#undef _BSD -#define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 <stdlib.h> */ #include <stdlib.h> extern #ifdef __cplusplus @@ -78889,6 +83249,7 @@ fi + fi @@ -79213,14 +83574,14 @@ then : else case e in #( e) case "$host_os" in - # Guess no on AIX 4, OSF/1, Solaris, native Windows. - aix4* | osf* | solaris* | mingw* | windows*) + # Guess no on AIX 4, Solaris, native Windows. + aix4* | solaris* | mingw* | windows*) gl_cv_func_wcrtomb_retval="guessing no" ;; # Guess yes otherwise. *) 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 +83602,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,9 +83716,9 @@ 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 else HAVE_WCTOB=1 @@ -79466,25 +83827,6 @@ printf "%s\n" "$gl_cv_func_wctob_works" >&6; } *yes) ;; *) REPLACE_WCTOB=1 ;; esac - if test $REPLACE_WCTOB = 0; then - - ac_fn_check_decl "$LINENO" "wctob" "ac_cv_have_decl_wctob" " - #include <wchar.h> - -" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_wctob" = xyes -then : - ac_have_decl=1 -else case e in #( - e) ac_have_decl=0 ;; -esac -fi -printf "%s\n" "#define HAVE_DECL_WCTOB $ac_have_decl" >>confdefs.h - - if test $ac_cv_have_decl_wctob != yes; then - HAVE_DECL_WCTOB=0 - fi - fi fi @@ -79594,6 +83936,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 +83966,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 +84035,9 @@ printf "%s\n" "#define GNULIB_XALLOC_DIE $gl_module_indicator_condition" >>confd + : + + @@ -79920,6 +84325,17 @@ fi +if test -n "${shlibpath_var}"; then + if test "${shlibpath_var}" = PATH; then + AUGMENT_SHLIBPATH="PATH='\$(bindir)'${PATH_SEPARATOR}\"\$\$PATH\";" + else + AUGMENT_SHLIBPATH="${shlibpath_var}='\$(libdir)':\"\$\$${shlibpath_var}\"; export ${shlibpath_var};" + fi +else + AUGMENT_SHLIBPATH= +fi + + ac_config_files="$ac_config_files Makefile" ac_config_files="$ac_config_files doc/Makefile" @@ -79936,6 +84352,8 @@ ac_config_files="$ac_config_files lib/unistring/woe32dll.h:lib/unistring/woe32dl ac_config_files="$ac_config_files tests/Makefile" +ac_config_files="$ac_config_files install-tests/Makefile" + cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure @@ -80053,6 +84471,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='#' @@ -80089,20 +84519,25 @@ fi gl_libobjs= gl_ltlibobjs= gl_libobjdeps= + gl_libunistring_libobjs= + gl_libunistring_ltlibobjs= + gl_libunistring_libobjdeps= if test -n "$gl_LIBOBJS"; then # Remove the extension. sed_drop_objext='s/\.o$//;s/\.obj$//' sed_dirname1='s,//*,/,g' sed_dirname2='s,\(.\)/$,\1,' - sed_dirname3='s,^[^/]*$,.,' - sed_dirname4='s,\(.\)/[^/]*$,\1,' + sed_dirname3='s,[^/]*$,,' sed_basename1='s,.*/,,' for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do gl_libobjs="$gl_libobjs $i.$ac_objext" gl_ltlibobjs="$gl_ltlibobjs $i.lo" - i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3" -e "$sed_dirname4"` + i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3"` i_base=`echo "$i" | sed -e "$sed_basename1"` - gl_libobjdeps="$gl_libobjdeps $i_dir/\$(DEPDIR)/$i_base.Plo" + gl_libunistring_libobjs="$gl_libunistring_libobjs $i_dir""libunistring_a-$i_base.$ac_objext" + gl_libunistring_ltlibobjs="$gl_libunistring_ltlibobjs $i_dir""libunistring_la-$i_base.lo" + gl_libobjdeps="$gl_libobjdeps $i_dir\$(DEPDIR)/$i_base.Plo" + gl_libunistring_libobjdeps="$gl_libunistring_libobjdeps $i_dir\$(DEPDIR)/libunistring_la-$i_base.Plo" done fi gl_LIBOBJS=$gl_libobjs @@ -80111,26 +84546,37 @@ fi gl_LIBOBJDEPS=$gl_libobjdeps + gl_libunistring_LIBOBJS=$gl_libunistring_libobjs + + gl_libunistring_LTLIBOBJS=$gl_libunistring_ltlibobjs + + gl_libunistring_LIBOBJDEPS=$gl_libunistring_libobjdeps + gltests_libobjs= gltests_ltlibobjs= gltests_libobjdeps= + gltests_libunistring_libobjs= + gltests_libunistring_ltlibobjs= + gltests_libunistring_libobjdeps= if test -n "$gltests_LIBOBJS"; then # Remove the extension. sed_drop_objext='s/\.o$//;s/\.obj$//' sed_dirname1='s,//*,/,g' sed_dirname2='s,\(.\)/$,\1,' - sed_dirname3='s,^[^/]*$,.,' - sed_dirname4='s,\(.\)/[^/]*$,\1,' + sed_dirname3='s,[^/]*$,,' sed_basename1='s,.*/,,' for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do gltests_libobjs="$gltests_libobjs $i.$ac_objext" gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" - i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3" -e "$sed_dirname4"` + i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3"` i_base=`echo "$i" | sed -e "$sed_basename1"` - gltests_libobjdeps="$gltests_libobjdeps $i_dir/\$(DEPDIR)/$i_base.Plo" + gltests_libunistring_libobjs="$gltests_libunistring_libobjs $i_dir""libunistring_a-$i_base.$ac_objext" + gltests_libunistring_ltlibobjs="$gltests_libunistring_ltlibobjs $i_dir""libunistring_la-$i_base.lo" + gltests_libobjdeps="$gltests_libobjdeps $i_dir\$(DEPDIR)/$i_base.Plo" + gltests_libunistring_libobjdeps="$gltests_libunistring_libobjdeps $i_dir\$(DEPDIR)/libunistring_la-$i_base.Plo" done fi gltests_LIBOBJS=$gltests_libobjs @@ -80139,6 +84585,12 @@ fi gltests_LIBOBJDEPS=$gltests_libobjdeps + gltests_libunistring_LIBOBJS=$gltests_libunistring_libobjs + + gltests_libunistring_LTLIBOBJS=$gltests_libunistring_ltlibobjs + + gltests_libunistring_LIBOBJDEPS=$gltests_libunistring_libobjdeps + if test -z "${WOE32DLL_TRUE}" && test -z "${WOE32DLL_FALSE}"; then as_fn_error $? "conditional \"WOE32DLL\" was never defined. @@ -80537,7 +84989,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by $as_me, which was +This file was extended by libunistring $as_me dummy, which was generated by GNU Autoconf 2.72. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -80605,7 +85057,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -config.status +libunistring config.status dummy configured by $0, generated by GNU Autoconf 2.72, with options \\"\$ac_cs_config\\" @@ -81106,6 +85558,7 @@ do "lib/unistring/version.h") CONFIG_FILES="$CONFIG_FILES lib/unistring/version.h:lib/unistring/version.in.h" ;; "lib/unistring/woe32dll.h") CONFIG_FILES="$CONFIG_FILES lib/unistring/woe32dll.h:lib/unistring/woe32dll.in.h" ;; "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; + "install-tests/Makefile") CONFIG_FILES="$CONFIG_FILES install-tests/Makefile" ;; *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;; esac @@ -81812,19 +86265,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 +86660,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 +86889,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 |
