diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12671 |
1 files changed, 6034 insertions, 6637 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 @@ -702,40 +709,6 @@ GL_COND_OBJ_UNSETENV_TRUE LOCALE_AR GL_COND_OBJ_TIME_FALSE GL_COND_OBJ_TIME_TRUE -OS_IS_ANDROID_FALSE -OS_IS_ANDROID_TRUE -PLATFORM_IS_MSVC_FALSE -PLATFORM_IS_MSVC_TRUE -PLATFORM_IS_MINGW_FALSE -PLATFORM_IS_MINGW_TRUE -OS_IS_NATIVE_WINDOWS_FALSE -OS_IS_NATIVE_WINDOWS_TRUE -OS_IS_CYGWIN_FALSE -OS_IS_CYGWIN_TRUE -OS_IS_SOLARIS11_FALSE -OS_IS_SOLARIS11_TRUE -OS_IS_AIX_FALSE -OS_IS_AIX_TRUE -OS_IS_OPENBSD_FALSE -OS_IS_OPENBSD_TRUE -OS_IS_NETBSD_FALSE -OS_IS_NETBSD_TRUE -OS_IS_FREEBSD_FALSE -OS_IS_FREEBSD_TRUE -OS_IS_MACOS14_FALSE -OS_IS_MACOS14_TRUE -OS_IS_MACOS13_FALSE -OS_IS_MACOS13_TRUE -OS_IS_MACOS12_FALSE -OS_IS_MACOS12_TRUE -OS_IS_MACOS11_FALSE -OS_IS_MACOS11_TRUE -OS_IS_MACOS_FALSE -OS_IS_MACOS_TRUE -LIBC_IS_MUSL_FALSE -LIBC_IS_MUSL_TRUE -LIBC_IS_GNU_FALSE -LIBC_IS_GNU_TRUE HAVE_SYS_UIO_H NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H NEXT_SYS_UIO_H @@ -748,14 +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_STRDUP_FALSE -GL_COND_OBJ_STRDUP_TRUE GL_COND_OBJ_STPCPY_FALSE GL_COND_OBJ_STPCPY_TRUE GL_COND_OBJ_STDIO_WRITE_FALSE GL_COND_OBJ_STDIO_WRITE_TRUE GL_COND_OBJ_STDIO_READ_FALSE 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 @@ -783,12 +756,10 @@ SELECT_LIB LIBSOCKET GL_COND_OBJ_SCHED_YIELD_FALSE GL_COND_OBJ_SCHED_YIELD_TRUE -GL_COND_OBJ_REWINDDIR_FALSE -GL_COND_OBJ_REWINDDIR_TRUE GL_COND_OBJ_REALLOCARRAY_FALSE GL_COND_OBJ_REALLOCARRAY_TRUE -GL_COND_OBJ_READDIR_FALSE -GL_COND_OBJ_READDIR_TRUE +GL_COND_OBJ_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 @@ -844,10 +815,6 @@ GL_COND_OBJ_PIPE_FALSE GL_COND_OBJ_PIPE_TRUE GL_COND_OBJ_PERROR_FALSE GL_COND_OBJ_PERROR_TRUE -GL_COND_OBJ_OPENDIR_FALSE -GL_COND_OBJ_OPENDIR_TRUE -GL_COND_OBJ_OPENAT_FALSE -GL_COND_OBJ_OPENAT_TRUE GL_COND_OBJ_OPEN_FALSE GL_COND_OBJ_OPEN_TRUE GL_GENERATE_NETINET_IN_H_FALSE @@ -864,15 +831,14 @@ GL_COND_OBJ_MSVC_NOTHROW_FALSE GL_COND_OBJ_MSVC_NOTHROW_TRUE GL_COND_OBJ_MSVC_INVAL_FALSE GL_COND_OBJ_MSVC_INVAL_TRUE -GL_COND_OBJ_MEMRCHR_FALSE -GL_COND_OBJ_MEMRCHR_TRUE -GL_COND_OBJ_MEMPCPY_FALSE -GL_COND_OBJ_MEMPCPY_TRUE +GL_COND_OBJ_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 @@ -883,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 @@ -901,12 +870,8 @@ GL_COND_OBJ_GETDTABLESIZE_FALSE GL_COND_OBJ_GETDTABLESIZE_TRUE GL_COND_OBJ_GETCWD_LGPL_FALSE GL_COND_OBJ_GETCWD_LGPL_TRUE -GL_COND_OBJ_GETCWD_FALSE -GL_COND_OBJ_GETCWD_TRUE GL_COND_OBJ_FTRUNCATE_FALSE GL_COND_OBJ_FTRUNCATE_TRUE -GL_COND_OBJ_FSTATAT_FALSE -GL_COND_OBJ_FSTATAT_TRUE GL_GNULIB_MDA_UMASK GL_GNULIB_MDA_MKDIR GL_GNULIB_MDA_CHMOD @@ -958,8 +923,6 @@ HAVE_GETUMASK HAVE_FUTIMENS HAVE_FSTATAT HAVE_FCHMODAT -GL_COND_OBJ_FDOPENDIR_FALSE -GL_COND_OBJ_FDOPENDIR_TRUE GL_GNULIB_MDA_TEMPNAM GL_GNULIB_MDA_PUTW GL_GNULIB_MDA_GETW @@ -1086,25 +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_FCHDIR_FALSE -GL_COND_OBJ_FCHDIR_TRUE GL_COND_OBJ_ERROR_FALSE GL_COND_OBJ_ERROR_TRUE REPLACE_ERROR_AT_LINE @@ -1116,50 +1062,43 @@ NEXT_AS_FIRST_DIRECTIVE_ERROR_H NEXT_ERROR_H GL_COND_OBJ_DUP2_FALSE GL_COND_OBJ_DUP2_TRUE -GL_COND_OBJ_DUP_FALSE -GL_COND_OBJ_DUP_TRUE -GL_COND_OBJ_DIRFD_FALSE -GL_COND_OBJ_DIRFD_TRUE -HAVE_DIRENT_H -NEXT_AS_FIRST_DIRECTIVE_DIRENT_H -NEXT_DIRENT_H +GL_GNULIB_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_GNULIB_ALPHASORT -GL_GNULIB_SCANDIR -GL_GNULIB_FDOPENDIR -GL_GNULIB_DIRFD -GL_GNULIB_CLOSEDIR -GL_GNULIB_REWINDDIR -GL_GNULIB_READDIR -GL_GNULIB_OPENDIR -GL_COND_OBJ_CLOSEDIR_FALSE -GL_COND_OBJ_CLOSEDIR_TRUE -DIR_HAS_FD_MEMBER -REPLACE_FDOPENDIR -REPLACE_DIRFD -REPLACE_CLOSEDIR -REPLACE_REWINDDIR -REPLACE_READDIR -REPLACE_OPENDIR -HAVE_ALPHASORT -HAVE_SCANDIR -HAVE_FDOPENDIR -HAVE_DECL_FDOPENDIR -HAVE_DECL_DIRFD -HAVE_CLOSEDIR -HAVE_REWINDDIR -HAVE_READDIR -HAVE_OPENDIR GL_COND_OBJ_CLOSE_FALSE GL_COND_OBJ_CLOSE_TRUE HAVE_MSVC_INVALID_PARAMETER_HANDLER -GL_COND_OBJ_CHDIR_LONG_FALSE -GL_COND_OBJ_CHDIR_LONG_TRUE GL_COND_OBJ_C32RTOMB_FALSE GL_COND_OBJ_C32RTOMB_TRUE LOCALE_TR_UTF8 @@ -1206,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 @@ -1745,6 +1684,7 @@ REPLACE_GETPASS REPLACE_GETPAGESIZE REPLACE_GETGROUPS REPLACE_GETLOGIN_R +REPLACE_GETLOGIN REPLACE_GETENTROPY REPLACE_GETDTABLESIZE REPLACE_GETDOMAINNAME @@ -2638,6 +2578,44 @@ 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 @@ -2658,10 +2636,19 @@ 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 @@ -2675,6 +2662,7 @@ 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 @@ -2801,6 +2789,7 @@ UNDEFINE_STRTOK_R REPLACE_STRVERSCMP REPLACE_STRSIGNAL REPLACE_STRERRORNAME_NP +REPLACE_STRERROR_L REPLACE_STRERROR_R REPLACE_STRERROR REPLACE_STRTOK_R @@ -2823,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 @@ -2830,6 +2820,7 @@ HAVE_STRSEP HAVE_STRPBRK HAVE_DECL_STRNLEN HAVE_DECL_STRNDUP +HAVE_DECL_STREQ HAVE_DECL_STRDUP HAVE_STRCHRNUL HAVE_STPNCPY @@ -2839,6 +2830,7 @@ HAVE_DECL_MEMRCHR HAVE_MEMSET_EXPLICIT HAVE_MEMPCPY HAVE_DECL_MEMMEM +HAVE_DECL_MEMEQ HAVE_FFSLL HAVE_FFSL HAVE_EXPLICIT_BZERO @@ -2850,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 @@ -2866,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 @@ -2874,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 @@ -2951,45 +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_C_UNREACHABLE HAVE_MAX_ALIGN_T REPLACE_NULL STDDEF_NOT_IDEMPOTENT NULLPTR_T_NEEDS_STDDEF -LOCALENAME_ENHANCE_LOCALE_FUNCS -REPLACE_STRUCT_LCONV -REPLACE_FREELOCALE -REPLACE_DUPLOCALE -REPLACE_NEWLOCALE -REPLACE_SETLOCALE -REPLACE_LOCALECONV -HAVE_FREELOCALE -HAVE_DUPLOCALE -HAVE_NEWLOCALE 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 @@ -3088,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 @@ -3312,33 +3313,17 @@ 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 @@ -3362,8 +3347,13 @@ 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 @@ -3374,6 +3364,9 @@ HAVE_LOGP1F HAVE_LOGP1 HAVE_LOGBL HAVE_LOGBF +HAVE_LOG2L +HAVE_LOG2F +HAVE_LOG2 HAVE_LOG1PL HAVE_LOG1PF HAVE_LOG1P @@ -3401,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 @@ -3442,7 +3440,6 @@ 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 @@ -3491,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 @@ -3540,7 +3536,6 @@ HAVE_RPMATCH HAVE_REALPATH HAVE_REALLOCARRAY HAVE_RANDOM_R -HAVE_RANDOM_H HAVE_RANDOM HAVE_QSORT_R HAVE_PTSNAME_R @@ -3577,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 @@ -3630,6 +3634,7 @@ REPLACE_WMEMCMP REPLACE_WCSTOK REPLACE_WCSSTR REPLACE_WCSNCMP +REPLACE_WCSNCAT REPLACE_WCSCMP REPLACE_WCSFTIME REPLACE_WCSWIDTH @@ -3647,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 @@ -3694,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 @@ -3865,6 +3871,7 @@ enable_cross_guesses enable_rpath with_libiconv_prefix enable_relocatable +with_gnulib_prefix enable_namespacing enable_year2038 ' @@ -3919,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}' @@ -4426,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]... @@ -4475,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] @@ -4496,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: @@ -4512,7 +4521,6 @@ 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 @@ -4540,6 +4548,7 @@ Optional Packages: --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 @@ -4620,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. @@ -5303,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 @@ -5910,23 +5919,25 @@ 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 " pthread.h pthread_h HAVE_PTHREAD_H" -as_fn_append ac_header_c_list " stdbool.h stdbool_h HAVE_STDBOOL_H" as_fn_append ac_header_c_list " stdckdint.h stdckdint_h HAVE_STDCKDINT_H" as_fn_append ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H" as_fn_append ac_header_c_list " features.h features_h HAVE_FEATURES_H" @@ -5936,15 +5947,9 @@ as_fn_append ac_func_c_list " wcwidth HAVE_WCWIDTH" as_fn_append ac_header_c_list " sys/socket.h sys_socket_h HAVE_SYS_SOCKET_H" as_fn_append ac_header_c_list " arpa/inet.h arpa_inet_h HAVE_ARPA_INET_H" as_fn_append ac_func_c_list " btowc HAVE_BTOWC" -as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H" as_fn_append ac_func_c_list " _set_invalid_parameter_handler HAVE__SET_INVALID_PARAMETER_HANDLER" -as_fn_append ac_func_c_list " fchdir HAVE_FCHDIR" -as_fn_append ac_header_c_list " dirent.h dirent_h HAVE_DIRENT_H" as_fn_append ac_header_c_list " error.h error_h HAVE_ERROR_H" as_fn_append ac_func_c_list " fcntl HAVE_FCNTL" -as_fn_append ac_func_c_list " symlink HAVE_SYMLINK" -as_fn_append ac_func_c_list " fdopendir HAVE_FDOPENDIR" -as_fn_append ac_func_c_list " fstatat HAVE_FSTATAT" as_fn_append ac_func_c_list " getdtablesize HAVE_GETDTABLESIZE" as_fn_append ac_func_c_list " getexecname HAVE_GETEXECNAME" as_fn_append ac_func_c_list " gettimeofday HAVE_GETTIMEOFDAY" @@ -5953,7 +5958,7 @@ as_fn_append ac_header_c_list " netinet/in.h netinet_in_h HAVE_NETINET_IN_H" as_fn_append ac_func_c_list " isblank HAVE_ISBLANK" as_fn_append ac_header_c_list " semaphore.h semaphore_h HAVE_SEMAPHORE_H" as_fn_append ac_func_c_list " lstat HAVE_LSTAT" -as_fn_append ac_func_c_list " openat HAVE_OPENAT" +as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H" as_fn_append ac_func_c_list " __xpg_strerror_r HAVE___XPG_STRERROR_R" as_fn_append ac_func_c_list " pipe HAVE_PIPE" as_fn_append ac_header_c_list " sys/select.h sys_select_h HAVE_SYS_SELECT_H" @@ -6145,7 +6150,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -am__api_version='1.17' +am__api_version='1.18' @@ -6415,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 @@ -6846,7 +6855,7 @@ fi # Define the identity of the package. - PACKAGE='' + PACKAGE='libunistring' VERSION='' @@ -6880,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 -am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' + { 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; } + + # 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; } @@ -6907,9 +7040,19 @@ fi - PACKAGE=libunistring + VERSION="$VERSION_NUMBER" - VERSION=$VERSION_NUMBER + PACKAGE_VERSION="$VERSION_NUMBER" + + PACKAGE_STRING="libunistring $VERSION_NUMBER" + + printf "%s\n" "#undef PACKAGE_VERSION" >>confdefs.h + +printf "%s\n" "#define PACKAGE_VERSION \"$VERSION_NUMBER\"" >>confdefs.h + + printf "%s\n" "#undef PACKAGE_STRING" >>confdefs.h + +printf "%s\n" "#define PACKAGE_STRING \"libunistring $VERSION_NUMBER\"" >>confdefs.h @@ -7994,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 @@ -9331,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 @@ -9339,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 @@ -9407,20 +9553,20 @@ 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: # Code from module assert-h-tests: - # Code from module assure: - # Code from module at-internal: # Code from module attribute: # Code from module basename-lgpl: # Code from module binary-io: # 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: @@ -9428,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: @@ -9466,33 +9612,23 @@ fi # Code from module calloc-gnu: # Code from module calloc-gnu-tests: # Code from module calloc-posix: - # Code from module chdir: - # Code from module chdir-long: - # Code from module chdir-tests: + # Code from module calloc-posix-tests: # Code from module cloexec: # Code from module cloexec-tests: # Code from module close: # Code from module close-tests: - # Code from module closedir: # Code from module concat-filename: # Code from module connect: # Code from module connect-tests: - # Code from module ctype: - # Code from module ctype-tests: - # Code from module d-ino: - # Code from module dirent: - # Code from module dirent-tests: - # Code from module dirfd: - # Code from module dirfd-tests: + # Code from module ctype-h: + # Code from module ctype-h-tests: # Code from module double-slash-root: - # Code from module dup: - # Code from module dup-tests: # Code from module dup2: # Code from module dup2-tests: # Code from module environ: # 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: @@ -9503,24 +9639,17 @@ fi # Code from module extensions-aix: # Code from module extern-inline: - # Code from module fchdir: - # Code from module fchdir-tests: # Code from module fcntl: # Code from module fcntl-h: # Code from module fcntl-h-tests: # Code from module fcntl-tests: # Code from module fd-hook: - # Code from module fd-safer-flag: # Code from module fdopen: # Code from module fdopen-tests: - # Code from module fdopendir: - # Code from module fdopendir-tests: # Code from module fgetc-tests: # Code from module filename: - # Code from module filenamecat-lgpl: # Code from module flexmember: - # Code from module float: - # Code from module float-tests: + # Code from module float-h: # Code from module fpieee: # Code from module fpucw: @@ -9536,24 +9665,24 @@ fi # Code from module fseterr-tests: # Code from module fstat: # Code from module fstat-tests: - # Code from module fstatat: - # Code from module fstatat-tests: # Code from module ftruncate: # Code from module ftruncate-tests: # Code from module fwrite-tests: # Code from module gen-header: - # Code from module getcwd: # Code from module getcwd-lgpl: # Code from module getcwd-lgpl-tests: - # Code from module getcwd-tests: # Code from module getdtablesize: # Code from module getdtablesize-tests: + # Code from module 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: @@ -9573,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: @@ -9594,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: @@ -9606,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: @@ -9619,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: @@ -9638,29 +9769,24 @@ fi # Code from module memchr: # Code from module memchr-tests: # Code from module memcmp2: - # Code from module mempcpy: - # Code from module memrchr: - # Code from module memrchr-tests: # Code from module minmax: # Code from module mixin/printf-posix: + # Code from module 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 openat: - # Code from module openat-die: - # Code from module openat-h: - # Code from module openat-tests: - # Code from module opendir: + # Code from module package-version: # Code from module pathmax: # Code from module pathmax-tests: # Code from module perror: @@ -9680,24 +9806,17 @@ fi 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 @@ -9721,24 +9840,21 @@ fi # Code from module random-tests: # Code from module random_r: # Code from module random_r-tests: - # Code from module readdir: - # Code from module realloc-gnu: - # Code from module realloc-gnu-tests: # Code from module realloc-posix: + # Code from module realloc-posix-tests: # Code from module reallocarray: # Code from module reallocarray-tests: # Code from module relocatable-lib-lgpl: - # Code from module rewinddir: # Code from module same-inode: - # Code from module save-cwd: - # Code from module sched: - # Code from module sched-tests: + # Code from module sched-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: @@ -9773,25 +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 strdup-posix: + # 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: @@ -9802,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: @@ -9811,21 +9929,21 @@ 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: @@ -9840,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: @@ -9958,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: @@ -9989,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: @@ -10380,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: @@ -10407,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: @@ -10426,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: @@ -10472,11 +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-safer: - # Code from module unistd-safer-tests: - # 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: @@ -10561,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: @@ -10795,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: @@ -10808,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: @@ -10829,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: @@ -10858,7 +10986,7 @@ fi # Code from module xalloc-die-tests: # Code from module xalloc-oversized: # Code from module xconcat-filename: - # Code from module xgetcwd: + # Code from module xgetcwd-lgpl: # Code from module xsize: # Code from module yield: @@ -10928,8 +11056,8 @@ esac -macro_version='2.5.3' -macro_revision='2.5.3' +macro_version='2.5.4' +macro_revision='2.5.4' @@ -11718,9 +11846,9 @@ 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; ;; @@ -12282,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 @@ -12316,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 ;; @@ -13103,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" @@ -14510,6 +14643,21 @@ printf "%s\n" "$lt_cv_ld_force_load" >&6; } 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 @@ -15713,7 +15861,7 @@ lt_prog_compiler_static= lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; - *flang* | ftn) + *flang* | ftn | f18* | f95*) # Flang compiler. lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' @@ -15801,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. @@ -15817,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' @@ -16202,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*) - with_gnu_ld=no - ;; esac ld_shlibs=yes @@ -16315,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' @@ -16334,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*) @@ -16440,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*) @@ -16460,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= @@ -16869,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 -Fe $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 -Fe $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' @@ -17159,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 @@ -17264,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 @@ -17907,28 +18075,28 @@ cygwin* | mingw* | windows* | pw32* | cegcc*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds - # If user builds GCC with mulitlibs enabled, + # 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' + 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' + 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~ @@ -18119,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*) @@ -18321,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 @@ -18339,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' @@ -18418,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 @@ -18515,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 ;; @@ -19600,6 +20294,8 @@ fi + + # Check whether --enable-cross-guesses was given. if test ${enable_cross_guesses+y} then : @@ -19970,6 +20666,7 @@ printf "%s\n" "$gl_cv_source_line_length_unlimited" >&6; } + HAVE_C32RTOMB=1; HAVE_MBRTOC16=1; HAVE_MBRTOC32=1; @@ -20208,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 + + + @@ -20251,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 @@ -20377,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; @@ -20395,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; @@ -20610,11 +21342,11 @@ _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 @@ -20978,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 @@ -21402,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 @@ -22001,269 +22733,471 @@ 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 -/* end confdefs.h. */ + case $gl_cv_header_working_fcntl_h in #( + *O_DIRECTORY* | *no) : + gl_val=0 ;; #( + *) : + gl_val=1 ;; +esac -#define _XOPEN_SOURCE_EXTENDED 1 -#include <errno.h> -#ifdef ENOLINK -yes -#endif +printf "%s\n" "#define HAVE_WORKING_O_DIRECTORY $gl_val" >>confdefs.h -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 -then : - gl_cv_header_errno_h_ENOLINK=hidden -fi -rm -rf conftest* - 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 : + case $gl_cv_header_working_fcntl_h in #( + *O_NOATIME* | *no) : + gl_val=0 ;; #( + *) : + gl_val=1 ;; +esac -fi +printf "%s\n" "#define HAVE_WORKING_O_NOATIME $gl_val" >>confdefs.h - fi - fi - ;; + + case $gl_cv_header_working_fcntl_h in #( + *O_NOFOLLOW* | *no) : + gl_val=0 ;; #( + *) : + gl_val=1 ;; 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 +printf "%s\n" "#define HAVE_WORKING_O_NOFOLLOW $gl_val" >>confdefs.h - 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} + 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 : - 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 EOVERFLOW -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_EOVERFLOW=yes + ac_pid_type='int' else case e in #( - e) gl_cv_header_errno_h_EOVERFLOW=no ;; + e) ac_pid_type='__int64' ;; esac fi -rm -rf conftest* - - if test $gl_cv_header_errno_h_EOVERFLOW = no; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -#define _XOPEN_SOURCE_EXTENDED 1 -#include <errno.h> -#ifdef EOVERFLOW -yes -#endif +printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.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=hidden + ;; +esac fi -rm -rf conftest* - 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> -" -then : -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 : - fi - fi - ;; +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_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 - fi - { 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} + + + + + + + + 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 <ctype.h> - #ifndef __header_inline - #error "<ctype.h> does not define __header_inline" - #endif + e) + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <fcntl.h> _ACEOF -if ac_fn_c_try_cpp "$LINENO" -then : - gl_cv_have___header_inline=yes -else case e in #( - e) gl_cv_have___header_inline=no ;; -esac -fi -rm -f conftest.err conftest.i conftest.$ac_ext ;; + 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_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" "$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 -printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h - fi + + 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 @@ -22536,7 +23470,6 @@ printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 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; @@ -22585,7 +23518,6 @@ printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 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; @@ -22728,10 +23660,6 @@ printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h - GL_GNULIB_REALLOC_GNU=0 - - - GL_GNULIB_REALLOC_POSIX=0 @@ -22832,14 +23760,19 @@ printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 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; @@ -22867,6 +23800,9 @@ printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 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; @@ -22877,8 +23813,13 @@ printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 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; @@ -22902,33 +23843,17 @@ printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 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; @@ -23599,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 : @@ -23617,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; } @@ -23657,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:23660: gl_pthread_api=$gl_pthread_api" >&5 - echo "$as_me:23661: 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> @@ -23682,13 +24620,16 @@ then : fi rm -rf conftest* - ;; - esac - echo "$as_me:23687: 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 @@ -23736,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 @@ -23746,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 @@ -23812,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; } @@ -23864,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; } @@ -23916,25 +24872,32 @@ then : LIBPMULTITHREAD=-lc_r fi - fi - fi - echo "$as_me:23921: 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) { @@ -24056,7 +25019,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ gl_pthreadlib_body_done=done - fi + +fi @@ -24099,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. *) @@ -24137,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. *) @@ -24179,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) { @@ -24203,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 @@ -24247,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 @@ -24270,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= ;; @@ -24301,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 @@ -24581,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 ;; @@ -25533,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"); @@ -26329,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 @@ -27074,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 @@ -27549,43 +29027,152 @@ else case e in #( 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 + + if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then + + 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. */ -#ifdef __MINGW32__ - Known -#endif + #if defined _MIPSEB /* equivalent: __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ */ + int big; + #else + #error little + #endif + +int +main (void) +{ + + ; + return 0; +} _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* + # big-endian IEEE 754 double-precision + gl_cv_cc_long_double_expbit0='word 0 bit 20' - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + 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 + ;; + 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. */ -#ifdef _MSC_VER - Known -#endif + #if defined _ARMEL + int little; + #else + #error big + #endif + +int +main (void) +{ + + ; + return 0; +} _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 1 bit 20" + # little-endian IEEE 754 quadruple-precision + gl_cv_cc_long_double_expbit0='word 3 bit 16' + +else case e in #( + e) # big-endian IEEE 754 quadruple-precision + gl_cv_cc_long_double_expbit0='word 0 bit 16' + ;; +esac fi -rm -rf conftest* +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ;; + mips*) + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ - ;; - esac + #if defined _MIPSEB /* equivalent: __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ */ + int big; + #else + #error little + #endif + +int +main (void) +{ + + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + # big-endian IEEE 754 quadruple-precision + gl_cv_cc_long_double_expbit0='word 0 bit 16' + +else case e in #( + e) # little-endian IEEE 754 quadruple-precision + gl_cv_cc_long_double_expbit0='word 3 bit 16' + ;; +esac +fi +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 @@ -28048,312 +29635,6 @@ 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; - - NULLPTR_T_NEEDS_STDDEF=1; STDDEF_NOT_IDEMPOTENT=0; REPLACE_NULL=0; @@ -28457,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 #( @@ -28478,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 \ @@ -28488,12 +29769,17 @@ 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} @@ -28521,39 +29807,41 @@ printf "%s\n" "$gl_cv_nullptr_t_needs_stddef" >&6; } GL_GENERATE_STDDEF_H=true fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clean definition of __STDC_VERSION_STDDEF_H__" >&5 -printf %s "checking for clean definition of __STDC_VERSION_STDDEF_H__... " >&6; } -if test ${gl_cv_clean_version_stddef+y} + { 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. */ -/* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114870 */ - #include <stddef.h> - #undef __STDC_VERSION_STDDEF_H__ - #include <time.h> - #ifdef __STDC_VERSION_STDDEF_H__ - # error "<time.h> defines __STDC_VERSION_STDDEF_H__" - #endif + + #if \ + ((__GNUC__ == 13 && __GNUC_MINOR__ <= 3) \ + || (__GNUC__ == 14 && __GNUC_MINOR__ <= 2)) + #error "bug 114870 is present" + #endif _ACEOF -if ac_fn_c_try_cpp "$LINENO" +if ac_fn_c_try_compile "$LINENO" then : - gl_cv_clean_version_stddef=yes + gl_cv_stddef_idempotent="guessing yes" else case e in #( - e) gl_cv_clean_version_stddef=no ;; + e) gl_cv_stddef_idempotent="guessing no" ;; esac fi -rm -f conftest.err conftest.i conftest.$ac_ext ;; +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_clean_version_stddef" >&5 -printf "%s\n" "$gl_cv_clean_version_stddef" >&6; } - if test "$gl_cv_clean_version_stddef" = no; then - STDDEF_NOT_IDEMPOTENT=1 - GL_GENERATE_STDDEF_H=true - fi +{ 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 @@ -28635,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) { @@ -28655,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*) @@ -28877,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} @@ -29361,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*) @@ -29377,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 @@ -29386,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) { @@ -29410,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 @@ -29454,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 @@ -29477,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) : + + + 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 + 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 : @@ -29522,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; } @@ -29562,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:29565: gl_pthread_api=$gl_pthread_api" >&5 - echo "$as_me:29566: 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> @@ -29587,13 +30528,16 @@ then : fi rm -rf conftest* - ;; - esac - echo "$as_me:29592: 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 @@ -29641,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 @@ -29651,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 @@ -29717,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; } @@ -29769,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; } @@ -29821,25 +30780,32 @@ then : LIBPMULTITHREAD=-lc_r fi - fi - fi - echo "$as_me:29826: 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) { @@ -29961,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 : @@ -30032,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; } @@ -30072,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:30075: gl_pthread_api=$gl_pthread_api" >&5 - echo "$as_me:30076: 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> @@ -30097,13 +31100,16 @@ then : fi rm -rf conftest* - ;; - esac - echo "$as_me:30102: 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 @@ -30151,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 @@ -30161,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 @@ -30227,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; } @@ -30279,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; } @@ -30331,25 +31352,32 @@ then : LIBPMULTITHREAD=-lc_r fi - fi - fi - echo "$as_me:30336: 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) { @@ -30471,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 @@ -30489,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 : @@ -30543,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} @@ -30592,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) @@ -30601,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 @@ -30614,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 @@ -30622,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 @@ -30713,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 @@ -30726,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 ;; *) @@ -30743,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 @@ -30761,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 : @@ -30800,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 + + + + @@ -31211,6 +32306,10 @@ printf "%s\n" "$gl_cv_header_math_huge_val_works" >&6; } + GL_GNULIB_STRINGEQ=0 + + + GL_GNULIB_STRNCAT=0 @@ -31243,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 @@ -31299,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 @@ -31307,6 +32422,10 @@ printf "%s\n" "$gl_cv_header_math_huge_val_works" >&6; } + GL_GNULIB_STRERROR_L=0 + + + GL_GNULIB_STRERRORNAME_NP=0 @@ -31340,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; @@ -31349,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; @@ -31356,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; @@ -31378,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; @@ -31386,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 @@ -31443,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 @@ -31458,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. @@ -31495,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 @@ -31507,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 - { - long int pagesize = sysconf (_SC_PAGESIZE); - 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) { @@ -32119,45 +33220,6 @@ printf "%s\n" "$gl_cv_header_sys_cdefs_h" >&6; } fi - ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default -" -if test "x$ac_cv_type_pid_t" = xyes -then : - -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #if defined _WIN64 && !defined __CYGWIN__ - LLP64 - #endif - -int -main (void) -{ - - ; - return 0; -} - -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - ac_pid_type='int' -else case e in #( - e) ac_pid_type='__int64' ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - -printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h - - ;; -esac -fi - - - @@ -32312,6 +33374,270 @@ fi + + + + + + + + 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 + + + ac_fn_check_decl "$LINENO" "ecvt" "ac_cv_have_decl_ecvt" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_ecvt" = xyes then : @@ -32432,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 and Haiku. - solaris* | haiku*) gl_cv_macro_MB_CUR_MAX_good="guessing no" ;; - # Guess yes otherwise. - *) gl_cv_macro_MB_CUR_MAX_good="guessing yes" ;; - esac - if test "$LOCALE_EN_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 #( @@ -32472,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 @@ -32578,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 @@ -32669,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 @@ -32683,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 - { - long int pagesize = sysconf (_SC_PAGESIZE); - 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) { @@ -32852,17 +34160,6 @@ printf "%s\n" "$gl_cv_func_strstr_works_always" >&6; } -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 @@ -32944,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 @@ -33090,6 +34387,28 @@ printf "%s\n" "$gl_cv_next_sys_types_h" >&6; } + 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 + + + @@ -34152,6 +35471,7 @@ q REPLACE_GETDOMAINNAME=0; REPLACE_GETDTABLESIZE=0; REPLACE_GETENTROPY=0; + REPLACE_GETLOGIN=0; REPLACE_GETLOGIN_R=0; REPLACE_GETGROUPS=0; REPLACE_GETPAGESIZE=0; @@ -34936,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";; @@ -35769,7 +37084,7 @@ 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 @@ -35994,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";; @@ -36017,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 }; @@ -36026,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'; @@ -36186,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} @@ -36640,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. @@ -36663,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} @@ -36868,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 @@ -36887,7 +38333,7 @@ else case e in #( else gl_cv_cc_wallow=none fi - rm -f conftest* + rm -fr conftest* ;; esac fi @@ -36907,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 @@ -36926,7 +38372,7 @@ else case e in #( else gl_cv_cxx_wallow=none fi - rm -f conftest* + rm -fr conftest* ;; esac fi @@ -36945,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; @@ -36970,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; } @@ -37158,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 @@ -37199,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 @@ -37763,13 +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 @@ -37788,7 +39225,6 @@ printf "%s\n" "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h - if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_CLOSE=1 fi @@ -37821,85 +39257,23 @@ fi fi - if test $REPLACE_CLOSE = 0; then - - - - if test $ac_cv_func_fchdir = no; then - HAVE_FCHDIR=0 - fi - - if test $HAVE_FCHDIR = 0; then - REPLACE_CLOSE=1 - fi - fi - - - - HAVE_OPENDIR=1; - HAVE_READDIR=1; - HAVE_REWINDDIR=1; - HAVE_CLOSEDIR=1; - HAVE_DECL_DIRFD=1; - HAVE_DECL_FDOPENDIR=1; - HAVE_FDOPENDIR=1; - HAVE_SCANDIR=1; - HAVE_ALPHASORT=1; - REPLACE_OPENDIR=0; - REPLACE_READDIR=0; - REPLACE_REWINDDIR=0; - REPLACE_CLOSEDIR=0; - REPLACE_DIRFD=0; - REPLACE_FDOPENDIR=0; - - - - case "$host_os" in - mingw* | windows* | os2*) DIR_HAS_FD_MEMBER=0 ;; - *) DIR_HAS_FD_MEMBER=1 ;; - esac - - - - - - - - - GL_GNULIB_OPENDIR=0 - - - - GL_GNULIB_READDIR=0 - - - - GL_GNULIB_REWINDDIR=0 - - - - GL_GNULIB_CLOSEDIR=0 - - - - GL_GNULIB_DIRFD=0 - - GL_GNULIB_FDOPENDIR=0 - - - - GL_GNULIB_SCANDIR=0 - - - - GL_GNULIB_ALPHASORT=0 - - - - - HAVE_ISBLANK=1; + 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; @@ -37984,105 +39358,64 @@ 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 - if test $gl_cv_have_include_next = yes; then - gl_cv_next_dirent_h='<'dirent.h'>' - else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <dirent.h>" >&5 -printf %s "checking absolute name of <dirent.h>... " >&6; } -if test ${gl_cv_next_dirent_h+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - if test $ac_cv_header_dirent_h = yes; then + GL_GNULIB_ISPRINT_L=0 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <dirent.h> -_ACEOF - case "$host_os" in - aix*) gl_absname_cpp="$ac_cpp -C" ;; - *) gl_absname_cpp="$ac_cpp" ;; - esac - case "$host_os" in - mingw* | windows*) - gl_dirsep_regex='[/\\]' - ;; - *) - gl_dirsep_regex='\/' - ;; - esac - gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' - gl_header_literal_regex=`echo 'dirent.h' \ - | sed -e "$gl_make_literal_regex_sed"` - gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ - s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ - s|^/[^/]|//&| - p - q - }' + GL_GNULIB_ISPUNCT_L=0 - gl_cv_absolute_dirent_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | - sed -n "$gl_absolute_header_sed"` - gl_header=$gl_cv_absolute_dirent_h - gl_cv_next_dirent_h='"'$gl_header'"' - else - gl_cv_next_dirent_h='<'dirent.h'>' - fi - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_dirent_h" >&5 -printf "%s\n" "$gl_cv_next_dirent_h" >&6; } - fi - NEXT_DIRENT_H=$gl_cv_next_dirent_h + GL_GNULIB_ISSPACE_L=0 - if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then - # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' - gl_next_as_first_directive='<'dirent.h'>' - else - # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' - gl_next_as_first_directive=$gl_cv_next_dirent_h - fi - NEXT_AS_FIRST_DIRECTIVE_DIRENT_H=$gl_next_as_first_directive + GL_GNULIB_ISUPPER_L=0 - if test $ac_cv_header_dirent_h = yes; then - HAVE_DIRENT_H=1 - else - HAVE_DIRENT_H=0 - fi + + GL_GNULIB_ISXDIGIT_L=0 + GL_GNULIB_TOLOWER_L=0 + GL_GNULIB_TOUPPER_L=0 + @@ -38526,298 +39859,6 @@ printf "%s\n" "#define STRERROR_R_CHAR_P 1" >>confdefs.h fi -ac_fn_check_decl "$LINENO" "fchdir" "ac_cv_have_decl_fchdir" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_fchdir" = xyes -then : - ac_have_decl=1 -else case e in #( - e) ac_have_decl=0 ;; -esac -fi -printf "%s\n" "#define HAVE_DECL_FCHDIR $ac_have_decl" >>confdefs.h - - - HAVE_FCNTL=1; - HAVE_OPENAT=1; - 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; @@ -39164,7 +40205,6 @@ printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } - HAVE_FCHMODAT=1; HAVE_FSTATAT=1; HAVE_FUTIMENS=1; @@ -39456,81 +40496,6 @@ fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 -printf %s "checking whether lstat correctly handles trailing slash... " >&6; } -if test ${gl_cv_func_lstat_dereferences_slashed_symlink+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) rm -f conftest.sym conftest.file - echo >conftest.file - if test "$cross_compiling" = yes -then : - case "$host_os" in - linux-* | linux) - # Guess yes on Linux systems. - gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; - midipix*) - # Guess yes on systems that emulate the Linux system calls. - gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; - *-gnu* | gnu*) - # Guess yes on glibc systems. - gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; - mingw* | windows*) - # Guess no on native Windows. - gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;; - *) - # If we don't know, obey --enable-cross-guesses. - gl_cv_func_lstat_dereferences_slashed_symlink="$gl_cross_guess_normal" ;; - esac - -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -int -main (void) -{ -struct stat sbuf; - if (symlink ("conftest.file", "conftest.sym") != 0) - return 1; - /* Linux will dereference the symlink and fail, as required by - POSIX. That is better in the sense that it means we will not - have to compile and use the lstat wrapper. */ - return lstat ("conftest.sym/", &sbuf) == 0; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gl_cv_func_lstat_dereferences_slashed_symlink=yes -else case e in #( - e) gl_cv_func_lstat_dereferences_slashed_symlink=no ;; -esac -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi - - rm -f conftest.sym conftest.file - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5 -printf "%s\n" "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; } - case "$gl_cv_func_lstat_dereferences_slashed_symlink" in - *yes) - -printf "%s\n" "#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1" >>confdefs.h - - ;; - esac - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getcwd (NULL, 0) allocates memory for result" >&5 printf %s "checking whether getcwd (NULL, 0) allocates memory for result... " >&6; } @@ -39654,16 +40619,6 @@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_posix_signature" >&5 printf "%s\n" "$gl_cv_func_getcwd_posix_signature" >&6; } -ac_fn_check_decl "$LINENO" "getcwd" "ac_cv_have_decl_getcwd" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_getcwd" = xyes -then : - ac_have_decl=1 -else case e in #( - e) ac_have_decl=0 ;; -esac -fi -printf "%s\n" "#define HAVE_DECL_GETCWD $ac_have_decl" >>confdefs.h - ac_fn_check_decl "$LINENO" "getdtablesize" "ac_cv_have_decl_getdtablesize" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_getdtablesize" = xyes @@ -39677,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; @@ -40281,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; } @@ -40345,15 +41416,79 @@ printf "%s\n" "$gl_cv_semaphore_lib" >&6; } -ac_fn_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_memrchr" = xyes + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 +printf %s "checking whether lstat correctly handles trailing slash... " >&6; } +if test ${gl_cv_func_lstat_dereferences_slashed_symlink+y} then : - ac_have_decl=1 + printf %s "(cached) " >&6 else case e in #( - e) ac_have_decl=0 ;; + e) rm -f conftest.sym conftest.file + echo >conftest.file + if test "$cross_compiling" = yes +then : + case "$host_os" in + linux-* | linux) + # Guess yes on Linux systems. + gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; + midipix*) + # Guess yes on systems that emulate the Linux system calls. + gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; + *-gnu* | gnu*) + # Guess yes on glibc systems. + gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; + mingw* | windows*) + # Guess no on native Windows. + gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;; + *) + # If we don't know, obey --enable-cross-guesses. + gl_cv_func_lstat_dereferences_slashed_symlink="$gl_cross_guess_normal" ;; + esac + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main (void) +{ +struct stat sbuf; + if (symlink ("conftest.file", "conftest.sym") != 0) + return 1; + /* Linux will dereference the symlink and fail, as required by + POSIX. That is better in the sense that it means we will not + have to compile and use the lstat wrapper. */ + return lstat ("conftest.sym/", &sbuf) == 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO" +then : + gl_cv_func_lstat_dereferences_slashed_symlink=yes +else case e in #( + e) gl_cv_func_lstat_dereferences_slashed_symlink=no ;; +esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi -printf "%s\n" "#define HAVE_DECL_MEMRCHR $ac_have_decl" >>confdefs.h + + rm -f conftest.sym conftest.file + ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5 +printf "%s\n" "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; } + case "$gl_cv_func_lstat_dereferences_slashed_symlink" in + *yes) + +printf "%s\n" "#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1" >>confdefs.h + + ;; + esac @@ -40798,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; } @@ -41101,11 +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 + { 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) 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_func_realloc_sanitize" >&5 +printf "%s\n" "$gl_cv_func_realloc_sanitize" >&6; } @@ -41903,16 +43044,6 @@ printf "%s\n" "#define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1" >>confdefs.h HAVE_DECL_PUTW=0 fi -ac_fn_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_strdup" = xyes -then : - ac_have_decl=1 -else case e in #( - e) ac_have_decl=0 ;; -esac -fi -printf "%s\n" "#define HAVE_DECL_STRDUP $ac_have_decl" >>confdefs.h - @@ -42455,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 : @@ -42493,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 @@ -42622,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} @@ -42691,7 +43861,6 @@ printf "%s\n" "$gl_cv___builtin_expect" >&6; } - GL_GNULIB_C32ISALNUM=1 @@ -43037,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} @@ -43093,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*) @@ -43504,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" @@ -43547,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) { @@ -43726,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 @@ -43750,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" @@ -43982,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" @@ -44078,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 @@ -44337,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. */ @@ -44373,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; @@ -44394,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 @@ -44565,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; @@ -45263,13 +46919,6 @@ printf "%s\n" "#define GNULIB_TEST_ISWXDIGIT 1" >>confdefs.h - - - - - - - case "$GL_GENERATE_LIMITS_H" in false) LIMITS_H='' ;; true) @@ -45315,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 @@ -45587,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 @@ -45602,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> " @@ -46386,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_EN_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_EN_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 @@ -46905,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) ;; *) @@ -46969,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) { @@ -46993,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 @@ -47037,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 @@ -47060,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= ;; @@ -47463,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" @@ -47506,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) { @@ -47680,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 @@ -47704,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" @@ -48114,12 +49606,15 @@ printf "%s\n" "$gl_cv_const_PTHREAD_PROCESS_SHARED" >&6; } + 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; } @@ -48140,10 +49635,75 @@ printf "%s\n" "$gl_cv_func_pthread_once_works" >&6; } *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; } + +int +main (void) +{ +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_func_pthread_once_no_lib=yes +else case e in #( + e) gl_cv_func_pthread_once_no_lib=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_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 + if test $HAVE_PTHREAD_ONCE = 0 || test $REPLACE_PTHREAD_ONCE = 1; then GL_COND_OBJ_PTHREAD_ONCE_TRUE= GL_COND_OBJ_PTHREAD_ONCE_FALSE='#' @@ -48200,243 +49760,19 @@ printf "%s\n" "#define GNULIB_TEST_PTHREAD_ONCE 1" >>confdefs.h - - - - { 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} -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 -/* end confdefs.h. */ - -#if defined __CYGWIN__ - #include <cygwin/version.h> - #if CYGWIN_VERSION_DLL_COMBINED >= CYGWIN_VERSION_DLL_MAKE_COMBINED (3004, 6) - Lucky user - #endif -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "Lucky user" >/dev/null 2>&1 -then : - gl_cv_func_setlocale_null_all_mtsafe=yes -else case e in #( - e) gl_cv_func_setlocale_null_all_mtsafe=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 - ;; -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" "#define SETLOCALE_NULL_ALL_MTSAFE $SETLOCALE_NULL_ALL_MTSAFE" >>confdefs.h - - - { 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} -then : - printf %s "(cached) " >&6 -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 - ;; -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}: 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} -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 -/* end confdefs.h. */ -extern void xyzzy (); -#pragma weak xyzzy -int -main (void) -{ -xyzzy(); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO" -then : - gl_cv_have_weak=maybe -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 -then : - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __ELF__ - Extensible Linking Format - #endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "Extensible Linking Format" >/dev/null 2>&1 -then : - gl_cv_have_weak="guessing yes" -else case e in #( - e) gl_cv_have_weak="guessing no" ;; -esac -fi -rm -rf conftest* - - -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <stdio.h> -#pragma weak fputs -int main () -{ - return (fputs == NULL); -} -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gl_cv_have_weak=yes -else case e in #( - e) gl_cv_have_weak=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 - 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 + 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 -{ 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" "#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 -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 - LIB_SETLOCALE_NULL="$SETLOCALE_NULL_LIB" - if test $SETLOCALE_NULL_ALL_MTSAFE = 0 || test $SETLOCALE_NULL_ONE_MTSAFE = 0; then @@ -48631,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; @@ -48761,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; @@ -49543,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 @@ -49749,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='#' @@ -50057,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 : @@ -50249,8 +51857,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50284,8 +51892,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50319,8 +51927,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50354,8 +51962,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50389,8 +51997,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50424,8 +52032,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50459,8 +52067,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50494,8 +52102,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50529,8 +52137,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50564,8 +52172,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50599,8 +52207,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50634,8 +52242,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50669,8 +52277,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 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 } } @@ -50704,8 +52312,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50739,8 +52347,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50774,8 +52382,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50809,8 +52417,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50844,8 +52452,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50879,8 +52487,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50914,8 +52522,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50949,8 +52557,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -50984,8 +52592,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51019,8 +52627,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51054,8 +52662,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51089,8 +52697,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51124,8 +52732,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51159,8 +52767,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51194,8 +52802,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51229,8 +52837,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51264,8 +52872,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51299,8 +52907,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51334,8 +52942,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51369,8 +52977,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51404,8 +53012,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51439,8 +53047,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51474,8 +53082,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51509,8 +53117,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51544,8 +53152,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51579,8 +53187,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51614,8 +53222,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51649,8 +53257,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51684,8 +53292,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51719,8 +53327,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51754,8 +53362,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51789,8 +53397,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51824,8 +53432,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51859,8 +53467,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51894,8 +53502,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51929,8 +53537,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51964,8 +53572,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -51999,8 +53607,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52034,8 +53642,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52069,8 +53677,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52104,8 +53712,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52139,8 +53747,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52174,8 +53782,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52209,8 +53817,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52244,8 +53852,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52279,8 +53887,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -52314,8 +53922,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53046,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 } } } @@ -53081,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 } } } @@ -53116,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 } } } @@ -53153,8 +54761,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53188,8 +54796,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53223,8 +54831,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53256,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 } } } @@ -53299,8 +54907,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53340,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 } } } @@ -53385,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 } } @@ -53428,8 +55036,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53469,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 } } } @@ -53512,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 } } } @@ -53557,8 +55165,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53600,8 +55208,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53643,8 +55251,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53686,8 +55294,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53729,8 +55337,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53770,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 } } } @@ -53815,8 +55423,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53858,8 +55466,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53901,8 +55509,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -53942,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 } } } @@ -53987,8 +55595,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54030,8 +55638,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54073,8 +55681,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54114,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 } } } @@ -54159,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 } } @@ -54202,8 +55810,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54243,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 } } } @@ -54288,8 +55896,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54329,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 } } } @@ -54372,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 } } } @@ -54415,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 } } } @@ -54460,8 +56068,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54501,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 } } } @@ -54546,8 +56154,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54587,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 } } } @@ -54630,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 } } } @@ -54675,8 +56283,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54718,8 +56326,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54759,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 } } } @@ -54802,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 } } } @@ -54845,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 } } } @@ -54888,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 } } } @@ -54927,8 +56535,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54962,8 +56570,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -54997,8 +56605,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55030,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 } } } @@ -55065,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 } } } @@ -55103,8 +56711,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55138,8 +56746,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55172,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 } } } @@ -55209,8 +56817,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55242,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 } } } @@ -55277,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 } } } @@ -55312,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 } } } @@ -55350,8 +56958,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55386,8 +56994,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55420,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 } } } @@ -55456,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 } } } @@ -55492,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 } } } @@ -55530,8 +57138,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55566,8 +57174,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55602,8 +57210,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55638,8 +57246,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55672,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 } } } @@ -55710,8 +57318,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55744,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 } } } @@ -55781,8 +57389,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55816,8 +57424,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55851,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 } } @@ -55886,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 } } @@ -55921,8 +57529,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55956,8 +57564,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -55991,8 +57599,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56026,8 +57634,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56059,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 } } } @@ -56094,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 } } } @@ -56129,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 } } } @@ -56166,8 +57774,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56201,8 +57809,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56236,8 +57844,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56278,8 +57886,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56320,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 } } } @@ -56366,8 +57974,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56410,8 +58018,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56454,8 +58062,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56498,8 +58106,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56542,8 +58150,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56586,8 +58194,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56630,8 +58238,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56674,8 +58282,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56718,8 +58326,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56762,8 +58370,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56806,8 +58414,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56850,8 +58458,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56894,8 +58502,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56938,8 +58546,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -56982,8 +58590,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57026,8 +58634,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57070,8 +58678,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57107,8 +58715,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57149,8 +58757,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57193,8 +58801,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57237,8 +58845,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57281,8 +58889,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57325,8 +58933,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57369,8 +58977,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57413,8 +59021,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57457,8 +59065,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57501,8 +59109,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57543,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 } } } @@ -57589,8 +59197,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57633,8 +59241,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57675,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 } } } @@ -57719,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 } } } @@ -57765,8 +59373,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57809,8 +59417,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -57851,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 } } } @@ -57895,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 } } } @@ -57941,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 } } @@ -57985,8 +59593,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58027,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 } } } @@ -58073,8 +59681,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58115,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 } } } @@ -58161,8 +59769,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58205,8 +59813,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58249,8 +59857,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58291,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 } } } @@ -58335,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 } } } @@ -58381,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 } } @@ -58425,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 } } @@ -58469,8 +60077,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58513,8 +60121,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58557,8 +60165,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -58601,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 } } @@ -58643,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 } } } @@ -58689,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 } } @@ -58733,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 } } @@ -58775,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 } } } @@ -58819,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 } } } @@ -58863,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 } } } @@ -58907,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 } } } @@ -58951,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 } } } @@ -58997,8 +60605,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59041,8 +60649,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59085,8 +60693,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59127,11 +60735,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 } } } @@ -59171,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 } } } @@ -59217,8 +60825,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59261,8 +60869,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59303,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 } } } @@ -59349,8 +60957,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59393,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 } } @@ -59435,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 } } } @@ -59481,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 } } @@ -59523,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 } } } @@ -59567,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 } } } @@ -59611,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 } } } @@ -59655,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 } } } @@ -59699,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 } } } @@ -59743,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 } } } @@ -59789,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 } } @@ -59831,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 } } } @@ -59877,8 +61485,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -59919,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 } } } @@ -59963,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 } } } @@ -60007,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 } } } @@ -60053,8 +61661,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60097,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 } } @@ -60139,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 } } } @@ -60185,8 +61793,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60220,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 } } } @@ -60262,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 } } } @@ -60308,8 +61916,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60352,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 } } @@ -60396,8 +62004,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60438,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 } } } @@ -60482,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 } } } @@ -60528,8 +62136,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60572,8 +62180,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60616,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 } } @@ -60653,8 +62261,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60687,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 } } } @@ -60722,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 } } } @@ -60760,8 +62368,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60793,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 } } } @@ -60865,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 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60905,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 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60945,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 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -60985,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 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61025,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 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61065,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 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61105,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 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61145,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 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61185,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 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61220,8 +62828,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61260,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 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61295,8 +62903,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61335,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 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61401,8 +63009,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61436,8 +63044,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61471,8 +63079,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61506,8 +63114,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61541,8 +63149,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61576,8 +63184,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61611,8 +63219,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61646,8 +63254,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61723,8 +63331,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61790,8 +63398,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61861,8 +63469,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -61966,8 +63574,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62002,8 +63610,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62043,8 +63651,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62086,8 +63694,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62129,8 +63737,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62172,8 +63780,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62214,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 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62249,8 +63857,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62284,8 +63892,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62319,8 +63927,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62359,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 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62394,8 +64002,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62429,8 +64037,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62464,8 +64072,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62504,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 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62539,8 +64147,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62574,8 +64182,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -62609,8 +64217,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -63135,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 @@ -63521,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 @@ -64205,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 @@ -64591,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 @@ -65275,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 @@ -65661,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 @@ -65894,8 +67628,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -65929,8 +67663,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -65964,8 +67698,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -66017,8 +67751,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -66052,8 +67786,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -66240,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 @@ -66333,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 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -66368,8 +68123,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -66403,8 +68158,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -66438,8 +68193,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -66473,8 +68228,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -71139,8 +72894,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -71174,8 +72929,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -71209,8 +72964,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -71244,8 +72999,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -71279,8 +73034,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -71344,8 +73099,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -71379,8 +73134,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -71414,8 +73169,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -71449,8 +73204,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -71484,8 +73239,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -71519,8 +73274,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -71554,8 +73309,8 @@ fi test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ - && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ - || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 4 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 4 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } @@ -71956,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) @@ -72027,7 +73782,6 @@ esac - if test "$ac_cv_header_winsock2_h" = yes; then GL_COND_OBJ_BIND_TRUE= GL_COND_OBJ_BIND_FALSE='#' @@ -72105,6 +73859,7 @@ printf "%s\n" "#define GNULIB_TEST_BTOC32 1" >>confdefs.h + if test $ac_cv_func_btowc = no; then HAVE_BTOWC=0 else @@ -72161,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; } @@ -72291,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 ;; @@ -72658,66 +74357,57 @@ printf "%s\n" "#define GNULIB_TEST_C32TOB 1" >>confdefs.h { 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) : ;; #( *) : @@ -72766,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 @@ -72809,100 +74497,6 @@ printf "%s\n" "#define GNULIB_TEST_CALLOC_POSIX 1" >>confdefs.h - - - - - - - - if test "$GL_GNULIB_CHDIR" != 1; then - if test "$GL_GNULIB_CHDIR" = 0; then - GL_GNULIB_CHDIR=$gl_module_indicator_condition - else - GL_GNULIB_CHDIR="($GL_GNULIB_CHDIR || $gl_module_indicator_condition)" - fi - fi - - - - - -printf "%s\n" "#define GNULIB_TEST_CHDIR 1" >>confdefs.h - - - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether this system supports file names of any length" >&5 -printf %s "checking whether this system supports file names of any length... " >&6; } -if test ${gl_cv_have_unlimited_file_name_length+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Arrange to define PATH_MAX, like "pathmax.h" does. */ -#if HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <limits.h> -#if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN -# include <sys/param.h> -#endif -#if !defined PATH_MAX && defined MAXPATHLEN -# define PATH_MAX MAXPATHLEN -#endif -#ifdef __hpux -# undef PATH_MAX -# define PATH_MAX 1024 -#endif -#if defined _WIN32 && ! defined __CYGWIN__ -# undef PATH_MAX -# define PATH_MAX 260 -#endif - -#ifdef PATH_MAX -have_arbitrary_file_name_length_limit -#endif -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "have_arbitrary_file_name_length_limit" >/dev/null 2>&1 -then : - gl_cv_have_unlimited_file_name_length=no -else case e in #( - e) gl_cv_have_unlimited_file_name_length=yes ;; -esac -fi -rm -rf conftest* - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_unlimited_file_name_length" >&5 -printf "%s\n" "$gl_cv_have_unlimited_file_name_length" >&6; } - - - if test $gl_cv_have_unlimited_file_name_length = no; then - GL_COND_OBJ_CHDIR_LONG_TRUE= - GL_COND_OBJ_CHDIR_LONG_FALSE='#' -else - GL_COND_OBJ_CHDIR_LONG_TRUE='#' - GL_COND_OBJ_CHDIR_LONG_FALSE= -fi -: - if test -z "${GL_COND_OBJ_CHDIR_LONG_TRUE}" && test -z "${GL_COND_OBJ_CHDIR_LONG_FALSE}"; then - GL_COND_OBJ_CHDIR_LONG_TRUE='#' - GL_COND_OBJ_CHDIR_LONG_FALSE='#' - fi - - if test -z "$GL_COND_OBJ_CHDIR_LONG_TRUE"; then : - - : - -fi - - printf "%s\n" "#define GNULIB_TEST_CLOEXEC 1" >>confdefs.h @@ -72953,76 +74547,6 @@ printf "%s\n" "#define GNULIB_CLOSE $gl_module_indicator_condition" >>confdefs.h - - ac_fn_c_check_func "$LINENO" "closedir" "ac_cv_func_closedir" -if test "x$ac_cv_func_closedir" = xyes -then : - printf "%s\n" "#define HAVE_CLOSEDIR 1" >>confdefs.h - -fi - - if test $ac_cv_func_closedir = no; then - HAVE_CLOSEDIR=0 - else - - if test $DIR_HAS_FD_MEMBER = 0; then - REPLACE_CLOSEDIR=1 - fi - - - - - if test $ac_cv_func_fchdir = no; then - HAVE_FCHDIR=0 - fi - - if test $HAVE_FCHDIR = 0; then - REPLACE_CLOSEDIR=1 - fi - - fi - - - if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then - GL_COND_OBJ_CLOSEDIR_TRUE= - GL_COND_OBJ_CLOSEDIR_FALSE='#' -else - GL_COND_OBJ_CLOSEDIR_TRUE='#' - GL_COND_OBJ_CLOSEDIR_FALSE= -fi -: - if test -z "${GL_COND_OBJ_CLOSEDIR_TRUE}" && test -z "${GL_COND_OBJ_CLOSEDIR_FALSE}"; then - GL_COND_OBJ_CLOSEDIR_TRUE='#' - GL_COND_OBJ_CLOSEDIR_FALSE='#' - fi - - - - - - - - - - - if test "$GL_GNULIB_CLOSEDIR" != 1; then - if test "$GL_GNULIB_CLOSEDIR" = 0; then - GL_GNULIB_CLOSEDIR=$gl_module_indicator_condition - else - GL_GNULIB_CLOSEDIR="($GL_GNULIB_CLOSEDIR || $gl_module_indicator_condition)" - fi - fi - - - - - -printf "%s\n" "#define GNULIB_TEST_CLOSEDIR 1" >>confdefs.h - - - - - if test "$ac_cv_header_winsock2_h" = yes; then GL_COND_OBJ_CONNECT_TRUE= GL_COND_OBJ_CONNECT_FALSE='#' @@ -73073,250 +74597,6 @@ printf "%s\n" "#define GNULIB_CONNECT $gl_module_indicator_condition" >>confdefs - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for d_ino member in directory struct" >&5 -printf %s "checking for d_ino member in directory struct... " >&6; } -if test ${gl_cv_struct_dirent_d_ino+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) if test "$cross_compiling" = yes -then : - case "$host_os" in - # Guess yes on glibc systems with Linux kernel. - linux*-gnu*) gl_cv_struct_dirent_d_ino="guessing yes" ;; - # Guess yes on musl systems with Linux kernel. - linux*-musl*) gl_cv_struct_dirent_d_ino="guessing yes" ;; - # Guess yes on systems that emulate the Linux system calls. - midipix*) gl_cv_struct_dirent_d_ino="guessing yes" ;; - # Guess no on native Windows. - mingw* | windows*) gl_cv_struct_dirent_d_ino="guessing no" ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_struct_dirent_d_ino="$gl_cross_guess_normal" ;; - esac - -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <sys/types.h> - #include <sys/stat.h> - #include <dirent.h> - -int -main (void) -{ -DIR *dp = opendir ("."); - struct dirent *e; - struct stat st; - if (! dp) - return 1; - e = readdir (dp); - if (! e) - { closedir (dp); return 2; } - if (lstat (e->d_name, &st) != 0) - { closedir (dp); return 3; } - if (e->d_ino != st.st_ino) - { closedir (dp); return 4; } - closedir (dp); - return 0; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gl_cv_struct_dirent_d_ino=yes -else case e in #( - e) gl_cv_struct_dirent_d_ino=no ;; -esac -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_struct_dirent_d_ino" >&5 -printf "%s\n" "$gl_cv_struct_dirent_d_ino" >&6; } - case "$gl_cv_struct_dirent_d_ino" in - *yes) - -printf "%s\n" "#define D_INO_IN_DIRENT 1" >>confdefs.h - - ;; - esac - - - - - - - - - - - - - - - - ac_fn_c_check_func "$LINENO" "dirfd" "ac_cv_func_dirfd" -if test "x$ac_cv_func_dirfd" = xyes -then : - printf "%s\n" "#define HAVE_DIRFD 1" >>confdefs.h - -fi - - ac_fn_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include <sys/types.h> - #include <dirent.h> -" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_dirfd" = xyes -then : - ac_have_decl=1 -else case e in #( - e) ac_have_decl=0 ;; -esac -fi -printf "%s\n" "#define HAVE_DECL_DIRFD $ac_have_decl" >>confdefs.h - - if test $ac_cv_have_decl_dirfd = no; then - HAVE_DECL_DIRFD=0 - fi - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether dirfd is a macro" >&5 -printf %s "checking whether dirfd is a macro... " >&6; } -if test ${gl_cv_func_dirfd_macro+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <sys/types.h> -#include <dirent.h> -#ifdef dirfd - dirent_header_defines_dirfd -#endif -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "dirent_header_defines_dirfd" >/dev/null 2>&1 -then : - gl_cv_func_dirfd_macro=yes -else case e in #( - e) gl_cv_func_dirfd_macro=no ;; -esac -fi -rm -rf conftest* - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dirfd_macro" >&5 -printf "%s\n" "$gl_cv_func_dirfd_macro" >&6; } - - if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then - HAVE_DIRFD=0 - else - HAVE_DIRFD=1 - - if test $DIR_HAS_FD_MEMBER = 0; then - REPLACE_DIRFD=1 - fi - fi - - - if test $HAVE_DIRFD = 0 || test $REPLACE_DIRFD = 1; then - GL_COND_OBJ_DIRFD_TRUE= - GL_COND_OBJ_DIRFD_FALSE='#' -else - GL_COND_OBJ_DIRFD_TRUE='#' - GL_COND_OBJ_DIRFD_FALSE= -fi -: - if test -z "${GL_COND_OBJ_DIRFD_TRUE}" && test -z "${GL_COND_OBJ_DIRFD_FALSE}"; then - GL_COND_OBJ_DIRFD_TRUE='#' - GL_COND_OBJ_DIRFD_FALSE='#' - fi - - if test -z "$GL_COND_OBJ_DIRFD_TRUE"; then : - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to get the file descriptor associated with an open DIR*" >&5 -printf %s "checking how to get the file descriptor associated with an open DIR*... " >&6; } -if test ${gl_cv_sys_dir_fd_member_name+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - gl_saved_CFLAGS=$CFLAGS - for ac_expr in d_fd dd_fd; do - - CFLAGS="$CFLAGS -DDIR_FD_MEMBER_NAME=$ac_expr" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include <sys/types.h> - #include <dirent.h> -int -main (void) -{ -DIR *dir_p = opendir("."); (void) dir_p->DIR_FD_MEMBER_NAME; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - dir_fd_found=yes - -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - CFLAGS=$gl_saved_CFLAGS - test "$dir_fd_found" = yes && break - done - test "$dir_fd_found" = yes || ac_expr=no_such_member - - gl_cv_sys_dir_fd_member_name=$ac_expr - - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_dir_fd_member_name" >&5 -printf "%s\n" "$gl_cv_sys_dir_fd_member_name" >&6; } - if test $gl_cv_sys_dir_fd_member_name != no_such_member; then - -printf "%s\n" "#define DIR_FD_MEMBER_NAME $gl_cv_sys_dir_fd_member_name" >>confdefs.h - - fi - - - -fi - - - - - - - - - - if test "$GL_GNULIB_DIRFD" != 1; then - if test "$GL_GNULIB_DIRFD" = 0; then - GL_GNULIB_DIRFD=$gl_module_indicator_condition - else - GL_GNULIB_DIRFD="($GL_GNULIB_DIRFD || $gl_module_indicator_condition)" - fi - fi - - - - - -printf "%s\n" "#define GNULIB_TEST_DIRFD 1" >>confdefs.h - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 @@ -73361,130 +74641,6 @@ printf "%s\n" "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h - - if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then - REPLACE_DUP=1 - fi - - - - - - if test $ac_cv_func_fchdir = no; then - HAVE_FCHDIR=0 - fi - - if test $HAVE_FCHDIR = 0; then - REPLACE_DUP=1 - fi - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether dup works" >&5 -printf %s "checking whether dup works... " >&6; } -if test ${gl_cv_func_dup_works+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) if test "$cross_compiling" = yes -then : - case "$host_os" in - # Guess no on native Windows. - mingw* | windows*) gl_cv_func_dup_works="guessing no" ;; - *) gl_cv_func_dup_works="guessing yes" ;; - esac - -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <unistd.h> - #include <fcntl.h> - #include <errno.h> - - -$gl_mda_defines - -int -main (void) -{ -/* On OS/2 kLIBC, dup does not work on a directory fd. */ - int fd = open (".", O_RDONLY); - return fd < 0 ? 1 : dup (fd) < 0 ? 2 : 0; - - ; - return 0; -} - -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gl_cv_func_dup_works=yes -else case e in #( - e) gl_cv_func_dup_works=no ;; -esac -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi - - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup_works" >&5 -printf "%s\n" "$gl_cv_func_dup_works" >&6; } - case "$gl_cv_func_dup_works" in - *yes) ;; - *) - REPLACE_DUP=1 - ;; - esac - - - if test $REPLACE_DUP = 1; then - GL_COND_OBJ_DUP_TRUE= - GL_COND_OBJ_DUP_FALSE='#' -else - GL_COND_OBJ_DUP_TRUE='#' - GL_COND_OBJ_DUP_FALSE= -fi -: - if test -z "${GL_COND_OBJ_DUP_TRUE}" && test -z "${GL_COND_OBJ_DUP_FALSE}"; then - GL_COND_OBJ_DUP_TRUE='#' - GL_COND_OBJ_DUP_FALSE='#' - fi - - if test -z "$GL_COND_OBJ_DUP_TRUE"; then : - - : - -fi - - - - - - - - - - if test "$GL_GNULIB_DUP" != 1; then - if test "$GL_GNULIB_DUP" = 0; then - GL_GNULIB_DUP=$gl_module_indicator_condition - else - GL_GNULIB_DUP="($GL_GNULIB_DUP || $gl_module_indicator_condition)" - fi - fi - - - - - -printf "%s\n" "#define GNULIB_TEST_DUP 1" >>confdefs.h - - - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5 printf %s "checking whether dup2 works... " >&6; } if test ${gl_cv_func_dup2_works+y} @@ -73611,17 +74767,6 @@ fi - - if test $ac_cv_func_fchdir = no; then - HAVE_FCHDIR=0 - fi - - if test $HAVE_FCHDIR = 0; then - REPLACE_DUP2=1 - fi - - - if test $REPLACE_DUP2 = 1; then GL_COND_OBJ_DUP2_TRUE= GL_COND_OBJ_DUP2_FALSE='#' @@ -73726,134 +74871,6 @@ fi - if test $ac_cv_have_decl_fchdir = no; then - HAVE_DECL_FCHDIR=0 - fi - - - if test $HAVE_FCHDIR = 1; then - - if test $DIR_HAS_FD_MEMBER = 0; then - REPLACE_FCHDIR=1 - fi - fi - - if test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1; then - -printf "%s\n" "#define REPLACE_FCHDIR 1" >>confdefs.h - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether open can visit directories" >&5 -printf %s "checking whether open can visit directories... " >&6; } -if test ${gl_cv_func_open_directory_works+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) if test "$cross_compiling" = yes -then : - case "$host_os" in - # Guess yes on Linux systems. - linux-* | linux) gl_cv_func_open_directory_works="guessing yes" ;; - # Guess yes on systems that emulate the Linux system calls. - midipix*) gl_cv_func_open_directory_works="guessing yes" ;; - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_open_directory_works="guessing yes" ;; - # Guess no on native Windows. - mingw* | windows*) gl_cv_func_open_directory_works="guessing no" ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_open_directory_works="$gl_cross_guess_normal" ;; - esac - -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <fcntl.h> - - -$gl_mda_defines - -int -main (void) -{ -return open(".", O_RDONLY) < 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gl_cv_func_open_directory_works=yes -else case e in #( - e) gl_cv_func_open_directory_works=no ;; -esac -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_open_directory_works" >&5 -printf "%s\n" "$gl_cv_func_open_directory_works" >&6; } - case "$gl_cv_func_open_directory_works" in - *yes) ;; - *) - -printf "%s\n" "#define REPLACE_OPEN_DIRECTORY 1" >>confdefs.h - - ;; - esac - fi - - - if test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1; then - GL_COND_OBJ_FCHDIR_TRUE= - GL_COND_OBJ_FCHDIR_FALSE='#' -else - GL_COND_OBJ_FCHDIR_TRUE='#' - GL_COND_OBJ_FCHDIR_FALSE= -fi -: - if test -z "${GL_COND_OBJ_FCHDIR_TRUE}" && test -z "${GL_COND_OBJ_FCHDIR_FALSE}"; then - GL_COND_OBJ_FCHDIR_TRUE='#' - GL_COND_OBJ_FCHDIR_FALSE='#' - fi - - if test -z "$GL_COND_OBJ_FCHDIR_TRUE"; then : - - : - -fi - - - - - - - - - - if test "$GL_GNULIB_FCHDIR" != 1; then - if test "$GL_GNULIB_FCHDIR" = 0; then - GL_GNULIB_FCHDIR=$gl_module_indicator_condition - else - GL_GNULIB_FCHDIR="($GL_GNULIB_FCHDIR || $gl_module_indicator_condition)" - fi - fi - - - - - -printf "%s\n" "#define GNULIB_TEST_FCHDIR 1" >>confdefs.h - - - - - - - - if test $ac_cv_func_fcntl = no; then @@ -74055,25 +75072,6 @@ printf "%s\n" "$gl_cv_func_fcntl_f_dupfd_cloexec" >&6; } - - if test $ac_cv_func_fchdir = no; then - HAVE_FCHDIR=0 - fi - - if test $HAVE_FCHDIR = 0; then - - - - if test $ac_cv_func_fcntl = no; then - HAVE_FCNTL=0 - else - REPLACE_FCNTL=1 - fi - - fi - - - if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then GL_COND_OBJ_FCNTL_TRUE= GL_COND_OBJ_FCNTL_FALSE='#' @@ -74116,18 +75114,6 @@ printf "%s\n" "#define GNULIB_TEST_FCNTL 1" >>confdefs.h - - - - - -printf "%s\n" "#define GNULIB_FD_SAFER_FLAG $gl_module_indicator_condition" >>confdefs.h - - - - - - if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_FDOPEN=1 fi @@ -74238,224 +75224,6 @@ printf "%s\n" "#define GNULIB_TEST_FDOPEN 1" >>confdefs.h - - ac_fn_check_decl "$LINENO" "fdopendir" "ac_cv_have_decl_fdopendir" " -#include <dirent.h> - -" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_fdopendir" = xyes -then : - ac_have_decl=1 -else case e in #( - e) ac_have_decl=0 ;; -esac -fi -printf "%s\n" "#define HAVE_DECL_FDOPENDIR $ac_have_decl" >>confdefs.h -if test $ac_have_decl = 1 -then : - -else case e in #( - e) HAVE_DECL_FDOPENDIR=0 ;; -esac -fi - - - if test $ac_cv_func_fdopendir = no; then - HAVE_FDOPENDIR=0 - else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fdopendir works" >&5 -printf %s "checking whether fdopendir works... " >&6; } -if test ${gl_cv_func_fdopendir_works+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) if test "$cross_compiling" = yes -then : - case "$host_os" in - # Guess yes on glibc systems. - *-gnu*) gl_cv_func_fdopendir_works="guessing yes" ;; - # Guess yes on musl systems. - *-musl* | midipix*) gl_cv_func_fdopendir_works="guessing yes" ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_fdopendir_works="$gl_cross_guess_normal" ;; - esac - -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <dirent.h> -#include <fcntl.h> -#include <unistd.h> - - -$gl_mda_defines - -#if !HAVE_DECL_FDOPENDIR -extern -# ifdef __cplusplus -"C" -# endif -DIR *fdopendir (int); -#endif - -int -main (void) -{ -int result = 0; - int fd = open ("conftest.c", O_RDONLY); - if (fd < 0) result |= 1; - if (fdopendir (fd)) result |= 2; - if (close (fd)) result |= 4; - return result; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gl_cv_func_fdopendir_works=yes -else case e in #( - e) gl_cv_func_fdopendir_works=no ;; -esac -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fdopendir_works" >&5 -printf "%s\n" "$gl_cv_func_fdopendir_works" >&6; } - case "$gl_cv_func_fdopendir_works" in - *yes) ;; - *) - REPLACE_FDOPENDIR=1 - ;; - esac - fi - - - if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then - GL_COND_OBJ_FDOPENDIR_TRUE= - GL_COND_OBJ_FDOPENDIR_FALSE='#' -else - GL_COND_OBJ_FDOPENDIR_TRUE='#' - GL_COND_OBJ_FDOPENDIR_FALSE= -fi -: - if test -z "${GL_COND_OBJ_FDOPENDIR_TRUE}" && test -z "${GL_COND_OBJ_FDOPENDIR_FALSE}"; then - GL_COND_OBJ_FDOPENDIR_TRUE='#' - GL_COND_OBJ_FDOPENDIR_FALSE='#' - fi - - - - - - - - - - - if test "$GL_GNULIB_FDOPENDIR" != 1; then - if test "$GL_GNULIB_FDOPENDIR" = 0; then - GL_GNULIB_FDOPENDIR=$gl_module_indicator_condition - else - GL_GNULIB_FDOPENDIR="($GL_GNULIB_FDOPENDIR || $gl_module_indicator_condition)" - fi - fi - - - - - -printf "%s\n" "#define GNULIB_TEST_FDOPENDIR 1" >>confdefs.h - - - - - -printf "%s\n" "#define GNULIB_FDOPENDIR $gl_module_indicator_condition" >>confdefs.h - - - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mempcpy" >&5 -printf %s "checking for mempcpy... " >&6; } -if test ${gl_cv_onwards_func_mempcpy+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) - exec 9>&6 6>/dev/null - - case "$host_os" in - - linux*-android*) - ac_fn_check_decl "$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "#include <string.h> -" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_mempcpy" = xyes -then : - -fi - if test $ac_cv_have_decl_mempcpy = yes; then - ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy" -if test "x$ac_cv_func_mempcpy" = xyes -then : - -fi - - if test $ac_cv_func_mempcpy = yes; then - gl_cv_onwards_func_mempcpy=yes - else - gl_cv_onwards_func_mempcpy='future OS version' - fi - else - gl_cv_onwards_func_mempcpy='future OS version' - fi - ;; - - - *) - ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy" -if test "x$ac_cv_func_mempcpy" = xyes -then : - -fi - - gl_cv_onwards_func_mempcpy=$ac_cv_func_mempcpy - ;; - - esac - - exec 6>&9 9>&- - - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_mempcpy" >&5 -printf "%s\n" "$gl_cv_onwards_func_mempcpy" >&6; } - - case "$gl_cv_onwards_func_mempcpy" in - future*) ac_cv_func_mempcpy=no ;; - *) ac_cv_func_mempcpy=$gl_cv_onwards_func_mempcpy ;; - esac - if test $ac_cv_func_mempcpy = yes; then - -printf "%s\n" "#define HAVE_MEMPCPY 1" >>confdefs.h - - fi - - - - - - - case "$host_os" in darwin* | mingw* | windows* | solaris*) REPLACE_FSTAT=1 @@ -74465,22 +75233,6 @@ printf "%s\n" "#define HAVE_MEMPCPY 1" >>confdefs.h - - if test $ac_cv_func_fchdir = no; then - HAVE_FCHDIR=0 - fi - - if test $HAVE_FCHDIR = 0; then - case "$gl_cv_func_open_directory_works" in - *yes) ;; - *) - REPLACE_FSTAT=1 - ;; - esac - fi - - - if test $REPLACE_FSTAT = 1; then GL_COND_OBJ_FSTAT_TRUE= GL_COND_OBJ_FSTAT_FALSE='#' @@ -74551,124 +75303,6 @@ printf "%s\n" "#define GNULIB_FSTAT $gl_module_indicator_condition" >>confdefs.h - - - - if test $ac_cv_func_fstatat = no; then - HAVE_FSTATAT=0 - else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fstatat (..., 0) works" >&5 -printf %s "checking whether fstatat (..., 0) works... " >&6; } -if test ${gl_cv_func_fstatat_zero_flag+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) if test "$cross_compiling" = yes -then : - case "$host_os" in - aix*) gl_cv_func_fstatat_zero_flag="guessing no";; - *) gl_cv_func_fstatat_zero_flag="guessing yes";; - esac - -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #include <fcntl.h> - #include <sys/stat.h> - int - main (void) - { - struct stat a; - return fstatat (AT_FDCWD, ".", &a, 0) != 0; - } - -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gl_cv_func_fstatat_zero_flag=yes -else case e in #( - e) gl_cv_func_fstatat_zero_flag=no ;; -esac -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi - - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fstatat_zero_flag" >&5 -printf "%s\n" "$gl_cv_func_fstatat_zero_flag" >&6; } - - case $gl_cv_func_fstatat_zero_flag+$gl_cv_func_lstat_dereferences_slashed_symlink in - *yes+*yes) ;; - *) REPLACE_FSTATAT=1 ;; - esac - - case $host_os in - darwin* | solaris*) - REPLACE_FSTATAT=1 ;; - esac - - case $REPLACE_FSTATAT,$gl_cv_func_fstatat_zero_flag in - 1,*yes) - -printf "%s\n" "#define HAVE_WORKING_FSTATAT_ZERO_FLAG 1" >>confdefs.h - - ;; - esac - fi - - - if test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1; then - GL_COND_OBJ_FSTATAT_TRUE= - GL_COND_OBJ_FSTATAT_FALSE='#' -else - GL_COND_OBJ_FSTATAT_TRUE='#' - GL_COND_OBJ_FSTATAT_FALSE= -fi -: - if test -z "${GL_COND_OBJ_FSTATAT_TRUE}" && test -z "${GL_COND_OBJ_FSTATAT_FALSE}"; then - GL_COND_OBJ_FSTATAT_TRUE='#' - GL_COND_OBJ_FSTATAT_FALSE='#' - fi - - - - - - - - - - - if test "$GL_GNULIB_FSTATAT" != 1; then - if test "$GL_GNULIB_FSTATAT" = 0; then - GL_GNULIB_FSTATAT=$gl_module_indicator_condition - else - GL_GNULIB_FSTATAT="($GL_GNULIB_FSTATAT || $gl_module_indicator_condition)" - fi - fi - - - - - -printf "%s\n" "#define GNULIB_TEST_FSTATAT 1" >>confdefs.h - - - - - -printf "%s\n" "#define GNULIB_FSTATAT $gl_module_indicator_condition" >>confdefs.h - - - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ftruncate" >&5 printf %s "checking for ftruncate... " >&6; } if test ${gl_cv_onwards_func_ftruncate+y} @@ -74809,553 +75443,6 @@ printf "%s\n" "#define GNULIB_TEST_FTRUNCATE 1" >>confdefs.h - gl_abort_bug=no - case "$host_os" in - mingw* | windows*) - gl_cv_func_getcwd_path_max=yes - ;; - *) - - - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getcwd handles long file names properly" >&5 -printf %s "checking whether getcwd handles long file names properly... " >&6; } -if test ${gl_cv_func_getcwd_path_max+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) # Arrange for deletion of the temporary directory this test creates. - ac_clean_files="$ac_clean_files confdir3" - if test "$cross_compiling" = yes -then : - # Cross-compilation guesses: - case "$host_os" in - aix*) # On AIX, it has the AIX bug. - gl_cv_func_getcwd_path_max='guessing no, it has the AIX bug' ;; - gnu*) # On Hurd, it is 'yes'. - gl_cv_func_getcwd_path_max='guessing yes' ;; - linux* | kfreebsd*) - # On older Linux+glibc it's 'no, but it is partly working', - # on newer Linux+glibc it's 'yes'. - # On Linux+musl libc, it's 'no, but it is partly working'. - # On kFreeBSD+glibc, it's 'no, but it is partly working'. - gl_cv_func_getcwd_path_max='guessing no, but it is partly working' ;; - *) # If we don't know, obey --enable-cross-guesses. - gl_cv_func_getcwd_path_max="$gl_cross_guess_normal" ;; - esac - -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <errno.h> -#include <stdlib.h> -#if HAVE_UNISTD_H -# include <unistd.h> -#else -# include <direct.h> -#endif -#if HAVE_DECL_ALARM -# include <signal.h> -#endif -#include <string.h> -#include <limits.h> -#include <sys/stat.h> -#include <sys/types.h> -#include <fcntl.h> - - -/* Arrange to define PATH_MAX, like "pathmax.h" does. */ -#if HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <limits.h> -#if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN -# include <sys/param.h> -#endif -#if !defined PATH_MAX && defined MAXPATHLEN -# define PATH_MAX MAXPATHLEN -#endif -#ifdef __hpux -# undef PATH_MAX -# define PATH_MAX 1024 -#endif -#if defined _WIN32 && ! defined __CYGWIN__ -# undef PATH_MAX -# define PATH_MAX 260 -#endif - - -#ifndef AT_FDCWD -# define AT_FDCWD 0 -#endif -#ifdef ENAMETOOLONG -# define is_ENAMETOOLONG(x) ((x) == ENAMETOOLONG) -#else -# define is_ENAMETOOLONG(x) 0 -#endif - -/* Use the getcwd function, not any macro. */ -#undef getcwd - - - -$gl_mda_defines - - -#ifndef S_IRWXU -# define S_IRWXU 0700 -#endif - -/* The length of this name must be 8. */ -#define DIR_NAME "confdir3" -#define DIR_NAME_LEN 8 -#define DIR_NAME_SIZE (DIR_NAME_LEN + 1) - -/* The length of "../". */ -#define DOTDOTSLASH_LEN 3 - -/* Leftover bytes in the buffer, to work around library or OS bugs. */ -#define BUF_SLOP 20 - -int -main () -{ -#ifndef PATH_MAX - /* The Hurd doesn't define this, so getcwd can't exhibit the bug -- - at least not on a local file system. And if we were to start worrying - about remote file systems, we'd have to enable the wrapper function - all of the time, just to be safe. That's not worth the cost. */ - exit (0); -#elif ((INT_MAX / (DIR_NAME_SIZE / DOTDOTSLASH_LEN + 1) \ - - DIR_NAME_SIZE - BUF_SLOP) \ - <= PATH_MAX) - /* FIXME: Assuming there's a system for which this is true, - this should be done in a compile test. */ - exit (0); -#else - char buf[PATH_MAX * (DIR_NAME_SIZE / DOTDOTSLASH_LEN + 1) - + DIR_NAME_SIZE + BUF_SLOP]; - char *cwd; - size_t initial_cwd_len; - size_t cwd_len; - int fail; - size_t n_chdirs; - -# if HAVE_DECL_ALARM - /* This test makes some buggy getcwd implementations take a long time, e.g. - on NAS devices - <https://lists.gnu.org/archive/html/bug-gnulib/2024-03/msg00444.html> - and in sandboxed environments <https://bugs.gentoo.org/447970>. - Give up after 5 seconds; a getcwd slower than that isn't worth using - anyway. */ - signal (SIGALRM, SIG_DFL); - alarm (5); -# endif - - cwd = getcwd (buf, PATH_MAX); - if (cwd == NULL) - exit (10); - - cwd_len = initial_cwd_len = strlen (cwd); - fail = 0; - n_chdirs = 0; - - while (1) - { - size_t dotdot_max = PATH_MAX * (DIR_NAME_SIZE / DOTDOTSLASH_LEN); - char *c = NULL; - - cwd_len += DIR_NAME_SIZE; - /* If mkdir or chdir fails, it could be that this system cannot create - any file with an absolute name longer than PATH_MAX, such as cygwin. - If so, leave fail as 0, because the current working directory can't - be too long for getcwd if it can't even be created. On Linux with - the 9p file system, mkdir fails with error EINVAL when cwd_len gets - too long; ignore this failure because the getcwd() system call - produces good results whereas the gnulib substitute calls getdents64 - which fails with error EPROTO. - For other errors, be pessimistic and consider that as a failure, - too. */ - if (mkdir (DIR_NAME, S_IRWXU) < 0 || chdir (DIR_NAME) < 0) - { - if (! (errno == ERANGE || is_ENAMETOOLONG (errno))) - #ifdef __linux__ - if (! (errno == EINVAL)) - #endif - fail = 20; - break; - } - - if (PATH_MAX <= cwd_len && cwd_len < PATH_MAX + DIR_NAME_SIZE) - { - struct stat sb; - - c = getcwd (buf, PATH_MAX); - if (!c && errno == ENOENT) - { - fail = 11; - break; - } - if (c) - { - fail = 31; - break; - } - if (! (errno == ERANGE || is_ENAMETOOLONG (errno))) - { - fail = 21; - break; - } - - /* Our replacement needs to be able to stat() long ../../paths, - so generate a path larger than PATH_MAX to check, - avoiding the replacement if we can't stat(). */ - c = getcwd (buf, cwd_len + 1); - if (c && !AT_FDCWD && stat (c, &sb) != 0 && is_ENAMETOOLONG (errno)) - { - fail = 32; - break; - } - } - - if (dotdot_max <= cwd_len - initial_cwd_len) - { - if (dotdot_max + DIR_NAME_SIZE < cwd_len - initial_cwd_len) - break; - c = getcwd (buf, cwd_len + 1); - if (!c) - { - if (! (errno == ERANGE || errno == ENOENT - || is_ENAMETOOLONG (errno))) - { - fail = 22; - break; - } - if (AT_FDCWD || errno == ERANGE || errno == ENOENT) - { - fail = 12; - break; - } - } - } - - if (c && strlen (c) != cwd_len) - { - fail = 23; - break; - } - ++n_chdirs; - } - - /* Leaving behind such a deep directory is not polite. - So clean up here, right away, even though the driving - shell script would also clean up. */ - { - size_t i; - - /* Try rmdir first, in case the chdir failed. */ - rmdir (DIR_NAME); - for (i = 0; i <= n_chdirs; i++) - { - if (chdir ("..") < 0) - break; - if (rmdir (DIR_NAME) != 0) - break; - } - } - - exit (fail); -#endif -} - -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gl_cv_func_getcwd_path_max=yes -else case e in #( - e) case $? in - 10|11|12) gl_cv_func_getcwd_path_max='no, but it is partly working';; - 31) gl_cv_func_getcwd_path_max='no, it has the AIX bug';; - 32) gl_cv_func_getcwd_path_max='yes, but with shorter paths';; - *) gl_cv_func_getcwd_path_max=no;; - esac ;; -esac -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi - - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_path_max" >&5 -printf "%s\n" "$gl_cv_func_getcwd_path_max" >&6; } - - case "$gl_cv_func_getcwd_null" in - *yes) - - - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getcwd succeeds when 4k < cwd_length < 16k" >&5 -printf %s "checking whether getcwd succeeds when 4k < cwd_length < 16k... " >&6; } -if test ${gl_cv_func_getcwd_succeeds_beyond_4k+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) # Remove any remnants of a previous test. - rm -rf confdir-14B--- - # Arrange for deletion of the temporary directory this test creates. - ac_clean_files="$ac_clean_files confdir-14B---" - if test "$cross_compiling" = yes -then : - case "$host_os" in - # Guess no otherwise, even on glibc systems and musl systems. - *) gl_cv_func_getcwd_succeeds_beyond_4k="guessing no" - esac - -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <errno.h> -#include <stdlib.h> -#if HAVE_UNISTD_H -# include <unistd.h> -#else /* on Windows with MSVC */ -# include <direct.h> -#endif -#include <string.h> -#include <sys/stat.h> - - -/* Arrange to define PATH_MAX, like "pathmax.h" does. */ -#if HAVE_UNISTD_H -# include <unistd.h> -#endif -#include <limits.h> -#if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN -# include <sys/param.h> -#endif -#if !defined PATH_MAX && defined MAXPATHLEN -# define PATH_MAX MAXPATHLEN -#endif -#ifdef __hpux -# undef PATH_MAX -# define PATH_MAX 1024 -#endif -#if defined _WIN32 && ! defined __CYGWIN__ -# undef PATH_MAX -# define PATH_MAX 260 -#endif - - - -$gl_mda_defines - - -#ifndef S_IRWXU -# define S_IRWXU 0700 -#endif - -/* This size is chosen to be larger than PATH_MAX (4k), yet smaller than - the 16kB pagesize on ia64 linux. Those conditions make the code below - trigger a bug in glibc's getcwd implementation before 2.4.90-10. */ -#define TARGET_LEN (5 * 1024) - -int -main () -{ - char *cwd; - size_t initial_cwd_len; - int fail = 0; - - /* The bug is triggered when PATH_MAX < page size, so skip - this relatively expensive and invasive test if that's not true. */ -#if defined PATH_MAX && defined _SC_PAGESIZE - int bug_possible = PATH_MAX < sysconf (_SC_PAGESIZE); -#else - int bug_possible = 0; -#endif - if (! bug_possible) - return 0; - - cwd = getcwd (NULL, 0); - if (cwd == NULL) - return 2; - - initial_cwd_len = strlen (cwd); - free (cwd); - - if (1) - { - static char const dir_name[] = "confdir-14B---"; - size_t desired_depth = ((TARGET_LEN - 1 - initial_cwd_len) - / sizeof dir_name); - size_t d; - for (d = 0; d < desired_depth; d++) - { - if (mkdir (dir_name, S_IRWXU) < 0 || chdir (dir_name) < 0) - { - if (! (errno == ERANGE || errno == ENAMETOOLONG - || errno == ENOENT)) - fail = 3; /* Unable to construct deep hierarchy. */ - break; - } - } - - /* If libc has the bug in question, this invocation of getcwd - results in a failed assertion. */ - cwd = getcwd (NULL, 0); - if (cwd == NULL) - fail = 4; /* getcwd didn't assert, but it failed for a long name - where the answer could have been learned. */ - free (cwd); - - /* Call rmdir first, in case the above chdir failed. */ - rmdir (dir_name); - while (0 < d--) - { - if (chdir ("..") < 0) - { - fail = 5; - break; - } - rmdir (dir_name); - } - } - - return fail; -} - -_ACEOF -if ac_fn_c_try_run "$LINENO" -then : - gl_cv_func_getcwd_succeeds_beyond_4k=yes -else case e in #( - e) ret=$? - if test $ret -ge 128 || test $ret = 4; then - gl_cv_func_getcwd_succeeds_beyond_4k=no - else - gl_cv_func_getcwd_succeeds_beyond_4k=yes - fi - ;; -esac -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi - - ;; -esac -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_succeeds_beyond_4k" >&5 -printf "%s\n" "$gl_cv_func_getcwd_succeeds_beyond_4k" >&6; } - case "$gl_cv_func_getcwd_succeeds_beyond_4k" in - *no) - gl_abort_bug=yes - ;; - *) - - ;; - esac - - ;; - esac - ;; - esac - case "$gl_cv_func_getcwd_path_max" in - *"no" | *"no, it has the AIX bug") ;; - *) - -printf "%s\n" "#define HAVE_MINIMALLY_WORKING_GETCWD 1" >>confdefs.h - - ;; - esac - case "$gl_cv_func_getcwd_path_max" in - *"no, but it is partly working") - -printf "%s\n" "#define HAVE_PARTLY_WORKING_GETCWD 1" >>confdefs.h - - ;; - *"yes, but with shorter paths") - -printf "%s\n" "#define HAVE_GETCWD_SHORTER 1" >>confdefs.h - - ;; - esac - - if { case "$gl_cv_func_getcwd_null" in *yes) false;; *) true;; esac; } \ - || test $gl_cv_func_getcwd_posix_signature != yes \ - || { case "$gl_cv_func_getcwd_path_max" in *yes*) false;; *) true;; esac; } \ - || test $gl_abort_bug = yes; then - REPLACE_GETCWD=1 - fi - - - if test $REPLACE_GETCWD = 1; then - GL_COND_OBJ_GETCWD_TRUE= - GL_COND_OBJ_GETCWD_FALSE='#' -else - GL_COND_OBJ_GETCWD_TRUE='#' - GL_COND_OBJ_GETCWD_FALSE= -fi -: - if test -z "${GL_COND_OBJ_GETCWD_TRUE}" && test -z "${GL_COND_OBJ_GETCWD_FALSE}"; then - GL_COND_OBJ_GETCWD_TRUE='#' - GL_COND_OBJ_GETCWD_FALSE='#' - fi - - if test -z "$GL_COND_OBJ_GETCWD_TRUE"; then : - - - - - : - - -fi - - -printf "%s\n" "#define GNULIB_GETCWD $gl_module_indicator_condition" >>confdefs.h - - - - - - - - - - - - if test "$GL_GNULIB_GETCWD" != 1; then - if test "$GL_GNULIB_GETCWD" = 0; then - GL_GNULIB_GETCWD=$gl_module_indicator_condition - else - GL_GNULIB_GETCWD="($GL_GNULIB_GETCWD || $gl_module_indicator_condition)" - fi - fi - - - - - -printf "%s\n" "#define GNULIB_TEST_GETCWD 1" >>confdefs.h - - - - - - - - case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature in *yes,yes) ;; *) @@ -75763,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 @@ -75891,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; } @@ -76647,6 +76791,7 @@ printf "%s\n" "#define GNULIB_LISTEN $gl_module_indicator_condition" >>confdefs. + { 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} @@ -76791,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 @@ -76856,71 +77002,13 @@ 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 @@ -76977,6 +77065,7 @@ 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} @@ -77107,174 +77196,129 @@ printf "%s\n" "#define GNULIB_TEST_MBTOWC 1" >>confdefs.h - - - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mempcpy" >&5 -printf %s "checking for mempcpy... " >&6; } -if test ${gl_cv_onwards_func_mempcpy+y} + { 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) - exec 9>&6 6>/dev/null - - case "$host_os" in + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <sys/stat.h> +int +main (void) +{ +return mkfifo("/",0); + ; + return 0; +} - linux*-android*) - ac_fn_check_decl "$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "#include <string.h> -" "$ac_c_undeclared_builtin_options" "CFLAGS" -if test "x$ac_cv_have_decl_mempcpy" = xyes +_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 - if test $ac_cv_have_decl_mempcpy = yes; then - ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy" -if test "x$ac_cv_func_mempcpy" = xyes -then : - +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 - if test $ac_cv_func_mempcpy = yes; then - gl_cv_onwards_func_mempcpy=yes - else - gl_cv_onwards_func_mempcpy='future OS version' - fi - else - gl_cv_onwards_func_mempcpy='future OS version' - fi - ;; +printf "%s\n" "#define HAVE_MKFIFO 1" >>confdefs.h - *) - ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy" -if test "x$ac_cv_func_mempcpy" = xyes + { 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 -fi - - gl_cv_onwards_func_mempcpy=$ac_cv_func_mempcpy - ;; - - esac +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <sys/stat.h> - exec 6>&9 9>&- +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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_mempcpy" >&5 -printf "%s\n" "$gl_cv_onwards_func_mempcpy" >&6; } - - case "$gl_cv_onwards_func_mempcpy" in - future*) ac_cv_func_mempcpy=no ;; - *) ac_cv_func_mempcpy=$gl_cv_onwards_func_mempcpy ;; - esac - if test $ac_cv_func_mempcpy = yes; then - -printf "%s\n" "#define HAVE_MEMPCPY 1" >>confdefs.h - - fi - - - if test $ac_cv_func_mempcpy = no; then - HAVE_MEMPCPY=0 - case "$gl_cv_onwards_func_mempcpy" in - future*) REPLACE_MEMPCPY=1 ;; - esac - fi - - - if test $HAVE_MEMPCPY = 0 || test $REPLACE_MEMPCPY = 1; then - GL_COND_OBJ_MEMPCPY_TRUE= - GL_COND_OBJ_MEMPCPY_FALSE='#' -else - GL_COND_OBJ_MEMPCPY_TRUE='#' - GL_COND_OBJ_MEMPCPY_FALSE= +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi -: - if test -z "${GL_COND_OBJ_MEMPCPY_TRUE}" && test -z "${GL_COND_OBJ_MEMPCPY_FALSE}"; then - GL_COND_OBJ_MEMPCPY_TRUE='#' - GL_COND_OBJ_MEMPCPY_FALSE='#' - fi - - if test -z "$GL_COND_OBJ_MEMPCPY_TRUE"; then : - - - : - + 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 - - - - - - - - - - - - - if test "$GL_GNULIB_MEMPCPY" != 1; then - if test "$GL_GNULIB_MEMPCPY" = 0; then - GL_GNULIB_MEMPCPY=$gl_module_indicator_condition - else - GL_GNULIB_MEMPCPY="($GL_GNULIB_MEMPCPY || $gl_module_indicator_condition)" - fi - fi - - - - - -printf "%s\n" "#define GNULIB_TEST_MEMPCPY 1" >>confdefs.h - - - - - - - - - if test $ac_cv_have_decl_memrchr = no; then - HAVE_DECL_MEMRCHR=0 + REPLACE_MKFIFO=1 + ;; + esac fi - ac_fn_c_check_func "$LINENO" "memrchr" "ac_cv_func_memrchr" -if test "x$ac_cv_func_memrchr" = xyes -then : - printf "%s\n" "#define HAVE_MEMRCHR 1" >>confdefs.h - -fi - - - if test $ac_cv_func_memrchr = no; then - GL_COND_OBJ_MEMRCHR_TRUE= - GL_COND_OBJ_MEMRCHR_FALSE='#' + if test $HAVE_MKFIFO = 0 || test $REPLACE_MKFIFO = 1; then + GL_COND_OBJ_MKFIFO_TRUE= + GL_COND_OBJ_MKFIFO_FALSE='#' else - GL_COND_OBJ_MEMRCHR_TRUE='#' - GL_COND_OBJ_MEMRCHR_FALSE= + GL_COND_OBJ_MKFIFO_TRUE='#' + GL_COND_OBJ_MKFIFO_FALSE= fi : - if test -z "${GL_COND_OBJ_MEMRCHR_TRUE}" && test -z "${GL_COND_OBJ_MEMRCHR_FALSE}"; then - GL_COND_OBJ_MEMRCHR_TRUE='#' - GL_COND_OBJ_MEMRCHR_FALSE='#' + 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 -z "$GL_COND_OBJ_MEMRCHR_TRUE"; then : - - : - -fi - - @@ -77284,14 +77328,11 @@ fi - - - - if test "$GL_GNULIB_MEMRCHR" != 1; then - if test "$GL_GNULIB_MEMRCHR" = 0; then - GL_GNULIB_MEMRCHR=$gl_module_indicator_condition + if test "$GL_GNULIB_MKFIFO" != 1; then + if test "$GL_GNULIB_MKFIFO" = 0; then + GL_GNULIB_MKFIFO=$gl_module_indicator_condition else - GL_GNULIB_MEMRCHR="($GL_GNULIB_MEMRCHR || $gl_module_indicator_condition)" + GL_GNULIB_MKFIFO="($GL_GNULIB_MKFIFO || $gl_module_indicator_condition)" fi fi @@ -77299,10 +77340,7 @@ fi -printf "%s\n" "#define GNULIB_TEST_MEMRCHR 1" >>confdefs.h - - - +printf "%s\n" "#define GNULIB_TEST_MKFIFO 1" >>confdefs.h @@ -77775,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 @@ -77865,19 +77910,6 @@ printf "%s\n" "#define OPEN_TRAILING_SLASH_BUG 1" >>confdefs.h ;; esac - if test $REPLACE_OPEN = 0; then - - - - if test $ac_cv_func_fchdir = no; then - HAVE_FCHDIR=0 - fi - - if test $HAVE_FCHDIR = 0; then - REPLACE_OPEN=1 - fi - fi - @@ -77933,146 +77965,6 @@ printf "%s\n" "#define GNULIB_TEST_OPEN 1" >>confdefs.h - case $ac_cv_func_openat+$gl_cv_func_lstat_dereferences_slashed_symlink+$gl_cv_macro_O_CLOEXEC in - yes+*yes+yes) - ;; - yes+*) - # Solaris 10 lacks O_CLOEXEC. - # Solaris 9 has *at functions, but uniformly mishandles trailing - # slash in all of them. - REPLACE_OPENAT=1 - ;; - *) - HAVE_OPENAT=0 - ;; - esac - - - if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then - GL_COND_OBJ_OPENAT_TRUE= - GL_COND_OBJ_OPENAT_FALSE='#' -else - GL_COND_OBJ_OPENAT_TRUE='#' - GL_COND_OBJ_OPENAT_FALSE= -fi -: - if test -z "${GL_COND_OBJ_OPENAT_TRUE}" && test -z "${GL_COND_OBJ_OPENAT_FALSE}"; then - GL_COND_OBJ_OPENAT_TRUE='#' - GL_COND_OBJ_OPENAT_FALSE='#' - fi - - if test -z "$GL_COND_OBJ_OPENAT_TRUE"; then : - - - - : - - -fi - - -printf "%s\n" "#define GNULIB_OPENAT $gl_module_indicator_condition" >>confdefs.h - - - - - - - - - - - if test "$GL_GNULIB_OPENAT" != 1; then - if test "$GL_GNULIB_OPENAT" = 0; then - GL_GNULIB_OPENAT=$gl_module_indicator_condition - else - GL_GNULIB_OPENAT="($GL_GNULIB_OPENAT || $gl_module_indicator_condition)" - fi - fi - - - - - -printf "%s\n" "#define GNULIB_TEST_OPENAT 1" >>confdefs.h - - - - - - - ac_fn_c_check_func "$LINENO" "opendir" "ac_cv_func_opendir" -if test "x$ac_cv_func_opendir" = xyes -then : - printf "%s\n" "#define HAVE_OPENDIR 1" >>confdefs.h - -fi - - if test $ac_cv_func_opendir = no; then - HAVE_OPENDIR=0 - else - - if test $DIR_HAS_FD_MEMBER = 0; then - REPLACE_OPENDIR=1 - fi - - - - - if test $ac_cv_func_fchdir = no; then - HAVE_FCHDIR=0 - fi - - if test $HAVE_FCHDIR = 0; then - REPLACE_OPENDIR=1 - fi - - fi - - - if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then - GL_COND_OBJ_OPENDIR_TRUE= - GL_COND_OBJ_OPENDIR_FALSE='#' -else - GL_COND_OBJ_OPENDIR_TRUE='#' - GL_COND_OBJ_OPENDIR_FALSE= -fi -: - if test -z "${GL_COND_OBJ_OPENDIR_TRUE}" && test -z "${GL_COND_OBJ_OPENDIR_FALSE}"; then - GL_COND_OBJ_OPENDIR_TRUE='#' - GL_COND_OBJ_OPENDIR_FALSE='#' - fi - - - - - - - - - - - if test "$GL_GNULIB_OPENDIR" != 1; then - if test "$GL_GNULIB_OPENDIR" = 0; then - GL_GNULIB_OPENDIR=$gl_module_indicator_condition - else - GL_GNULIB_OPENDIR="($GL_GNULIB_OPENDIR || $gl_module_indicator_condition)" - fi - fi - - - - - -printf "%s\n" "#define GNULIB_TEST_OPENDIR 1" >>confdefs.h - - - - - - - - @@ -78884,7 +78776,7 @@ do_test (const char *rw_string) err = pthread_create (&threads[i], NULL, rw_string[i] == 'R' ? reader_func : rw_string[i] == 'W' ? writer_func : - (abort (), NULL), + (abort (), (void * (*) (void *)) NULL), &locals[i]); if (err) { @@ -79580,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 @@ -80205,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 @@ -80228,7 +80027,7 @@ fi case "$host_os" in - aix* | osf*) + aix*) REPLACE_RANDOM_R=1 ;; *) @@ -80294,186 +80093,102 @@ printf "%s\n" "#define GNULIB_TEST_RANDOM_R 1" >>confdefs.h - ac_fn_c_check_func "$LINENO" "readdir" "ac_cv_func_readdir" -if test "x$ac_cv_func_readdir" = xyes -then : - printf "%s\n" "#define HAVE_READDIR 1" >>confdefs.h - -fi - - if test $ac_cv_func_readdir = no; then - HAVE_READDIR=0 - else - - if test $DIR_HAS_FD_MEMBER = 0; then - REPLACE_READDIR=1 - fi - fi - - - if test $HAVE_READDIR = 0 || test $REPLACE_READDIR = 1; then - GL_COND_OBJ_READDIR_TRUE= - GL_COND_OBJ_READDIR_FALSE='#' -else - GL_COND_OBJ_READDIR_TRUE='#' - GL_COND_OBJ_READDIR_FALSE= -fi -: - if test -z "${GL_COND_OBJ_READDIR_TRUE}" && test -z "${GL_COND_OBJ_READDIR_FALSE}"; then - GL_COND_OBJ_READDIR_TRUE='#' - GL_COND_OBJ_READDIR_FALSE='#' - fi - - - - - - - + if test "$gl_cv_func_realloc_sanitize" != no; then + REPLACE_REALLOC_FOR_REALLOC_POSIX=1 +printf "%s\n" "#define NEED_SANITIZED_REALLOC 1" >>confdefs.h - if test "$GL_GNULIB_READDIR" != 1; then - if test "$GL_GNULIB_READDIR" = 0; then - GL_GNULIB_READDIR=$gl_module_indicator_condition - else - GL_GNULIB_READDIR="($GL_GNULIB_READDIR || $gl_module_indicator_condition)" - fi + else + REPLACE_REALLOC_FOR_REALLOC_POSIX=$REPLACE_MALLOC_FOR_MALLOC_POSIX fi - -printf "%s\n" "#define GNULIB_TEST_READDIR 1" >>confdefs.h - - - - - - - - - if test $REPLACE_REALLOC_FOR_REALLOC_GNU = 0; then - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether realloc (0, 0) returns nonnull" >&5 -printf %s "checking whether realloc (0, 0) returns nonnull... " >&6; } -if test ${ac_cv_func_realloc_0_nonnull+y} + { 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 + ;; #( *) : - REPLACE_REALLOC_FOR_REALLOC_GNU=1 ;; + 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 ;; #( + *) : + # 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 @@ -80506,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} @@ -80578,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 @@ -80634,67 +80356,6 @@ printf "%s\n" "#define GNULIB_TEST_REALLOCARRAY 1" >>confdefs.h - ac_fn_c_check_func "$LINENO" "rewinddir" "ac_cv_func_rewinddir" -if test "x$ac_cv_func_rewinddir" = xyes -then : - printf "%s\n" "#define HAVE_REWINDDIR 1" >>confdefs.h - -fi - - if test $ac_cv_func_rewinddir = no; then - HAVE_REWINDDIR=0 - else - - if test $DIR_HAS_FD_MEMBER = 0; then - REPLACE_REWINDDIR=1 - fi - fi - - - if test $HAVE_REWINDDIR = 0 || test $REPLACE_REWINDDIR = 1; then - GL_COND_OBJ_REWINDDIR_TRUE= - GL_COND_OBJ_REWINDDIR_FALSE='#' -else - GL_COND_OBJ_REWINDDIR_TRUE='#' - GL_COND_OBJ_REWINDDIR_FALSE= -fi -: - if test -z "${GL_COND_OBJ_REWINDDIR_TRUE}" && test -z "${GL_COND_OBJ_REWINDDIR_FALSE}"; then - GL_COND_OBJ_REWINDDIR_TRUE='#' - GL_COND_OBJ_REWINDDIR_FALSE='#' - fi - - - - - - - - - - - if test "$GL_GNULIB_REWINDDIR" != 1; then - if test "$GL_GNULIB_REWINDDIR" = 0; then - GL_GNULIB_REWINDDIR=$gl_module_indicator_condition - else - GL_GNULIB_REWINDDIR="($GL_GNULIB_REWINDDIR || $gl_module_indicator_condition)" - fi - fi - - - - - -printf "%s\n" "#define GNULIB_TEST_REWINDDIR 1" >>confdefs.h - - - - - - - - - if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \ @@ -81093,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 @@ -81224,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='#' @@ -81900,6 +81515,40 @@ 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 GL_COND_OBJ_STDIO_READ_TRUE= @@ -82500,33 +82149,33 @@ printf "%s\n" "#define GNULIB_TEST_STPCPY 1" >>confdefs.h - if test $gl_cv_func_malloc_posix != yes; then - REPLACE_STRDUP=1 - fi - if test $ac_cv_have_decl_strdup = no; then - HAVE_DECL_STRDUP=0 - fi - if test $REPLACE_STRDUP = 1; then - GL_COND_OBJ_STRDUP_TRUE= - GL_COND_OBJ_STRDUP_FALSE='#' -else - GL_COND_OBJ_STRDUP_TRUE='#' - GL_COND_OBJ_STRDUP_FALSE= -fi -: - if test -z "${GL_COND_OBJ_STRDUP_TRUE}" && test -z "${GL_COND_OBJ_STRDUP_FALSE}"; then - GL_COND_OBJ_STRDUP_TRUE='#' - GL_COND_OBJ_STRDUP_FALSE='#' + + + + + + + + + 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 - if test -z "$GL_COND_OBJ_STRDUP_TRUE"; then : - : -fi + + +printf "%s\n" "#define GNULIB_TEST_STR_ENDSWITH 1" >>confdefs.h + + + @@ -82541,11 +82190,11 @@ fi - if test "$GL_GNULIB_STRDUP" != 1; then - if test "$GL_GNULIB_STRDUP" = 0; then - GL_GNULIB_STRDUP=$gl_module_indicator_condition + 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_STRDUP="($GL_GNULIB_STRDUP || $gl_module_indicator_condition)" + GL_GNULIB_STR_STARTSWITH="($GL_GNULIB_STR_STARTSWITH || $gl_module_indicator_condition)" fi fi @@ -82553,7 +82202,7 @@ fi -printf "%s\n" "#define GNULIB_TEST_STRDUP 1" >>confdefs.h +printf "%s\n" "#define GNULIB_TEST_STR_STARTSWITH 1" >>confdefs.h @@ -83187,269 +82836,6 @@ printf "%s\n" "#define HAVE_UNIXSOCKET 1" >>confdefs.h - if case "$host_os" in *-gnu* | gnu*) true ;; *) false ;; esac; then - LIBC_IS_GNU_TRUE= - LIBC_IS_GNU_FALSE='#' -else - LIBC_IS_GNU_TRUE='#' - LIBC_IS_GNU_FALSE= -fi -: - if test -z "${LIBC_IS_GNU_TRUE}" && test -z "${LIBC_IS_GNU_FALSE}"; then - LIBC_IS_GNU_TRUE='#' - LIBC_IS_GNU_FALSE='#' - fi - - - if case "$host_os" in *-musl* | midipix*) true ;; *) false ;; esac; then - LIBC_IS_MUSL_TRUE= - LIBC_IS_MUSL_FALSE='#' -else - LIBC_IS_MUSL_TRUE='#' - LIBC_IS_MUSL_FALSE= -fi -: - if test -z "${LIBC_IS_MUSL_TRUE}" && test -z "${LIBC_IS_MUSL_FALSE}"; then - LIBC_IS_MUSL_TRUE='#' - LIBC_IS_MUSL_FALSE='#' - fi - - - if case "$host_os" in darwin*) true ;; *) false ;; esac; then - OS_IS_MACOS_TRUE= - OS_IS_MACOS_FALSE='#' -else - OS_IS_MACOS_TRUE='#' - OS_IS_MACOS_FALSE= -fi -: - if test -z "${OS_IS_MACOS_TRUE}" && test -z "${OS_IS_MACOS_FALSE}"; then - OS_IS_MACOS_TRUE='#' - OS_IS_MACOS_FALSE='#' - fi - - - if case "$host_os" in darwin20.*) true ;; *) false ;; esac; then - OS_IS_MACOS11_TRUE= - OS_IS_MACOS11_FALSE='#' -else - OS_IS_MACOS11_TRUE='#' - OS_IS_MACOS11_FALSE= -fi -: - if test -z "${OS_IS_MACOS11_TRUE}" && test -z "${OS_IS_MACOS11_FALSE}"; then - OS_IS_MACOS11_TRUE='#' - OS_IS_MACOS11_FALSE='#' - fi - - - if case "$host_os" in darwin21.*) true ;; *) false ;; esac; then - OS_IS_MACOS12_TRUE= - OS_IS_MACOS12_FALSE='#' -else - OS_IS_MACOS12_TRUE='#' - OS_IS_MACOS12_FALSE= -fi -: - if test -z "${OS_IS_MACOS12_TRUE}" && test -z "${OS_IS_MACOS12_FALSE}"; then - OS_IS_MACOS12_TRUE='#' - OS_IS_MACOS12_FALSE='#' - fi - - - if case "$host_os" in darwin22.*) true ;; *) false ;; esac; then - OS_IS_MACOS13_TRUE= - OS_IS_MACOS13_FALSE='#' -else - OS_IS_MACOS13_TRUE='#' - OS_IS_MACOS13_FALSE= -fi -: - if test -z "${OS_IS_MACOS13_TRUE}" && test -z "${OS_IS_MACOS13_FALSE}"; then - OS_IS_MACOS13_TRUE='#' - OS_IS_MACOS13_FALSE='#' - fi - - - if case "$host_os" in darwin23.*) true ;; *) false ;; esac; then - OS_IS_MACOS14_TRUE= - OS_IS_MACOS14_FALSE='#' -else - OS_IS_MACOS14_TRUE='#' - OS_IS_MACOS14_FALSE= -fi -: - if test -z "${OS_IS_MACOS14_TRUE}" && test -z "${OS_IS_MACOS14_FALSE}"; then - OS_IS_MACOS14_TRUE='#' - OS_IS_MACOS14_FALSE='#' - fi - - - if case "$host_os" in freebsd* | dragonfly*) true ;; *) false ;; esac; then - OS_IS_FREEBSD_TRUE= - OS_IS_FREEBSD_FALSE='#' -else - OS_IS_FREEBSD_TRUE='#' - OS_IS_FREEBSD_FALSE= -fi -: - if test -z "${OS_IS_FREEBSD_TRUE}" && test -z "${OS_IS_FREEBSD_FALSE}"; then - OS_IS_FREEBSD_TRUE='#' - OS_IS_FREEBSD_FALSE='#' - fi - - - if case "$host_os" in netbsd*) true ;; *) false ;; esac; then - OS_IS_NETBSD_TRUE= - OS_IS_NETBSD_FALSE='#' -else - OS_IS_NETBSD_TRUE='#' - OS_IS_NETBSD_FALSE= -fi -: - if test -z "${OS_IS_NETBSD_TRUE}" && test -z "${OS_IS_NETBSD_FALSE}"; then - OS_IS_NETBSD_TRUE='#' - OS_IS_NETBSD_FALSE='#' - fi - - - if case "$host_os" in openbsd*) true ;; *) false ;; esac; then - OS_IS_OPENBSD_TRUE= - OS_IS_OPENBSD_FALSE='#' -else - OS_IS_OPENBSD_TRUE='#' - OS_IS_OPENBSD_FALSE= -fi -: - if test -z "${OS_IS_OPENBSD_TRUE}" && test -z "${OS_IS_OPENBSD_FALSE}"; then - OS_IS_OPENBSD_TRUE='#' - OS_IS_OPENBSD_FALSE='#' - fi - - - if case "$host_os" in aix*) true ;; *) false ;; esac; then - OS_IS_AIX_TRUE= - OS_IS_AIX_FALSE='#' -else - OS_IS_AIX_TRUE='#' - OS_IS_AIX_FALSE= -fi -: - if test -z "${OS_IS_AIX_TRUE}" && test -z "${OS_IS_AIX_FALSE}"; then - OS_IS_AIX_TRUE='#' - OS_IS_AIX_FALSE='#' - fi - - - if case "$host_os" in solaris2.11*) true ;; *) false ;; esac; then - OS_IS_SOLARIS11_TRUE= - OS_IS_SOLARIS11_FALSE='#' -else - OS_IS_SOLARIS11_TRUE='#' - OS_IS_SOLARIS11_FALSE= -fi -: - if test -z "${OS_IS_SOLARIS11_TRUE}" && test -z "${OS_IS_SOLARIS11_FALSE}"; then - OS_IS_SOLARIS11_TRUE='#' - OS_IS_SOLARIS11_FALSE='#' - fi - - - if case "$host_os" in cygwin*) true ;; *) false ;; esac; then - OS_IS_CYGWIN_TRUE= - OS_IS_CYGWIN_FALSE='#' -else - OS_IS_CYGWIN_TRUE='#' - OS_IS_CYGWIN_FALSE= -fi -: - if test -z "${OS_IS_CYGWIN_TRUE}" && test -z "${OS_IS_CYGWIN_FALSE}"; then - OS_IS_CYGWIN_TRUE='#' - OS_IS_CYGWIN_FALSE='#' - fi - - - if case "$host_os" in mingw* | windows*) true ;; *) false ;; esac; then - OS_IS_NATIVE_WINDOWS_TRUE= - OS_IS_NATIVE_WINDOWS_FALSE='#' -else - OS_IS_NATIVE_WINDOWS_TRUE='#' - OS_IS_NATIVE_WINDOWS_FALSE= -fi -: - if test -z "${OS_IS_NATIVE_WINDOWS_TRUE}" && test -z "${OS_IS_NATIVE_WINDOWS_FALSE}"; then - OS_IS_NATIVE_WINDOWS_TRUE='#' - OS_IS_NATIVE_WINDOWS_FALSE='#' - fi - - is_mingw=false; is_msvc=false - case "$host_os" in - windows*-msvc*) is_msvc=true ;; - mingw* | windows*) - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #ifdef _MSC_VER - Special - #endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP_TRADITIONAL "Special" >/dev/null 2>&1 -then : - is_msvc=true -else case e in #( - e) is_mingw=true ;; -esac -fi -rm -rf conftest* - - ;; - esac - - if $is_mingw; then - PLATFORM_IS_MINGW_TRUE= - PLATFORM_IS_MINGW_FALSE='#' -else - PLATFORM_IS_MINGW_TRUE='#' - PLATFORM_IS_MINGW_FALSE= -fi -: - if test -z "${PLATFORM_IS_MINGW_TRUE}" && test -z "${PLATFORM_IS_MINGW_FALSE}"; then - PLATFORM_IS_MINGW_TRUE='#' - PLATFORM_IS_MINGW_FALSE='#' - fi - - - if $is_msvc; then - PLATFORM_IS_MSVC_TRUE= - PLATFORM_IS_MSVC_FALSE='#' -else - PLATFORM_IS_MSVC_TRUE='#' - PLATFORM_IS_MSVC_FALSE= -fi -: - if test -z "${PLATFORM_IS_MSVC_TRUE}" && test -z "${PLATFORM_IS_MSVC_FALSE}"; then - PLATFORM_IS_MSVC_TRUE='#' - PLATFORM_IS_MSVC_FALSE='#' - fi - - - if case "$host_os" in linux-androideabi*) true ;; *) false ;; esac; then - OS_IS_ANDROID_TRUE= - OS_IS_ANDROID_FALSE='#' -else - OS_IS_ANDROID_TRUE='#' - OS_IS_ANDROID_FALSE= -fi -: - if test -z "${OS_IS_ANDROID_TRUE}" && test -z "${OS_IS_ANDROID_FALSE}"; then - OS_IS_ANDROID_TRUE='#' - OS_IS_ANDROID_FALSE='#' - fi - - - if test $gl_threads_api = posix; then gl_saved_LIBS="$LIBS" @@ -83710,9 +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 @@ -83736,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 @@ -84193,8 +83574,8 @@ 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. *) @@ -84338,7 +83719,6 @@ 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 @@ -84447,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 @@ -84964,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" @@ -84980,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 @@ -85145,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 @@ -85167,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 @@ -85195,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. @@ -85593,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 @@ -85661,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\\" @@ -86162,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 |