From 7b65dbd4ebade81d504cfe5e681292a58ad1fdf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Thu, 28 Jun 2018 04:18:55 +0200 Subject: New upstream version 0.9.10 --- ChangeLog | 37 + Makefile.in | 7 +- NEWS | 10 + README | 4 +- aclocal.m4 | 46 +- autogen.sh | 10 +- build-aux/compile | 9 +- build-aux/config.guess | 10 +- build-aux/config.sub | 835 +++++++-------- build-aux/depcomp | 6 +- build-aux/install-sh | 4 +- build-aux/mdate-sh | 6 +- build-aux/missing | 6 +- build-aux/test-driver | 6 +- config.h.in | 43 +- configure | 425 ++++++-- doc/Makefile.in | 7 +- doc/libunistring.info | 173 ++-- doc/libunistring.texi | 1 - doc/libunistring_1.html | 4 +- doc/libunistring_10.html | 4 +- doc/libunistring_11.html | 4 +- doc/libunistring_12.html | 4 +- doc/libunistring_13.html | 4 +- doc/libunistring_14.html | 4 +- doc/libunistring_15.html | 4 +- doc/libunistring_16.html | 4 +- doc/libunistring_17.html | 4 +- doc/libunistring_18.html | 4 +- doc/libunistring_19.html | 4 +- doc/libunistring_2.html | 4 +- doc/libunistring_20.html | 4 +- doc/libunistring_21.html | 4 +- doc/libunistring_3.html | 4 +- doc/libunistring_4.html | 4 +- doc/libunistring_5.html | 4 +- doc/libunistring_6.html | 4 +- doc/libunistring_7.html | 4 +- doc/libunistring_8.html | 4 +- doc/libunistring_9.html | 4 +- doc/libunistring_abt.html | 6 +- doc/libunistring_toc.html | 4 +- doc/stamp-vti | 8 +- doc/version.texi | 8 +- gnulib-local/Makefile.in | 7 +- gnulib-m4/getpagesize.m4 | 23 +- gnulib-m4/gnulib-cache.m4 | 8 +- gnulib-m4/gnulib-common.m4 | 9 +- gnulib-m4/gnulib-comp.m4 | 20 + gnulib-m4/host-cpu-c-abi.m4 | 89 +- gnulib-m4/inttypes.m4 | 3 +- gnulib-m4/lib-link.m4 | 2 +- gnulib-m4/locale-ar.m4 | 4 +- gnulib-m4/locale-fr.m4 | 6 +- gnulib-m4/locale-ja.m4 | 4 +- gnulib-m4/locale-tr.m4 | 4 +- gnulib-m4/locale-zh.m4 | 4 +- gnulib-m4/malloc.m4 | 4 +- gnulib-m4/nocrash.m4 | 4 +- gnulib-m4/stdio_h.m4 | 4 +- gnulib-m4/unistd_h.m4 | 6 +- lib/Makefile.gnulib | 62 +- lib/Makefile.in | 2094 +++++++++++++++++++------------------- lib/errno.in.h | 4 +- lib/fseterr.c | 6 +- lib/glthread/lock.h | 20 +- lib/localcharset.c | 10 +- lib/localename.c | 48 +- lib/localename.h | 2 +- lib/mbsinit.c | 2 +- lib/printf-parse.c | 2 +- lib/relocatable.c | 13 +- lib/stdio-impl.h | 68 +- lib/stdlib.in.h | 4 +- lib/sys_types.in.h | 15 +- lib/unicase/u-prefix-context.h | 101 ++ lib/unicase/u-suffix-context.h | 99 ++ lib/unicase/u16-prefix-context.c | 42 + lib/unicase/u16-suffix-context.c | 41 + lib/unicase/u32-prefix-context.c | 42 + lib/unicase/u32-suffix-context.c | 41 + lib/unicase/u8-prefix-context.c | 42 + lib/unicase/u8-suffix-context.c | 41 + lib/unistd.in.h | 8 +- lib/vasnprintf.c | 14 +- lib/wctype.in.h | 2 +- m4/woe32-dll.m4 | 5 +- tests/Makefile.gnulib | 1 + tests/Makefile.in | 8 +- tests/dirname.h | 2 +- tests/dosname.h | 5 +- tests/error.c | 4 +- tests/getpagesize.c | 2 +- tests/glthread/thread.h | 4 +- tests/inttypes.in.h | 6 +- tests/locale.in.h | 11 +- tests/msvc-nothrow.h | 2 +- tests/putenv.c | 4 +- tests/setlocale.c | 8 +- tests/sigprocmask.c | 2 +- tests/sleep.c | 2 +- tests/stdio.in.h | 4 +- tests/test-localename.c | 15 +- tests/test-mbrtowc-w32.c | 2 +- tests/test-pthread_sigmask1.c | 2 +- tests/test-sigprocmask.c | 2 +- tests/test-wcrtomb-w32.c | 2 +- tests/xalloc.h | 6 - tests/zerosize-ptr.h | 13 + version.sh | 6 +- 110 files changed, 3051 insertions(+), 1846 deletions(-) create mode 100644 lib/unicase/u-prefix-context.h create mode 100644 lib/unicase/u-suffix-context.h create mode 100644 lib/unicase/u16-prefix-context.c create mode 100644 lib/unicase/u16-suffix-context.c create mode 100644 lib/unicase/u32-prefix-context.c create mode 100644 lib/unicase/u32-suffix-context.c create mode 100644 lib/unicase/u8-prefix-context.c create mode 100644 lib/unicase/u8-suffix-context.c diff --git a/ChangeLog b/ChangeLog index 747198c9..a6155943 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,40 @@ +2018-05-17 Bruno Haible + + Prepare for 0.9.10 release. + * version.sh: Bump version number, date, gnulib version. + * README: Update version. + +2018-05-17 Bruno Haible + + doc: Fix @menu structure (regression from 2017-12-10). + * doc/libunistring.texi (Introduction): Fix @menu. + +2018-05-17 Bruno Haible + + Allow use of automake-1.16. + * autogen.sh: Update comments. + +2018-04-07 Bruno Haible + + Implement the documented functions u*_casing_*_context. + Reported by Genki Sky . + * autogen.sh (GNULIB_MODULES): Add unicase/u*-prefix-context, + unicase/u*-suffix-context. + * lib/unicase/.gitignore: Update. + * gnulib-m4/gnulib-cache.m4: Updated by gnulib-tool. + * NEWS: Mention the change. + +2018-03-27 Bruno Haible + + Doc tweaks. + * README: Don't recommend to use --prefix=/usr/local, as it produces + problems with GCC (since GCC's treatment of /usr/local/include and + /usr/local/lib is inconsistent by default). + +2011-01-29 Bruno Haible + + * m4/woe32-dll.m4: Add a comment. + 2018-02-28 Daiki Ueno * version.sh: Bump version number and date. diff --git a/Makefile.in b/Makefile.in index a354bbeb..20e1d56c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -829,6 +829,7 @@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TANL = @HAVE_DECL_TANL@ HAVE_DECL_TRUNC = @HAVE_DECL_TRUNC@ +HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TRUNCF = @HAVE_DECL_TRUNCF@ HAVE_DECL_TRUNCL = @HAVE_DECL_TRUNCL@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ @@ -879,6 +880,7 @@ HAVE_HYPOTL = @HAVE_HYPOTL@ HAVE_ILOGB = @HAVE_ILOGB@ HAVE_ILOGBF = @HAVE_ILOGBF@ HAVE_ILOGBL = @HAVE_ILOGBL@ +HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_ISNAND = @HAVE_ISNAND@ @@ -997,7 +999,6 @@ HAVE_TANHF = @HAVE_TANHF@ HAVE_TANL = @HAVE_TANL@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ -HAVE_TRUNCATE = @HAVE_TRUNCATE@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ diff --git a/NEWS b/NEWS index 40793e7b..454821b2 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,13 @@ +New in 0.9.10: +* The functions + u8_casing_prefix_context, u8_casing_prefixes_context, + u8_casing_suffix_context, u8_casing_suffixes_context, + u16_casing_prefix_context, u16_casing_prefixes_context, + u16_casing_suffix_context, u16_casing_suffixes_context, + u32_casing_prefix_context, u32_casing_prefixes_context, + u32_casing_suffix_context, u32_casing_suffixes_context, + that are documented since version 0.9.1, are now actually implemented. + New in 0.9.9: * Fixed a multithread-safety bug. diff --git a/README b/README index 889c75b3..70e1c4a7 100644 --- a/README +++ b/README @@ -37,7 +37,7 @@ Installation As usual for GNU packages: - $ ./configure --prefix=/usr/local + $ ./configure --prefix=[[PREFIX]] where [[PREFIX]] is e.g. $HOME/local $ make $ make install @@ -68,7 +68,7 @@ The documentation is under another license; see in the documentation. Download -------- - https://ftp.gnu.org/gnu/libunistring/libunistring-0.9.9.tar.gz + https://ftp.gnu.org/gnu/libunistring/libunistring-0.9.10.tar.gz Homepage -------- diff --git a/aclocal.m4 b/aclocal.m4 index aac526bd..055d2ad5 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.15 -*- Autoconf -*- +# generated automatically by aclocal 1.15.1 -*- Autoconf -*- -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -469,7 +469,7 @@ AC_DEFUN([AM_XGETTEXT_OPTION], XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1" ]) -# Copyright (C) 2002-2014 Free Software Foundation, Inc. +# Copyright (C) 2002-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -484,7 +484,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.15], [], +m4_if([$1], [1.15.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -500,14 +500,14 @@ m4_define([_AM_AUTOCONF_VERSION], []) # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.15])dnl +[AM_AUTOMAKE_VERSION([1.15.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -559,7 +559,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd` # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997-2014 Free Software Foundation, Inc. +# Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -590,7 +590,7 @@ AC_CONFIG_COMMANDS_PRE( Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -781,7 +781,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl # Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -857,7 +857,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1054,7 +1054,7 @@ for _am_header in $config_headers :; do done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1075,7 +1075,7 @@ if test x"${install_sh+set}" != xset; then fi AC_SUBST([install_sh])]) -# Copyright (C) 2003-2014 Free Software Foundation, Inc. +# Copyright (C) 2003-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1096,7 +1096,7 @@ AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1146,7 +1146,7 @@ rm -f confinc confmf # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997-2014 Free Software Foundation, Inc. +# Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1187,7 +1187,7 @@ fi # Obsolete and "removed" macros, that must however still report explicit # error messages when used, to smooth transition. # -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1214,7 +1214,7 @@ AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES]) # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1243,7 +1243,7 @@ AC_DEFUN([_AM_SET_OPTIONS], AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1290,7 +1290,7 @@ AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1309,7 +1309,7 @@ AC_DEFUN([AM_RUN_LOG], # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1390,7 +1390,7 @@ AC_CONFIG_COMMANDS_PRE( rm -f conftest.file ]) -# Copyright (C) 2009-2014 Free Software Foundation, Inc. +# Copyright (C) 2009-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1450,7 +1450,7 @@ AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001-2014 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1478,7 +1478,7 @@ fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006-2014 Free Software Foundation, Inc. +# Copyright (C) 2006-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1497,7 +1497,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004-2014 Free Software Foundation, Inc. +# Copyright (C) 2004-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/autogen.sh b/autogen.sh index 269ab0df..26c0e867 100755 --- a/autogen.sh +++ b/autogen.sh @@ -4,7 +4,7 @@ # also regenerates all aclocal.m4, config.h.in, Makefile.in, configure files # with new versions of autoconf or automake. # -# This script requires autoconf-2.63..2.69 and automake-1.11..1.15 in the PATH. +# This script requires autoconf-2.63..2.69 and automake-1.11..1.16 in the PATH. # It also requires either # - the GNULIB_TOOL environment variable pointing to the gnulib-tool script # in a gnulib checkout, or @@ -12,7 +12,7 @@ # It also requires # - the gperf program. -# Copyright (C) 2003-2016 Free Software Foundation, Inc. +# Copyright (C) 2003-2018 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -386,6 +386,8 @@ if test $skip_gnulib = false; then unicase/u8-is-lowercase unicase/u8-is-titlecase unicase/u8-is-uppercase + unicase/u8-prefix-context + unicase/u8-suffix-context unicase/u8-tolower unicase/u8-totitle unicase/u8-toupper @@ -402,6 +404,8 @@ if test $skip_gnulib = false; then unicase/u16-is-lowercase unicase/u16-is-titlecase unicase/u16-is-uppercase + unicase/u16-prefix-context + unicase/u16-suffix-context unicase/u16-tolower unicase/u16-totitle unicase/u16-toupper @@ -418,6 +422,8 @@ if test $skip_gnulib = false; then unicase/u32-is-lowercase unicase/u32-is-titlecase unicase/u32-is-uppercase + unicase/u32-prefix-context + unicase/u32-suffix-context unicase/u32-tolower unicase/u32-totitle unicase/u32-toupper diff --git a/build-aux/compile b/build-aux/compile index a85b723c..2ab71e4e 100755 --- a/build-aux/compile +++ b/build-aux/compile @@ -1,9 +1,9 @@ #! /bin/sh # Wrapper for compilers which do not understand '-c -o'. -scriptversion=2012-10-14.11; # UTC +scriptversion=2016-01-11.22; # UTC -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2017 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify @@ -255,7 +255,8 @@ EOF echo "compile $scriptversion" exit $? ;; - cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ + icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac @@ -342,6 +343,6 @@ exit $ret # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/build-aux/config.guess b/build-aux/config.guess index f50dcdb6..256083a7 100755 --- a/build-aux/config.guess +++ b/build-aux/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2018 Free Software Foundation, Inc. -timestamp='2018-02-24' +timestamp='2018-03-08' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -1046,11 +1046,7 @@ EOF echo "$UNAME_MACHINE"-dec-linux-"$LIBC" exit ;; x86_64:Linux:*:*) - if objdump -f /bin/sh | grep -q elf32-x86-64; then - echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32 - else - echo "$UNAME_MACHINE"-pc-linux-"$LIBC" - fi + echo "$UNAME_MACHINE"-pc-linux-"$LIBC" exit ;; xtensa*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" @@ -1473,7 +1469,7 @@ EOF exit 1 # Local variables: -# eval: (add-hook 'write-file-functions 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" diff --git a/build-aux/config.sub b/build-aux/config.sub index 1d8e98bc..0b4a9502 100755 --- a/build-aux/config.sub +++ b/build-aux/config.sub @@ -2,7 +2,7 @@ # Configuration validation subroutine script. # Copyright 1992-2018 Free Software Foundation, Inc. -timestamp='2018-02-22' +timestamp='2018-05-14' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -110,28 +110,52 @@ case $# in exit 1;; esac -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). -# Here we must recognize all the valid KERNEL-OS combinations. -maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` -case $maybe_os in - nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ - linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ - knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ - kopensolaris*-gnu* | cloudabi*-eabi* | \ - storm-chaos* | os2-emx* | rtmk-nova*) - os=-$maybe_os - basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` - ;; - android-linux) - os=-linux-android - basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown - ;; - *) - basic_machine=`echo "$1" | sed 's/-[^-]*$//'` - if [ "$basic_machine" != "$1" ] - then os=`echo "$1" | sed 's/.*-/-/'` - else os=; fi - ;; +# Split fields of configuration type +IFS="-" read -r field1 field2 field3 field4 <&2 + exit 1 + ;; + *-*-*-*) + basic_machine=$field1-$field2 + os=$field3-$field4 + ;; + *-*-*) + # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two + # parts + maybe_os=$field2-$field3 + case $maybe_os in + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc \ + | linux-newlib* | linux-musl* | linux-uclibc* | uclinux-uclibc* \ + | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \ + | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \ + | storm-chaos* | os2-emx* | rtmk-nova*) + basic_machine=$field1 + os=$maybe_os + ;; + android-linux) + basic_machine=$field1-unknown + os=linux-android + ;; + *) + basic_machine=$field1-$field2 + os=$field3 + ;; + esac + ;; + *-*) + basic_machine=$field1 + os=$field2 + ;; + *) + basic_machine=$1 + os= + ;; esac ### Let's recognize common machines as not being operating systems so @@ -139,102 +163,102 @@ esac ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in - -sun*os*) + sun*os*) # Prevent following clause from handling this invalid input. ;; - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis | -knuth | -cray | -microblaze*) + dec* | mips* | sequent* | encore* | pc532* | sgi* | sony* | \ + att* | 7300* | 3300* | delta* | motorola* | sun[234]* | \ + unicom* | ibm* | next | hp | isi* | apollo | altos* | \ + convergent* | ncr* | news | 32* | 3600* | 3100* | hitachi* |\ + c[123]* | convex* | sun | crds | omron* | dg | ultra | tti* | \ + harris | dolphin | highlevel | gould | cbm | ns | masscomp | \ + apple | axis | knuth | cray | microblaze*) os= basic_machine=$1 ;; - -bluegene*) - os=-cnk + bluegene*) + os=cnk ;; - -sim | -cisco | -oki | -wec | -winbond) + sim | cisco | oki | wec | winbond) os= basic_machine=$1 ;; - -scout) + scout) ;; - -wrs) - os=-vxworks + wrs) + os=vxworks basic_machine=$1 ;; - -chorusos*) - os=-chorusos + chorusos*) + os=chorusos basic_machine=$1 ;; - -chorusrdb) - os=-chorusrdb + chorusrdb) + os=chorusrdb basic_machine=$1 ;; - -hiux*) - os=-hiuxwe2 + hiux*) + os=hiuxwe2 ;; - -sco6) - os=-sco5v6 + sco6) + os=sco5v6 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; - -sco5) - os=-sco3.2v5 + sco5) + os=sco3.2v5 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; - -sco4) - os=-sco3.2v4 + sco4) + os=sco3.2v4 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; - -sco3.2.[4-9]*) + sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; - -sco3.2v[4-9]*) + sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; - -sco5v6*) + sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; - -sco*) - os=-sco3.2v2 + sco*) + os=sco3.2v2 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; - -udk*) + udk*) basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; - -isc) - os=-isc2.2 + isc) + os=isc2.2 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; - -clix*) + clix*) basic_machine=clipper-intergraph ;; - -isc*) + isc*) basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; - -lynx*178) - os=-lynxos178 + lynx*178) + os=lynxos178 ;; - -lynx*5) - os=-lynxos5 + lynx*5) + os=lynxos5 ;; - -lynx*) - os=-lynxos + lynx*) + os=lynxos ;; - -ptx*) + ptx*) basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'` ;; - -psos*) - os=-psos + psos*) + os=psos ;; - -mint | -mint[0-9]*) + mint | mint[0-9]*) basic_machine=m68k-atari - os=-mint + os=mint ;; esac @@ -249,12 +273,12 @@ case $basic_machine in | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arceb \ - | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ + | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv6m | armv[78][arm] \ | avr | avr32 \ | ba \ | be32 | be64 \ | bfin \ - | c4x | c8051 | clipper \ + | c4x | c8051 | clipper | csky \ | d10v | d30v | dlx | dsp16xx \ | e2k | epiphany \ | fido | fr30 | frv | ft32 \ @@ -293,6 +317,7 @@ case $basic_machine in | mt \ | msp430 \ | nds32 | nds32le | nds32be \ + | nfp \ | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 | or1k | or1knd | or32 \ @@ -331,10 +356,14 @@ case $basic_machine in ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) basic_machine=$basic_machine-unknown - os=-none + os=none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65) ;; + m9s12z | m68hcs12z | hcs12z | s12z) + basic_machine=s12z-unknown + os=none + ;; ms1) basic_machine=mt-unknown ;; @@ -344,7 +373,7 @@ case $basic_machine in ;; xgate) basic_machine=$basic_machine-unknown - os=-none + os=none ;; xscaleeb) basic_machine=armeb-unknown @@ -360,11 +389,6 @@ case $basic_machine in i*86 | x86_64) basic_machine=$basic_machine-pc ;; - # Object if more than one company name word. - *-*-*) - echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 - exit 1 - ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ @@ -378,7 +402,7 @@ case $basic_machine in | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ - | c8051-* | clipper-* | craynv-* | cydra-* \ + | c8051-* | clipper-* | craynv-* | csky-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | e2k-* | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ @@ -419,6 +443,7 @@ case $basic_machine in | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ + | nfp-* \ | nios-* | nios2-* | nios2eb-* | nios2el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ @@ -458,7 +483,7 @@ case $basic_machine in # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-pc - os=-bsd + os=bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att @@ -468,14 +493,14 @@ case $basic_machine in ;; a29khif) basic_machine=a29k-amd - os=-udi + os=udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe - os=-scout + os=scout ;; alliant | fx80) basic_machine=fx80-alliant @@ -485,7 +510,7 @@ case $basic_machine in ;; am29k) basic_machine=a29k-none - os=-bsd + os=bsd ;; amd64) basic_machine=x86_64-pc @@ -495,53 +520,53 @@ case $basic_machine in ;; amdahl) basic_machine=580-amdahl - os=-sysv + os=sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown - os=-amigaos + os=amigaos ;; amigaunix | amix) basic_machine=m68k-unknown - os=-sysv4 + os=sysv4 ;; apollo68) basic_machine=m68k-apollo - os=-sysv + os=sysv ;; apollo68bsd) basic_machine=m68k-apollo - os=-bsd + os=bsd ;; aros) basic_machine=i386-pc - os=-aros + os=aros ;; asmjs) basic_machine=asmjs-unknown ;; aux) basic_machine=m68k-apple - os=-aux + os=aux ;; balance) basic_machine=ns32k-sequent - os=-dynix + os=dynix ;; blackfin) basic_machine=bfin-unknown - os=-linux + os=linux ;; blackfin-*) basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=-linux + os=linux ;; bluegene*) basic_machine=powerpc-ibm - os=-cnk + os=cnk ;; c54x-*) basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'` @@ -554,43 +579,43 @@ case $basic_machine in ;; c90) basic_machine=c90-cray - os=-unicos + os=unicos ;; cegcc) basic_machine=arm-unknown - os=-cegcc + os=cegcc ;; convex-c1) basic_machine=c1-convex - os=-bsd + os=bsd ;; convex-c2) basic_machine=c2-convex - os=-bsd + os=bsd ;; convex-c32) basic_machine=c32-convex - os=-bsd + os=bsd ;; convex-c34) basic_machine=c34-convex - os=-bsd + os=bsd ;; convex-c38) basic_machine=c38-convex - os=-bsd + os=bsd ;; cray | j90) basic_machine=j90-cray - os=-unicos + os=unicos ;; craynv) basic_machine=craynv-cray - os=-unicosmp + os=unicosmp ;; cr16 | cr16-*) basic_machine=cr16-unknown - os=-elf + os=elf ;; crds | unos) basic_machine=m68k-crds @@ -603,7 +628,7 @@ case $basic_machine in ;; crx) basic_machine=crx-unknown - os=-elf + os=elf ;; da30 | da30-*) basic_machine=m68k-da30 @@ -613,11 +638,11 @@ case $basic_machine in ;; decsystem10* | dec10*) basic_machine=pdp10-dec - os=-tops10 + os=tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec - os=-tops20 + os=tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) @@ -625,23 +650,23 @@ case $basic_machine in ;; delta88) basic_machine=m88k-motorola - os=-sysv3 + os=sysv3 ;; dicos) basic_machine=i686-pc - os=-dicos + os=dicos ;; djgpp) basic_machine=i586-pc - os=-msdosdjgpp + os=msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull - os=-bosx + os=bosx ;; dpx2*) basic_machine=m68k-bull - os=-sysv3 + os=sysv3 ;; e500v[12]) basic_machine=powerpc-unknown @@ -653,18 +678,18 @@ case $basic_machine in ;; ebmon29k) basic_machine=a29k-amd - os=-ebmon + os=ebmon ;; elxsi) basic_machine=elxsi-elxsi - os=-bsd + os=bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson - os=-ose + os=ose ;; fx2800) basic_machine=i860-alliant @@ -674,42 +699,42 @@ case $basic_machine in ;; gmicro) basic_machine=tron-gmicro - os=-sysv + os=sysv ;; go32) basic_machine=i386-pc - os=-go32 + os=go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi - os=-hiuxwe2 + os=hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi - os=-hms + os=hms ;; h8300xray) basic_machine=h8300-hitachi - os=-xray + os=xray ;; h8500hms) basic_machine=h8500-hitachi - os=-hms + os=hms ;; harris) basic_machine=m88k-harris - os=-sysv3 + os=sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp - os=-bsd + os=bsd ;; hp300hpux) basic_machine=m68k-hp - os=-hpux + os=hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp @@ -742,93 +767,93 @@ case $basic_machine in ;; hppaosf) basic_machine=hppa1.1-hp - os=-osf + os=osf ;; hppro) basic_machine=hppa1.1-hp - os=-proelf + os=proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; i*86v32) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-sysv32 + os=sysv32 ;; i*86v4*) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-sysv4 + os=sysv4 ;; i*86v) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-sysv + os=sysv ;; i*86sol2) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-solaris2 + os=solaris2 ;; i386mach) basic_machine=i386-mach - os=-mach + os=mach ;; vsta) basic_machine=i386-unknown - os=-vsta + os=vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in - -irix*) + irix*) ;; *) - os=-irix4 + os=irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi - os=-sysv + os=sysv ;; leon-*|leon[3-9]-*) basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'` ;; m68knommu) basic_machine=m68k-unknown - os=-linux + os=linux ;; m68knommu-*) basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=-linux + os=linux ;; magnum | m3230) basic_machine=mips-mips - os=-sysv + os=sysv ;; merlin) basic_machine=ns32k-utek - os=-sysv + os=sysv ;; microblaze*) basic_machine=microblaze-xilinx ;; mingw64) basic_machine=x86_64-pc - os=-mingw64 + os=mingw64 ;; mingw32) basic_machine=i686-pc - os=-mingw32 + os=mingw32 ;; mingw32ce) basic_machine=arm-unknown - os=-mingw32ce + os=mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; - *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + *mint | mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari - os=-mint + os=mint ;; mips3*-*) basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'` @@ -838,95 +863,95 @@ case $basic_machine in ;; monitor) basic_machine=m68k-rom68k - os=-coff + os=coff ;; morphos) basic_machine=powerpc-unknown - os=-morphos + os=morphos ;; moxiebox) basic_machine=moxie-unknown - os=-moxiebox + os=moxiebox ;; msdos) basic_machine=i386-pc - os=-msdos + os=msdos ;; ms1-*) basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i686-pc - os=-msys + os=msys ;; mvs) basic_machine=i370-ibm - os=-mvs + os=mvs ;; nacl) basic_machine=le32-unknown - os=-nacl + os=nacl ;; ncr3000) basic_machine=i486-ncr - os=-sysv4 + os=sysv4 ;; netbsd386) basic_machine=i386-unknown - os=-netbsd + os=netbsd ;; netwinder) basic_machine=armv4l-rebel - os=-linux + os=linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony - os=-newsos + os=newsos ;; news1000) basic_machine=m68030-sony - os=-newsos + os=newsos ;; news-3600 | risc-news) basic_machine=mips-sony - os=-newsos + os=newsos ;; necv70) basic_machine=v70-nec - os=-sysv + os=sysv ;; next | m*-next) basic_machine=m68k-next case $os in - -nextstep* ) + nextstep* ) ;; - -ns2*) - os=-nextstep2 + ns2*) + os=nextstep2 ;; *) - os=-nextstep3 + os=nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris - os=-cxux + os=cxux ;; nh[45]000) basic_machine=m88k-harris - os=-cxux + os=cxux ;; nindy960) basic_machine=i960-intel - os=-nindy + os=nindy ;; mon960) basic_machine=i960-intel - os=-mon960 + os=mon960 ;; nonstopux) basic_machine=mips-compaq - os=-nonstopux + os=nonstopux ;; np1) basic_machine=np1-gould @@ -948,38 +973,38 @@ case $basic_machine in ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki - os=-proelf + os=proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm - os=-os400 + os=os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson - os=-ose + os=ose ;; os68k) basic_machine=m68k-none - os=-os68k + os=os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi - os=-hiuxwe2 + os=hiuxwe2 ;; paragon) basic_machine=i860-intel - os=-osf + os=osf ;; parisc) basic_machine=hppa-unknown - os=-linux + os=linux ;; parisc-*) basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=-linux + os=linux ;; pbd) basic_machine=sparc-tti @@ -1051,19 +1076,19 @@ case $basic_machine in ;; pw32) basic_machine=i586-unknown - os=-pw32 + os=pw32 ;; rdos | rdos64) basic_machine=x86_64-pc - os=-rdos + os=rdos ;; rdos32) basic_machine=i386-pc - os=-rdos + os=rdos ;; rom68k) basic_machine=m68k-rom68k - os=-coff + os=coff ;; rm[46]00) basic_machine=mips-siemens @@ -1079,7 +1104,7 @@ case $basic_machine in ;; sa29200) basic_machine=a29k-amd - os=-udi + os=udi ;; sb1) basic_machine=mipsisa64sb1-unknown @@ -1089,11 +1114,11 @@ case $basic_machine in ;; sde) basic_machine=mipsisa32-sde - os=-elf + os=elf ;; sei) basic_machine=mips-sei - os=-seiux + os=seiux ;; sequent) basic_machine=i386-sequent @@ -1103,11 +1128,11 @@ case $basic_machine in ;; simso-wrs) basic_machine=sparclite-wrs - os=-vxworks + os=vxworks ;; sps7) basic_machine=m68k-bull - os=-sysv2 + os=sysv2 ;; spur) basic_machine=spur-unknown @@ -1117,7 +1142,7 @@ case $basic_machine in ;; stratus) basic_machine=i860-stratus - os=-sysv4 + os=sysv4 ;; strongarm-* | thumb-*) basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'` @@ -1127,31 +1152,31 @@ case $basic_machine in ;; sun2os3) basic_machine=m68000-sun - os=-sunos3 + os=sunos3 ;; sun2os4) basic_machine=m68000-sun - os=-sunos4 + os=sunos4 ;; sun3os3) basic_machine=m68k-sun - os=-sunos3 + os=sunos3 ;; sun3os4) basic_machine=m68k-sun - os=-sunos4 + os=sunos4 ;; sun4os3) basic_machine=sparc-sun - os=-sunos3 + os=sunos3 ;; sun4os4) basic_machine=sparc-sun - os=-sunos4 + os=sunos4 ;; sun4sol2) basic_machine=sparc-sun - os=-solaris2 + os=solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun @@ -1164,23 +1189,23 @@ case $basic_machine in ;; sv1) basic_machine=sv1-cray - os=-unicos + os=unicos ;; symmetry) basic_machine=i386-sequent - os=-dynix + os=dynix ;; t3e) basic_machine=alphaev5-cray - os=-unicos + os=unicos ;; t90) basic_machine=t90-cray - os=-unicos + os=unicos ;; tile*) basic_machine=$basic_machine-unknown - os=-linux-gnu + os=linux-gnu ;; tx39) basic_machine=mipstx39-unknown @@ -1190,64 +1215,64 @@ case $basic_machine in ;; toad1) basic_machine=pdp10-xkl - os=-tops20 + os=tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm - os=-tpf + os=tpf ;; udi29k) basic_machine=a29k-amd - os=-udi + os=udi ;; ultra3) basic_machine=a29k-nyu - os=-sym1 + os=sym1 ;; v810 | necv810) basic_machine=v810-nec - os=-none + os=none ;; vaxv) basic_machine=vax-dec - os=-sysv + os=sysv ;; vms) basic_machine=vax-dec - os=-vms + os=vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs - os=-vxworks + os=vxworks ;; vxworks68) basic_machine=m68k-wrs - os=-vxworks + os=vxworks ;; vxworks29k) basic_machine=a29k-wrs - os=-vxworks + os=vxworks ;; w65*) basic_machine=w65-wdc - os=-none + os=none ;; w89k-*) basic_machine=hppa1.1-winbond - os=-proelf + os=proelf ;; x64) basic_machine=x86_64-pc ;; xbox) basic_machine=i686-pc - os=-mingw32 + os=mingw32 ;; xps | xps100) basic_machine=xps100-honeywell @@ -1257,11 +1282,11 @@ case $basic_machine in ;; ymp) basic_machine=ymp-cray - os=-unicos + os=unicos ;; none) basic_machine=none-none - os=-none + os=none ;; # Here we handle the default manufacturer of certain CPU types. It is in @@ -1334,199 +1359,199 @@ esac # Decode manufacturer-specific aliases for certain operating systems. -if [ x"$os" != x"" ] +if [ x$os != x ] then case $os in # First match some system type aliases that might get confused # with valid system types. - # -solaris* is a basic system type, with this one exception. - -auroraux) - os=-auroraux + # solaris* is a basic system type, with this one exception. + auroraux) + os=auroraux ;; - -solaris1 | -solaris1.*) + solaris1 | solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; - -solaris) - os=-solaris2 + solaris) + os=solaris2 ;; - -unixware*) - os=-sysv4.2uw + unixware*) + os=sysv4.2uw ;; - -gnu/linux*) + gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # es1800 is here to avoid being matched by es* (a different OS) - -es1800*) - os=-ose + es1800*) + os=ose ;; # Now accept the basic system types. # The portable systems comes first. # Each alternative MUST end in a * to match a version number. - # -sysv* is not here because it comes later, after sysvr4. - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ - | -sym* | -kopensolaris* | -plan9* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* | -aros* | -cloudabi* | -sortix* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \ - | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ - | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ - | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \ - | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ - | -linux-newlib* | -linux-musl* | -linux-uclibc* \ - | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ - | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \ - | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ - | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ - | -morphos* | -superux* | -rtmk* | -windiss* \ - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ - | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \ - | -midnightbsd*) + # sysv* is not here because it comes later, after sysvr4. + gnu* | bsd* | mach* | minix* | genix* | ultrix* | irix* \ + | *vms* | sco* | esix* | isc* | aix* | cnk* | sunos | sunos[34]*\ + | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \ + | sym* | kopensolaris* | plan9* \ + | amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \ + | aos* | aros* | cloudabi* | sortix* \ + | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \ + | clix* | riscos* | uniplus* | iris* | rtu* | xenix* \ + | hiux* | knetbsd* | mirbsd* | netbsd* \ + | bitrig* | openbsd* | solidbsd* | libertybsd* \ + | ekkobsd* | kfreebsd* | freebsd* | riscix* | lynxos* \ + | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \ + | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \ + | udi* | eabi* | lites* | ieee* | go32* | aux* | hcos* \ + | chorusos* | chorusrdb* | cegcc* | glidix* \ + | cygwin* | msys* | pe* | psos* | moss* | proelf* | rtems* \ + | midipix* | mingw32* | mingw64* | linux-gnu* | linux-android* \ + | linux-newlib* | linux-musl* | linux-uclibc* \ + | uxpv* | beos* | mpeix* | udk* | moxiebox* \ + | interix* | uwin* | mks* | rhapsody* | darwin* \ + | openstep* | oskit* | conix* | pw32* | nonstopux* \ + | storm-chaos* | tops10* | tenex* | tops20* | its* \ + | os2* | vos* | palmos* | uclinux* | nucleus* \ + | morphos* | superux* | rtmk* | windiss* \ + | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \ + | skyos* | haiku* | rdos* | toppers* | drops* | es* \ + | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ + | midnightbsd*) # Remember, each alternative MUST END IN *, to match a version number. ;; - -qnx*) + qnx*) case $basic_machine in x86-* | i*86-*) ;; *) - os=-nto$os + os=nto-$os ;; esac ;; - -nto-qnx*) + nto-qnx*) ;; - -nto*) + nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; - -sim | -xray | -os68k* | -v88r* \ - | -windows* | -osx | -abug | -netware* | -os9* \ - | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + sim | xray | os68k* | v88r* \ + | windows* | osx | abug | netware* | os9* \ + | macos* | mpw* | magic* | mmixware* | mon960* | lnews*) ;; - -mac*) + mac*) os=`echo "$os" | sed -e 's|mac|macos|'` ;; - -linux-dietlibc) - os=-linux-dietlibc + linux-dietlibc) + os=linux-dietlibc ;; - -linux*) + linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; - -sunos5*) + sunos5*) os=`echo "$os" | sed -e 's|sunos5|solaris2|'` ;; - -sunos6*) + sunos6*) os=`echo "$os" | sed -e 's|sunos6|solaris3|'` ;; - -opened*) - os=-openedition + opened*) + os=openedition ;; - -os400*) - os=-os400 + os400*) + os=os400 ;; - -wince*) - os=-wince + wince*) + os=wince ;; - -utek*) - os=-bsd + utek*) + os=bsd ;; - -dynix*) - os=-bsd + dynix*) + os=bsd ;; - -acis*) - os=-aos + acis*) + os=aos ;; - -atheos*) - os=-atheos + atheos*) + os=atheos ;; - -syllable*) - os=-syllable + syllable*) + os=syllable ;; - -386bsd) - os=-bsd + 386bsd) + os=bsd ;; - -ctix* | -uts*) - os=-sysv + ctix* | uts*) + os=sysv ;; - -nova*) - os=-rtmk-nova + nova*) + os=rtmk-nova ;; - -ns2) - os=-nextstep2 + ns2) + os=nextstep2 ;; - -nsk*) - os=-nsk + nsk*) + os=nsk ;; # Preserve the version number of sinix5. - -sinix5.*) + sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; - -sinix*) - os=-sysv4 + sinix*) + os=sysv4 ;; - -tpf*) - os=-tpf + tpf*) + os=tpf ;; - -triton*) - os=-sysv3 + triton*) + os=sysv3 ;; - -oss*) - os=-sysv3 + oss*) + os=sysv3 ;; - -svr4*) - os=-sysv4 + svr4*) + os=sysv4 ;; - -svr3) - os=-sysv3 + svr3) + os=sysv3 ;; - -sysvr4) - os=-sysv4 + sysvr4) + os=sysv4 ;; - # This must come after -sysvr4. - -sysv*) + # This must come after sysvr4. + sysv*) ;; - -ose*) - os=-ose + ose*) + os=ose ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - os=-mint + *mint | mint[0-9]* | *MiNT | MiNT[0-9]*) + os=mint ;; - -zvmoe) - os=-zvmoe + zvmoe) + os=zvmoe ;; - -dicos*) - os=-dicos + dicos*) + os=dicos ;; - -pikeos*) + pikeos*) # Until real need of OS specific support for # particular features comes up, bare metal # configurations are quite functional. case $basic_machine in arm*) - os=-eabi + os=eabi ;; *) - os=-elf + os=elf ;; esac ;; - -nacl*) + nacl*) + ;; + ios) ;; - -ios) + none) ;; - -none) + *-eabi) ;; *) - # Get rid of the `-' at the beginning of $os. - os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2 exit 1 ;; @@ -1545,173 +1570,173 @@ else case $basic_machine in score-*) - os=-elf + os=elf ;; spu-*) - os=-elf + os=elf ;; *-acorn) - os=-riscix1.2 + os=riscix1.2 ;; arm*-rebel) - os=-linux + os=linux ;; arm*-semi) - os=-aout + os=aout ;; c4x-* | tic4x-*) - os=-coff + os=coff ;; c8051-*) - os=-elf + os=elf ;; hexagon-*) - os=-elf + os=elf ;; tic54x-*) - os=-coff + os=coff ;; tic55x-*) - os=-coff + os=coff ;; tic6x-*) - os=-coff + os=coff ;; # This must come before the *-dec entry. pdp10-*) - os=-tops20 + os=tops20 ;; pdp11-*) - os=-none + os=none ;; *-dec | vax-*) - os=-ultrix4.2 + os=ultrix4.2 ;; m68*-apollo) - os=-domain + os=domain ;; i386-sun) - os=-sunos4.0.2 + os=sunos4.0.2 ;; m68000-sun) - os=-sunos3 + os=sunos3 ;; m68*-cisco) - os=-aout + os=aout ;; mep-*) - os=-elf + os=elf ;; mips*-cisco) - os=-elf + os=elf ;; mips*-*) - os=-elf + os=elf ;; or32-*) - os=-coff + os=coff ;; *-tti) # must be before sparc entry or we get the wrong os. - os=-sysv3 + os=sysv3 ;; sparc-* | *-sun) - os=-sunos4.1.1 + os=sunos4.1.1 ;; pru-*) - os=-elf + os=elf ;; *-be) - os=-beos + os=beos ;; *-ibm) - os=-aix + os=aix ;; *-knuth) - os=-mmixware + os=mmixware ;; *-wec) - os=-proelf + os=proelf ;; *-winbond) - os=-proelf + os=proelf ;; *-oki) - os=-proelf + os=proelf ;; *-hp) - os=-hpux + os=hpux ;; *-hitachi) - os=-hiux + os=hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) - os=-sysv + os=sysv ;; *-cbm) - os=-amigaos + os=amigaos ;; *-dg) - os=-dgux + os=dgux ;; *-dolphin) - os=-sysv3 + os=sysv3 ;; m68k-ccur) - os=-rtu + os=rtu ;; m88k-omron*) - os=-luna + os=luna ;; *-next) - os=-nextstep + os=nextstep ;; *-sequent) - os=-ptx + os=ptx ;; *-crds) - os=-unos + os=unos ;; *-ns) - os=-genix + os=genix ;; i370-*) - os=-mvs + os=mvs ;; *-gould) - os=-sysv + os=sysv ;; *-highlevel) - os=-bsd + os=bsd ;; *-encore) - os=-bsd + os=bsd ;; *-sgi) - os=-irix + os=irix ;; *-siemens) - os=-sysv4 + os=sysv4 ;; *-masscomp) - os=-rtu + os=rtu ;; f30[01]-fujitsu | f700-fujitsu) - os=-uxpv + os=uxpv ;; *-rom68k) - os=-coff + os=coff ;; *-*bug) - os=-coff + os=coff ;; *-apple) - os=-macos + os=macos ;; *-atari*) - os=-mint + os=mint ;; *) - os=-none + os=none ;; esac fi @@ -1722,67 +1747,67 @@ vendor=unknown case $basic_machine in *-unknown) case $os in - -riscix*) + riscix*) vendor=acorn ;; - -sunos*) + sunos*) vendor=sun ;; - -cnk*|-aix*) + cnk*|-aix*) vendor=ibm ;; - -beos*) + beos*) vendor=be ;; - -hpux*) + hpux*) vendor=hp ;; - -mpeix*) + mpeix*) vendor=hp ;; - -hiux*) + hiux*) vendor=hitachi ;; - -unos*) + unos*) vendor=crds ;; - -dgux*) + dgux*) vendor=dg ;; - -luna*) + luna*) vendor=omron ;; - -genix*) + genix*) vendor=ns ;; - -mvs* | -opened*) + mvs* | opened*) vendor=ibm ;; - -os400*) + os400*) vendor=ibm ;; - -ptx*) + ptx*) vendor=sequent ;; - -tpf*) + tpf*) vendor=ibm ;; - -vxsim* | -vxworks* | -windiss*) + vxsim* | vxworks* | windiss*) vendor=wrs ;; - -aux*) + aux*) vendor=apple ;; - -hms*) + hms*) vendor=hitachi ;; - -mpw* | -macos*) + mpw* | macos*) vendor=apple ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + *mint | mint[0-9]* | *MiNT | MiNT[0-9]*) vendor=atari ;; - -vos*) + vos*) vendor=stratus ;; esac @@ -1790,11 +1815,11 @@ case $basic_machine in ;; esac -echo "$basic_machine$os" +echo "$basic_machine-$os" exit # Local variables: -# eval: (add-hook 'write-file-functions 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" diff --git a/build-aux/depcomp b/build-aux/depcomp index fc98710e..b39f98f9 100755 --- a/build-aux/depcomp +++ b/build-aux/depcomp @@ -1,9 +1,9 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2013-05-30.07; # UTC +scriptversion=2016-01-11.22; # UTC -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -786,6 +786,6 @@ exit 0 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/build-aux/install-sh b/build-aux/install-sh index 0b0fdcbb..0360b79e 100755 --- a/build-aux/install-sh +++ b/build-aux/install-sh @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2013-12-25.23; # UTC +scriptversion=2016-01-11.22; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -496,6 +496,6 @@ done # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/build-aux/mdate-sh b/build-aux/mdate-sh index e8dfaca1..f80075c0 100755 --- a/build-aux/mdate-sh +++ b/build-aux/mdate-sh @@ -1,9 +1,9 @@ #!/bin/sh # Get modification time of a file or directory and pretty-print it. -scriptversion=2010-08-21.06; # UTC +scriptversion=2016-01-11.22; # UTC -# Copyright (C) 1995-2014 Free Software Foundation, Inc. +# Copyright (C) 1995-2017 Free Software Foundation, Inc. # written by Ulrich Drepper , June 1995 # # This program is free software; you can redistribute it and/or modify @@ -219,6 +219,6 @@ echo $day $month $year # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/build-aux/missing b/build-aux/missing index f62bbae3..c6e37958 100755 --- a/build-aux/missing +++ b/build-aux/missing @@ -1,9 +1,9 @@ #! /bin/sh # Common wrapper for a few potentially missing GNU programs. -scriptversion=2013-10-28.13; # UTC +scriptversion=2016-01-11.22; # UTC -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify @@ -210,6 +210,6 @@ exit $st # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/build-aux/test-driver b/build-aux/test-driver index 8e575b01..0218a01f 100755 --- a/build-aux/test-driver +++ b/build-aux/test-driver @@ -1,9 +1,9 @@ #! /bin/sh # test-driver - basic testsuite driver script. -scriptversion=2013-07-13.22; # UTC +scriptversion=2016-01-11.22; # UTC -# Copyright (C) 2011-2014 Free Software Foundation, Inc. +# Copyright (C) 2011-2017 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -143,6 +143,6 @@ echo ":copy-in-global-log: $gcopy" >> $trs_file # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/config.h.in b/config.h.in index a414c2f6..e7461c8e 100644 --- a/config.h.in +++ b/config.h.in @@ -58,6 +58,39 @@ #ifndef __powerpc64_elfv2__ #undef __powerpc64_elfv2__ #endif +#ifndef __riscv32__ +#undef __riscv32__ +#endif +#ifndef __riscv64__ +#undef __riscv64__ +#endif +#ifndef __riscv32_ilp32__ +#undef __riscv32_ilp32__ +#endif +#ifndef __riscv32_ilp32f__ +#undef __riscv32_ilp32f__ +#endif +#ifndef __riscv32_ilp32d__ +#undef __riscv32_ilp32d__ +#endif +#ifndef __riscv64_ilp32__ +#undef __riscv64_ilp32__ +#endif +#ifndef __riscv64_ilp32f__ +#undef __riscv64_ilp32f__ +#endif +#ifndef __riscv64_ilp32d__ +#undef __riscv64_ilp32d__ +#endif +#ifndef __riscv64_lp64__ +#undef __riscv64_lp64__ +#endif +#ifndef __riscv64_lp64f__ +#undef __riscv64_lp64f__ +#endif +#ifndef __riscv64_lp64d__ +#undef __riscv64_lp64d__ +#endif #ifndef __s390__ #undef __s390__ #endif @@ -525,9 +558,6 @@ /* Define to 1 if you have the `getlocalename_l' function. */ #undef HAVE_GETLOCALENAME_L -/* Define to 1 if you have the `getpagesize' function. */ -#undef HAVE_GETPAGESIZE - /* Define to 1 if you have the `getprogname' function. */ #undef HAVE_GETPROGNAME @@ -2127,6 +2157,13 @@ # define _GL_ATTRIBUTE_CONST /* empty */ #endif +/* The __malloc__ attribute was added in gcc 3. */ +#if 3 <= __GNUC__ +# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) +#else +# define _GL_ATTRIBUTE_MALLOC /* empty */ +#endif + /* Define to an unsigned 32-bit type if lacks this type. */ #undef useconds_t diff --git a/configure b/configure index ee83f88b..6de4ee29 100755 --- a/configure +++ b/configure @@ -731,6 +731,7 @@ INT64_MAX_EQ_LONG_MAX INT32_MAX_LT_INTMAX_MAX REPLACE_STRTOUMAX REPLACE_STRTOIMAX +HAVE_IMAXDIV_T HAVE_DECL_STRTOUMAX HAVE_DECL_STRTOIMAX HAVE_DECL_IMAXDIV @@ -1285,6 +1286,7 @@ REPLACE_CHOWN HAVE_SYS_PARAM_H HAVE_OS_H HAVE_DECL_TTYNAME_R +HAVE_DECL_TRUNCATE HAVE_DECL_SETHOSTNAME HAVE_DECL_GETUSERSHELL HAVE_DECL_GETPAGESIZE @@ -1296,7 +1298,6 @@ HAVE_DECL_FCHDIR HAVE_DECL_ENVIRON HAVE_USLEEP HAVE_UNLINKAT -HAVE_TRUNCATE HAVE_SYMLINKAT HAVE_SYMLINK HAVE_SLEEP @@ -1863,6 +1864,10 @@ LIBUNISTRING_COMPILE_UNICASE_U8_TOTITLE_FALSE LIBUNISTRING_COMPILE_UNICASE_U8_TOTITLE_TRUE LIBUNISTRING_COMPILE_UNICASE_U8_TOLOWER_FALSE LIBUNISTRING_COMPILE_UNICASE_U8_TOLOWER_TRUE +LIBUNISTRING_COMPILE_UNICASE_U8_SUFFIX_CONTEXT_FALSE +LIBUNISTRING_COMPILE_UNICASE_U8_SUFFIX_CONTEXT_TRUE +LIBUNISTRING_COMPILE_UNICASE_U8_PREFIX_CONTEXT_FALSE +LIBUNISTRING_COMPILE_UNICASE_U8_PREFIX_CONTEXT_TRUE LIBUNISTRING_COMPILE_UNICASE_U8_IS_UPPERCASE_FALSE LIBUNISTRING_COMPILE_UNICASE_U8_IS_UPPERCASE_TRUE LIBUNISTRING_COMPILE_UNICASE_U8_IS_TITLECASE_FALSE @@ -1895,6 +1900,10 @@ LIBUNISTRING_COMPILE_UNICASE_U32_TOTITLE_FALSE LIBUNISTRING_COMPILE_UNICASE_U32_TOTITLE_TRUE LIBUNISTRING_COMPILE_UNICASE_U32_TOLOWER_FALSE LIBUNISTRING_COMPILE_UNICASE_U32_TOLOWER_TRUE +LIBUNISTRING_COMPILE_UNICASE_U32_SUFFIX_CONTEXT_FALSE +LIBUNISTRING_COMPILE_UNICASE_U32_SUFFIX_CONTEXT_TRUE +LIBUNISTRING_COMPILE_UNICASE_U32_PREFIX_CONTEXT_FALSE +LIBUNISTRING_COMPILE_UNICASE_U32_PREFIX_CONTEXT_TRUE LIBUNISTRING_COMPILE_UNICASE_U32_IS_UPPERCASE_FALSE LIBUNISTRING_COMPILE_UNICASE_U32_IS_UPPERCASE_TRUE LIBUNISTRING_COMPILE_UNICASE_U32_IS_TITLECASE_FALSE @@ -1927,6 +1936,10 @@ LIBUNISTRING_COMPILE_UNICASE_U16_TOTITLE_FALSE LIBUNISTRING_COMPILE_UNICASE_U16_TOTITLE_TRUE LIBUNISTRING_COMPILE_UNICASE_U16_TOLOWER_FALSE LIBUNISTRING_COMPILE_UNICASE_U16_TOLOWER_TRUE +LIBUNISTRING_COMPILE_UNICASE_U16_SUFFIX_CONTEXT_FALSE +LIBUNISTRING_COMPILE_UNICASE_U16_SUFFIX_CONTEXT_TRUE +LIBUNISTRING_COMPILE_UNICASE_U16_PREFIX_CONTEXT_FALSE +LIBUNISTRING_COMPILE_UNICASE_U16_PREFIX_CONTEXT_TRUE LIBUNISTRING_COMPILE_UNICASE_U16_IS_UPPERCASE_FALSE LIBUNISTRING_COMPILE_UNICASE_U16_IS_UPPERCASE_TRUE LIBUNISTRING_COMPILE_UNICASE_U16_IS_TITLECASE_FALSE @@ -7368,6 +7381,8 @@ fi # Code from module unicase/u16-is-titlecase-tests: # Code from module unicase/u16-is-uppercase: # Code from module unicase/u16-is-uppercase-tests: + # Code from module unicase/u16-prefix-context: + # Code from module unicase/u16-suffix-context: # Code from module unicase/u16-tolower: # Code from module unicase/u16-tolower-tests: # Code from module unicase/u16-totitle: @@ -7397,6 +7412,8 @@ fi # Code from module unicase/u32-is-titlecase-tests: # Code from module unicase/u32-is-uppercase: # Code from module unicase/u32-is-uppercase-tests: + # Code from module unicase/u32-prefix-context: + # Code from module unicase/u32-suffix-context: # Code from module unicase/u32-tolower: # Code from module unicase/u32-tolower-tests: # Code from module unicase/u32-totitle: @@ -7426,6 +7443,8 @@ fi # Code from module unicase/u8-is-titlecase-tests: # Code from module unicase/u8-is-uppercase: # Code from module unicase/u8-is-uppercase-tests: + # Code from module unicase/u8-prefix-context: + # Code from module unicase/u8-suffix-context: # Code from module unicase/u8-tolower: # Code from module unicase/u8-tolower-tests: # Code from module unicase/u8-totitle: @@ -17750,6 +17769,80 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext gl_cv_host_cpu_c_abi=powerpc ;; + riscv32 | riscv64 ) + # There are 2 architectures (with variants): rv32* and rv64*. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if __riscv_xlen == 64 + int ok; + #else + error fail + #endif + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cpu=riscv64 +else + cpu=riscv32 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d. + # Size of 'long' and 'void *': + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if defined __LP64__ + int ok; + #else + error fail + #endif + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + main_abi=lp64 +else + main_abi=ilp32 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + # Float ABIs: + # __riscv_float_abi_double: + # 'float' and 'double' are passed in floating-point registers. + # __riscv_float_abi_single: + # 'float' are passed in floating-point registers. + # __riscv_float_abi_soft: + # No values are passed in floating-point registers. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if defined __riscv_float_abi_double + int ok; + #else + error fail + #endif + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + float_abi=d +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if defined __riscv_float_abi_single + int ok; + #else + error fail + #endif + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + float_abi=f +else + float_abi='' +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + gl_cv_host_cpu_c_abi="${cpu}-${main_abi}${float_abi}" + ;; + s390* ) # On s390x, the C compiler may be generating 64-bit (= s390x) code # or 31-bit (= s390) code. @@ -18183,7 +18276,7 @@ if test "${with_libiconv_prefix+set}" = set; then : additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ - && ! test -d "$withval/$acl_libdirstem"; then + && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi @@ -21040,7 +21133,7 @@ if test "${with_libpth_prefix+set}" = set; then : additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ - && ! test -d "$withval/$acl_libdirstem"; then + && test ! -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi @@ -21669,7 +21762,7 @@ else int main () { -#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ +#if defined _WIN32 && ! defined __CYGWIN__ choke me #endif @@ -22057,7 +22150,7 @@ int main () return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -22206,7 +22299,7 @@ int main () return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -22343,7 +22436,7 @@ int main () { variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -24492,7 +24585,6 @@ q HAVE_SLEEP=1; HAVE_SYMLINK=1; HAVE_SYMLINKAT=1; - HAVE_TRUNCATE=1; HAVE_UNLINKAT=1; HAVE_USLEEP=1; HAVE_DECL_ENVIRON=1; @@ -24504,6 +24596,7 @@ q HAVE_DECL_GETPAGESIZE=1; HAVE_DECL_GETUSERSHELL=1; HAVE_DECL_SETHOSTNAME=1; + HAVE_DECL_TRUNCATE=1; HAVE_DECL_TTYNAME_R=1; HAVE_OS_H=0; HAVE_SYS_PARAM_H=0; @@ -25170,7 +25263,7 @@ nocrash_init (void) } } } -#elif (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ +#elif defined _WIN32 && ! defined __CYGWIN__ /* Avoid a crash on native Windows. */ #define WIN32_LEAN_AND_MEAN #include @@ -25959,7 +26052,7 @@ nocrash_init (void) } } } -#elif (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ +#elif defined _WIN32 && ! defined __CYGWIN__ /* Avoid a crash on native Windows. */ #define WIN32_LEAN_AND_MEAN #include @@ -26223,7 +26316,7 @@ int main () { return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -26657,6 +26750,7 @@ $as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h HAVE_DECL_IMAXDIV=1; HAVE_DECL_STRTOIMAX=1; HAVE_DECL_STRTOUMAX=1; + HAVE_IMAXDIV_T=1; REPLACE_STRTOIMAX=0; REPLACE_STRTOUMAX=0; INT32_MAX_LT_INTMAX_MAX=1; @@ -33462,6 +33556,64 @@ fi + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 10 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNICASE_U16_PREFIX_CONTEXT_TRUE= + LIBUNISTRING_COMPILE_UNICASE_U16_PREFIX_CONTEXT_FALSE='#' +else + LIBUNISTRING_COMPILE_UNICASE_U16_PREFIX_CONTEXT_TRUE='#' + LIBUNISTRING_COMPILE_UNICASE_U16_PREFIX_CONTEXT_FALSE= +fi + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 10 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNICASE_U16_SUFFIX_CONTEXT_TRUE= + LIBUNISTRING_COMPILE_UNICASE_U16_SUFFIX_CONTEXT_FALSE='#' +else + LIBUNISTRING_COMPILE_UNICASE_U16_SUFFIX_CONTEXT_TRUE='#' + LIBUNISTRING_COMPILE_UNICASE_U16_SUFFIX_CONTEXT_FALSE= +fi + + + + if { test "$HAVE_LIBUNISTRING" != yes \ || { @@ -33926,6 +34078,64 @@ fi + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 10 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNICASE_U32_PREFIX_CONTEXT_TRUE= + LIBUNISTRING_COMPILE_UNICASE_U32_PREFIX_CONTEXT_FALSE='#' +else + LIBUNISTRING_COMPILE_UNICASE_U32_PREFIX_CONTEXT_TRUE='#' + LIBUNISTRING_COMPILE_UNICASE_U32_PREFIX_CONTEXT_FALSE= +fi + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 10 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNICASE_U32_SUFFIX_CONTEXT_TRUE= + LIBUNISTRING_COMPILE_UNICASE_U32_SUFFIX_CONTEXT_FALSE='#' +else + LIBUNISTRING_COMPILE_UNICASE_U32_SUFFIX_CONTEXT_TRUE='#' + LIBUNISTRING_COMPILE_UNICASE_U32_SUFFIX_CONTEXT_FALSE= +fi + + + + if { test "$HAVE_LIBUNISTRING" != yes \ || { @@ -34390,6 +34600,64 @@ fi + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 10 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNICASE_U8_PREFIX_CONTEXT_TRUE= + LIBUNISTRING_COMPILE_UNICASE_U8_PREFIX_CONTEXT_FALSE='#' +else + LIBUNISTRING_COMPILE_UNICASE_U8_PREFIX_CONTEXT_TRUE='#' + LIBUNISTRING_COMPILE_UNICASE_U8_PREFIX_CONTEXT_FALSE= +fi + + + + + if { test "$HAVE_LIBUNISTRING" != yes \ + || { + + + + test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ + || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ + && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ + || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ + && test $LIBUNISTRING_VERSION_SUBMINOR -lt 10 + } + } + } + + + + + } + }; then + LIBUNISTRING_COMPILE_UNICASE_U8_SUFFIX_CONTEXT_TRUE= + LIBUNISTRING_COMPILE_UNICASE_U8_SUFFIX_CONTEXT_FALSE='#' +else + LIBUNISTRING_COMPILE_UNICASE_U8_SUFFIX_CONTEXT_TRUE='#' + LIBUNISTRING_COMPILE_UNICASE_U8_SUFFIX_CONTEXT_FALSE= +fi + + + + if { test "$HAVE_LIBUNISTRING" != yes \ || { @@ -41849,7 +42117,7 @@ else # include # include # include -# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ +# if defined _WIN32 && ! defined __CYGWIN__ # include # endif #endif @@ -49761,7 +50029,7 @@ int main () { return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -49900,7 +50168,7 @@ int main () { variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -50031,7 +50299,7 @@ int main () { return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -50172,7 +50440,7 @@ int main () { implement the Turkish upper-/lowercase mappings. Therefore, let this program return 1 on BeOS. */ /* Check whether the given locale name is recognized by the system. */ -#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +#if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -50600,18 +50868,37 @@ $as_echo "#define GNULIB_TEST_FDOPEN 1" >>confdefs.h - for ac_func in getpagesize -do : - ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" -if test "x$ac_cv_func_getpagesize" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_GETPAGESIZE 1 + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpagesize" >&5 +$as_echo_n "checking for getpagesize... " >&6; } +if ${gl_cv_func_getpagesize+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +return getpagesize(); + ; + return 0; +} + _ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gl_cv_func_getpagesize=yes +else + gl_cv_func_getpagesize=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext fi -done +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getpagesize" >&5 +$as_echo "$gl_cv_func_getpagesize" >&6; } - if test $ac_cv_func_getpagesize = no; then + if test $gl_cv_func_getpagesize = no; then HAVE_GETPAGESIZE=0 for ac_header in OS.h do : @@ -51942,7 +52229,7 @@ int main () { return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -52081,7 +52368,7 @@ int main () { variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -52213,7 +52500,7 @@ int main () return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -52362,7 +52649,7 @@ int main () return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -52499,7 +52786,7 @@ int main () { variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -53449,7 +53736,7 @@ int main () { return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -53588,7 +53875,7 @@ int main () { variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -53720,7 +54007,7 @@ int main () return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -53869,7 +54156,7 @@ int main () return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -54463,7 +54750,7 @@ else /* For non-mingw systems, compilation will trivially succeed. For mingw, compilation will succeed for older mingw (system printf, "I64d") and fail for newer mingw (gnu printf, "lld"). */ - #if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) && \ + #if (defined _WIN32 && ! defined __CYGWIN__) && \ (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) extern char PRIdMAX_probe[sizeof PRIdMAX == sizeof "I64d" ? 1 : -1]; #endif @@ -54888,7 +55175,7 @@ int main () { return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -55027,7 +55314,7 @@ int main () { variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -55159,7 +55446,7 @@ int main () return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -55305,7 +55592,7 @@ int main () { implement the Turkish upper-/lowercase mappings. Therefore, let this program return 1 on BeOS. */ /* Check whether the given locale name is recognized by the system. */ -#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +#if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -55438,7 +55725,7 @@ int main () return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -55578,7 +55865,7 @@ int main () { return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -55717,7 +56004,7 @@ int main () { variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -55848,7 +56135,7 @@ int main () { return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -55987,7 +56274,7 @@ int main () { variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -56118,7 +56405,7 @@ int main () { return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -56231,7 +56518,7 @@ int main () { return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -56370,7 +56657,7 @@ int main () { variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -56501,7 +56788,7 @@ int main () { return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -56640,7 +56927,7 @@ int main () { variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -56771,7 +57058,7 @@ int main () { return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -56910,7 +57197,7 @@ int main () { variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -57041,7 +57328,7 @@ int main () { return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -57180,7 +57467,7 @@ int main () { variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -58679,7 +58966,7 @@ int main () { return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -59388,7 +59675,7 @@ int main () { return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -59527,7 +59814,7 @@ int main () { variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -59659,7 +59946,7 @@ int main () return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -59808,7 +60095,7 @@ int main () return 1; #else /* Check whether the given locale name is recognized by the system. */ -# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ +# if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE @@ -60979,6 +61266,14 @@ if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_IS_UPPERCASE_TRUE}" && test -z "$ as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_IS_UPPERCASE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_PREFIX_CONTEXT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_PREFIX_CONTEXT_FALSE}"; then + as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_PREFIX_CONTEXT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_SUFFIX_CONTEXT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_SUFFIX_CONTEXT_FALSE}"; then + as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_SUFFIX_CONTEXT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_TOLOWER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U16_TOLOWER_FALSE}"; then as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U16_TOLOWER\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -61043,6 +61338,14 @@ if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_IS_UPPERCASE_TRUE}" && test -z "$ as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_IS_UPPERCASE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_PREFIX_CONTEXT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_PREFIX_CONTEXT_FALSE}"; then + as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_PREFIX_CONTEXT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_SUFFIX_CONTEXT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_SUFFIX_CONTEXT_FALSE}"; then + as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_SUFFIX_CONTEXT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_TOLOWER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U32_TOLOWER_FALSE}"; then as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U32_TOLOWER\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -61107,6 +61410,14 @@ if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_IS_UPPERCASE_TRUE}" && test -z "${ as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_IS_UPPERCASE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_PREFIX_CONTEXT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_PREFIX_CONTEXT_FALSE}"; then + as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_PREFIX_CONTEXT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_SUFFIX_CONTEXT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_SUFFIX_CONTEXT_FALSE}"; then + as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_SUFFIX_CONTEXT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_TOLOWER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_U8_TOLOWER_FALSE}"; then as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNICASE_U8_TOLOWER\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 diff --git a/doc/Makefile.in b/doc/Makefile.in index d9711450..1568e873 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2014 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -806,6 +806,7 @@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TANL = @HAVE_DECL_TANL@ HAVE_DECL_TRUNC = @HAVE_DECL_TRUNC@ +HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TRUNCF = @HAVE_DECL_TRUNCF@ HAVE_DECL_TRUNCL = @HAVE_DECL_TRUNCL@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ @@ -856,6 +857,7 @@ HAVE_HYPOTL = @HAVE_HYPOTL@ HAVE_ILOGB = @HAVE_ILOGB@ HAVE_ILOGBF = @HAVE_ILOGBF@ HAVE_ILOGBL = @HAVE_ILOGBL@ +HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_ISNAND = @HAVE_ISNAND@ @@ -974,7 +976,6 @@ HAVE_TANHF = @HAVE_TANHF@ HAVE_TANL = @HAVE_TANL@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ -HAVE_TRUNCATE = @HAVE_TRUNCATE@ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ HAVE_TZSET = @HAVE_TZSET@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ diff --git a/doc/libunistring.info b/doc/libunistring.info index c4be8a4c..f6822abb 100644 --- a/doc/libunistring.info +++ b/doc/libunistring.info @@ -1,4 +1,4 @@ -This is libunistring.info, produced by makeinfo version 6.3 from +This is libunistring.info, produced by makeinfo version 6.4 from libunistring.texi. INFO-DIR-SECTION Software development @@ -201,7 +201,6 @@ as internal in-memory representation. * Locale encodings:: What is a locale encoding? * In-memory representation:: How to represent strings in memory? * char * strings:: What to keep in mind with ‘char *’ strings -* The wchar_t mess:: Why ‘wchar_t *’ strings are useless * Unicode strings:: How are Unicode strings represented?  @@ -6682,91 +6681,91 @@ Index Tag Table: Node: Top269 Node: Introduction3950 -Node: Unicode6043 -Node: Unicode and i18n7928 -Node: Locale encodings9590 -Node: In-memory representation11855 -Node: char * strings13853 -Node: Unicode strings19340 -Node: Conventions20523 -Node: unitypes.h22815 -Node: unistr.h23912 -Node: Elementary string checks24477 -Node: Elementary string conversions25099 -Node: Elementary string functions26977 -Node: Iterating27382 -Node: Creating Unicode strings30212 -Node: Copying Unicode strings31130 -Node: Comparing Unicode strings32743 -Node: Searching for a character34298 -Node: Counting characters35097 -Node: Elementary string functions with memory allocation35780 -Node: Elementary string functions on NUL terminated strings36402 -Node: Iterating over a NUL terminated Unicode string37001 -Node: Length39269 -Node: Copying a NUL terminated Unicode string40327 -Node: Comparing NUL terminated Unicode strings43431 -Node: Duplicating a NUL terminated Unicode string45527 -Node: Searching for a character in a NUL terminated Unicode string46296 -Node: Searching for a substring49060 -Node: Tokenizing50583 -Node: uniconv.h51456 -Node: unistdio.h59409 -Node: uniname.h67662 -Node: unictype.h69068 -Node: General category69996 -Node: Object oriented API71051 -Node: Bit mask API80892 -Node: Canonical combining class83187 -Node: Bidi class87421 -Node: Decimal digit value90834 -Node: Digit value91391 -Node: Numeric value91952 -Node: Mirrored character92854 -Node: Arabic shaping93547 -Node: Joining type94020 -Node: Joining group96170 -Node: Properties99608 -Node: Properties as objects100299 -Node: Properties as functions107321 -Node: Scripts113337 -Node: Blocks114742 -Node: ISO C and Java syntax116085 -Node: Classifications like in ISO C117803 -Node: uniwidth.h120615 -Node: unigbrk.h122661 -Node: Grapheme cluster breaks in a string124155 -Node: Grapheme cluster break property127090 -Node: uniwbrk.h129335 -Node: Word breaks in a string129873 -Node: Word break property130965 -Node: unilbrk.h132292 -Node: uninorm.h136588 -Node: Decomposition of characters137225 -Node: Composition of characters141006 -Node: Normalization of strings141719 -Node: Normalizing comparisons143892 -Node: Normalization of streams146390 -Node: unicase.h148515 -Node: Case mappings of characters149204 -Node: Case mappings of strings151353 -Node: Case mappings of substrings154992 -Node: Case insensitive comparison162202 -Node: Case detection167895 -Node: uniregex.h171209 -Node: Using the library171436 -Node: Installation171847 -Node: Compiler options172335 -Node: Include files173975 -Node: Autoconf macro175228 -Node: Reporting problems176868 -Node: More functionality177686 -Node: The wchar_t mess178137 -Node: Licenses180475 -Node: GNU GPL182904 -Node: GNU LGPL220649 -Node: GNU FDL229132 -Node: Index254441 +Node: Unicode5971 +Node: Unicode and i18n7856 +Node: Locale encodings9518 +Node: In-memory representation11783 +Node: char * strings13781 +Node: Unicode strings19268 +Node: Conventions20451 +Node: unitypes.h22743 +Node: unistr.h23840 +Node: Elementary string checks24405 +Node: Elementary string conversions25027 +Node: Elementary string functions26905 +Node: Iterating27310 +Node: Creating Unicode strings30140 +Node: Copying Unicode strings31058 +Node: Comparing Unicode strings32671 +Node: Searching for a character34226 +Node: Counting characters35025 +Node: Elementary string functions with memory allocation35708 +Node: Elementary string functions on NUL terminated strings36330 +Node: Iterating over a NUL terminated Unicode string36929 +Node: Length39197 +Node: Copying a NUL terminated Unicode string40255 +Node: Comparing NUL terminated Unicode strings43359 +Node: Duplicating a NUL terminated Unicode string45455 +Node: Searching for a character in a NUL terminated Unicode string46224 +Node: Searching for a substring48988 +Node: Tokenizing50511 +Node: uniconv.h51384 +Node: unistdio.h59337 +Node: uniname.h67590 +Node: unictype.h68996 +Node: General category69924 +Node: Object oriented API70979 +Node: Bit mask API80820 +Node: Canonical combining class83115 +Node: Bidi class87349 +Node: Decimal digit value90762 +Node: Digit value91319 +Node: Numeric value91880 +Node: Mirrored character92782 +Node: Arabic shaping93475 +Node: Joining type93948 +Node: Joining group96098 +Node: Properties99536 +Node: Properties as objects100227 +Node: Properties as functions107249 +Node: Scripts113265 +Node: Blocks114670 +Node: ISO C and Java syntax116013 +Node: Classifications like in ISO C117731 +Node: uniwidth.h120543 +Node: unigbrk.h122589 +Node: Grapheme cluster breaks in a string124083 +Node: Grapheme cluster break property127018 +Node: uniwbrk.h129263 +Node: Word breaks in a string129801 +Node: Word break property130893 +Node: unilbrk.h132220 +Node: uninorm.h136516 +Node: Decomposition of characters137153 +Node: Composition of characters140934 +Node: Normalization of strings141647 +Node: Normalizing comparisons143820 +Node: Normalization of streams146318 +Node: unicase.h148443 +Node: Case mappings of characters149132 +Node: Case mappings of strings151281 +Node: Case mappings of substrings154920 +Node: Case insensitive comparison162130 +Node: Case detection167823 +Node: uniregex.h171137 +Node: Using the library171364 +Node: Installation171775 +Node: Compiler options172263 +Node: Include files173903 +Node: Autoconf macro175156 +Node: Reporting problems176796 +Node: More functionality177614 +Node: The wchar_t mess178065 +Node: Licenses180403 +Node: GNU GPL182832 +Node: GNU LGPL220577 +Node: GNU FDL229060 +Node: Index254369  End Tag Table diff --git a/doc/libunistring.texi b/doc/libunistring.texi index 6a1d6626..cb5abddf 100644 --- a/doc/libunistring.texi +++ b/doc/libunistring.texi @@ -348,7 +348,6 @@ internal in-memory representation. * Locale encodings:: What is a locale encoding? * In-memory representation:: How to represent strings in memory? * char * strings:: What to keep in mind with @code{char *} strings -* The wchar_t mess:: Why @code{wchar_t *} strings are useless * Unicode strings:: How are Unicode strings represented? @end menu diff --git a/doc/libunistring_1.html b/doc/libunistring_1.html index 8219ef35..02bf2672 100644 --- a/doc/libunistring_1.html +++ b/doc/libunistring_1.html @@ -1,6 +1,6 @@ - + + + + + + + + + + + + + + + + + + + + + + +