Project import generated by Copybara.

NOKEYCHECK=True
GitOrigin-RevId: 7e5521f5382edcb6cae8cad8b3b5c340296d8f0b
diff --git a/ABOUT-NLS b/ABOUT-NLS
new file mode 100644
index 0000000..b1de1b6
--- /dev/null
+++ b/ABOUT-NLS
@@ -0,0 +1,1282 @@
+1 Notes on the Free Translation Project
+***************************************
+
+Free software is going international!  The Free Translation Project is
+a way to get maintainers of free software, translators, and users all
+together, so that free software will gradually become able to speak many
+languages.  A few packages already provide translations for their
+messages.
+
+   If you found this `ABOUT-NLS' file inside a distribution, you may
+assume that the distributed package does use GNU `gettext' internally,
+itself available at your nearest GNU archive site.  But you do _not_
+need to install GNU `gettext' prior to configuring, installing or using
+this package with messages translated.
+
+   Installers will find here some useful hints.  These notes also
+explain how users should proceed for getting the programs to use the
+available translations.  They tell how people wanting to contribute and
+work on translations can contact the appropriate team.
+
+1.1 INSTALL Matters
+===================
+
+Some packages are "localizable" when properly installed; the programs
+they contain can be made to speak your own native language.  Most such
+packages use GNU `gettext'.  Other packages have their own ways to
+internationalization, predating GNU `gettext'.
+
+   By default, this package will be installed to allow translation of
+messages.  It will automatically detect whether the system already
+provides the GNU `gettext' functions.  Installers may use special
+options at configuration time for changing the default behaviour.  The
+command:
+
+     ./configure --disable-nls
+
+will _totally_ disable translation of messages.
+
+   When you already have GNU `gettext' installed on your system and run
+configure without an option for your new package, `configure' will
+probably detect the previously built and installed `libintl' library
+and will decide to use it.  If not, you may have to to use the
+`--with-libintl-prefix' option to tell `configure' where to look for it.
+
+   Internationalized packages usually have many `po/LL.po' files, where
+LL gives an ISO 639 two-letter code identifying the language.  Unless
+translations have been forbidden at `configure' time by using the
+`--disable-nls' switch, all available translations are installed
+together with the package.  However, the environment variable `LINGUAS'
+may be set, prior to configuration, to limit the installed set.
+`LINGUAS' should then contain a space separated list of two-letter
+codes, stating which languages are allowed.
+
+1.2 Using This Package
+======================
+
+As a user, if your language has been installed for this package, you
+only have to set the `LANG' environment variable to the appropriate
+`LL_CC' combination.  If you happen to have the `LC_ALL' or some other
+`LC_xxx' environment variables set, you should unset them before
+setting `LANG', otherwise the setting of `LANG' will not have the
+desired effect.  Here `LL' is an ISO 639 two-letter language code, and
+`CC' is an ISO 3166 two-letter country code.  For example, let's
+suppose that you speak German and live in Germany.  At the shell
+prompt, merely execute `setenv LANG de_DE' (in `csh'),
+`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash').
+This can be done from your `.login' or `.profile' file, once and for
+all.
+
+   You might think that the country code specification is redundant.
+But in fact, some languages have dialects in different countries.  For
+example, `de_AT' is used for Austria, and `pt_BR' for Brazil.  The
+country code serves to distinguish the dialects.
+
+   The locale naming convention of `LL_CC', with `LL' denoting the
+language and `CC' denoting the country, is the one use on systems based
+on GNU libc.  On other systems, some variations of this scheme are
+used, such as `LL' or `LL_CC.ENCODING'.  You can get the list of
+locales supported by your system for your language by running the
+command `locale -a | grep '^LL''.
+
+   Not all programs have translations for all languages.  By default, an
+English message is shown in place of a nonexistent translation.  If you
+understand other languages, you can set up a priority list of languages.
+This is done through a different environment variable, called
+`LANGUAGE'.  GNU `gettext' gives preference to `LANGUAGE' over `LANG'
+for the purpose of message handling, but you still need to have `LANG'
+set to the primary language; this is required by other parts of the
+system libraries.  For example, some Swedish users who would rather
+read translations in German than English for when Swedish is not
+available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'.
+
+   Special advice for Norwegian users: The language code for Norwegian
+bokma*l changed from `no' to `nb' recently (in 2003).  During the
+transition period, while some message catalogs for this language are
+installed under `nb' and some older ones under `no', it's recommended
+for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and
+older translations are used.
+
+   In the `LANGUAGE' environment variable, but not in the `LANG'
+environment variable, `LL_CC' combinations can be abbreviated as `LL'
+to denote the language's main dialect.  For example, `de' is equivalent
+to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT'
+(Portuguese as spoken in Portugal) in this context.
+
+1.3 Translating Teams
+=====================
+
+For the Free Translation Project to be a success, we need interested
+people who like their own language and write it well, and who are also
+able to synergize with other translators speaking the same language.
+Each translation team has its own mailing list.  The up-to-date list of
+teams can be found at the Free Translation Project's homepage,
+`http://translationproject.org/', in the "Teams" area.
+
+   If you'd like to volunteer to _work_ at translating messages, you
+should become a member of the translating team for your own language.
+The subscribing address is _not_ the same as the list itself, it has
+`-request' appended.  For example, speakers of Swedish can send a
+message to `sv-request@li.org', having this message body:
+
+     subscribe
+
+   Keep in mind that team members are expected to participate
+_actively_ in translations, or at solving translational difficulties,
+rather than merely lurking around.  If your team does not exist yet and
+you want to start one, or if you are unsure about what to do or how to
+get started, please write to `coordinator@translationproject.org' to
+reach the coordinator for all translator teams.
+
+   The English team is special.  It works at improving and uniformizing
+the terminology in use.  Proven linguistic skills are praised more than
+programming skills, here.
+
+1.4 Available Packages
+======================
+
+Languages are not equally supported in all packages.  The following
+matrix shows the current state of internationalization, as of June
+2010.  The matrix shows, in regard of each package, for which languages
+PO files have been submitted to translation coordination, with a
+translation percentage of at least 50%.
+
+     Ready PO files       af am an ar as ast az be be@latin bg bn_IN bs ca
+                        +--------------------------------------------------+
+     a2ps               |                       []                      [] |
+     aegis              |                                                  |
+     ant-phone          |                                                  |
+     anubis             |                                                  |
+     aspell             |                []                             [] |
+     bash               |                                                  |
+     bfd                |                                                  |
+     bibshelf           |                []                                |
+     binutils           |                                                  |
+     bison              |                                                  |
+     bison-runtime      |                []                                |
+     bluez-pin          | []             []                                |
+     bombono-dvd        |                                                  |
+     buzztard           |                                                  |
+     cflow              |                                                  |
+     clisp              |                                                  |
+     coreutils          |                                   []          [] |
+     cpio               |                                                  |
+     cppi               |                                                  |
+     cpplib             |                                               [] |
+     cryptsetup         |                                                  |
+     dfarc              |                                                  |
+     dialog             |                             []                [] |
+     dico               |                                                  |
+     diffutils          |                                               [] |
+     dink               |                                                  |
+     doodle             |                                                  |
+     e2fsprogs          |                                               [] |
+     enscript           |                                               [] |
+     exif               |                                                  |
+     fetchmail          |                                               [] |
+     findutils          |                                   []             |
+     flex               |                                               [] |
+     freedink           |                                                  |
+     gas                |                                                  |
+     gawk               |                []                             [] |
+     gcal               |                                               [] |
+     gcc                |                                                  |
+     gettext-examples   | []             []                 []          [] |
+     gettext-runtime    |                                   []          [] |
+     gettext-tools      |                                   []          [] |
+     gip                |                                   []             |
+     gjay               |                                                  |
+     gliv               |                                   []             |
+     glunarclock        |                []                 []             |
+     gnubiff            |                                                  |
+     gnucash            |                                               [] |
+     gnuedu             |                                                  |
+     gnulib             |                                                  |
+     gnunet             |                                                  |
+     gnunet-gtk         |                                                  |
+     gnutls             |                                                  |
+     gold               |                                                  |
+     gpe-aerial         |                                                  |
+     gpe-beam           |                                                  |
+     gpe-bluetooth      |                                                  |
+     gpe-calendar       |                                                  |
+     gpe-clock          |                []                                |
+     gpe-conf           |                                                  |
+     gpe-contacts       |                                                  |
+     gpe-edit           |                                                  |
+     gpe-filemanager    |                                                  |
+     gpe-go             |                                                  |
+     gpe-login          |                                                  |
+     gpe-ownerinfo      |                []                                |
+     gpe-package        |                                                  |
+     gpe-sketchbook     |                                                  |
+     gpe-su             |                []                                |
+     gpe-taskmanager    |                []                                |
+     gpe-timesheet      |                []                                |
+     gpe-today          |                []                                |
+     gpe-todo           |                                                  |
+     gphoto2            |                                                  |
+     gprof              |                                   []             |
+     gpsdrive           |                                                  |
+     gramadoir          |                                                  |
+     grep               |                                                  |
+     grub               |                []                             [] |
+     gsasl              |                                                  |
+     gss                |                                                  |
+     gst-plugins-bad    |                                   []             |
+     gst-plugins-base   |                                   []             |
+     gst-plugins-good   |                                   []             |
+     gst-plugins-ugly   |                                   []             |
+     gstreamer          | []                                []          [] |
+     gtick              |                                                  |
+     gtkam              |                       []                         |
+     gtkorphan          |                                   []             |
+     gtkspell           | []             []     []                         |
+     gutenprint         |                                                  |
+     hello              |                                   []             |
+     help2man           |                                                  |
+     hylafax            |                                                  |
+     idutils            |                                                  |
+     indent             |                                   []          [] |
+     iso_15924          |                                                  |
+     iso_3166           | []          []        []          []  []   [] [] |
+     iso_3166_2         |                                                  |
+     iso_4217           |                                                  |
+     iso_639            |             [] []     []              []         |
+     iso_639_3          |                                                  |
+     jwhois             |                                                  |
+     kbd                |                                                  |
+     keytouch           |                                               [] |
+     keytouch-editor    |                                                  |
+     keytouch-keyboa... |                                               [] |
+     klavaro            |          []                                      |
+     latrine            |                                                  |
+     ld                 |                                   []             |
+     leafpad            |                                   []          [] |
+     libc               |                                   []          [] |
+     libexif            |                       ()                         |
+     libextractor       |                                                  |
+     libgnutls          |                                                  |
+     libgpewidget       |                                                  |
+     libgpg-error       |                                                  |
+     libgphoto2         |                                                  |
+     libgphoto2_port    |                                                  |
+     libgsasl           |                                                  |
+     libiconv           |                                   []             |
+     libidn             |                                                  |
+     lifelines          |                                                  |
+     liferea            |                             []                [] |
+     lilypond           |                                                  |
+     linkdr             |          []                                      |
+     lordsawar          |                                                  |
+     lprng              |                                                  |
+     lynx               |                                               [] |
+     m4                 |                                                  |
+     mailfromd          |                                                  |
+     mailutils          |                                                  |
+     make               |                                                  |
+     man-db             |                                                  |
+     man-db-manpages    |                                                  |
+     minicom            |                                                  |
+     mkisofs            |                                                  |
+     myserver           |                                                  |
+     nano               |                                   []          [] |
+     opcodes            |                                                  |
+     parted             |                                                  |
+     pies               |                                                  |
+     popt               |                                                  |
+     psmisc             |                                                  |
+     pspp               |                                               [] |
+     pwdutils           |                                                  |
+     radius             |                                               [] |
+     recode             |                       []                      [] |
+     rosegarden         |                                                  |
+     rpm                |                                                  |
+     rush               |                                                  |
+     sarg               |                                                  |
+     screem             |                                                  |
+     scrollkeeper       |                    [] []                      [] |
+     sed                |                []                             [] |
+     sharutils          |                                   []          [] |
+     shishi             |                                                  |
+     skencil            |                                                  |
+     solfege            |                                                  |
+     solfege-manual     |                                                  |
+     soundtracker       |                                                  |
+     sp                 |                                                  |
+     sysstat            |                                                  |
+     tar                |                                   []             |
+     texinfo            |                                                  |
+     tin                |                                                  |
+     unicode-han-tra... |                                                  |
+     unicode-transla... |                                                  |
+     util-linux-ng      |                                               [] |
+     vice               |                                                  |
+     vmm                |                                                  |
+     vorbis-tools       |                                                  |
+     wastesedge         |                                                  |
+     wdiff              |                                                  |
+     wget               |                       []                      [] |
+     wyslij-po          |                                                  |
+     xchat              |                []     []          []          [] |
+     xdg-user-dirs      | []    []    [] []     []    []    []  []      [] |
+     xkeyboard-config   |                                   []          [] |
+                        +--------------------------------------------------+
+                          af am an ar as ast az be be@latin bg bn_IN bs ca
+                           6  0  1  2  3 19   1 10     3    28   3    1 38
+
+                          crh cs da  de  el en en_GB en_ZA eo es et eu fa
+                        +-------------------------------------------------+
+     a2ps               |     [] []  []  []     []            [] []       |
+     aegis              |        []  []                       []          |
+     ant-phone          |        []  ()                                   |
+     anubis             |        []  []                                   |
+     aspell             |     [] []  []         []            []          |
+     bash               |     []                           [] []          |
+     bfd                |                                     []          |
+     bibshelf           |        []  []                       []          |
+     binutils           |                                     []          |
+     bison              |            []  []                               |
+     bison-runtime      |        []  []  []                      []       |
+     bluez-pin          |     [] []  []  []                [] []          |
+     bombono-dvd        |        []                                       |
+     buzztard           |     [] []  []                                   |
+     cflow              |        []  []                                   |
+     clisp              |        []  []     []                []          |
+     coreutils          |     [] []  []                          []       |
+     cpio               |                                                 |
+     cppi               |                                                 |
+     cpplib             |        []  []                       []          |
+     cryptsetup         |            []                                   |
+     dfarc              |        []  []                       []          |
+     dialog             |        []  []                    [] []    []    |
+     dico               |                                                 |
+     diffutils          |     [] []  []  []                [] []          |
+     dink               |        []  []                       []          |
+     doodle             |            []                                   |
+     e2fsprogs          |     []     []                       []          |
+     enscript           |        []  []         []                        |
+     exif               |     () []  []                                   |
+     fetchmail          |     [] []  ()  []     []            []          |
+     findutils          |     [] []  []                                   |
+     flex               |            []                       []          |
+     freedink           |        []  []                       []          |
+     gas                |                                     []          |
+     gawk               |        []  []                       []          |
+     gcal               |                                     []          |
+     gcc                |            []                       []          |
+     gettext-examples   |            []  []                [] []          |
+     gettext-runtime    |        []  []                    [] []          |
+     gettext-tools      |            []                       []    []    |
+     gip                |        []  []                       []    []    |
+     gjay               |            []                                   |
+     gliv               |     [] []  []                                   |
+     glunarclock        |        []  []                                   |
+     gnubiff            |            ()                                   |
+     gnucash            |     []     ()  ()     ()            ()          |
+     gnuedu             |        []                           []          |
+     gnulib             |            []                       []          |
+     gnunet             |                                                 |
+     gnunet-gtk         |        []                                       |
+     gnutls             |     []     []                                   |
+     gold               |                                     []          |
+     gpe-aerial         |     [] []  []                       []          |
+     gpe-beam           |     [] []  []                       []          |
+     gpe-bluetooth      |        []  []                                   |
+     gpe-calendar       |        []                                       |
+     gpe-clock          |     [] []  []                       []          |
+     gpe-conf           |     [] []  []                                   |
+     gpe-contacts       |        []  []                       []          |
+     gpe-edit           |        []  []                                   |
+     gpe-filemanager    |        []  []                       []          |
+     gpe-go             |     [] []  []                       []          |
+     gpe-login          |        []  []                                   |
+     gpe-ownerinfo      |     [] []  []                       []          |
+     gpe-package        |        []  []                       []          |
+     gpe-sketchbook     |     [] []  []                       []          |
+     gpe-su             |     [] []  []                       []          |
+     gpe-taskmanager    |     [] []  []                       []          |
+     gpe-timesheet      |     [] []  []                       []          |
+     gpe-today          |     [] []  []                       []          |
+     gpe-todo           |        []  []                       []          |
+     gphoto2            |     [] []  ()         []            []    []    |
+     gprof              |        []  []                       []          |
+     gpsdrive           |        []                           [] []       |
+     gramadoir          |        []  []                    []             |
+     grep               |     []                                          |
+     grub               |        []  []                                   |
+     gsasl              |            []                                   |
+     gss                |                                                 |
+     gst-plugins-bad    |     [] []  []                       []    []    |
+     gst-plugins-base   |     [] []  []                       []    []    |
+     gst-plugins-good   |     [] []  []  []                   []    []    |
+     gst-plugins-ugly   |     [] []  []  []                   []    []    |
+     gstreamer          |     [] []  []                       []    []    |
+     gtick              |        []  ()                    []             |
+     gtkam              |     [] []  ()                    [] []          |
+     gtkorphan          |     [] []  []                    []             |
+     gtkspell           |     [] []  []  []                [] []    []    |
+     gutenprint         |        []  []         []                        |
+     hello              |        []  []                    [] []          |
+     help2man           |            []                                   |
+     hylafax            |            []                       []          |
+     idutils            |        []  []                                   |
+     indent             |     [] []  []                    [] [] [] []    |
+     iso_15924          |        []      ()                [] []          |
+     iso_3166           | []  [] []  []  ()                [] [] [] ()    |
+     iso_3166_2         |                ()                               |
+     iso_4217           |     [] []  []  ()                   [] []       |
+     iso_639            | []  [] []  []  ()                [] []          |
+     iso_639_3          | []                                              |
+     jwhois             |                                     []          |
+     kbd                |     [] []  []  []                   []          |
+     keytouch           |        []  []                                   |
+     keytouch-editor    |        []  []                                   |
+     keytouch-keyboa... |        []                                       |
+     klavaro            |     [] []  []                    []             |
+     latrine            |        []  ()                                   |
+     ld                 |        []                           []          |
+     leafpad            |     [] []  []  []                   []    []    |
+     libc               |     [] []  []                       []          |
+     libexif            |        []  []         ()                        |
+     libextractor       |                                                 |
+     libgnutls          |     []                                          |
+     libgpewidget       |        []  []                                   |
+     libgpg-error       |     []     []                                   |
+     libgphoto2         |        []  ()                                   |
+     libgphoto2_port    |        []  ()                             []    |
+     libgsasl           |                                                 |
+     libiconv           |     [] []  []                    []    []       |
+     libidn             |     []     []                    []             |
+     lifelines          |        []  ()                                   |
+     liferea            |     []     []  []                   []    []    |
+     lilypond           |     []     []                       []          |
+     linkdr             |        []  []                       []          |
+     lordsawar          |        []                                       |
+     lprng              |                                                 |
+     lynx               |     [] []  []                          []       |
+     m4                 |     [] []  []  []                               |
+     mailfromd          |                                                 |
+     mailutils          |                                     []          |
+     make               |        []  []                       []          |
+     man-db             |                                                 |
+     man-db-manpages    |                                                 |
+     minicom            |     [] []  []                       []          |
+     mkisofs            |                                                 |
+     myserver           |                                                 |
+     nano               |            []                       []    []    |
+     opcodes            |            []                       []          |
+     parted             |     []     []                                   |
+     pies               |                                                 |
+     popt               |     [] []  []                    [] []          |
+     psmisc             |     []     []                             []    |
+     pspp               |                                     []          |
+     pwdutils           |        []                                       |
+     radius             |                                     []          |
+     recode             |     [] []  []  []                [] []          |
+     rosegarden         |     ()     ()                       ()          |
+     rpm                |        []  []                       []          |
+     rush               |                                                 |
+     sarg               |                                                 |
+     screem             |                                                 |
+     scrollkeeper       |     [] []  []         []            []          |
+     sed                |     []     []  []                [] [] []       |
+     sharutils          |        []  []                       [] []       |
+     shishi             |                                                 |
+     skencil            |        []  ()                       []          |
+     solfege            |            []                    []    []       |
+     solfege-manual     |                                  []    []       |
+     soundtracker       |        []  []                       []          |
+     sp                 |            []                                   |
+     sysstat            |        []  []                             []    |
+     tar                |     []     []                          [] []    |
+     texinfo            |            []                    [] []          |
+     tin                |            []                          []       |
+     unicode-han-tra... |                                                 |
+     unicode-transla... |                                                 |
+     util-linux-ng      |     [] []  []                       []          |
+     vice               |        ()  ()                                   |
+     vmm                |            []                                   |
+     vorbis-tools       |     []                           []             |
+     wastesedge         |        []                                       |
+     wdiff              |            []                       []          |
+     wget               |     []     []                          []       |
+     wyslij-po          |                                                 |
+     xchat              |     []     []  []                   [] []       |
+     xdg-user-dirs      | []  [] []  []  []                [] [] [] []    |
+     xkeyboard-config   | []  [] []  []                    [] []          |
+                        +-------------------------------------------------+
+                          crh cs da  de  el en en_GB en_ZA eo es et eu fa
+                           5  64 105 117 18  1   8     0   28 89 18 19  0
+
+                          fi  fr  ga gl gu he hi hr hu hy id  is it ja ka kn
+                        +----------------------------------------------------+
+     a2ps               | []  []                          []        []       |
+     aegis              |     []                                 []          |
+     ant-phone          |     []                                 []          |
+     anubis             | []  []                          []     []          |
+     aspell             |     []  []                      []     []          |
+     bash               | []  []                          []        []       |
+     bfd                | []  []                          []                 |
+     bibshelf           | []  []  []                      []     []          |
+     binutils           | []  []                          []                 |
+     bison              | []  []  []                      []                 |
+     bison-runtime      | []  []  []                      []     [] []       |
+     bluez-pin          | []  []  []                [] [] []  []    []       |
+     bombono-dvd        | []                                                 |
+     buzztard           |                                 []                 |
+     cflow              | []      []                      []                 |
+     clisp              |     []                                             |
+     coreutils          |     []  []                []    []     []          |
+     cpio               | []  []  []                      []                 |
+     cppi               | []  []                                             |
+     cpplib             | []  []                          []                 |
+     cryptsetup         |     []                          []     []          |
+     dfarc              | []  []                                 []          |
+     dialog             |     []  [] []                   []  [] [] []       |
+     dico               |                                                    |
+     diffutils          | []  []  [] []    []       []    []     [] []       |
+     dink               |     []                                             |
+     doodle             |         []                             []          |
+     e2fsprogs          |     []                          []                 |
+     enscript           |     []  []             []       []                 |
+     exif               | []  []                          []  [] [] []       |
+     fetchmail          |     []                          []     [] []       |
+     findutils          | []  []  []                []    []     []          |
+     flex               | []  []  []                                         |
+     freedink           | []  []                          []                 |
+     gas                |     []                          []                 |
+     gawk               |     []  []       []             []     () []       |
+     gcal               |     []                                             |
+     gcc                |                                 []                 |
+     gettext-examples   | []  []  []                []    []     [] []       |
+     gettext-runtime    | []  []  []                      []     [] []       |
+     gettext-tools      |     []                          []     [] []       |
+     gip                | []  []  [] []                   []        []       |
+     gjay               | []                                                 |
+     gliv               | []  ()                                             |
+     glunarclock        | []      []                []    []                 |
+     gnubiff            |     ()                          []     ()          |
+     gnucash            | ()  ()           ()       ()           () []       |
+     gnuedu             |     []                                 []          |
+     gnulib             | []  []  []                []           [] []       |
+     gnunet             |                                                    |
+     gnunet-gtk         |     []                                             |
+     gnutls             |     []                                 []          |
+     gold               | []                              []                 |
+     gpe-aerial         | []  []                          []                 |
+     gpe-beam           | []  []                          []        []       |
+     gpe-bluetooth      | []                              []     [] []       |
+     gpe-calendar       | []                                        []       |
+     gpe-clock          | []  []                    []    []        []       |
+     gpe-conf           | []  []                          []        []       |
+     gpe-contacts       | []  []                          []        []       |
+     gpe-edit           | []                              []        []       |
+     gpe-filemanager    | []                        []    []        []       |
+     gpe-go             | []  []                    []    []        []       |
+     gpe-login          | []                              []        []       |
+     gpe-ownerinfo      | []  []                    []    []        []       |
+     gpe-package        | []                              []        []       |
+     gpe-sketchbook     | []  []                          []        []       |
+     gpe-su             | []  []     []             []    []        []       |
+     gpe-taskmanager    | []  []                    []    []        []       |
+     gpe-timesheet      | []  []  []                      []        []       |
+     gpe-today          | []  []  [] []             []    []        []       |
+     gpe-todo           | []                              []        []       |
+     gphoto2            | []  []                    []    []     [] []       |
+     gprof              | []  []  []                      []                 |
+     gpsdrive           |            []                   []     []          |
+     gramadoir          |     []  []                      []                 |
+     grep               | []                                     []          |
+     grub               | []                        []    []     []          |
+     gsasl              | []  []  []                      []     []          |
+     gss                | []  []  []                      []     []          |
+     gst-plugins-bad    | []  []                    []    []     [] []       |
+     gst-plugins-base   | []  []                    []    []     [] []       |
+     gst-plugins-good   | []  []                    []    []     [] []       |
+     gst-plugins-ugly   | []  []                    []    []     [] []       |
+     gstreamer          | []  []                    []    []     []          |
+     gtick              | []  []  []                      []     []          |
+     gtkam              |     []                    []    []     [] []       |
+     gtkorphan          |     []                          []     []          |
+     gtkspell           | []  []  [] []             [] [] []     [] []       |
+     gutenprint         | []  []                    []           []          |
+     hello              | []      []                      []                 |
+     help2man           | []  []                                             |
+     hylafax            |                                 []                 |
+     idutils            | []  []  []                []    []     []          |
+     indent             | []  []  [] []             []    []     [] []       |
+     iso_15924          | []  ()                          []     []          |
+     iso_3166           | []  ()  [] [] [] [] [] [] []    []     [] []       |
+     iso_3166_2         |     ()                    []    []     []          |
+     iso_4217           | []  ()                    []    []     [] []       |
+     iso_639            | []  ()  []    []          []    []     [] []    [] |
+     iso_639_3          |     ()                                 []       [] |
+     jwhois             | []  []                    []    []     []          |
+     kbd                |     []                          []                 |
+     keytouch           | []  []  []                []    []     []          |
+     keytouch-editor    | []      []                []    []     []          |
+     keytouch-keyboa... | []      []                []    []     []          |
+     klavaro            |            []             []                       |
+     latrine            | []                              []     []          |
+     ld                 | []  []  []                      []                 |
+     leafpad            | []  []  []       []       []    []     [] ()       |
+     libc               | []  []     []                   []        []       |
+     libexif            |                                        []          |
+     libextractor       |                                                    |
+     libgnutls          |     []                                 []          |
+     libgpewidget       | []      []                      []        []       |
+     libgpg-error       |     []                                 []          |
+     libgphoto2         |     []                                 [] []       |
+     libgphoto2_port    |     []                                 [] []       |
+     libgsasl           | []  []  []                      []     []          |
+     libiconv           | []  []  []                      []     [] []       |
+     libidn             | []  []                          []     []          |
+     lifelines          |     ()                                             |
+     liferea            |     []                    []           [] []       |
+     lilypond           | []  []                                             |
+     linkdr             | []               []    [] []           []          |
+     lordsawar          |                                                    |
+     lprng              |                                 []                 |
+     lynx               |     []                    []    []     [] []       |
+     m4                 | []  []  [] []                   []        []       |
+     mailfromd          |                                                    |
+     mailutils          |     []                          []                 |
+     make               | []  []  [] []    []    []       []     [] []       |
+     man-db             |                                 []     []          |
+     man-db-manpages    |                                 []                 |
+     minicom            | []  []                    []    []        []       |
+     mkisofs            | []  []                          []     []          |
+     myserver           |                                                    |
+     nano               | []  []  [] []             []           []          |
+     opcodes            | []  []  []                      []                 |
+     parted             |     []                          []     [] []       |
+     pies               |                                                    |
+     popt               | []  []  [] []             []    []  [] [] []       |
+     psmisc             | []  []                          []                 |
+     pspp               |                                                    |
+     pwdutils           |     []                          []                 |
+     radius             |     []                          []                 |
+     recode             | []  []  [] []    []       []    []     []          |
+     rosegarden         | ()  ()                          ()     () ()       |
+     rpm                |                                 []        []       |
+     rush               |                                                    |
+     sarg               |     []                                             |
+     screem             |                                        [] []       |
+     scrollkeeper       | []                        []    []     []          |
+     sed                | []  []  [] []             []    []     [] []       |
+     sharutils          | []  []  []                []    []     [] []       |
+     shishi             |     []                                             |
+     skencil            |     []                                             |
+     solfege            | []  []     []                          []          |
+     solfege-manual     |     []     []                                      |
+     soundtracker       |     []                                 []          |
+     sp                 |     []                                    ()       |
+     sysstat            | []  []                          []     [] []       |
+     tar                | []  []  []                []    []     [] []       |
+     texinfo            |     []                          []     [] []       |
+     tin                |     []                                             |
+     unicode-han-tra... |                                                    |
+     unicode-transla... |     []  []                                         |
+     util-linux-ng      | []  []                    []    []     [] []       |
+     vice               |     ()                    ()           ()          |
+     vmm                |     []                                             |
+     vorbis-tools       |                                 []                 |
+     wastesedge         |     ()                                 ()          |
+     wdiff              | []                                                 |
+     wget               | []  []  []             [] []    []     [] []       |
+     wyslij-po          | []  []                          []                 |
+     xchat              | []  []        []    []    []    []     [] []    [] |
+     xdg-user-dirs      | []  []  [] [] [] [] []    []    []  [] [] []    [] |
+     xkeyboard-config   | []  []                    []    []     []          |
+                        +----------------------------------------------------+
+                          fi  fr  ga gl gu he hi hr hu hy id  is it ja ka kn
+                          105 121 53 20  4  8  3  5 53  2 120  5 84 67  0  4
+
+                          ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne
+                        +-----------------------------------------------+
+     a2ps               |                               []              |
+     aegis              |                                               |
+     ant-phone          |                                               |
+     anubis             |                               []    []        |
+     aspell             |                         []                    |
+     bash               |                                               |
+     bfd                |                                               |
+     bibshelf           |                []             []              |
+     binutils           |                                               |
+     bison              |                               []              |
+     bison-runtime      |       []    [] []             []    []        |
+     bluez-pin          |    [] []    [] []             []              |
+     bombono-dvd        |                                               |
+     buzztard           |                                               |
+     cflow              |                                               |
+     clisp              |                                               |
+     coreutils          |          []                                   |
+     cpio               |                                               |
+     cppi               |                                               |
+     cpplib             |                                               |
+     cryptsetup         |                                               |
+     dfarc              |                   []                          |
+     dialog             |    []       [] []             []    []        |
+     dico               |                                               |
+     diffutils          |                []             []              |
+     dink               |                                               |
+     doodle             |                                               |
+     e2fsprogs          |                                               |
+     enscript           |                                               |
+     exif               |                []                             |
+     fetchmail          |                                               |
+     findutils          |                                               |
+     flex               |                                               |
+     freedink           |                                     []        |
+     gas                |                                               |
+     gawk               |                                               |
+     gcal               |                                               |
+     gcc                |                                               |
+     gettext-examples   |       []       []             [] []           |
+     gettext-runtime    | []                                            |
+     gettext-tools      | []                                            |
+     gip                |                []             []              |
+     gjay               |                                               |
+     gliv               |                                               |
+     glunarclock        |                []                             |
+     gnubiff            |                                               |
+     gnucash            | ()          ()                      ()     () |
+     gnuedu             |                                               |
+     gnulib             |                                               |
+     gnunet             |                                               |
+     gnunet-gtk         |                                               |
+     gnutls             |                               []              |
+     gold               |                                               |
+     gpe-aerial         |                []                             |
+     gpe-beam           |                []                             |
+     gpe-bluetooth      |                []                []           |
+     gpe-calendar       |                []                             |
+     gpe-clock          | []    []       []             [] []           |
+     gpe-conf           | []             []                             |
+     gpe-contacts       | []             []                             |
+     gpe-edit           |                []                             |
+     gpe-filemanager    | []             []                             |
+     gpe-go             | []             []                []           |
+     gpe-login          |                []                             |
+     gpe-ownerinfo      |                []             []              |
+     gpe-package        | []             []                             |
+     gpe-sketchbook     | []             []                             |
+     gpe-su             | []    []       []             [] [] []        |
+     gpe-taskmanager    | [] [] []       []             [] []           |
+     gpe-timesheet      |                []             []              |
+     gpe-today          |       []       []             [] []           |
+     gpe-todo           |                []                   []        |
+     gphoto2            |                                               |
+     gprof              |                               []              |
+     gpsdrive           |                                               |
+     gramadoir          |                                               |
+     grep               |                                               |
+     grub               |                                               |
+     gsasl              |                                               |
+     gss                |                                               |
+     gst-plugins-bad    |             [] []                [] []        |
+     gst-plugins-base   |             [] []                             |
+     gst-plugins-good   |                []                []           |
+     gst-plugins-ugly   |             [] []             [] [] []        |
+     gstreamer          |                                               |
+     gtick              |                                               |
+     gtkam              |                                     []        |
+     gtkorphan          |                []                      []     |
+     gtkspell           |       []    [] []       []    []    [] []     |
+     gutenprint         |                                               |
+     hello              | []             []             []              |
+     help2man           |                                               |
+     hylafax            |                                               |
+     idutils            |                                               |
+     indent             |                                               |
+     iso_15924          |             [] []                             |
+     iso_3166           | [] []       () [] [] []    []       []        |
+     iso_3166_2         |                                               |
+     iso_4217           |             []                      []        |
+     iso_639            |                      []    []                 |
+     iso_639_3          |                            []                 |
+     jwhois             |                []                             |
+     kbd                |                                               |
+     keytouch           |                []                             |
+     keytouch-editor    |                []                             |
+     keytouch-keyboa... |                []                             |
+     klavaro            |                                     []        |
+     latrine            |                []                             |
+     ld                 |                                               |
+     leafpad            | []          [] []                             |
+     libc               | []                                            |
+     libexif            |                                               |
+     libextractor       |                                               |
+     libgnutls          |                               []              |
+     libgpewidget       |                []             []              |
+     libgpg-error       |                                               |
+     libgphoto2         |                                               |
+     libgphoto2_port    |                                               |
+     libgsasl           |                                               |
+     libiconv           |                                               |
+     libidn             |                                               |
+     lifelines          |                                               |
+     liferea            |                                               |
+     lilypond           |                                               |
+     linkdr             |                                               |
+     lordsawar          |                                               |
+     lprng              |                                               |
+     lynx               |                                               |
+     m4                 |                                               |
+     mailfromd          |                                               |
+     mailutils          |                                               |
+     make               | []                                            |
+     man-db             |                                               |
+     man-db-manpages    |                                               |
+     minicom            |                                     []        |
+     mkisofs            |                                               |
+     myserver           |                                               |
+     nano               |                               []    []        |
+     opcodes            |                                               |
+     parted             |                                               |
+     pies               |                                               |
+     popt               | []             []                   []        |
+     psmisc             |                                               |
+     pspp               |                                               |
+     pwdutils           |                                               |
+     radius             |                                               |
+     recode             |                                               |
+     rosegarden         |                                               |
+     rpm                |                                               |
+     rush               |                                               |
+     sarg               |                                               |
+     screem             |                                               |
+     scrollkeeper       |                                     []     [] |
+     sed                |                                               |
+     sharutils          |                                               |
+     shishi             |                                               |
+     skencil            |                                               |
+     solfege            |                                     []        |
+     solfege-manual     |                                               |
+     soundtracker       |                                               |
+     sp                 |                                               |
+     sysstat            |                []                             |
+     tar                |       []                                      |
+     texinfo            |                                     []        |
+     tin                |                                               |
+     unicode-han-tra... |                                               |
+     unicode-transla... |                                               |
+     util-linux-ng      |                                               |
+     vice               |                                               |
+     vmm                |                                               |
+     vorbis-tools       |                                               |
+     wastesedge         |                                               |
+     wdiff              |                                               |
+     wget               |             []                                |
+     wyslij-po          |                                               |
+     xchat              | []             [] []                          |
+     xdg-user-dirs      | [] []       [] [] []       []       [] []     |
+     xkeyboard-config   | []    []    []                                |
+                        +-----------------------------------------------+
+                          ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne
+                          20  5 10  1 13 48  4  2  2  4 24 10 20  3   1
+
+                          nl  nn or pa pl  ps pt pt_BR ro ru rw sk sl sq sr
+                        +---------------------------------------------------+
+     a2ps               | []           []     []  []   [] []       []    [] |
+     aegis              | []                      []      []                |
+     ant-phone          |                         []   []                   |
+     anubis             | []           []                 []                |
+     aspell             | []                           [] []    [] []       |
+     bash               | []                                    []          |
+     bfd                |                                 []                |
+     bibshelf           | []  []                                            |
+     binutils           |                                 []    []          |
+     bison              | []           []                 []                |
+     bison-runtime      | []           []     []  []   [] []       []       |
+     bluez-pin          | []           []         []   [] []    [] []    [] |
+     bombono-dvd        |     []                          ()                |
+     buzztard           | []  []                                            |
+     cflow              |              []                                   |
+     clisp              | []                              []                |
+     coreutils          | []           []     []  []      []       []       |
+     cpio               | []           []                 []                |
+     cppi               |              []                                   |
+     cpplib             | []                                                |
+     cryptsetup         | []                                                |
+     dfarc              |              []                                   |
+     dialog             | []           []         []      []                |
+     dico               |              []                                   |
+     diffutils          | []           []         []   [] []             [] |
+     dink               | ()                                                |
+     doodle             | []                                          []    |
+     e2fsprogs          | []           []                                   |
+     enscript           | []                      []   [] []       []       |
+     exif               | []           []              [] ()    []          |
+     fetchmail          | []           []                 []          []    |
+     findutils          | []           []     []          []       []       |
+     flex               | []           []         []   [] []                |
+     freedink           | []           []                                   |
+     gas                |                                                   |
+     gawk               | []           []         []   []                   |
+     gcal               |                                                   |
+     gcc                |                                                [] |
+     gettext-examples   | []           []     []       [] []    [] []    [] |
+     gettext-runtime    | []  []       []     []       [] []    [] []    [] |
+     gettext-tools      |              []              [] []    [] []    [] |
+     gip                | []           []                 []    []       [] |
+     gjay               |                                                   |
+     gliv               | []           []         []   [] []    []          |
+     glunarclock        | []                      []   []       []       [] |
+     gnubiff            | []                           ()                   |
+     gnucash            | []           ()         ()      ()                |
+     gnuedu             | []                                                |
+     gnulib             | []           []                 []       []       |
+     gnunet             |                                                   |
+     gnunet-gtk         |                                                   |
+     gnutls             | []           []                                   |
+     gold               |                                                   |
+     gpe-aerial         | []                  []  []   [] []       []    [] |
+     gpe-beam           | []                  []  []   [] []       []    [] |
+     gpe-bluetooth      | []                      []                        |
+     gpe-calendar       |                         []      []       []    [] |
+     gpe-clock          | []                  []  []   [] []    [] []    [] |
+     gpe-conf           | []                  []  []   [] []    [] []       |
+     gpe-contacts       |                         []   [] []       []    [] |
+     gpe-edit           | []           []                          []       |
+     gpe-filemanager    | []                              []       []       |
+     gpe-go             | []           []         []   [] []    [] []    [] |
+     gpe-login          | []                      []                        |
+     gpe-ownerinfo      | []                  []  []   [] []    [] []    [] |
+     gpe-package        | []                                       []       |
+     gpe-sketchbook     | []                  []  []   [] []       []    [] |
+     gpe-su             | []                  []  []   [] []    [] []    [] |
+     gpe-taskmanager    | []                  []  []   [] []    [] []    [] |
+     gpe-timesheet      | []                  []  []   [] []    [] []    [] |
+     gpe-today          | []                  []  []   [] []    [] []    [] |
+     gpe-todo           | []                      []      []       []    [] |
+     gphoto2            | []        [] []         []   [] []    []       [] |
+     gprof              | []                      []   []                   |
+     gpsdrive           | []                              []                |
+     gramadoir          | []                                    []          |
+     grep               | []           []                 []    []          |
+     grub               | []           []                 []                |
+     gsasl              | []           []                       []       [] |
+     gss                |              []              []       []          |
+     gst-plugins-bad    | []           []         []      []    []    []    |
+     gst-plugins-base   | []           []         []      []    []          |
+     gst-plugins-good   | []           []         []      []    []          |
+     gst-plugins-ugly   | []           []         []      []    [] []       |
+     gstreamer          | []           []         []      []    []          |
+     gtick              | []                              []    []          |
+     gtkam              | []        [] []         []      []    []          |
+     gtkorphan          | []                                                |
+     gtkspell           | []           []     []  []   [] []    [] [] [] [] |
+     gutenprint         | []                              []                |
+     hello              | []           []                       [] []       |
+     help2man           |              []                 []                |
+     hylafax            | []                                                |
+     idutils            | []           []         []   [] []                |
+     indent             | []           []         []   [] []    []       [] |
+     iso_15924          | []           []                 []       []       |
+     iso_3166           | []  [] [] [] []     ()  []   [] [] [] [] [] [] [] |
+     iso_3166_2         | []           []                          []       |
+     iso_4217           | []  []       []     []          [] []    []    [] |
+     iso_639            | []     [] [] []                 [] [] [] []    [] |
+     iso_639_3          |        [] []                                      |
+     jwhois             | []           []         []   []                   |
+     kbd                | []           []              []                   |
+     keytouch           | []           []                       []          |
+     keytouch-editor    | []           []                       []          |
+     keytouch-keyboa... | []           []                       []          |
+     klavaro            | []                      []                        |
+     latrine            |              []                 []                |
+     ld                 |                                                   |
+     leafpad            | []  []       []     []  []      []    [] []    [] |
+     libc               | []           []                 []    []          |
+     libexif            | []           []         ()            []          |
+     libextractor       |                                                   |
+     libgnutls          | []           []                                   |
+     libgpewidget       | []           []                          []       |
+     libgpg-error       |              []              []                   |
+     libgphoto2         | []           []                                   |
+     libgphoto2_port    | []           []         []      []    []          |
+     libgsasl           | []           []              []       []       [] |
+     libiconv           | []           []                       [] []    [] |
+     libidn             | []           []                                   |
+     lifelines          | []           []                                   |
+     liferea            | []           []     []  []   [] ()    ()    []    |
+     lilypond           | []                                                |
+     linkdr             | []                  []          []                |
+     lordsawar          |                                                   |
+     lprng              |              []                                   |
+     lynx               | []                      []      []                |
+     m4                 | []           []         []   [] []                |
+     mailfromd          |              []                                   |
+     mailutils          |              []                                   |
+     make               | []           []         []      []                |
+     man-db             | []           []                 []                |
+     man-db-manpages    | []           []                 []                |
+     minicom            |              []         []   [] []                |
+     mkisofs            | []           []                 []                |
+     myserver           |                                                   |
+     nano               | []           []         []      []                |
+     opcodes            | []                           []                   |
+     parted             | []           []                 []    []          |
+     pies               |              []                                   |
+     popt               | []           []     []          []                |
+     psmisc             | []           []                 []                |
+     pspp               | []                      []                        |
+     pwdutils           |              []                                   |
+     radius             | []           []                 []                |
+     recode             | []           []     []  []   [] []    [] []       |
+     rosegarden         |              ()                 ()                |
+     rpm                | []           []     []                            |
+     rush               | []           []                                   |
+     sarg               |                                                   |
+     screem             |                                                   |
+     scrollkeeper       | []  []       []              [] []    []    [] [] |
+     sed                | []           []     []  []   [] []    [] []    [] |
+     sharutils          | []           []                 []             [] |
+     shishi             |              []                                   |
+     skencil            |                     []  []                        |
+     solfege            | []           []         []      []                |
+     solfege-manual     | []           []         []                        |
+     soundtracker       |                                       []          |
+     sp                 |                                                   |
+     sysstat            | []           []         []      []                |
+     tar                | []           []                 []       []       |
+     texinfo            | []           []              [] []                |
+     tin                |                                 []                |
+     unicode-han-tra... |                                                   |
+     unicode-transla... |                                                   |
+     util-linux-ng      | []           []         []      []       []       |
+     vice               | []                                                |
+     vmm                | []                                                |
+     vorbis-tools       | []           []                                   |
+     wastesedge         | []                                                |
+     wdiff              | []           []                                   |
+     wget               | []           []     []  []      []    [] []       |
+     wyslij-po          | []  []       []                                   |
+     xchat              | []        [] []     []          []    [] [] [] [] |
+     xdg-user-dirs      | []  [] [] [] []  [] []  []   [] []    [] [] [] [] |
+     xkeyboard-config   | []           []                 []                |
+                        +---------------------------------------------------+
+                          nl  nn or pa pl  ps pt pt_BR ro ru rw sk sl sq sr
+                          135 10  4  7 105  1 29  62   47 91  3 54 46  9 37
+
+                          sv  sw ta te tg th tr uk vi  wa zh_CN zh_HK zh_TW
+                        +---------------------------------------------------+
+     a2ps               | []              [] [] [] []                       | 27
+     aegis              |                          []                       |  9
+     ant-phone          | []                 []    []      []               |  9
+     anubis             | []                 [] [] []                       | 15
+     aspell             |                       [] []  []                   | 20
+     bash               | []                    [] []                       | 12
+     bfd                |                          []                       |  6
+     bibshelf           | []                       []      []               | 16
+     binutils           |                       [] []                       |  8
+     bison              | []                       []                       | 12
+     bison-runtime      | []              []    [] []      []          []   | 29
+     bluez-pin          | []              [] [] [] []  []  []          []   | 37
+     bombono-dvd        |                          []                       |  4
+     buzztard           |                          []                       |  7
+     cflow              |                       [] []      []               |  9
+     clisp              |                                                   | 10
+     coreutils          | []                    [] []      []               | 22
+     cpio               | []                 [] [] []      []          []   | 13
+     cppi               |                       [] []                       |  5
+     cpplib             | []                 [] [] []      []          []   | 14
+     cryptsetup         | []                       []                       |  7
+     dfarc              |                          []                       |  9
+     dialog             | []  []          []       []  []  []          []   | 30
+     dico               |                       []                          |  2
+     diffutils          | []                 [] [] []      []          []   | 30
+     dink               |                                                   |  4
+     doodle             | []                       []                       |  7
+     e2fsprogs          | []                 []    []                       | 11
+     enscript           | []                 [] [] []                       | 17
+     exif               | []                       []      []               | 16
+     fetchmail          |                    []    []      []               | 17
+     findutils          | []                 [] [] []      []               | 20
+     flex               | []                 []    []                  []   | 15
+     freedink           |                          []                       | 10
+     gas                |                    []                             |  4
+     gawk               | []                 []    []      []               | 18
+     gcal               | []                 []                             |  5
+     gcc                | []                 []            []               |  7
+     gettext-examples   | []                 [] [] []      []    []    []   | 34
+     gettext-runtime    | []                 [] [] []      []    []    []   | 29
+     gettext-tools      | []                 [] [] []      []          []   | 22
+     gip                | []                       []      []          []   | 22
+     gjay               |                          []                       |  3
+     gliv               | []                 []    []                       | 14
+     glunarclock        | []                       []  []  []          []   | 19
+     gnubiff            | []                       []                       |  4
+     gnucash            |                    () [] ()      []          ()   | 10
+     gnuedu             |                          []                  []   |  7
+     gnulib             | []                    [] []      []               | 16
+     gnunet             |                          []                       |  1
+     gnunet-gtk         | []                 []    []                       |  5
+     gnutls             | []                       []      []               | 10
+     gold               |                          []                       |  4
+     gpe-aerial         | []                       []      []               | 18
+     gpe-beam           | []                       []      []               | 19
+     gpe-bluetooth      | []                       []      []               | 13
+     gpe-calendar       | []                       []  []  []               | 12
+     gpe-clock          | []                 []    []  []  []               | 28
+     gpe-conf           | []                       []  []  []               | 20
+     gpe-contacts       | []                       []      []               | 17
+     gpe-edit           | []                       []      []               | 12
+     gpe-filemanager    | []                       []  []  []               | 16
+     gpe-go             | []                 []    []  []  []               | 25
+     gpe-login          | []                       []      []               | 11
+     gpe-ownerinfo      | []                 []    []      []          []   | 25
+     gpe-package        | []                       []      []               | 13
+     gpe-sketchbook     | []                       []      []               | 20
+     gpe-su             | []                 []    []  []  []               | 30
+     gpe-taskmanager    | []                 []    []  []  []               | 29
+     gpe-timesheet      | []                 []    []      []          []   | 25
+     gpe-today          | []                 []    []  []  []          []   | 30
+     gpe-todo           | []                       []  []  []               | 17
+     gphoto2            | []                    [] []      []          []   | 24
+     gprof              | []                 []    []                       | 15
+     gpsdrive           | []                       []      []               | 11
+     gramadoir          | []                       []      []               | 11
+     grep               |                 []       []      []               | 10
+     grub               | []                       []      []               | 14
+     gsasl              | []                       []      []          []   | 14
+     gss                | []                       []      []               | 11
+     gst-plugins-bad    | []                 []    []      []               | 26
+     gst-plugins-base   | []                 [] [] []      []               | 24
+     gst-plugins-good   | []                 []    []      []               | 24
+     gst-plugins-ugly   | []                 [] [] []      []               | 29
+     gstreamer          | []                    [] []      []               | 22
+     gtick              |                       [] []      []               | 13
+     gtkam              | []                       []      []               | 20
+     gtkorphan          | []                       []      []               | 14
+     gtkspell           | []              [] [] [] []  []  []    []    []   | 45
+     gutenprint         | []                                                | 10
+     hello              | []              [] []    []      []          []   | 21
+     help2man           | []                       []                       |  7
+     hylafax            |                          []                       |  5
+     idutils            | []                 []    []      []               | 17
+     indent             | []                 [] [] []      []          []   | 30
+     iso_15924          |                 ()    [] ()      []          []   | 16
+     iso_3166           | []        []    () [] [] ()  []  []    []    ()   | 53
+     iso_3166_2         |                 ()    [] ()      []               |  9
+     iso_4217           | []              () [] [] ()      []    []         | 26
+     iso_639            | []     [] []    ()    [] ()  []  []    []    []   | 38
+     iso_639_3          |        []                ()                       |  8
+     jwhois             | []                 []    []      []          []   | 16
+     kbd                | []                 [] [] []      []               | 15
+     keytouch           | []                       []      []               | 16
+     keytouch-editor    | []                       []      []               | 14
+     keytouch-keyboa... | []                       []      []               | 14
+     klavaro            |                          []                       | 11
+     latrine            |                    []    []      []               | 10
+     ld                 | []                 []    []                  []   | 11
+     leafpad            | []                 [] [] []      []          []   | 33
+     libc               | []                 []    []      []          []   | 21
+     libexif            |                          []      ()               |  7
+     libextractor       |                          []                       |  1
+     libgnutls          | []                       []      []               |  9
+     libgpewidget       | []                       []      []               | 14
+     libgpg-error       | []                       []      []               |  9
+     libgphoto2         |                       [] []                       |  8
+     libgphoto2_port    | []                    [] []                  []   | 14
+     libgsasl           | []                       []      []               | 13
+     libiconv           | []                       []  []  []               | 21
+     libidn             | ()                       []      []               | 11
+     lifelines          | []                                                |  4
+     liferea            | []                 []            []               | 21
+     lilypond           |                          []                       |  7
+     linkdr             | []                 []    []      []          []   | 17
+     lordsawar          |                                                   |  1
+     lprng              |                          []                       |  3
+     lynx               | []                 [] [] []                       | 17
+     m4                 | []                       []      []          []   | 19
+     mailfromd          |                       [] []                       |  3
+     mailutils          |                          []                       |  5
+     make               | []                 []    []      []               | 21
+     man-db             | []                       []      []               |  8
+     man-db-manpages    |                                                   |  4
+     minicom            | []                       []                       | 16
+     mkisofs            |                          []      []               |  9
+     myserver           |                                                   |  0
+     nano               | []                       []      []          []   | 21
+     opcodes            | []                 []    []                       | 11
+     parted             | []                 [] [] []                  []   | 15
+     pies               |                       [] []                       |  3
+     popt               | []              [] []    []      []          []   | 27
+     psmisc             | []                       []                       | 11
+     pspp               |                                                   |  4
+     pwdutils           | []                       []                       |  6
+     radius             |                       [] []                       |  9
+     recode             | []                 []    []      []               | 28
+     rosegarden         | ()                                                |  0
+     rpm                | []                       []                  []   | 11
+     rush               |                       [] []                       |  4
+     sarg               |                                                   |  1
+     screem             |                          []                       |  3
+     scrollkeeper       | []                 [] [] []                  []   | 27
+     sed                | []                 []    []      []          []   | 30
+     sharutils          | []                 []    []      []          []   | 22
+     shishi             |                          []                       |  3
+     skencil            | []                       []                       |  7
+     solfege            | []                 []    []      []               | 16
+     solfege-manual     |                    []                             |  8
+     soundtracker       | []                 []    []                       |  9
+     sp                 |                    []                             |  3
+     sysstat            |                          []      []               | 15
+     tar                | []                 [] [] []      []          []   | 23
+     texinfo            | []                 [] [] []      []               | 17
+     tin                |                                                   |  4
+     unicode-han-tra... |                                                   |  0
+     unicode-transla... |                                                   |  2
+     util-linux-ng      | []                 [] [] []                       | 20
+     vice               | ()                 ()                             |  1
+     vmm                |                          []                       |  4
+     vorbis-tools       |                          []                       |  6
+     wastesedge         |                                                   |  2
+     wdiff              | []                       []                       |  7
+     wget               | []                 []    []      []          []   | 26
+     wyslij-po          |                       [] []                       |  8
+     xchat              | []              []    [] []      []          []   | 36
+     xdg-user-dirs      | []     [] []    [] [] [] []      []    []    []   | 63
+     xkeyboard-config   | []                    [] []                       | 22
+                        +---------------------------------------------------+
+       85 teams           sv  sw ta te tg th tr uk vi  wa zh_CN zh_HK zh_TW
+      178 domains         119  1  3  3  0 10 65 51 155 17  98     7    41    2618
+
+   Some counters in the preceding matrix are higher than the number of
+visible blocks let us expect.  This is because a few extra PO files are
+used for implementing regional variants of languages, or language
+dialects.
+
+   For a PO file in the matrix above to be effective, the package to
+which it applies should also have been internationalized and
+distributed as such by its maintainer.  There might be an observable
+lag between the mere existence a PO file and its wide availability in a
+distribution.
+
+   If June 2010 seems to be old, you may fetch a more recent copy of
+this `ABOUT-NLS' file on most GNU archive sites.  The most up-to-date
+matrix with full percentage details can be found at
+`http://translationproject.org/extra/matrix.html'.
+
+1.5 Using `gettext' in new packages
+===================================
+
+If you are writing a freely available program and want to
+internationalize it you are welcome to use GNU `gettext' in your
+package.  Of course you have to respect the GNU Library General Public
+License which covers the use of the GNU `gettext' library.  This means
+in particular that even non-free programs can use `libintl' as a shared
+library, whereas only free software can use `libintl' as a static
+library or use modified versions of `libintl'.
+
+   Once the sources are changed appropriately and the setup can handle
+the use of `gettext' the only thing missing are the translations.  The
+Free Translation Project is also available for packages which are not
+developed inside the GNU project.  Therefore the information given above
+applies also for every other Free Software Project.  Contact
+`coordinator@translationproject.org' to make the `.pot' files available
+to the translation teams.
+
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..8bedd79
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1 @@
+Bruno Haible <bruno@clisp.org>
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..9fca418
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,24 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_AUTOTOOLS_VARS)
+
+# $(1): autotools build dir
+# $(2): output dir for module
+# $(3): install dir for module
+# $(4): export_includes file
+# $(5): export_pkgconfig file
+define libiconv_cb
+	cd $(2) && \
+	ln -sf libiconv.so libiconv.so.2
+	cd $(3) && \
+	ln -sf libiconv.so libiconv.so.2
+endef
+LOCAL_CLANG  := $(my_cc)
+LOCAL_MODULE := libiconv
+LOCAL_CONFIGURE_HOST := arm-linux
+LOCAL_CFLAGS := -D_ANDROID_
+
+LOCAL_AUTOTOOLS_POST_INSTALL_CALLBACK := libiconv_cb
+
+LOCAL_SOURCE_DIR := $(LOCAL_PATH)
+
+include $(BUILD_AUTOTOOLS_SHARED_LIBRARY)
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..94a9ed0
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,674 @@
+                    GNU GENERAL PUBLIC LICENSE
+                       Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                            Preamble
+
+  The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+  The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works.  By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.  We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors.  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+  To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights.  Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received.  You must make sure that they, too, receive
+or can get the source code.  And you must show them these terms so they
+know their rights.
+
+  Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+  For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software.  For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+  Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so.  This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software.  The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable.  Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products.  If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+  Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary.  To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+                       TERMS AND CONDITIONS
+
+  0. Definitions.
+
+  "This License" refers to version 3 of the GNU General Public License.
+
+  "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+  "The Program" refers to any copyrightable work licensed under this
+License.  Each licensee is addressed as "you".  "Licensees" and
+"recipients" may be individuals or organizations.
+
+  To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy.  The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+  A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+  To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy.  Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+  To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies.  Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+  An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License.  If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+  1. Source Code.
+
+  The "source code" for a work means the preferred form of the work
+for making modifications to it.  "Object code" means any non-source
+form of a work.
+
+  A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+  The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form.  A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+  The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities.  However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work.  For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+  The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+  The Corresponding Source for a work in source code form is that
+same work.
+
+  2. Basic Permissions.
+
+  All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met.  This License explicitly affirms your unlimited
+permission to run the unmodified Program.  The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work.  This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+  You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force.  You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright.  Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+  Conveying under any other circumstances is permitted solely under
+the conditions stated below.  Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+  No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+  When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+  4. Conveying Verbatim Copies.
+
+  You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+  You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+  5. Conveying Modified Source Versions.
+
+  You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+    a) The work must carry prominent notices stating that you modified
+    it, and giving a relevant date.
+
+    b) The work must carry prominent notices stating that it is
+    released under this License and any conditions added under section
+    7.  This requirement modifies the requirement in section 4 to
+    "keep intact all notices".
+
+    c) You must license the entire work, as a whole, under this
+    License to anyone who comes into possession of a copy.  This
+    License will therefore apply, along with any applicable section 7
+    additional terms, to the whole of the work, and all its parts,
+    regardless of how they are packaged.  This License gives no
+    permission to license the work in any other way, but it does not
+    invalidate such permission if you have separately received it.
+
+    d) If the work has interactive user interfaces, each must display
+    Appropriate Legal Notices; however, if the Program has interactive
+    interfaces that do not display Appropriate Legal Notices, your
+    work need not make them do so.
+
+  A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit.  Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+  6. Conveying Non-Source Forms.
+
+  You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+    a) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by the
+    Corresponding Source fixed on a durable physical medium
+    customarily used for software interchange.
+
+    b) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by a
+    written offer, valid for at least three years and valid for as
+    long as you offer spare parts or customer support for that product
+    model, to give anyone who possesses the object code either (1) a
+    copy of the Corresponding Source for all the software in the
+    product that is covered by this License, on a durable physical
+    medium customarily used for software interchange, for a price no
+    more than your reasonable cost of physically performing this
+    conveying of source, or (2) access to copy the
+    Corresponding Source from a network server at no charge.
+
+    c) Convey individual copies of the object code with a copy of the
+    written offer to provide the Corresponding Source.  This
+    alternative is allowed only occasionally and noncommercially, and
+    only if you received the object code with such an offer, in accord
+    with subsection 6b.
+
+    d) Convey the object code by offering access from a designated
+    place (gratis or for a charge), and offer equivalent access to the
+    Corresponding Source in the same way through the same place at no
+    further charge.  You need not require recipients to copy the
+    Corresponding Source along with the object code.  If the place to
+    copy the object code is a network server, the Corresponding Source
+    may be on a different server (operated by you or a third party)
+    that supports equivalent copying facilities, provided you maintain
+    clear directions next to the object code saying where to find the
+    Corresponding Source.  Regardless of what server hosts the
+    Corresponding Source, you remain obligated to ensure that it is
+    available for as long as needed to satisfy these requirements.
+
+    e) Convey the object code using peer-to-peer transmission, provided
+    you inform other peers where the object code and Corresponding
+    Source of the work are being offered to the general public at no
+    charge under subsection 6d.
+
+  A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+  A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling.  In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage.  For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product.  A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+  "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source.  The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+  If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information.  But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+  The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed.  Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+  Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+  7. Additional Terms.
+
+  "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law.  If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+  When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it.  (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.)  You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+  Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+    a) Disclaiming warranty or limiting liability differently from the
+    terms of sections 15 and 16 of this License; or
+
+    b) Requiring preservation of specified reasonable legal notices or
+    author attributions in that material or in the Appropriate Legal
+    Notices displayed by works containing it; or
+
+    c) Prohibiting misrepresentation of the origin of that material, or
+    requiring that modified versions of such material be marked in
+    reasonable ways as different from the original version; or
+
+    d) Limiting the use for publicity purposes of names of licensors or
+    authors of the material; or
+
+    e) Declining to grant rights under trademark law for use of some
+    trade names, trademarks, or service marks; or
+
+    f) Requiring indemnification of licensors and authors of that
+    material by anyone who conveys the material (or modified versions of
+    it) with contractual assumptions of liability to the recipient, for
+    any liability that these contractual assumptions directly impose on
+    those licensors and authors.
+
+  All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10.  If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term.  If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+  If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+  Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+  8. Termination.
+
+  You may not propagate or modify a covered work except as expressly
+provided under this License.  Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+  However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+  Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+  Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License.  If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+  9. Acceptance Not Required for Having Copies.
+
+  You are not required to accept this License in order to receive or
+run a copy of the Program.  Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance.  However,
+nothing other than this License grants you permission to propagate or
+modify any covered work.  These actions infringe copyright if you do
+not accept this License.  Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+  10. Automatic Licensing of Downstream Recipients.
+
+  Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License.  You are not responsible
+for enforcing compliance by third parties with this License.
+
+  An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations.  If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+  You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License.  For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+  11. Patents.
+
+  A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based.  The
+work thus licensed is called the contributor's "contributor version".
+
+  A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version.  For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+  Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+  In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement).  To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+  If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients.  "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+  If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+  A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License.  You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+  Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+  12. No Surrender of Others' Freedom.
+
+  If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all.  For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+  13. Use with the GNU Affero General Public License.
+
+  Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work.  The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+  14. Revised Versions of this License.
+
+  The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+  Each version is given a distinguishing version number.  If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation.  If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+  If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+  Later license versions may give you additional or different
+permissions.  However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+  15. Disclaimer of Warranty.
+
+  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. Limitation of Liability.
+
+  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+  17. Interpretation of Sections 15 and 16.
+
+  If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+                     END OF TERMS AND CONDITIONS
+
+            How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+  If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+    <program>  Copyright (C) <year>  <name of author>
+    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+  You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<http://www.gnu.org/licenses/>.
+
+  The GNU General Public License does not permit incorporating your program
+into proprietary programs.  If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library.  If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.  But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
diff --git a/COPYING.LIB b/COPYING.LIB
new file mode 100644
index 0000000..778d0bb
--- /dev/null
+++ b/COPYING.LIB
@@ -0,0 +1,482 @@
+		  GNU LIBRARY GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1991 Free Software Foundation, Inc.
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the library GPL.  It is
+ numbered 2 because it goes with version 2 of the ordinary GPL.]
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+  This license, the Library General Public License, applies to some
+specially designated Free Software Foundation software, and to any
+other libraries whose authors decide to use it.  You can use it for
+your libraries, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if
+you distribute copies of the library, or if you modify it.
+
+  For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you.  You must make sure that they, too, receive or can get the source
+code.  If you link a program with the library, you must provide
+complete object files to the recipients so that they can relink them
+with the library, after making changes to the library and recompiling
+it.  And you must show them these terms so they know their rights.
+
+  Our method of protecting your rights has two steps: (1) copyright
+the library, and (2) offer you this license which gives you legal
+permission to copy, distribute and/or modify the library.
+
+  Also, for each distributor's protection, we want to make certain
+that everyone understands that there is no warranty for this free
+library.  If the library is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original
+version, so that any problems introduced by others will not reflect on
+the original authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that companies distributing free
+software will individually obtain patent licenses, thus in effect
+transforming the program into proprietary software.  To prevent this,
+we have made it clear that any patent must be licensed for everyone's
+free use or not licensed at all.
+
+  Most GNU software, including some libraries, is covered by the ordinary
+GNU General Public License, which was designed for utility programs.  This
+license, the GNU Library General Public License, applies to certain
+designated libraries.  This license is quite different from the ordinary
+one; be sure to read it in full, and don't assume that anything in it is
+the same as in the ordinary license.
+
+  The reason we have a separate public license for some libraries is that
+they blur the distinction we usually make between modifying or adding to a
+program and simply using it.  Linking a program with a library, without
+changing the library, is in some sense simply using the library, and is
+analogous to running a utility program or application program.  However, in
+a textual and legal sense, the linked executable is a combined work, a
+derivative of the original library, and the ordinary General Public License
+treats it as such.
+
+  Because of this blurred distinction, using the ordinary General
+Public License for libraries did not effectively promote software
+sharing, because most developers did not use the libraries.  We
+concluded that weaker conditions might promote sharing better.
+
+  However, unrestricted linking of non-free programs would deprive the
+users of those programs of all benefit from the free status of the
+libraries themselves.  This Library General Public License is intended to
+permit developers of non-free programs to use free libraries, while
+preserving your freedom as a user of such programs to change the free
+libraries that are incorporated in them.  (We have not seen how to achieve
+this as regards changes in header files, but we have achieved it as regards
+changes in the actual functions of the Library.)  The hope is that this
+will lead to faster development of free libraries.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.  Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library".  The
+former contains code derived from the library, while the latter only
+works together with the library.
+
+  Note that it is possible for a library to be covered by the ordinary
+General Public License rather than by this special one.
+
+		  GNU LIBRARY GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License Agreement applies to any software library which
+contains a notice placed by the copyright holder or other authorized
+party saying it may be distributed under the terms of this Library
+General Public License (also called "this License").  Each licensee is
+addressed as "you".
+
+  A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+  The "Library", below, refers to any such software library or work
+which has been distributed under these terms.  A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language.  (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+  "Source code" for a work means the preferred form of the work for
+making modifications to it.  For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+  Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it).  Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+  
+  1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+  You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+  2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) The modified work must itself be a software library.
+
+    b) You must cause the files modified to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    c) You must cause the whole of the work to be licensed at no
+    charge to all third parties under the terms of this License.
+
+    d) If a facility in the modified Library refers to a function or a
+    table of data to be supplied by an application program that uses
+    the facility, other than as an argument passed when the facility
+    is invoked, then you must make a good faith effort to ensure that,
+    in the event an application does not supply such function or
+    table, the facility still operates, and performs whatever part of
+    its purpose remains meaningful.
+
+    (For example, a function in a library to compute square roots has
+    a purpose that is entirely well-defined independent of the
+    application.  Therefore, Subsection 2d requires that any
+    application-supplied function or table used by this function must
+    be optional: if the application does not supply it, the square
+    root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library.  To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License.  (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.)  Do not make any other change in
+these notices.
+
+  Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+  This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+  4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+  If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library".  Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+  However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library".  The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+  When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library.  The
+threshold for this to be true is not precisely defined by law.
+
+  If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work.  (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+  Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+  6. As an exception to the Sections above, you may also compile or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+  You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License.  You must supply a copy of this License.  If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License.  Also, you must do one
+of these things:
+
+    a) Accompany the work with the complete corresponding
+    machine-readable source code for the Library including whatever
+    changes were used in the work (which must be distributed under
+    Sections 1 and 2 above); and, if the work is an executable linked
+    with the Library, with the complete machine-readable "work that
+    uses the Library", as object code and/or source code, so that the
+    user can modify the Library and then relink to produce a modified
+    executable containing the modified Library.  (It is understood
+    that the user who changes the contents of definitions files in the
+    Library will not necessarily be able to recompile the application
+    to use the modified definitions.)
+
+    b) Accompany the work with a written offer, valid for at
+    least three years, to give the same user the materials
+    specified in Subsection 6a, above, for a charge no more
+    than the cost of performing this distribution.
+
+    c) If distribution of the work is made by offering access to copy
+    from a designated place, offer equivalent access to copy the above
+    specified materials from the same place.
+
+    d) Verify that the user has already received a copy of these
+    materials or that you have already sent this user a copy.
+
+  For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it.  However, as a special exception,
+the source code distributed need not include anything that is normally
+distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+  It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system.  Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+  7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+    a) Accompany the combined library with a copy of the same work
+    based on the Library, uncombined with any other library
+    facilities.  This must be distributed under the terms of the
+    Sections above.
+
+    b) Give prominent notice with the combined library of the fact
+    that part of it is a work based on the Library, and explaining
+    where to find the accompanying uncombined form of the same work.
+
+  8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License.  Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License.  However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+  9. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Library or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+  10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded.  In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+  13. The Free Software Foundation may publish revised and/or new
+versions of the Library General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation.  If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+  14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission.  For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this.  Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+			    NO WARRANTY
+
+  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+     Appendix: How to Apply These Terms to Your New Libraries
+
+  If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change.  You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+  To apply these terms, attach the following notices to the library.  It is
+safest to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the library's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Library General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Library General Public License for more details.
+
+    You should have received a copy of the GNU Library General Public
+    License along with this library; if not, write to the Free
+    Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+    MA 02110-1301, USA
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the
+  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+  <signature of Ty Coon>, 1 April 1990
+  Ty Coon, President of Vice
+
+That's all there is to it!
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..b711364
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,4913 @@
+2011-08-07  Bruno Haible  <bruno@clisp.org>
+
+	* Version 1.14 released.
+
+2011-08-07  Bruno Haible  <bruno@clisp.org>
+
+	* configure.ac: Bump version number to 1.14.
+	* README: Likewise.
+	* include/iconv.h.in (_LIBICONV_VERSION): Likewise.
+	* windows/iconv.rc: Update.
+	* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 7:1:5.
+	* src/iconv.c (print_version): Update copyright year.
+
+2011-08-07  Bruno Haible  <bruno@clisp.org>
+
+	Avoid a test failure on Solaris 2.6 and HP-UX 11.00.
+	* tests/test-to-wchar.c (main): Skip the test if conversion to wchar_t
+	is not supported.
+
+2011-08-07  Bruno Haible  <bruno@clisp.org>
+
+	* tests/check-subst: Add comments about OSF/1.
+
+2011-08-07  Bruno Haible  <bruno@clisp.org>
+
+	* lib/relocatable.c: Update from gnulib.
+
+2011-08-06  Bruno Haible  <bruno@clisp.org>
+
+	Upgrade the GB18030 converter to the version from 2005.
+	* lib/gb18030ext.h (gb18030ext_2uni_pagefe): Change element type to
+	'unsigned int'. Change values for 0xFE51..0xFE53, 0xFE59, 0xFE61,
+	0xFE66, 0xFE67, 0xFE6C, 0xFE6D, 0xFE76, 0xFE7E, 0xFE90, 0xFE91, 0xFEA0.
+	(gb18030ext_mbtowc): Change type of wc to 'unsigned int'. Change values
+	for 0xA6D9..0xA6DF, 0xA6EC..0xA6ED, 0xA6F3, 0xA8BC.
+	(gb18030ext_page9f, gb18030ext_pagefe): New constant arrays.
+	(gb18030ext_wctomb): Change values for U+1E3F, U+9FB4..U+9FBB,
+	U+FE10..U+FE19, U+20087, U+20089, U+200CC, U+215D7, U+2298F, U+241FE.
+	* tests/GB18030-BMP.TXT: Change values for 0xA6D9..0xA6DF,
+	0xA6EC..0xA6ED, 0xA6F3, 0xA8BC, 0xFE51..0xFE53, 0xFE59, 0xFE61, 0xFE66,
+	0xFE67, 0xFE6C, 0xFE6D, 0xFE76, 0xFE7E, 0xFE90, 0xFE91, 0xFEA0, to map
+	to now-assigned Unicode codepoints.
+	* tests/GB18030.IRREVERSIBLE.TXT: New file.
+
+2011-08-06  Bruno Haible  <bruno@clisp.org>
+
+	Fix conversion bug in CP1258 converter.
+	* lib/vietcomb.h (viet_comp_table_data): Remove entry for
+	U+00A5 U+0301. Fix entry for U+00A8 U+0301.
+	(viet_decomp_table): Fix entry for U+0385.
+	* tests/CP1258.IRREVERSIBLE.TXT: Update.
+	Reported by Gertjan Halkes <gertjan@ghalkes.nl>.
+
+2011-07-03  Bruno Haible  <bruno@clisp.org>
+
+	Improve interactive behaviour of iconv program.
+	* src/iconv.c (convert): Flush the output before starting a possibly
+	blocking safe_read call.
+
+2011-07-03  Bruno Haible  <bruno@clisp.org>
+
+	Fix interactive behaviour of iconv program.
+	* Makefile.devel (GNULIB_MODULES): Add safe-read.
+	* src/iconv.c: Include safe-read.h.
+	(convert): Take the infile as a file descriptor, not as a FILE stream.
+	Use safe_read() instead of fread().
+	(main): Update.
+	Reported by Xavier Pucel <xpucel@hotmail.com>.
+
+2011-05-02  Bruno Haible  <bruno@clisp.org>
+
+	Update after gnulib changed.
+	* autogen.sh (GNULIB_MODULES): Remove exit, add stdlib.
+
+2011-06-02  Bruno Haible  <bruno@clisp.org>
+
+	Update after gnulib changed.
+	* gnulib-local/m4/alloca.m4 (gl_FUNC_ALLOCA): Update.
+
+2011-06-04  Bruno Haible  <bruno@clisp.org>
+
+	Work around <wchar.h> bug on OSF/1 5.1.
+	* lib/loop_wchar.h: Before including <wchar.h>, include <stdio.h> and
+	some other includes.
+
+2011-03-27  KO Myung-Hun  <komh@chollian.net>
+
+	Fix installation on OS/2.
+	* src/Makefile.in (all, iconv_no_i18n): Add $(EXEEXT) suffix to
+	iconv_no_i18n. This is the recommended way to use libtool, see
+	<http://lists.gnu.org/archive/html/bug-libtool/2009-04/msg00013.html>.
+
+2011-03-31  Bruno Haible  <bruno@clisp.org>
+
+	gentranslit: Fix buffer overrun.
+	* lib/gentranslit.c (main): Allocate more room for the suffix strings
+	of the translit pages.
+	Reported by Ben Noordhuis <info@bnoordhuis.nl>.
+
+2011-02-28  Bruno Haible  <bruno@clisp.org>
+
+	* lib/relocatable.h: Update from gnulib.
+	* lib/relocatable.c: Likewise.
+
+2011-01-29  Corinna Vinschen  <corinna-cygwin@cygwin.com>
+            Bruno Haible  <bruno@clisp.org>
+
+	Simplify "wchar_t" handling on Cygwin 1.7.x.
+	* lib/iconv.c (iconv_canonicalize): On Cygwin >= 1.7, map
+	ei_local_wchar_t to ei_utf16le or ei_utf16be, not ei_ucs2internal.
+	* lib/iconv_open1.h: Likewise.
+	Rationale: <http://cygwin.com/ml/cygwin/2011-01/msg00410.html>.
+
+2011-01-29  Bruno Haible  <bruno@clisp.org>
+
+	Adjust the meaning of "wchar_t" on native Windows systems.
+	* lib/iconv.c (iconv_canonicalize): On native Windows, map
+	ei_local_wchar_t to ei_utf16le or ei_utf16be, not ei_ucs2internal.
+	* lib/iconv_open1.h: Likewise.
+	Reported by Corinna Vinschen <corinna-cygwin@cygwin.com>
+	in <http://cygwin.com/ml/cygwin/2011-01/msg00410.html>.
+
+2010-11-23  Bruno Haible  <bruno@clisp.org>
+
+	Implement newer release of BIG5-HKSCS.
+	* tools/Makefile (ALL): Add hkscs2008.h.
+	(hkscs2008.h): New rule.
+	* tools/cjk_tab_to_h.c (main): Recognize hkscs2008.
+	* lib/encodings.def: Add BIG5-HKSCS:2008. Change BIG5-HKSCS alias to be
+	equivalent to BIG5-HKSCS:2008.
+	* lib/hkscs2008.h: New file, autogenerated.
+	* lib/big5hkscs2008.h: New file, based on lib/big5hkscs2004.h.
+	* lib/converters.h: Include the new file.
+	* README, man/iconv_open.3: Add BIG5-HKSCS:2004.
+	* tests/BIG5-HKSCS-2008.TXT: New file, based on
+	tests/BIG5-HKSCS-2004.TXT.
+	* tests/BIG5-HKSCS-2008.IRREVERSIBLE.TXT: New file, copied from
+	tests/BIG5-HKSCS-2004.IRREVERSIBLE.TXT
+	* tests/BIG5-HKSCS-2008-snippet: New file, based on
+	tests/BIG5-HKSCS-2004-snippet.
+	* tests/BIG5-HKSCS-2008-snippet.UTF-8: New file, based on
+	tests/BIG5-HKSCS-2004-snippet.UTF-8.
+	* tests/Makefile.in (check): Check also BIG5-HKSCS:2008.
+	Reported by oCameLo <camel322@gmail.com>.
+
+2010-11-23  Bruno Haible  <bruno@clisp.org>
+
+	Make cjk_tab_to_h 64-bit clean.
+	* tools/cjk_tab_to_h.c (do_jisx0213): Add a cast from size_t to int.
+	(output_title): Update copyright year.
+
+2010-09-23  Bruno Haible  <bruno@clisp.org>
+
+	Switch to autoconf 2.68.
+	* autogen.sh: Update comment.
+	* configure.ac: Fix AC_COMPILE_IFELSE invocation.
+	* Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.68.
+	* preload/Makefile.devel (AUTOCONF): Likewise.
+
+2010-09-23  Bruno Haible  <bruno@clisp.org>
+
+	* m4/libtool.m4: Update from libtool-2.4, with modifications:
+	2008-04-06  Bruno Haible  <bruno@clisp.org>
+		* m4/libtool.m4 (LT_INIT): When setting LIBTOOL, use
+		CONFIG_SHELL; don't assume that the Makefile.in will set SHELL
+		to ${CONFIG_SHELL}.
+	* m4/ltversion.m4: Update from libtool-2.4.
+	* build-aux/ltmain.sh: Likewise.
+
+2010-09-23  Bruno Haible  <bruno@clisp.org>
+
+	Simplify use of gnulib-tool now that gnulib-tool --import works better.
+	* autogen.sh: Don't remove gnulib-cache.m4 before running gnulib-tool.
+	* Makefile.devel (srclib/Makefile.gnulib): Depend on 'force'.
+
+2010-07-31  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.67.
+	* preload/Makefile.devel (AUTOCONF): Likewise.
+
+2010-07-03  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.66.
+	* preload/Makefile.devel (AUTOCONF): Likewise.
+
+2010-06-04  Bruno Haible  <bruno@clisp.org>
+
+	Addendum to 2009-10-18 commit.
+	* m4/fcntl-o.m4: New file, from gnulib.
+	* configure.ac: Invoke gl_FCNTL_O_FLAGS.
+	* lib/config.h.in (HAVE_WORKING_O_NOFOLLOW): New macro.
+
+2010-06-04  Bruno Haible  <bruno@clisp.org>
+
+	* m4/libtool.m4: Update from libtool-2.2.8, with modifications:
+	2008-04-06  Bruno Haible  <bruno@clisp.org>
+		* m4/libtool.m4 (LT_INIT): When setting LIBTOOL, use
+		CONFIG_SHELL; don't assume that the Makefile.in will set SHELL
+		to ${CONFIG_SHELL}.
+	* m4/ltoptions.m4: Update from libtool-2.2.8.
+	* m4/ltversion.m4: Likewise.
+	* m4/lt~obsolete.m4: Likewise.
+	* build-aux/ltmain.sh: Likewise.
+
+2010-04-06  Bruno Haible  <bruno@clisp.org>
+
+	Avoid a compilation error of gnulib's test-iconv-h-c++.cc on mingw.
+	* include/iconv.h.in: Restrict the extern "C" { ... } scope so that it
+	doesn't contains #include directives.
+
+2010-03-30  Bruno Haible  <bruno@clisp.org>
+
+	* README.woe32: Update for Cygwin 1.7.x.
+
+2009-12-26  Bruno Haible  <bruno@clisp.org>
+
+	* windows/libiconv.rc: Update.
+	* windows/iconv.rc: Update.
+
+2009-12-11  Bruno Haible  <bruno@clisp.org>
+
+	* include/iconv.h.in: Untabify.
+	* gnulib-local/lib/xalloc.h: Untabify.
+	* woe32dll/export.h: Untabify.
+	* tests/uniq-u.c: Untabify.
+
+2009-12-11  Bruno Haible  <bruno@clisp.org>
+
+	* srclib/Makefile.am (MOSTLYCLEANDIRS): New macro.
+
+2009-12-11  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.65.
+	* preload/Makefile.devel (AUTOCONF): Likewise.
+
+2009-11-22  Bruno Haible  <bruno@clisp.org>
+
+	* tests/check-subst: Add reference to the Solaris printf bug.
+	Reported by Dagobert Michelsen <dagobert@familie-michelsen.de>.
+
+2009-09-01  Bruno Haible  <bruno@clisp.org>
+
+	* README.woe32: Put the -mno-cygwin option into CC and CXX.
+	Recommended by Paolo Bonzini and Eric Blake.
+
+2009-08-15  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.64.
+	* preload/Makefile.devel (AUTOCONF): Likewise.
+
+2009-08-15  Bruno Haible  <bruno@clisp.org>
+
+	Use .git/info/exclude, not .gitignore, for imported or generated files.
+	* Makefile.devel (srclib/Makefile.gnulib): Pass option --no-vc-files to
+	gnulib-tool.
+
+2009-07-07  Bruno Haible  <bruno@clisp.org>
+
+	Fix an endless loop.
+	* lib/loop_wchar.h (wchar_to_loop_convert): Handle the case of
+	incomplete input correctly.
+	* tests/test-to-wchar.c: New file.
+	* tests/Makefile.in (tests-to-wchar, tests-to-wchar.o): New rules.
+	(check): Depend on and run tests-to-wchar.
+	(clean): Add tests-to-wchar.
+	Reported by Tristan Gingold <gingold@adacore.com>.
+
+2009-06-30  Bruno Haible  <bruno@clisp.org>
+
+	* Version 1.13.1 released.
+
+2009-06-30  Bruno Haible  <bruno@clisp.org>
+
+	* configure.ac: Bump version number to 1.13.1.
+	* README: Likewise.
+
+2009-06-04  Bruno Haible  <bruno@clisp.org>
+
+	* preload/Makefile.devel (AUTOCONF): Switch to version 2.63.
+	(ACLOCAL): Switch to version 1.11.
+
+2009-05-19  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (AUTOMAKE, ACLOCAL): Switch to version 1.11.
+	* autogen.sh: Update comments.
+
+2009-04-24  Bruno Haible  <bruno@clisp.org>
+
+	Fix a compilation error on HP-UX 11.00, introduced on 2008-09-16.
+	* src/iconv_open2.h: Don't initialize nonexistent field if
+	!(HAVE_WCRTOMB || HAVE_MBRTOWC).
+	Patch by Joel Brobecker <brobecker@adacore.com>.
+
+2009-04-15  Bruno Haible  <bruno@clisp.org>
+
+	* src/Makefile.in (install, uninstall): Append the $(EXEEXT) suffix
+	explicitly. Needed on Cygwin.
+
+2009-04-11  Bruno Haible  <bruno@clisp.org>
+
+	* configure.ac: Move the statements for WOE32 and WINDRES.
+
+2009-03-26  Bruno Haible  <bruno@clisp.org>
+
+	* Version 1.13 released.
+
+2009-03-26  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c: Update copyright header to GPLv3+.
+	(print_version): Update license info.
+
+2009-03-26  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c (print_version): Bump year.
+
+2009-03-25  Bruno Haible  <bruno@clisp.org>
+
+	* build-aux/config.guess: Update to GNU version 2009-02-03.
+	* build-aux/config.sub: Likewise.
+
+2009-03-25  Bruno Haible  <bruno@clisp.org>
+
+	* configure.ac: Bump version number to 1.13.
+	* README: Likewise.
+	* include/iconv.h.in (_LIBICONV_VERSION): Likewise.
+	* windows/iconv.rc: Update.
+	* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 7:0:5.
+
+2009-03-25  Bruno Haible  <bruno@clisp.org>
+
+	Fix the handling of Windows resources in shared libraries.
+	* configure.ac: Invoke LT_LANG for 'Windows Resource'.
+	* lib/Makefile.in (RC): New variable.
+	(WINDRES): Remove variable.
+	(OBJECTS_RES_yes): Add .lo suffix.
+	(libiconv.res.lo): Renamed from libiconv.res. Use libtool --tag=RC.
+	(clean): Simplify.
+	Based on a patch by Roumen Petrov <bugtrack@roumenpetrov.info>.
+
+2009-03-14  Bruno Haible  <bruno@clisp.org>
+
+	* autogen.sh: Checkout gnulib using 'git' instead of 'cvs'.
+
+2009-01-24  Bruno Haible  <bruno@clisp.org>
+
+	* tools/Makefile (ALL): Add cp1131.h.
+	(cp1131.h): New rule.
+	* lib/encodings.def: Add CP1131.
+	* lib/cp1131.h: New file.
+	* lib/converters.h: Include it.
+	* README, man/iconv_open.3: Add CP1131.
+	* NOTES: Mention CP1131.
+	* tests/CP1131.TXT: New file.
+	* tests/Makefile.in (check): Also test CP1131.
+
+2009-01-17  Bruno Haible  <bruno@clisp.org>
+
+	Add support for "make install-strip".
+	* configure.ac: Search for 'strip'. Invoke AM_PROG_INSTALL_STRIP.
+	* Makefile.in (install-strip): New rule.
+	* src/Makefile.in (STRIP, INSTALL_STRIP_PROGRAM, install_sh): New
+	variables.
+	(install-strip): New rule.
+	* lib/Makefile.in (install-strip): New target.
+	* preload/Makefile.in (install-strip): Likewise.
+	* man/Makefile.in (install-strip): Likewise.
+	Reported by Alon Bar-Lev <alon.barlev@gmail.com>.
+
+2009-01-17  Bruno Haible  <bruno@clisp.org>
+
+	Update after gnulib changed.
+	* src/Makefile.in (RELOCATABLE_STRIP): New variable.
+
+2009-01-17  Bruno Haible  <bruno@clisp.org>
+
+	Make --enable-relocatable work on glibc systems.
+	* src/Makefile.in (host): New variable.
+
+2009-01-17  Bruno Haible  <bruno@clisp.org>
+
+	* lib/genflags.c: Include <string.h>.
+
+2009-01-14  Bruno Haible  <bruno@clisp.org>
+
+	* configure.ac: More consistent m4 quoting.
+	* preload/configure.ac: Likewise.
+
+2008-09-28  Bruno Haible  <bruno@clisp.org>
+
+	* build-aux/ltmain.sh (func_emit_cwrapperexe_src): On mingw,
+	preprocess the argument vector through prepare_spawn.
+
+2008-09-27  Bruno Haible  <bruno@clisp.org>
+
+	* build-aux/config.guess: Update to GNU version 2008-09-08.
+	* build-aux/config.sub: Likewise.
+
+2008-09-26  Bruno Haible  <bruno@clisp.org>
+
+	* tests/test-shiftseq.c (main1, main2): Use ICONV_CONST.
+
+2008-09-26  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (GNULIB_MODULES): Add sigpipe, stdio.
+	* tests/Makefile.in (check, table-from, table-to, test-shiftseq): Link
+	all programs against libicrt.a. Needed for the stdio function
+	replacements on mingw.
+
+2008-09-21  Tadamasa Teranishi  <yw3t-trns@asahi-net.or.jp>
+
+	* lib/encodings_extra.def: Add aliases for EUC-JISX0213, SHIFT_JISX0213,
+	ISO-2022-JP-3, found on <http://x0213.org/codetable/index.en.html>.
+
+2008-09-20  Bruno Haible  <bruno@clisp.org>
+
+	* man/iconv_open_into.3: New file.
+
+2008-09-16  Bruno Haible  <bruno@clisp.org>
+
+	New function iconv_open_into.
+	* include/iconv.h.in: Include <wchar.h> and its prerequisites.
+	(iconv_allocation_t): New type.
+	(iconv_open_into): New declaration.
+	* lib/iconv_open1.h: New file, extracted from lib/iconv.c.
+	* lib/iconv_open2.h: New file, extracted from lib/iconv.c.
+	* lib/iconv.c (iconv_open): Include iconv_open1.h and iconv_open2.h.
+	Verify size of iconv_allocation_t.
+	(iconv_open_into): New function.
+	* lib/loop_wchar.h (struct wchar_conv_struct): Don't define a state
+	field if !(HAVE_WCRTOMB || HAVE_MBRTOWC).
+	* configure.ac: Set and substitute USE_MBSTATE_T, BROKEN_WCHAR_H.
+	Reported by Roman Rybalko <romanr@romanr.info>.
+
+2008-09-16  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.63.
+
+2008-09-16  Bruno Haible  <bruno@clisp.org>
+
+	* include/iconv.h.in: Use Unicode single-quotes in comments.
+
+2008-09-14  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (GNULIB_MODULES): Add strerror.
+
+2008-09-07  Bruno Haible  <bruno@clisp.org>
+
+	Make behaviour when encountering invalid input after a shift sequence
+	more consistent.
+	* lib/converters.h (RET_SHIFT_ILSEQ): New macro.
+	(RET_ILSEQ): Define in terms of RET_SHIFT_ILSEQ.
+	(RET_TOOFEW): Change to avoid collisions with RET_SHIFT_ILSEQ.
+	(DECODE_SHIFT_ILSEQ, DECODE_TOOFEW): New macros.
+	* lib/loop_unicode.h (unicode_loop_convert): Take into account the
+	shift count contained in the negative return values.
+	* lib/hz.h (hz_mbtowc): When encountering invalid input, store the
+	modified state and return RET_SHIFT_ILSEQ.
+	* lib/iso2022_cn.h (iso2022_cn_mbtowc): Likewise.
+	* lib/iso2022_cnext.h (iso2022_cn_ext_mbtowc): Likewise.
+	* lib/iso2022_jp.h (iso2022_jp_mbtowc): Likewise.
+	* lib/iso2022_jp1.h (iso2022_jp1_mbtowc): Likewise.
+	* lib/iso2022_jp2.h (iso2022_jp2_mbtowc): Likewise.
+	* lib/iso2022_jp3.h (iso2022_jp3_mbtowc): Likewise.
+	* lib/iso2022_kr.h (iso2022_kr_mbtowc): Likewise.
+	* lib/ucs2.h (ucs2_mbtowc): Likewise.
+	* lib/ucs4.h (ucs4_mbtowc): Likewise.
+	* lib/utf16.h (utf16_mbtowc): Likewise.
+	* lib/utf32.h (utf32_mbtowc): Likewise.
+	* lib/utf7.h (utf7_mbtowc): Likewise.
+	* lib/utf16be.h (utf16be_mbtowcutf16be_mbtowc): When encountering
+	invalid input, return RET_SHIFT_ILSEQ.
+	* lib/utf16le.h (utf16le_mbtowc): Likewise.
+	* tests/test-shiftseq.c: New file.
+	* tests/Makefile.in (check): Run test-shiftseq.
+	(test-shiftseq, test-shiftseq.@OBJEXT@): New rules.
+	(clean): Remove test-shiftseq executable.
+	Reported by Roman Rybalko <roman_rybalko@users.sourceforge.net>
+	at <http://savannah.gnu.org/bugs/?24216>.
+
+2008-09-07  Bruno Haible  <bruno@clisp.org>
+
+	* man/iconv.3: Clarify the processing of shift-sequences.
+
+2008-09-07  Bruno Haible  <bruno@clisp.org>
+
+	* m4/libtool.m4: Update from libtool-2.2.6, with modifications:
+	2008-04-06  Bruno Haible  <bruno@clisp.org>
+		* m4/libtool.m4 (LT_INIT): When setting LIBTOOL, use
+		CONFIG_SHELL; don't assume that the Makefile.in will set SHELL
+		to ${CONFIG_SHELL}.
+	* m4/ltoptions.m4: Update from libtool-2.2.6.
+	* m4/ltsugar.m4: Likewise.
+	* m4/ltversion.m4: Likewise.
+	* build-aux/ltmain.sh: Likewise.
+
+2008-09-06  Bruno Haible  <bruno@clisp.org>
+
+	* lib/gbk.h (gbk_wctomb): Fix an out-of-bounds write.
+	Reported by Roman Rybalko <roman_rybalko@users.sourceforge.net>
+	at <http://savannah.gnu.org/bugs/?24214>.
+
+2008-06-30  Bruno Haible  <bruno@clisp.org>
+
+	Fix sed expressions to work with the old sed-3.02 on MSYS.
+	* windows/windres-options (sed_extract_major, sed_extract_minor,
+	sed_extract_subminor): Put a semicolon before the closing brace. Use
+	an i\ command instead of an a\ command.
+	Reported by Sunil Negi <sunil.negi@morningstar.com>
+	in <http://article.gmane.org/gmane.comp.gnu.mingw.msys/4410>
+	via Keith Marshall <keithmarshall@users.sourceforge.net>.
+
+2008-05-22  Bruno Haible  <bruno@clisp.org>
+
+	* README.woe32: Update with info from GNU gettext's README.woe32.
+
+2008-05-18  Bruno Haible  <bruno@clisp.org>
+
+	* m4/libtool.m4: Update from libtool-2.2.4, with modifications:
+	2008-04-06  Bruno Haible  <bruno@clisp.org>
+		* m4/libtool.m4 (LT_INIT): When setting LIBTOOL, use
+		CONFIG_SHELL; don't assume that the Makefile.in will set SHELL
+		to ${CONFIG_SHELL}.
+	* m4/ltoptions.m4: Update from libtool-2.2.4.
+	* m4/ltversion.m4: Likewise.
+	* m4/lt~obsolete.m4: Likewise.
+	* build-aux/ltmain.sh: Likewise.
+
+2008-04-14  Bruno Haible  <bruno@clisp.org>
+
+	* tests/Makefile.in (check): Remove *.dSYM directories left over by gcc
+	on MacOS X 10.5.
+
+2008-04-14  Bruno Haible  <bruno@clisp.org>
+
+	* preload/configure.ac: Invoke AC_USE_SYSTEM_EXTENSIONS instead of
+	AC_AIX and AC_MINIX.
+	* Makefile.devel (AUTOCONF, AUTOHEADER): Require autoconf-2.62.
+	* preload/Makefile.devel (AUTOCONF): Likewise.
+	* autogen.sh: Likewise.
+
+2008-04-06  Bruno Haible  <bruno@clisp.org>
+
+	* m4/libtool.m4: Update from libtool-2.2.2, with modifications:
+	2008-04-06  Bruno Haible  <bruno@clisp.org>
+		* m4/libtool.m4 (LT_INIT): When setting LIBTOOL, use
+		CONFIG_SHELL; don't assume that the Makefile.in will set SHELL
+		to ${CONFIG_SHELL}.
+	* m4/ltoptions.m4: New file, from libtool-2.2.2.
+	* m4/ltsugar.m4: New file, from libtool-2.2.2.
+	* m4/ltversion.m4: New file, from libtool-2.2.2.
+	* m4/lt~obsolete.m4: New file, from libtool-2.2.2.
+	* build-aux/ltmain.sh: New file, from libtool-2.2.2.
+	* configure.ac: Use LT_INIT instead of AC_PROG_LIBTOOL.
+	* preload/configure.ac: Likewise.
+
+2008-04-06  Bruno Haible  <bruno@clisp.org>
+
+	More portable way of building the preloadable library.
+	* preload/Makefile.devel: New file.
+	* preload/Makefile.in: New file, based on lib/Makefile.in.
+	* preload/configure.ac: New file, based on configure.ac.
+	* Makefile.devel (all): Recurse into preload directory.
+	* Makefile.in (all, install, installdirs, uninstall, check,
+	mostlyclean, clean, distclean, maintainer-clean): Recurse into preload
+	directory.
+	* configure.ac: Likewise.
+	(OS, GCC, PLUGLIB): Remove definitions.
+	* lib/Makefile.in (all): Don't depend on PLUGLIB.
+	(preloadable_libiconv.so, preloadable_libiconv_linux.so,
+	preloadable_libiconv_solaris.so, preloadable_libiconv_osf.so): Remove
+	rules.
+	(install, uninstall, clean): Don't handle the preloadable library here.
+
+2008-04-06  Bruno Haible  <bruno@clisp.org>
+
+	Avoid a gcc warning.
+	* lib/loop_unicode.h (unicode_loop_convert): Add a cast.
+
+2008-04-06  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c (print_version): Bump year.
+
+2008-04-06  Bruno Haible  <bruno@clisp.org>
+
+	Support all possible nl_langinfo(CODESET) results on the respective
+	platforms, according to libcharset/lib/config.charset.
+	* lib/encodings.def: Add DEFALIAS statements, conditional on
+	USE_AIX_ALIASES, USE_HPUX_ALIASES, USE_OSF1_ALIASES,
+	USE_SOLARIS_ALIASES.
+	* lib/encodings_aix.def: Add DEFALIAS statements, conditional on
+	USE_AIX_ALIASES.
+	* lib/encodings_osf1.def: Add DEFALIAS statements, conditional on
+	USE_OSF1_ALIASES.
+	* lib/genaliases.c (emit_alias): New function, extracted from
+	emit_encoding.
+	(emit_encoding): Use it.
+	(main): Define DEFALIAS.
+	* lib/genaliases2.c (counter): New variable, extracted from
+	emit_encoding.
+	(emit_alias): New function, extracted from emit_encoding.
+	(emit_encoding): Use it.
+	(main): Define DEFALIAS.
+	* lib/genflags.c (main): Define DEFALIAS.
+	* lib/iconv.c (all_encodings): Define DEFALIAS.
+	Include the system dependent variant of aliases.h on the appropriate
+	systems.
+	(all_canonical): Include the system dependent variant of canonical.h,
+	canonical_aix.h, canonical_osf1.h, canonical_local.h on the appropriate
+	systems.
+	* lib/aliases2.h: Include the system dependent variant of
+	aliases_aix.h or aliases_osf1.h on the appropriate systems.
+	* lib/Makefile.in (iconv.lo): Depend on aliases_sysaix.h,
+	aliases_syshpux.h, aliases_sysosf1.h, aliases_syssolaris.h,
+	aliases_aix_sysaix.h, lib/aliases_osf1_sysosf1.h, and also
+	aliases_extra.h, translit.h.
+	* Makefile.devel (all): Depend on lib/aliases_sysaix.h,
+	lib/aliases_syshpux.h, lib/aliases_sysosf1.h, lib/aliases_syssolaris.h,
+	lib/aliases_aix_sysaix.h, lib/aliases_osf1_sysosf1.h.
+	(lib/aliases_sysaix.h, lib/aliases_syshpux.h, lib/aliases_sysosf1.h,
+	lib/aliases_syssolaris.h): New rules.
+	(lib/aliases_aix_sysaix.h): New rule.
+	(lib/aliases_osf1_sysosf1.h): New rule.
+	* autogen.sh: Also remove lib/aliases_sysaix.h, lib/aliases_syshpux.h,
+	lib/aliases_sysosf1.h, lib/aliases_syssolaris.h,
+	lib/aliases_aix_sysaix.h, lib/aliases_osf1_sysosf1.h.
+
+2008-04-06  Bruno Haible  <bruno@clisp.org>
+
+	* build-aux/config.libpath: Remove file, brought in by gnulib-tool.
+	* build-aux/config.rpath: Remove file, brought in by gnulib-tool.
+
+2007-11-11  Bruno Haible  <bruno@clisp.org>
+
+	* Version 1.12 released.
+
+2007-11-11  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (AUTOCONF, AUTOHEADER): Require version 2.61.
+	(AUTOMAKE, ACLOCAL): Require version 1.10.
+	(srclib/Makefile.in): Avoid error from automake.
+
+2007-10-26  Bruno Haible  <bruno@clisp.org>
+
+	* m4/libtool.m4: Update, based on libtool-1.5.24.
+	* build-aux/ltmain.sh: Update, based on libtool-1.5.24.
+
+2007-10-23  Bruno Haible  <bruno@clisp.org>
+
+	* build-aux/config.guess: Update to GNU version 2007-07-22.
+	* build-aux/config.sub: Likewise.
+
+2007-10-23  Bruno Haible  <bruno@clisp.org>
+
+	* configure.ac: Bump version number to 1.12.
+	* README: Likewise.
+
+2007-10-23  Bruno Haible  <bruno@clisp.org>
+
+	Move relocatability infrastructure to gnulib.
+	* gnulib-local/lib/relocatable.h: Remove file.
+	* gnulib-local/lib/relocatable.c: Remove file.
+
+2007-10-23  Bruno Haible  <bruno@clisp.org>
+
+	Update from GNU gettext.
+	2006-11-26  Bruno Haible  <bruno@clisp.org>
+		* gnulib-local/lib/xalloc.h (xmemdup): Add a typesafe C++
+		template variant.
+		Based on a patch from Paul Eggert in gnulib.
+	2006-11-06  Bruno Haible  <bruno@clisp.org>
+		* gnulib-local/lib/xalloc.h (xcharalloc): New macro.
+		(xmemdup): New declaration.
+		* gnulib-local/lib/xstrdup.c (xmemdup): New function.
+	2006-11-03  Bruno Haible  <bruno@clisp.org>
+		* gnulib-local/lib/xalloc.h (XMALLOC, XNMALLOC, XZALLOC,
+		XCALLOC): New macros.
+		(xnboundedmalloc): New inline function.
+		* gnulib-local/lib/xstrdup.c (xstrdup): Use XNMALLOC instead of
+		xmalloc.
+	2006-11-02  Bruno Haible  <bruno@clisp.org>
+		* lib/xalloc.h (xnmalloc): New declaration. From gnulib
+		xalloc.h.
+		* lib/xmalloc.c (fixup_null_alloc): Write NULL, not 0.
+		(xnmalloc): New function.
+
+2007-10-23  Bruno Haible  <bruno@clisp.org>
+
+	Moved module xreadlink to gnulib.
+	* gnulib-local/modules/xreadlink: Remove file.
+	* gnulib-local/lib/xreadlink.h: Remove file.
+	* gnulib-local/lib/xreadlink.c: Remove file.
+	* gnulib-local/m4/xreadlink.m4: Remove file.
+
+2007-10-07  Bruno Haible  <bruno@clisp.org>
+
+	Update program license to GPLv3.
+	* COPYING: Replace with GPL 3.
+	* windows/iconv.rc (Comments): Update.
+
+2007-10-07  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-local/lib/alloca.in.h: Renamed from gnulib-local/lib/alloca_.h.
+
+2007-03-30  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-local/lib/alloca_.h: Change prefix of double-inclusion guard
+	macro to _GL_.
+
+2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+	* gnulib-local/lib/alloca_.h (alloca) [defined alloca]: Don't define or
+	declare.
+
+2007-09-29  Bruno Haible  <bruno@clisp.org>
+
+	* autogen.sh (GNULIB_CVS_ROOT): Change to read-only git mirror
+	valid since 2007-09-19.
+
+2007-07-07  Bruno Haible  <bruno@clisp.org>
+
+	* autogen.sh: Add an option --skip-gnulib.
+
+2007-07-07  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-local/lib/uniwidth.h: Remove file, moved to gnulib.
+	* gnulib-local/lib/width.c: Remove file, moved to gnulib.
+	* gnulib-local/lib/cjk.h: Remove file, moved to gnulib.
+	* gnulib-local/modules/uniwidth: Remove file.
+	* Makefile.devel (GNULIB_MODULES): Remove uniwidth, add uniwidth/width.
+	* src/iconv.c: Include uniwidth/cjk.h instead of cjk.h.
+
+2007-06-30  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c (print_version): Use the standard --version output, see
+	<http://lists.gnu.org/archive/html/bug-gnulib/2007-03/msg00302.html>.
+
+2007-06-30  Bruno Haible  <bruno@clisp.org>
+
+	* autogen.sh: New file.
+	* DEPENDENCIES: New file.
+	* HACKING: New file.
+
+2007-06-30  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c: Provide translator comments for many messages.
+	(conversion_error_EILSEQ, conversion_error_EINVAL,
+	conversion_error_other): New functions, extracted from convert.
+	(convert): Use them.
+	Reported by Tim Van Holder <tim.van.holder@telenet.be>.
+
+2007-06-09  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-local/lib/relocwrapper.c: Remove file.
+
+2007-05-27  Bruno Haible  <bruno@clisp.org>
+
+	* windows/libiconv.rc: New file.
+	* windows/iconv.rc: New file.
+	* windows/windres-options: New file.
+	* configure.ac (WOE32): New variable.
+	(WINDRES) [WOE32]: New variable.
+	* lib/Makefile.in (WINDRES): New variable.
+	(PACKAGE_VERSION): New variable.
+	(OBJECTS_EXP_yes): Renamed from OBJECTS_yes.
+	(OBJECTS_EXP_no): Renamed from OBJECTS_no.
+	(OBJECTS_RES_yes, OBJECTS_RES_no): New variables.
+	(OBJECTS): Add one of them.
+	(libiconv.res): New rule.
+	(clean): Remove also libiconv.res.
+	* src/Makefile.in (WINDRES): New variable.
+	(PACKAGE_VERSION): New variable.
+	(OBJECTS_RES_yes, OBJECTS_RES_no): New variables.
+	(all, iconv_no_i18n, install): Use them.
+	(iconv.res): New rule.
+	(clean): Remove also iconv.res.
+	Suggested and inspired by work by Perry Rapp.
+
+2007-05-27  Bruno Haible  <bruno@clisp.org>
+
+	Follow broken iconv() prototype in POSIX.
+	* configure.ac (ICONV_CONST): Set to empty if the system has no iconv.
+	* lib/config.h.in (ICONV_CONST): Change default value to an empty
+	comment.
+	* src/iconv.c (ICONV_CONST): Change default value to empty.
+	Reported by Andreas Krennmair <ak@synflood.at>.
+
+2007-05-25  Bruno Haible  <bruno@clisp.org>
+
+	* tools/Makefile (ALL): Add rk1048.h.
+	(rk1048.h): New rule.
+	* lib/encodings.def: Add RK1048.
+	* lib/rk1048.h: New file.
+	* lib/converters.h: Include it.
+	* README, man/iconv_open.3: Add RK1048.
+	* NOTES: Mention RK1048.
+	* tests/RK1048.TXT: New file.
+	* tests/Makefile.in (check): Also test RK1048.
+	Suggested by Timur Birsh <team9@host.kz>.
+
+2007-04-24  Bruno Haible  <bruno@clisp.org>
+
+	* man/iconv_open.3: Tweak explanation of TRANSLIT.
+	Reported by Perry Rapp.
+
+2007-04-23  Bruno Haible  <bruno@clisp.org>
+
+	* tests/check-subst: Use the output of 'printf' only if it didn't
+	crash. Needed to work around a buffer overflow in Solaris /bin/printf.
+	Reported by Arto C. Nirkko <anirkko@insel.ch>.
+
+2007-04-23  Bruno Haible  <bruno@clisp.org>
+
+	* lib/iconv.c (iconv_open, iconv_canonicalize): Treat native Woe32
+	systems like those which define __STDC_ISO_10646__.
+	Reported by Keith Marshall <keithmarshall@users.sourceforge.net>.
+
+2007-03-31  Bruno Haible  <bruno@clisp.org>
+
+	* man/iconv.1: Use HYPHEN-MINUS signs instead of HYPHENs where
+	appropriate.
+	* man/iconv_open.3: Likewise.
+	* man/iconv.3: Likewise.
+	* man/iconv_close.3: Likewise.
+	* man/iconvctl.3: Likewise.
+
+2007-03-31  Bruno Haible  <bruno@clisp.org>
+
+	* man/iconv.1: Mark as POSIX compliant.
+	* man/iconv_open.3: Likewise.
+	* man/iconv.3: Likewise.
+	* man/iconv_close.3: Likewise.
+
+	* man/*.[13]: Syntactic simplifications.
+
+2007-03-19  Bruno Haible  <bruno@clisp.org>
+
+	Assume that mkinstalldirs also creates the necessary parent directories.
+	* Makefile.in (install, installdirs): Don't explicitly create the
+	parent directories.
+	* lib/Makefile.in (install, installdirs): Likewise.
+	* src/Makefile.in (install, installdirs): Likewise.
+	* man/Makefile.in (install, installdirs): Likewise.
+	Reported by Thomas Klausner <tk@giga.or.at>.
+
+2007-03-04  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (GNULIB_MODULES): Add relocatable-prog. Remove
+	relocatable, relocwrapper.
+	* configure.ac: Invoke gl_RELOCATABLE instead of AC_RELOCATABLE.
+	* gnulib-local/modules/progreloc: Remove file.
+	* gnulib-local/modules/relocatable: Remove file.
+	* gnulib-local/modules/relocwrapper: Remove file.
+	* gnulib-local/m4/relocatable.m4: Remove file.
+	* gnulib-local/lib/strerror.c.diff: Remove file.
+	* src/Makefile.in: Remove SET_RELOCATABLE invocation. Instead get
+	RELOCATABLE_LDFLAGS and INSTALL_PROGRAM_ENV.
+
+2007-02-19  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-local/lib/xmalloc.c: Don't include exit.h.
+	* src/iconv.c: Likewise.
+
+2007-02-16  Juan Manuel Guerrero  <juan.guerrero@gmx.de>
+
+	* djgpp/*: Update.
+
+2007-02-03  Bruno Haible  <bruno@clisp.org>
+
+	* tools/Makefile (ksc5601.h): Add one extra character.
+	* lib/ksc5601.h: Regenerated.
+	* lib/cp949.h (cp949_mbtowc, cp949_wctomb): Exclude the new character.
+	* tests/EUC-KR.TXT: Add CIRCLED HANGUL IEUNG U.
+	* tests/JOHAB.TXT: Likewise.
+	Reported by Jungshik Shin (신정식, 申政湜) <jungshik@google.com>.
+
+	* lib/euc_kr.h: Update comments.
+	* lib/johab.h: Likewise.
+
+2007-02-03  Bruno Haible  <bruno@clisp.org>
+
+	* tools/cjk_tab_to_h.c (output_title): Bump copyright year.
+
+2007-01-26  Bruno Haible  <bruno@clisp.org>
+
+	Moved streq.h to gnulib.
+	* gnulib-local/lib/streq.h: Remove file.
+	* gnulib-local/modules/uniwidth (Files): Remove lib/streq.h.
+	(Depends-on): Add streq.
+	(lib_SOURCES): Remove streq.h.
+
+2007-01-26  Bruno Haible  <bruno@clisp.org>
+
+	Moved unitypes.h to gnulib.
+	* gnulib-local/lib/unitypes.h: Remove file.
+	* gnulib-local/modules/uniwidth (Files): Remove lib/unitypes.h.
+	(Depends-on): Add unitypes.
+	(lib_SOURCES): Remove unitypes.h.
+
+2007-01-26  Bruno Haible  <bruno@clisp.org>
+
+	Moved canonicalize to gnulib.
+	* gnulib-local/modules/canonicalize: Remove file.
+	* gnulib-local/lib/canonicalize.h: Remove file.
+	* gnulib-local/lib/canonicalize.c: Remove file.
+	* gnulib-local/m4/canonicalize.m4: Remove file.
+	* gnulib-local/modules/progreloc (Depends-on): Replace 'canonicalize'
+	with 'canonicalize-lgpl'.
+
+2006-12-20  Bruno Haible  <bruno@clisp.org>
+
+	* lib/Makefile.in (install): On AIX, add the contents of
+	/lib/libiconv.a to libiconv.a.
+
+2006-12-20  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (all): Depend on srclib/Makefile.gnulib, not
+	srclib/Makefile.am.
+	(aclocal.m4): Likewise. Touch the resulting file, since aclocal not
+	always does it.
+	(srclib/Makefile.gnulib): Renamed from srclib/Makefile.am. Pass
+	option --makefile-name.
+	(srclib/Makefile.in): Depend on srclib/Makefile.gnulib too.
+	* srclib/Makefile.am: New file that includes srclib/Makefile.gnulib.
+
+2006-10-31  Bruno Haible  <bruno@clisp.org>
+
+	Update from GNU gettext.
+	2006-10-29  Bruno Haible  <bruno@clisp.org>
+		Make it compile in C++ mode.
+		* gnulib-local/lib/xalloc.h (xrealloc): Define as template
+		with appropriate return type.
+		* gnulib-local/lib/xstrdup.c (xstrdup): Cast xmalloc result.
+	2006-10-26  Bruno Haible  <bruno@clisp.org>
+		* gnulib-local/modules/canonicalize (Makefile.am): Remove
+		EXTRA_DIST. Now done by gnulib-tool.
+		* gnulib-local/modules/relocatable (Makefile.am): Likewise.
+		* gnulib-local/modules/relocwrapper (Makefile.am): Likewise.
+	2006-10-25  Bruno Haible  <bruno@clisp.org>
+		* gnulib-local/m4/relocatable.m4 (AC_RELOCATABLE_BODY):
+		Renamed from AC_RELOCATABLE, without the AC_LIBOBJ invocation.
+		(AC_RELOCATABLE): New macro. Invoke AC_LIBOBJ here.
+		* gnulib-local/modules/relocwrapper (configure.ac): Invoke
+		AC_RELOCATABLE instead of requiring it.
+	2006-10-12  Bruno Haible  <bruno@clisp.org>
+		* gnulib-local/modules/canonicalize (Makefile.am): Distribute
+		all files in lib/ through EXTRA_DIST.
+		* gnulib-local/modules/relocatable (Makefile.am): Likewise.
+	2006-09-14  Bruno Haible  <bruno@clisp.org>
+		* gnulib-local/lib/canonicalize.c: Include <config.h>
+		unconditionally.
+		* gnulib-local/lib/relocatable.c: Likewise.
+		* lib/relocatable.c: Likewise.
+		* gnulib-local/lib/relocwrapper.c: Likewise.
+		* gnulib-local/lib/xmalloc.c: Likewise.
+		* gnulib-local/lib/xreadlink.c: Likewise.
+		* gnulib-local/lib/xstrdup.c: Likewise.
+	2006-08-02  Bruno Haible  <bruno@clisp.org>
+		* gnulib-local/modules/canonicalize: Put under LGPL.
+		* gnulib-local/modules/relocatable: Likewise.
+	2006-07-18  Bruno Haible  <bruno@clisp.org>
+		* gnulib-local/xalloc.h (xzalloc): New declaration.
+		* gnulib-local/xmalloc.c (xzalloc): New function.
+
+2006-10-24  Bruno Haible  <bruno@clisp.org>
+
+	* man/Makefile.in (PACKAGE): New variable. Needed for docdir.
+	Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
+
+2006-10-14  Bruno Haible  <bruno@clisp.org>
+
+	* COPYING: New file.
+	* README: Clarify copyright of the iconv program.
+	Reported by Charles Wilson <cwilson@fastmail.fm>.
+
+2006-08-08  Bruno Haible  <bruno@clisp.org>
+
+	* INSTALL.generic: Add a recommendation for Tru64.
+	Reported by Gary V. Vaughan <gary@gnu.org>.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+	* tests/check-subst: Set CHARSETALIASDIR.
+	Needed so that "make check" works before "make install" on systems
+	such as NetBSD.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (aclocal.m4): Depend on srclib/Makefile.am.
+	(AUTOCONF_FILES): Add the existing *.m4 files.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-local/lib/xreadlink.c: Assume <stdlib.h> exists.
+	* src/iconv.c: Assume <locale.h> exists.
+	* configure.ac: Remove tests for <locale.h>, <stddef.h>, <stdlib.h>,
+	<string.h>.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+	* configure.ac: Remove obsolete calls AC_PROG_GCC_TRADITIONAL,
+	AC_ISC_POSIX, AC_HEADER_STDC.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+	* configure.ac: Remove macro invocations that are redundant through
+	gl_EARLY and gl_INIT.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-local/m4/alloca.m4 (gl_PREREQ_ALLOCA): Add a dummy statement.
+	Avoids a sh syntax error.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-local/m4/relocatable.m4: Add comments.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-local/modules/libiconv-misc: New file.
+	* Makefile.devel (GNULIB_MODULES): Add libiconv-misc.
+
+	* Makefile.devel (srclib/Makefile.am): Pass --no-libtool.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+	Note: gnulib macros no longer invoke AC_TYPE_SIZE_T nor
+	AC_CHECK_TYPE([ptrdiff_t], , [AC_DEFINE([ptrdiff_t], [long], ...)])
+	because we now assume that the system defines size_t and ptrdiff_t.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+	Switch to using gnulib.
+	* configure.ac (AC_PREREQ): Require autoconf-2.60.
+	Invoke gl_EARLY and gl_INIT.
+	* Makefile.devel (all): Depend on srclib/Makefile.am.
+	(aclocal.m4): Pass -I srcm4 to aclocal. Simplify dependencies, assuming
+	GNU make.
+	(GNULIB_MODULES): New variable.
+	(srclib/Makefile.am): New rule.
+	* gnulib-local: New directory.
+	* gnulib-local/m4/alloca.m4: Moved here from m4/alloca.m4.
+	* gnulib-local/m4/canonicalize.m4: Moved here from m4/canonicalize.m4.
+	* gnulib-local/m4/relocatable.m4: Moved here from m4/relocatable.m4.
+	* gnulib-local/m4/xreadlink.m4: Moved here from m4/xreadlink.m4.
+	* gnulib-local/lib/alloca_.h: Moved here from srclib/alloca_.h.
+	* gnulib-local/lib/canonicalize.h: Moved here from srclib/canonicalize.h.
+	* gnulib-local/lib/canonicalize.c: Moved here from srclib/canonicalize.c.
+	* gnulib-local/lib/cjk.h: Moved here from srclib/cjk.h.
+	* gnulib-local/lib/error.h.diff: New file.
+	* gnulib-local/lib/progname.h.diff: New file.
+	* gnulib-local/lib/relocatable.h: Moved here from srclib/relocatable.h.
+	* gnulib-local/lib/relocatable.c: Moved here from srclib/relocatable.c.
+	* gnulib-local/lib/relocwrapper.c: Moved here from srclib/relocwrapper.c.
+	* gnulib-local/lib/streq.h: Moved here from srclib/streq.h.
+	* gnulib-local/lib/strerror.c.diff: New file.
+	* gnulib-local/lib/unitypes.h: Moved here from srclib/unitypes.h.
+	* gnulib-local/lib/uniwidth.h: Moved here from srclib/uniwidth.h.
+	* gnulib-local/lib/width.c: Moved here from srclib/width.c.
+	* gnulib-local/lib/xalloc.h: Moved here from srclib/xalloc.h.
+	* gnulib-local/lib/xmalloc.c: Moved here from srclib/xmalloc.c.
+	* gnulib-local/lib/xstrdup.c: Moved here from srclib/xstrdup.c.
+	* gnulib-local/lib/xreadlink.h: Moved here from srclib/xreadlink.h.
+	* gnulib-local/lib/xreadlink.c: Moved here from srclib/xreadlink.c.
+	* gnulib-local/modules/canonicalize: New file.
+	* gnulib-local/modules/progreloc: New file.
+	* gnulib-local/modules/relocatable: New file.
+	* gnulib-local/modules/relocwrapper: New file.
+	* gnulib-local/modules/uniwidth: New file.
+	* gnulib-local/modules/xalloc: New file.
+	* gnulib-local/modules/xreadlink: New file.
+
+	* m4/allocsa.m4: Remove file. Now taken from gnulib.
+	* m4/codeset.m4: Likewise.
+	* m4/eealloc.m4: Likewise.
+	* m4/error.m4: Likewise.
+	* m4/extensions.m4: Likewise.
+	* m4/full-header-path.m4: Likewise.
+	* m4/gettext.m4: Likewise.
+	* m4/glibc21.m4: Likewise.
+	* m4/iconv.m4: Likewise.
+	* m4/intmax.m4: Likewise.
+	* m4/inttypes-h.m4: Likewise.
+	* m4/inttypes_h.m4: Likewise.
+	* m4/isc-posix.m4: Likewise.
+	* m4/lcmessage.m4: Likewise.
+	* m4/lib-ld.m4: Likewise.
+	* m4/lib-link.m4: Likewise.
+	* m4/lib-prefix.m4: Likewise.
+	* m4/longdouble.m4: Likewise.
+	* m4/longlong.m4: Likewise.
+	* m4/mbstate_t.m4: Likewise.
+	* m4/nls.m4: Likewise.
+	* m4/onceonly.m4: Likewise.
+	* m4/pathmax.m4: Likewise.
+	* m4/po.m4: Likewise.
+	* m4/printf-posix.m4: Likewise.
+	* m4/progtest.m4: Likewise.
+	* m4/readlink.m4: Likewise.
+	* m4/setenv.m4: Likewise.
+	* m4/signed.m4: Likewise.
+	* m4/size_max.m4: Likewise.
+	* m4/ssize_t.m4: Likewise.
+	* m4/stdbool.m4: Likewise.
+	* m4/stdint.m4: Likewise.
+	* m4/stdint_h.m4: Likewise.
+	* m4/strerror.m4: Likewise.
+	* m4/strerror_r.m4: Likewise.
+	* m4/unistd_h.m4: Likewise.
+	* m4/unlocked-io.m4: Likewise.
+	* m4/visibility.m4: Likewise.
+	* m4/wchar_t.m4: Likewise.
+	* m4/wint_t.m4: Likewise.
+
+	* srclib/allocsa.h: Remove file. Now taken from gnulib.
+	* srclib/allocsa.c: Likewise.
+	* srclib/binary-io.h: Likewise.
+	* srclib/error.h: Likewise.
+	* srclib/error.c: Likewise.
+	* srclib/exit.h: Likewise.
+	* srclib/gettext.h: Likewise.
+	* srclib/memmove.c: Likewise.
+	* srclib/pathmax.h: Likewise.
+	* srclib/progname.h: Likewise.
+	* srclib/progname.c: Likewise.
+	* srclib/progreloc.c: Likewise.
+	* srclib/readlink.c: Likewise.
+	* srclib/setenv.h: Likewise.
+	* srclib/setenv.c: Likewise.
+	* srclib/stdbool_.h: Likewise.
+	* srclib/stdint_.h: Likewise.
+	* srclib/strerror.c: Likewise.
+	* srclib/unlocked-io.h: Likewise.
+	* srclib/unsetenv.c: Likewise.
+	* srclib/Makefile.am: Remove file.
+
+2006-07-27  Bruno Haible  <bruno@clisp.org>
+
+	Remove OS/2 build support that doesn't assume GNU make and GNU bash.
+	* README.os2: Remove file.
+	* Makefile.os2: Remove file.
+	* lib/Makefile.os2: Remove file.
+	* src/Makefile.os2: Remove file.
+	* man/Makefile.os2: Remove file.
+	* tests/Makefile.os2: Remove file.
+	* tests/check-stateful.cmd: Remove file.
+	* tests/check-stateless.cmd: Remove file.
+	* tests/check-translit.cmd: Remove file.
+
+2006-07-25  Bruno Haible  <bruno@clisp.org>
+
+	Remove MSVC/nmake build support.
+	* windows: Remove directory.
+	* Makefile.msvc: Remove file.
+	* lib/Makefile.msvc: Remove file.
+	* srclib/Makefile.msvc: Remove file.
+	* src/Makefile.msvc: Remove file.
+	* tests/Makefile.msvc: Remove file.
+	* man/Makefile.msvc: Remove file.
+	* po/Rules-msvc: Remove file.
+	* po/Makefile.msvc.sh: Remove file.
+	* Makefile.devel (config.h.msvc, lib/config.h.msvc): Remove rules.
+	(include/iconv.h.msvc-static, include/iconv.h.msvc-shared): Remove
+	rules.
+	(po/Makefile.msvc): Remove rule.
+	(all): Update.
+
+2006-07-25  Bruno Haible  <bruno@clisp.org>
+
+	Remove VMS support.
+	* vms: Remove directory.
+	* Makefile.vms: Remove file.
+	* lib/Makefile.vms: Remove file.
+	* srclib/Makefile.vms: Remove file.
+	* src/Makefile.vms: Remove file.
+	* tests/Makefile.vms: Remove file.
+	* man/Makefile.vms: Remove file.
+	* Makefile.devel (config.h_vms, lib/config.h_vms): Remove rules.
+	(include/iconv.h_vms): Remove rule.
+	(all): Update.
+
+2006-07-23  Bruno Haible  <bruno@clisp.org>
+
+	* lib/Makefile.in (libiconv.la): Use the CFLAGS during linking.
+	* src/Makefile.in (iconv_no_i18n): Likewise.
+	(install): Likewise.
+	* tests/Makefile.in (table-from, table-to): Likewise.
+	Needed because the CFLAGS can e.g. trigger profiling.
+	Reported by Russell Aspinwall <russell.aspinwall@flomerics.co.uk>.
+
+2006-07-19  Bruno Haible  <bruno@clisp.org>
+
+	* Version 1.11 released.
+
+2006-07-19  Bruno Haible  <bruno@clisp.org>
+
+	* srclib/Makefile.am (libicrt_a_SOURCES): Remove error.h, error.c.
+	(LIBADD_SOURCE): Add them here.
+
+2006-07-19  Bruno Haible  <bruno@clisp.org>
+
+	* build-aux/config.guess: Update to GNU version 2006-07-02.
+	* build-aux/config.sub: Likewise.
+
+2006-07-14  Bruno Haible  <bruno@clisp.org>
+
+	* lib/Makefile.in (clean): Remove also *.stackdump.
+	* src/Makefile.in (clean): Likewise.
+	* tests/Makefile.in (clean): Likewise.
+
+2006-07-14  Bruno Haible  <bruno@clisp.org>
+
+	* src/Makefile.in (clean): Remove also iconv_no_i18n. Needed for
+	cygwin or mingw.
+	* tests/Makefile.in (clean): Remove also the programs, without
+	EXEEXT. Needed for cygwin or mingw.
+	* Makefile.in (mostlyclean, clean, distclean, maintainer-clean):
+	Remove also bin directory. Needed for cygwin and mingw.
+
+2006-07-03  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c (check_subst_formatstring): Use ngettext.
+	(subst_wc_to_mb_fallback, subst_mb_to_mb_fallback): Fix error messages
+	after 2006-01-22 change.
+	* configure.ac: Require a gettext version with ngettext.
+
+2006-06-28  Bruno Haible  <bruno@clisp.org>
+
+	* m4/gettext.m4: Update from GNU gettext.
+	* m4/po.m4: Update from GNU gettext.
+
+2006-06-27  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (AUTOCONF, AUTOHEADER): Use autoconf-2.60.
+	* Makefile.in (datarootdir): New variable.
+	(install, installdirs, uninstall): Also pass datarootdir.
+	* configure.ac (mandir): Remove customization.
+	* man/Makefile.in (datarootdir): New variable.
+	(docdir, htmldir): Use autoconf-substituted value.
+	* src/Makefile.in (datarootdir): New variable.
+	(localedir): Use autoconf-substituted value.
+
+2006-06-27  Bruno Haible  <bruno@clisp.org>
+
+	* m4/stdint.m4: Update from gnulib.
+	* srclib/stdint_.h: Update from gnulib.
+	* srclib/Makefile.am: Update.
+
+2006-06-17  Bruno Haible  <bruno@clisp.org>
+
+	* srclib/unsetenv.c: Update from GNU gettext.
+	* srclib/xreadlink.c: Likewise.
+
+2006-06-16  Bruno Haible  <bruno@clisp.org>
+
+	* m4/full-header-path.m4: New file, from gnulib.
+	* m4/size_max.m4: New file, from gnulib.
+	* m4/stdint.m4: Update from gnulib.
+	* srclib/stdint_.h: Update from gnulib.
+	* srclib/Makefile.am (stdint.h): Likewise.
+	* Makefile.devel (aclocal.m4): Update dependencies.
+
+2006-06-16  Bruno Haible  <bruno@clisp.org>
+
+	* m4/ssize_t.m4: Update from GNU gettext.
+
+2006-06-12  Bruno Haible  <bruno@clisp.org>
+
+	* m4/gettext.m4: Update from GNU gettext.
+	* m4/inttypes-h.m4: New file, from GNU gettext.
+	* m4/inttypes.m4: Remove file.
+	* m4/stdint.m4 (gl_STDINT_H): Update.
+	* Makefile.devel (aclocal.m4): Update dependencies.
+
+2006-06-10  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c (error) [NO_I18N]: Define here instead of including
+	error.h. Fixes link failure introduced on 2006-01-22.
+
+2006-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]: Avoid warning when
+	"parsing" /etc/ld.so.conf and empty /etc/ld.so.conf.d.
+
+2006-05-20  Bruno Haible  <bruno@clisp.org>
+
+	* tests/BIG5-HKSCS-1999-snippet: New file.
+	* tests/BIG5-HKSCS-1999-snippet.UTF-8: New file.
+	* tests/BIG5-HKSCS-2001-snippet: New file.
+	* tests/BIG5-HKSCS-2001-snippet.UTF-8: New file.
+	* tests/BIG5-HKSCS-2004-snippet: New file.
+	* tests/BIG5-HKSCS-2004-snippet.UTF-8: New file.
+	* tests/Makefile.in (check): Test also the stateful parts of
+	BIG5-HKSCS:1999, BIG5-HKSCS:2001, BIG5-HKSCS:2004.
+
+2006-05-17  Bruno Haible  <bruno@clisp.org>
+
+	Implement newer releases of BIG5-HKSCS.
+	* tools/Makefile (ALL): Remove hkscs.h, add hkscs1999.h, hkscs2001.h,
+	hkscs2004.h.
+	(hkscs.h): Remove rule.
+	(hkscs1999.h, hkscs2001.h, hkscs2004.h): New rules.
+	* tools/cjk_tab_to_h.c (output_title): Update year.
+	(main): Recognize hkscs1999, hkscs2001, hkscs2004.
+	* lib/encodings.def: Rename BIG5-HKSCS to BIG5-HKSCS:1999. Add
+	BIG5-HKSCS:2001, BIG5-HKSCS:2004. Make all three stateful.
+	* lib/hkscs.h: Remove file.
+	* lib/hkscs1999.h: New file.
+	* lib/hkscs2001.h: New file.
+	* lib/hkscs2004.h: New file.
+	* lib/big5hkscs.h: Remove file.
+	* lib/big5hkscs1999.h: New file.
+	* lib/big5hkscs2001.h: New file.
+	* lib/big5hkscs2004.h: New file.
+	* lib/converters.h: Include the new files.
+	* README, man/iconv_open.3: Add BIG5-HKSCS:1999, BIG5-HKSCS:2001.
+	* tests/BIG5-HKSCS.TXT: Remove file.
+	* tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Remove file.
+	* tests/BIG5-HKSCS-1999.TXT: New file.
+	* tests/BIG5-HKSCS-1999.IRREVERSIBLE.TXT: New file.
+	* tests/BIG5-HKSCS-2001.TXT: New file.
+	* tests/BIG5-HKSCS-2001.IRREVERSIBLE.TXT: New file.
+	* tests/BIG5-HKSCS-2004.TXT: New file.
+	* tests/BIG5-HKSCS-2004.IRREVERSIBLE.TXT: New file.
+	* tests/check-stateless: Convert colon in the charset name to a dash in
+	the file name.
+	* tests/Makefile.in (check): Check BIG5-HKSCS:1999, BIG5-HKSCS:2001,
+	BIG5-HKSCS:2004 instead of just BIG5-HKSCS.
+	* tests/Makefile.msvc (check): Don't check BIG5-HKSCS.
+	* tests/Makefile.os2 (check): Likewise.
+
+2006-05-17  Bruno Haible  <bruno@clisp.org>
+
+	* srclib/progreloc.c: Update from GNU gettext.
+
+2006-05-16  Bruno Haible  <bruno@clisp.org>
+
+	* src/Makefile.in (clean): Use EXEEXT.
+	* tests/Makefile.in (check, clean): Likewise.
+
+2006-05-15  Bruno Haible  <bruno@clisp.org>
+
+	* configure.ac: Move some checks before AC_RELOCATABLE.
+
+2006-05-15  Bruno Haible  <bruno@clisp.org>
+
+	Support for building shared libraries on mingw and Cygwin.
+	* configure.ac (WOE32DLL, DLL_VARIABLE): New variables.
+	* include/iconv.h.in (_libiconv_version): Mark as DLL_VARIABLE.
+	* woe32dll/export.h: New file, from GNU gettext.
+	* woe32dll/iconv-exports.h: New file.
+	* Makefile.devel (include/iconv.h_vms, include/iconv.h.msvc-static,
+	include/iconv.h.msvc-shared): Remove the DLL_VARIABLE annotation.
+	* lib/Makefile.in (INCLUDES): Add -I for parent directory.
+	(LDFLAGS): Add WOE32DLL dependent flags.
+	(LDFLAGS_yes, LDFLAGS_no): New variables.
+	(OBJECTS): Add WOE32DLL dependent objects.
+	(OBJECTS_yes, OBJECTS_no): New variables.
+	(iconv-exports.lo): New rule.
+
+2006-05-15  Bruno Haible  <bruno@clisp.org>
+
+	* srclib/gettext.h: Update from GNU gettext.
+	* srclib/pathmax.h: Update from GNU gettext.
+	* srclib/progreloc.c: Update from GNU gettext.
+	* srclib/unsetenv.c: Update from GNU gettext.
+	* srclib/Makefile.am: Add snippet for creation of unistd.h.
+	* m4/extensions.m4: Update from GNU gettext.
+	* m4/gettext.m4: Update from GNU gettext.
+	* m4/lib-ld.m4: Update from GNU gettext.
+	* m4/lib-link.m4: Update from GNU gettext.
+	* m4/lib-prefix.m4: Update from GNU gettext.
+	* m4/longdouble.m4: Update from GNU gettext.
+	* m4/nls.m4: Update from GNU gettext.
+	* m4/onceonly.m4: Update from GNU gettext.
+	* m4/po.m4: Update from GNU gettext.
+	* m4/relocatable.m4: Update from GNU gettext.
+	* m4/unistd_h.m4: New file, from GNU gettext.
+	* Makefile.devel (aclocal.m4): Depend on it.
+	* configure.ac: Invoke gl_HEADER_UNISTD.
+
+2006-05-14  Bruno Haible  <bruno@clisp.org>,
+            Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* m4/libtool.m4 [ linux ] (AC_LIBTOOL_LANG_CXX_CONFIG)
+	(AC_LIBTOOL_POSTDEP_PREDEP, AC_LIBTOOL_PROG_COMPILER_PIC)
+	(AC_LIBTOOL_PROG_LD_SHLIBS): Add support for Sun C 5.9,
+	Sun C++ 5.9, and Sun Fortran 8.3 on Linux.
+
+2006-05-06  Charles Wilson  <cygwin@cwilson.fastmail.fm>
+
+	* m4/libtool.m4: On Cygwin, like on mingw, define DLL_EXPORT when
+	compiling a shared library object.
+
+2006-05-15  Bruno Haible  <bruno@clisp.org>
+
+	* build-aux/config.rpath: Add support for Sun C 5.9 on Linux.
+
+2006-03-31  Juan Manuel Guerrero  <juan.guerrero@gmx.de>
+
+	* djgpp/*: Update.
+
+2006-01-23  Bruno Haible  <bruno@clisp.org>
+
+	* configure.ac: Invoke gl_ALLOCSA.
+
+	* Makefile.devel (aclocal.m4): Depend on $(CONFIGURES_IN).
+
+2006-01-22  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c (xmalloc, xalloc_die) [NO_I18N]: Define to avoid using
+	gettext().
+
+2006-01-22  Bruno Haible  <bruno@clisp.org>
+
+	* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 6:0:4.
+
+2006-01-22  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c: Include error.h, exit.h.
+	(print_version): Use EXIT_SUCCESS.
+	(check_subst_formatstring, subst_mb_to_uc_fallback,
+	subst_uc_to_mb_fallback, subst_mb_to_wc_fallback,
+	subst_wc_to_mb_fallback, subst_mb_to_mb_fallback, convert, main): Use
+	error() instead of fprintf to stderr.
+
+2006-01-22  Bruno Haible  <bruno@clisp.org>
+
+	New feature: character-dependent substitutions.
+	* include/iconv.h.in (iconv_unicode_mb_to_uc_fallback,
+	iconv_unicode_uc_to_mb_fallback, iconv_wchar_mb_to_wc_fallback,
+	iconv_wchar_wc_to_mb_fallback): New types.
+	(struct iconv_fallbacks): New structure type.
+	(ICONV_SET_FALLBACKS): New macro.
+	* configure.ac: Invoke gt_TYPE_WCHAR_T and substitute HAVE_WCHAR_T.
+	* Makefile.os2 (all): Also substitute @HAVE_WCHAR_T@ in build/iconv.h.
+	* Makefile.devel (include/iconv.h_vms, include/iconv.h.msvc-static,
+	include/iconv.h.msvc-shared): Also substitute @HAVE_WCHAR_T@.
+	* lib/converters.h (struct conv_struct): Add field 'fallbacks'.
+	* lib/loop_unicode.h (struct uc_to_mb_fallback_locals): New type.
+	(uc_to_mb_write_replacement): New function.
+	(struct mb_to_uc_fallback_locals): New type.
+	(mb_to_uc_write_replacement): New function.
+	(unicode_loop_convert): Call mb_to_uc_fallback and uc_to_mb_fallback.
+	(unicode_loop_reset): Call uc_to_mb_fallback.
+	* lib/loop_wchar.h (struct wc_to_mb_fallback_locals): New type.
+	(wc_to_mb_write_replacement): New function.
+	(wchar_from_loop_convert): Call wc_to_mb_fallback.
+	(struct mb_to_wc_fallback_locals): New type.
+	(mb_to_wc_write_replacement): New function.
+	(wchar_to_loop_convert): Call mb_to_wc_fallback.
+	* lib/iconv.c (iconv_open): Initialize the 'fallbacks' field.
+	(iconvctl): Handle ICONV_SET_FALLBACKS.
+	* lib/genflags.c (struct iconv_fallbacks): New dummy definition.
+	* src/iconv.c: Include limits.h.
+	(isdigit, c_isprint): New macros.
+	(usage): Document long options and new options.
+	(check_subst_formatstring): New function.
+	(ilseq_byte_subst, ilseq_wchar_subst, ilseq_unicode_subst): New
+	variables.
+	(ilseq_byte_subst_size, ilseq_wchar_subst_size,
+	ilseq_unicode_subst_size): New variables.
+	(ilseq_byte_subst_buffer, ilseq_wchar_subst_buffer,
+	ilseq_unicode_subst_buffer): New variables.
+	(subst_mb_to_uc_cd, subst_mb_to_uc_temp_buffer): New variables.
+	(subst_mb_to_uc_fallback): New function.
+	(subst_uc_to_mb_cd, subst_uc_to_mb_temp_buffer): New variables.
+	(subst_uc_to_mb_fallback): New function.
+	(subst_mb_to_wc_cd, subst_mb_to_wc_temp_buffer): New variables.
+	(subst_mb_to_wc_fallback): New function.
+	(subst_wc_to_mb_cd, subst_wc_to_mb_temp_buffer): New variables.
+	(subst_wc_to_mb_fallback): New function.
+	(subst_mb_to_mb_cd, subst_mb_to_mb_temp_buffer): New variables.
+	(subst_mb_to_mb_fallback): New function.
+	(convert): Enlarge the outbuf when the conversion failed with E2BIG.
+	(main): Handle new options --byte-subst, --widechar-subst,
+	--unicode-subst.
+	* man/iconv.1: Document --unicode-subst, --byte-subst, --widechar-subst
+	options.
+	* tests/check-subst: New file.
+	* tests/Makefile.in (check): Also invoke check-subst.
+	Suggested by James Taylor <james@oakseed.demon.co.uk>.
+
+2006-01-21  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c (print_version): Bump copyright year.
+	(main): Accept long options --from-code, --to-code, --list, --silent.
+	Accept abbreviated long options, like getopt() does.
+	* man/iconv.1: Document long options.
+
+2005-12-29  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c (print_version): Update copyright year.
+
+2005-12-29  Bruno Haible  <bruno@clisp.org>
+
+	* configure.ac: Renamed from configure.in.
+	* Makefile.devel (CONFIGURES_IN, configure, config.h.in): Update.
+
+2005-12-29  Bruno Haible  <bruno@clisp.org>
+
+	* configure.in: Bump version number.
+	* include/iconv.h.in (_LIBICONV_VERSION): Likewise.
+	* windows/iconv.rc: Likewise.
+	* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 5:1:3.
+
+2005-12-29  Bruno Haible  <bruno@clisp.org>
+
+	* build-aux/config.guess: Update to GNU version 2005-12-23.
+	* build-aux/config.sub: Likewise.
+	* build-aux/config.libpath: Update from GNU gettext.
+	* build-aux/install-sh: Upgrade to automake-1.9.5.
+	* build-aux/missing: Upgrade to automake-1.9.5.
+	* build-aux/mkinstalldirs: Upgrade to automake-1.9.5.
+
+2005-12-29  Bruno Haible  <bruno@clisp.org>
+
+	* m4/alloca.m4: Update from GNU gettext.
+	* m4/allocsa.m4: Update from GNU gettext.
+	* m4/canonicalize.m4: Update from GNU gettext.
+	* m4/codeset.m4: Update from GNU gettext.
+	* m4/eealloc.m4: Update from GNU gettext.
+	* m4/error.m4: Update from GNU gettext.
+	* m4/extensions.m4: Update from GNU gettext.
+	* m4/gettext.m4: Update from GNU gettext.
+	* m4/glibc21.m4: Update from GNU gettext.
+	* m4/iconv.m4: Update from GNU gettext.
+	* m4/intmax.m4: Update from GNU gettext.
+	* m4/inttypes_h.m4: New file, from GNU gettext.
+	* m4/isc-posix.m4: Update from GNU gettext.
+	* m4/lcmessage.m4: Update from GNU gettext.
+	* m4/longdouble.m4: Update from GNU gettext.
+	* m4/longlong.m4: Update from GNU gettext.
+	* m4/mbstate_t.m4: Update from GNU gettext.
+	* m4/nls.m4: Update from GNU gettext.
+	* m4/onceonly.m4: Update from GNU gettext.
+	* m4/pathmax.m4: Update from GNU gettext.
+	* m4/po.m4: Update from GNU gettext.
+	* m4/printf-posix.m4: Update from GNU gettext.
+	* m4/progtest.m4: Update from GNU gettext.
+	* m4/readlink.m4: Update from GNU gettext.
+	* m4/relocatable.m4: Update from GNU gettext.
+	* m4/setenv.m4: Update from GNU gettext.
+	* m4/signed.m4: Update from GNU gettext.
+	* m4/ssize_t.m4: Update from GNU gettext.
+	* m4/stdbool.m4: Update from GNU gettext.
+	* m4/stdint_h.m4: New file, from GNU gettext.
+	* m4/strerror.m4: Update from GNU gettext.
+	* m4/strerror_r.m4: Update from GNU gettext.
+	* m4/unlocked-io.m4: Update from GNU gettext.
+	* m4/wchar_t.m4: Update from GNU gettext.
+	* m4/wint_t.m4: Update from GNU gettext.
+	* m4/xreadlink.m4: Update from GNU gettext.
+	* Makefile.devel (aclocal.m4): Depend on m4/inttypes_h.m4 and
+	m4/stdint_h.m4 as well.
+	* configure.in: Invoke AC_TYPE_MBSTATE_T instead of AC_MBSTATE_T.
+	Invoke gl_FUNC_GLIBC_UNLOCKED_IO instead of jm_FUNC_GLIBC_UNLOCKED_IO.
+	Invoke gl_ERROR instead of gt_FUNC_ERROR_AT_LINE.
+	Don't invoke AC_AIX and AC_MINIX, done by gl_USE_SYSTEM_EXTENSIONS.
+	Temporarily redefine AC_LIBOBJ and AC_REPLACE_FUNCS, so as to fill
+	SRCLIBOBJS instead of LIBOBJS.
+	* srclib/alloca_.h: Update from GNU gettext.
+	* srclib/allocsa.h: Update from GNU gettext.
+	* srclib/canonicalize.c: Update from GNU gettext.
+	* srclib/error.h: Update from GNU gettext.
+	* srclib/error.c: Update from GNU gettext.
+	* srclib/gettext.h: Update from GNU gettext.
+	* srclib/memmove.c: Update from GNU gettext.
+	* srclib/progname.h: Update from GNU gettext.
+	* srclib/progname.c: Update from GNU gettext.
+	* srclib/progreloc.c: Update from GNU gettext.
+	* srclib/readlink.c: Update from GNU gettext.
+	* srclib/relocatable.c: Update from GNU gettext.
+	* srclib/relocwrapper.c: Update from GNU gettext.
+	* srclib/setenv.h: Update from GNU gettext.
+	* srclib/setenv.c: Update from GNU gettext.
+	* srclib/stdbool_.h: Update from GNU gettext.
+	* srclib/stdint_.h: Update from gnulib.
+	* srclib/strerror.c: Update from GNU gettext.
+	* srclib/unlocked-io.h: Update from GNU gettext.
+	* srclib/unsetenv.c: Update from GNU gettext.
+	* srclib/xalloc.h: Update from GNU gettext.
+	* srclib/xmalloc.c: Update from GNU gettext.
+	* srclib/xreadlink.c: Update from GNU gettext.
+	* srclib/xstrdup.c: Update from GNU gettext.
+	* srclib/Makefile.am (DEFS): Also define EXEEXT.
+	(libicrt_a_LIBADD): Use SRCLIBOBJS instead of LIBOBJS.
+	(libicrt_a_DEPENDENCIES): New variable.
+	* src/Makefile.in (EXEEXT): New variable.
+	* build-aux/install-reloc: Update from GNU gettext.
+	* build-aux/reloc-ldflags: Update from GNU gettext.
+	* build-aux/config.rpath: Update from GNU gettext.
+
+2005-12-29  Bruno Haible  <bruno@clisp.org>
+
+	* m4/libtool.m4: Update, based on libtool-1.5.22.
+	* build-aux/ltmain.sh: Update, based on libtool-1.5.22.
+
+2005-12-24  Bruno Haible  <bruno@clisp.org>
+
+	Check the whole range of GB18030.
+	* tests/GB18030-BMP.TXT: Renamed from tests/GB18030.TXT.
+	* tests/gengb18030z.c: New file.
+	* tests/table-from.c (main): For GB18030, don't stop at U+10000.
+	* tests/table-to.c (main): Likewise.
+	* tests/Makefile.in (check): Generate GB18030.TXT on the fly from
+	GB18030-BMP.TXT.
+	(clean): Remove also gengb18030z and GB18030.TXT.
+	* tests/Makefile.msvc (check): Generate GB18030.TXT on the fly from
+	GB18030-BMP.TXT.
+	(clean): Remove also GB18030Z.TXT, GB18030TMP.TXT, GB18030.TXT.
+	* tests/Makefile.os2 (check): Depend on gengb18030z.exe. Generate
+	GB18030.TXT on the fly from GB18030-BMP.TXT.
+	(clean): Remove also GB18030Z.TXT, GB18030TMP.TXT, GB18030.TXT.
+
+2005-12-20  Bruno Haible  <bruno@clisp.org>
+
+	* tests/table-to.c (main): Test the mappings up to U+10FFFF, not only
+	up to U+2FFFF. Tolerate that Unicode language tags are silently mapped
+	to nothing.
+
+2005-12-22  Bruno Haible  <bruno@clisp.org>
+
+	Extend GB18030 converter to cover the entire Unicode PUA.
+	* lib/gb18030.h: Update comments, based on second printing.
+	(gb18030_mbtowc): Add mapping for range U+E000..U+E765.
+	(gb18030_pua2charset): New array.
+	(gb18030_wctomb): Add mapping for range U+E000..U+E765 and the two-byte
+	part of range U+E766..U+E864.
+	* lib/gb18030ext.h (gb18030ext_2uni_pagefe): Add mappings to private
+	area.
+	(gb18030ext_mbtowc): Add mapping for the two-byte part of range
+	U+E766..U+E864.
+	* lib/gb18030uni.h (gb18030uni_charset2uni_ranges,
+	gb18030uni_uni2charset_ranges, gb18030uni_ranges): Add 12 more
+	intervals.
+	(gb18030uni_mbtowc, gb18030uni_wctomb): Update.
+	* tests/GB18030.TXT: Complete mappings to private area.
+
+2005-12-22  Bruno Haible  <bruno@clisp.org>
+
+	* lib/gbk.h: Update comments.
+
+2005-12-20  Bruno Haible  <bruno@clisp.org>
+
+	Add private area mappings to CP949.
+	* lib/cp949.h (cp949_mbtowc, cp949_wctomb): Map U+E000..U+E0BB like
+	many others do it.
+	* tests/CP949.TXT: Add mappings for U+E000..U+E0BB.
+
+2005-12-15  Bruno Haible  <bruno@clisp.org>
+
+	Add private area mappings to CP950.
+	* lib/cp950.h (cp950_mbtowc, cp950_wctomb): Map U+E000..U+F6B0 like
+	most others do it.
+	* tests/CP950.TXT: Add mappings for U+E000..U+F6B0.
+
+2005-12-15  Bruno Haible  <bruno@clisp.org>
+
+	Make CP936 follow what Microsoft does.
+	In http://www.microsoft.com/globaldev/reference/dbcs/936.mspx they
+	added a 0x80 - U+20AC mapping to the code chart, but not to the
+	tooltips and not to the list of mappings.
+	* lib/cp936.h: New file.
+	* lib/gbk.h: Update comments.
+	* lib/ces_gbk.h: Update comments.
+	* lib/converters.h: Include cp936.h.
+	* lib/encodings.def (CP936): New encoding.
+	(GBK): Remove CP936 aliases.
+	* README, man/iconv_open.3: Add CP936.
+	* tests/Makefile.in (check): Check CP936.
+	* tests/Makefile.msvc (check): Likewise.
+	* tests/Makefile.os2 (check): Likewise.
+	* tests/CP936.TXT: New file.
+
+2005-12-14  Bruno Haible  <bruno@clisp.org>
+
+	* lib/cp932.h (cp932_wctomb): Map U+FF5E, U+2225, U+FF0D, U+FFE0,
+	U+FFE1 like Microsoft does it.
+	* lib/CP932.IRREVERSIBLE.TXT: Add these mappings.
+	Reported by Lei Wang <lwang@qilinsoft.com>.
+
+2005-12-14  Bruno Haible  <bruno@clisp.org>
+
+	Follow Euro sign addition done in 1999 in
+	http://www.microsoft.com/globaldev/reference/dbcs/950/950_A3.mspx
+	* lib/cp950.h (cp950_mbtowc, cp950_wctomb): Add mapping for 0xA3E1.
+	* tests/CP950.TXT: Add mapping for 0xA3E1.
+
+2005-11-11  Bruno Haible  <bruno@clisp.org>
+
+	* lib/euc_jp.h (euc_jp_wctomb): When writing a 3-bytes byte sequence
+	and only two bytes are available in the output buffer, return
+	RET_TOOSMALL instead of overrunning the output buffer.
+	* lib/isoir165.h (isoir165_wctomb): When only one byte is available
+	in the output buffer, don't overrun the output buffer.
+	Reported by William Bardwell <bardwell@curl.com>.
+
+2005-09-18  Bruno Haible  <bruno@clisp.org>
+
+	* m4/libtool.m4: Update, based on libtool-1.5.20.
+	* build-aux/ltmain.sh: Update, based on libtool-1.5.20.
+
+2005-08-12  Bruno Haible  <bruno@clisp.org>
+
+	* lib/big5_2003.h: Map 0xF9FA..0xF9FD differently.
+	* tests/BIG5-2003.TXT: Likewise.
+	* tests/BIG5-2003.IRREVERSIBLE.TXT: New file.
+	Reported by Ping Yeh <ping@pingyeh.net>.
+
+2005-07-24  Bruno Haible  <bruno@clisp.org>
+
+	Tidy up exported symbols.
+	* m4/visibility.m4: New file.
+	* include/export.h: New file.
+	* configure.in: Invoke gl_VISIBILITY. Use AC_CONFIG_FILES. Arrange to
+	create also include/iconv.h.inst.
+	* Makefile.devel (all): Depend on include/iconv.h.build.in.
+	(aclocal.m4): Depend on m4/visibility.m4.
+	(include/iconv.h.build.in): New rule.
+	* Makefile.in (install-lib, install): Install include/iconv.h.inst,
+	not the include/iconv.h that was used for building.
+	(distclean, maintainer-clean): Remove also include/iconv.h.inst.
+	* lib/Makefile.in (CFLAGS): Add @CFLAG_VISIBILITY@.
+	(DEFS): Also define BUILDING_LIBICONV and BUILDING_DLL.
+	* lib/config.h.in (HAVE_VISIBILITY): New macro.
+	* lib/relocatable.h (RELOCATABLE_DLL_EXPORTED) [HAVE_VISIBILITY]:
+	Define to the gcc visibility attribute.
+	* srclib/relocatable.h (RELOCATABLE_DLL_EXPORTED) [HAVE_VISIBILITY]:
+	Likewise.
+
+2005-07-25  Bruno Haible  <bruno@clisp.org>
+
+	2003-08-24  Bruno Haible  <bruno@clisp.org>
+	* lib/relocatable.h: Make this file includable in C++ mode: add extern
+	"C".
+
+2005-07-08  Bruno Haible  <bruno@clisp.org>
+
+	* Version 1.10 released.
+
+2005-07-08  Bruno Haible  <bruno@clisp.org>
+
+	* m4/libtool.m4 (postinstall_cmds) [cygwin,mingw,pw32]: Make DLL
+	executable after installing it.
+
+2005-07-08  Bruno Haible  <bruno@clisp.org>
+
+	* configure.in: Bump version number.
+	* include/iconv.h.in (_LIBICONV_VERSION): Likewise.
+	* windows/iconv.rc: Likewise.
+	* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 5:0:3.
+
+2005-07-05  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (ACLOCAL): New variable.
+	(aclocal.m4): Use it.
+
+2005-07-05  Bruno Haible  <bruno@clisp.org>
+
+	* m4/relocatable.m4 (AC_RELOCATABLE): On mingw, simply set
+	SET_RELOCATABLE to a trivial value.
+
+2004-08-08  Bruno Haible  <bruno@clisp.org>
+
+	* srclib/progreloc.c (xstrdup): Define as strdup if no xmalloc should
+	be used.
+
+2004-04-28  Bruno Haible  <bruno@clisp.org>
+
+	* srclib/progreloc.c (ISSLASH, IS_PATH_WITH_DIR, FILESYSTEM_PREFIX_LEN):
+	Treat Cygwin like Windows, since it now accepts Windows pathnames.
+
+2005-06-09  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.in (mkinstalldirs): Use build-aux/ instead of autoconf/.
+	* lib/Makefile.in (mkinstalldirs): Likewise.
+	* src/Makefile.in (mkinstalldirs): Likewise.
+	* man/Makefile.in (mkinstalldirs): Likewise.
+
+2005-06-08  Bruno Haible  <bruno@clisp.org>
+
+	* srclib/canonicalize.c (__realpath): Avoid gcc warnings on platforms
+	that don't support symbolic links.
+
+2005-06-08  Bruno Haible  <bruno@clisp.org>
+
+	* srclib/binary-io.h (fileno): Undefine before defining it. Avoids a
+	gcc warning on mingw.
+
+2005-05-22  Bruno Haible  <bruno@clisp.org>
+
+	Implement and document BIG5-2003.
+	* lib/big5_2003.h: New file.
+	* lib/converters.h: Include it.
+	* lib/encodings_extra.def (BIG5-2003): New encoding.
+	* README, man/iconv_open.3: Add BIG5-2003.
+	* tests/Makefile.in (check-extra-yes): Check BIG5-2003.
+	* tests/BIG5-2003.TXT: New file.
+
+2005-05-21  Bruno Haible  <bruno@clisp.org>
+
+	Add EURO SIGN to EUC-TW converter.
+	* lib/cns11643_1.h (cns11643_1_2uni_page42): Add entry for 0x14242.
+	(cns11643_1_mbtowc): Update.
+	* lib/cns11643_inv.h (cns11643_inv_2charset): Add entry for 0x20AC.
+	(cns11643_inv_uni2indx_page*): Update.
+	* lib/dec_hanyu.h (dec_hanyu_mbtowc, dec_hanyu_wctomb): Consider only
+	part of row 42.
+	* tests/EUC-TW.TXT: Add entry for 0x20AC.
+	* tests/EUC-TW.IRREVERSIBLE.TXT: Likewise.
+
+2005-05-03  Bruno Haible  <bruno@clisp.org>
+
+	* tools/Makefile (ALL): Add pt154.h.
+	(pt154.h): New rule.
+	* lib/encodings.def: Add PT154.
+	* lib/pt154.h: New file.
+	* lib/converters.h: Include it.
+	* README, man/iconv_open.3: Add PT154.
+	* NOTES: Mention PT154.
+	* tests/PT154.TXT: New file.
+	* tests/Makefile.in (check): Also test PT154.
+	* tests/Makefile.msvc (check): Likewise.
+	* tests/Makefile.os2 (check): Likewise.
+
+2005-03-29  Bruno Haible  <bruno@clisp.org>
+
+	Rename libiconv_plug.so to preloadable_libiconv.so.
+	* configure.in (PLUGLIB): Set to preloadable_libiconv.so instead of
+	libiconv_plug.so.
+	* lib/Makefile.in (preloadable_libiconv.so): Renamed from
+	libiconv_plug.so.
+	(preloadable_libiconv_linux.so): Renamed from libiconv_plug_linux.so.
+	(preloadable_libiconv_solaris.so): Renamed from
+	libiconv_plug_solaris.so.
+	(preloadable_libiconv_osf.so): Renamed from libiconv_plug_osf.so.
+	(clean): Update.
+	* README: Update.
+
+2005-03-29  Bruno Haible  <bruno@clisp.org>
+
+	Implement and document ATARIST.
+	* tools/Makefile (ALL): Add atarist.h.
+	(atarist.h): New rule.
+	* lib/atarist.h: New file.
+	* lib/converters.h: Include it.
+	* lib/encodings_extra.def (ATARIST): New encoding.
+	* README, man/iconv_open.3: Add ATARIST.
+	* tests/Makefile.in (check-extra-yes): Check ATARIST.
+	* tests/ATARIST.TXT: New file.
+
+2005-03-22  Bruno Haible  <bruno@clisp.org>
+
+	* build-aux: New directory, renamed from autoconf.
+	* configure.in (AC_CONFIG_AUX_DIR): Use build-aux.
+
+2005-03-16  Bruno Haible  <bruno@clisp.org>
+
+	* m4/stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
+	HAVE_LONGLONG_64BIT.
+	* srclib/stdint_.h: Use HAVE_LONG_LONG_64BIT instead of
+	HAVE_LONGLONG_64BIT.
+	* srclib/Makefile.am (stdint.h): Likewise.
+
+2005-03-14  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (aclocal.m4): Depend also on allocsa.m4, eealloc.m4,
+	extensions.m4, intmax.m4, inttypes.m4, longdouble.m4, longlong.m4,
+	printf-posix.m4, readlink.m4, signed.m4, ssize_t.m4, stdint.m4,
+	wchar_t.m4, wint_t.m4.
+
+2005-03-13  Bruno Haible  <bruno@clisp.org>
+
+	Make stdout error checking reliable, also when writing to a NFS file.
+	* src/iconv.c (main): Check the return value of fclose(stdout).
+	* lib/genaliases.c (main): Likewise.
+	* lib/genaliases2.c (main): Likewise.
+	* lib/genflags.c (main): Likewise.
+	* lib/gentranslit.c (main): Likewise.
+	* tests/genutf8.c (main): Likewise.
+	* tests/table-from.c (main): Likewise.
+	* tests/table-to.c (main): Likewise.
+
+2005-03-13  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c (convert): Before outputting an error message, flush
+	stdout and output a newline if suitable.
+
+2005-03-13  Bruno Haible  <bruno@clisp.org>
+
+	Improved error messages.
+	* srclib/width.c: New file, from GNU clisp.
+	* srclib/uniwidth.h: New file, from GNU clisp with modifications.
+	* srclib/unitypes.h: New file, from GNU clisp with modifications.
+	* srclib/cjk.h: New file, from GNU clisp.
+	* srclib/streq.h: New file, from GNU clisp.
+	* srclib/stdint_.h: New file, from gnulib.
+	* m4/stdint.m4: New file, from gnulib.
+	* m4/inttypes.m4: New file, from gnulib.
+	* srclib/Makefile.am: Add gnulib module 'stdint' snippet.
+	(BUILT_SOURCES): New variable.
+	(libicrt_a_SOURCES): Add width.c, uniwidth.h, unitypes.h, cjk.h,
+	streq.h.
+	* configure.in: Invoke gl_STDINT_H.
+	* src/iconv.c: Include cjk.h, uniwidth.h.
+	(line, column, cjkcode): New variables.
+	(update_line_column): New function.
+	(convert): Initialize line and column. In all error message, show also
+	the line and column number.
+	(main): Initialize cjkcode. Set up hooks to call update_line_column.
+
+2005-03-13  Bruno Haible  <bruno@clisp.org>
+
+	* include/iconv.h.in (iconv_canonicalize): New declaration.
+	* lib/genaliases.c (emit_encoding): Take two output streams as
+	arguments. To the second stream, emit a shell command for extracting
+	offsets into the gperf generated string pool.
+	(main): Write the shell commands into file descriptors 3 and 4.
+	* lib/genaliases2.c (emit_encoding): Take two output streams as
+	arguments. To the second stream, emit an expression for the offset
+	into the string pool.
+	(main): Write the offsets into file descriptor 3.
+	* Makefile.devel (lib/aliases.gperf): Remove target.
+	(lib/aliases.h): Generate lib/aliases.gperf temporarily. Generate also
+	lib/canonical.h and lib/canonical_local.h.
+	(lib/aliases_aix.h): Generate also lib/canonical_aix.h.
+	(lib/aliases_osf1.h): Generate also lib/canonical_osf1.h.
+	(lib/aliases_dos.h): Generate also lib/canonical_dos.h.
+	(lib/aliases_extra.h): Generate also lib/canonical_extra.h.
+	* lib/iconv.c (stringpool2): Provide default definition when it doesn't
+	exist.
+	(all_canonical): New array.
+	(iconv_canonicalize): New function.
+
+2005-03-13  Bruno Haible  <bruno@clisp.org>
+
+	* include/iconv.h.in (iconv_unicode_char_hook, iconv_wide_char_hook,
+	iconv_hooks): New types.
+	(ICONV_SET_HOOKS): New macro.
+	* lib/converters.h (struct conv_struct): Add field 'hooks'.
+	* lib/iconv.c (iconv_open): Initialize hooks to NULL.
+	(iconvctl): Handle ICONV_SET_HOOKS.
+	* lib/loop_unicode.h (unicode_loop_convert, unicode_loop_reset): After
+	conversion of a character, call the uc_hook.
+	* lib/loop_wchar.h (wchar_id_loop_convert): After every character, call
+	the wc_hook.
+	* lib/genflags.c (iconv_hooks): Provide a dummy definition.
+
+2005-02-05  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c (main): In case of unsupported encodings, show a hint
+	towards "iconv -l".
+
+2005-01-06  Bruno Haible  <bruno@clisp.org>
+
+	* lib/Makefile.msvc (CFLAGS): Define also INSTALLPREFIX.
+	* lib/Makefile.vms (DEFS): Likewise.
+	Reported by Troels Walsted Hansen <Troels.W.Hansen@fast.no>.
+
+2005-01-05  Bruno Haible  <bruno@clisp.org>
+
+	* autoconf/config.rpath: Update from GNU gettext.
+
+2005-01-05  Bruno Haible  <bruno@clisp.org>
+
+	Assume automake-1.9.
+	* Makefile.devel (AUTOMAKE): Assume automake-1.9.
+
+2005-01-05  Bruno Haible  <bruno@clisp.org>
+
+	* m4/libtool.m4: Update from GNU gettext, based on libtool-1.5.10.
+	* autoconf/ltmain.sh: Update from GNU gettext, based on libtool-1.5.10.
+
+2004-11-11  Bruno Haible  <bruno@clisp.org>
+
+	* lib/iconv.c (iconv_open): Accept the suffixes //TRANSLIT and //IGNORE
+	in arbitrary order.
+	Reported by Lukas Gebauer <gebauerl@mlp.cz>.
+
+2004-09-21  Juan Manuel Guerrero  <st001906@hrz1.hrz.tu-darmstadt.de>
+
+	* djgpp/config.bat: Update.
+	* djgpp/config.sed: Update.
+	* djgpp/config.site: Update.
+	* djgpp/edtest.bat: Update.
+	* djgpp/fnchange.in: Update.
+	* djgpp/Makefile.maint: Update.
+	* djgpp/makefile.sed: Update.
+	* djgpp/README.in: Update.
+	* djgpp/sources.sed: Update.
+	* djgpp/translit-check.sed: Update.
+
+2004-08-25  Bruno Haible  <bruno@clisp.org>
+
+	* m4/libtool.m4: Update from GNU gettext, based on libtool-1.5.6.
+	* autoconf/ltmain.sh: Update from GNU gettext, based on libtool-1.5.6.
+
+2004-07-31  Bruno Haible  <bruno@clisp.org>
+
+	Update to JISX 0213 plane 1 to 2004 version (ISO-IR-233).
+	* tools/Makefile (jisx0213.h): Bump version number.
+	* tools/JISX0213.TXT: Change mappings U+2015 -> U+2014,
+	U+2299 -> U+29BF, and add 10 new characters.
+	* tools/cjk_tab_to_h.c (output_title): Bump year.
+	(do_jisx0213): Update comments. Emit a conditional 'inline'.
+	* lib/jisx0213.h: Regenerated.
+	* lib/iso2022_jp3.h (iso2022_jp3_mbtowc): Accept escape sequence
+	ESC $ ( Q as a synonym of ESC $ ( O.
+	(iso2022_jp3_wctomb): Emit ESC $ ( Q instead of ESC $ ( O.
+	* tests/EUC-JISX0213.TXT: Change mappings U+2015 -> U+2014,
+	U+2299 -> U+29BF, and add 10 new characters.
+	* tests/SHIFT_JISX0213.TXT: Likewise.
+	* tests/ISO-2022-JP-3-snippet: Update.
+	* tests/ISO-2022-JP-3-snippet.UTF-8: Update.
+
+2004-07-22  Bruno Haible  <bruno@clisp.org>
+
+	* lib/encodings.def (ISO-8859-7): Add alias ISO_8859-7:2003.
+	* tools/Makefile (iso8859_7.h): Use conversion table from 2003.
+	* lib/iso8859_7.h: Add mappings for 0xa4, 0xa5, 0xaa.
+	* tests/ISO-8859-7.TXT: Update to ISO_8859-7:2003.
+
+2004-07-22  Bruno Haible  <bruno@clisp.org>
+
+	* tools/Makefile (ALL): Add iso8859_11.h.
+	(iso8859_11.h): New rule.
+	* lib/encodings.def: Add ISO-8859-11.
+	* lib/iso8859_11.h: New file.
+	* lib/converters.h: Include it.
+	* tests/ISO-8859-11.TXT: New file.
+	* tests/Makefile.in (check): Also test ISO-8859-11.
+	* tests/Makefile.msvc (check): Likewise.
+	* tests/Makefile.os2 (check): Likewise.
+
+2004-07-17  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c (main): Terminate option parsing when option -- is seen.
+	Reported by Len Lattanzi <zardoz@users.sourceforge.net>.
+
+2004-03-05  Bruno Haible  <bruno@clisp.org>
+
+	* src/Makefile.in (install): Make DESTDIR work on HP-UX.
+	Reported by Bob Proulx <box@proulx.com>.
+
+2004-02-19  Bruno Haible  <bruno@clisp.org>
+
+	* lib/vietcomb.h (viet_comp_table_data): Un-uncomment 0x00D5, 0x00F5,
+	0x0168, 0x0169. Needed for TCVN-5712 but not for CP1258.
+	(viet_comp_table0301_len): Increment by 4.
+
+	* lib/cp1255.h (cp1255_mbtowc): Don't delay the handling of characters
+	which are not entries in cp1255_comp_table_data.
+	* lib/cp1258.h (cp1258_comp_bases): New array.
+	(cp1258_mbtowc): Don't delay the handling of characters which are not
+	relevant entries in viet_comp_table_data.
+	* lib/tcvn.h (tcvn_comp_bases): New array.
+	(tcvn_mbtowc): Don't delay the handling of characters which are not
+	relevant entries in viet_comp_table_data.
+	Reported by Alain Bench <veronatif@free.fr>.
+
+2004-02-02  Perry Rapp  <lifelines_3_0_18@hotmail.com>
+            Bruno Haible  <bruno@clisp.org>
+
+	* man/iconvctl.3: New file.
+	* man/iconv.3: Refer to it in "See also".
+	* man/iconv_open.3: Likewise.
+
+2004-01-24  Bruno Haible  <bruno@clisp.org>
+
+	* srclib/progreloc.c (xstrdup): Define as strdup if no xmalloc should
+	be used.
+
+2004-01-20  Bruno Haible  <bruno@clisp.org>
+
+	Upgrade from gettext-0.14.
+
+	* configure.in: Call gl_USE_SYSTEM_EXTENSIONS. Call AM_STDBOOL_H
+	instead of gt_STDBOOL_H. Provide a definition for DLL_VARIABLE.
+	* srclib/Makefile.am (libicrt_a_SOURCES): Add allocsa.h, allocsa.c,
+	xalloc.h. Remove xmalloc.h.
+	(libicrt_a_LIBADD): Remove @ALLOCA@.
+	* srclib/Makefile.msvc (OBJECTS): Add allocsa.obj.
+	(allocsa.obj): New rule.
+	* srclib/Makefile.vms (OBJECTS): Add allocsa.obj.
+	(allocsa.obj): New rule.
+	* Makefile.devel (config.h_vms): Set MALLOC_0_IS_NONNULL to 0.
+	(config.h.msvc): Set MALLOC_0_IS_NONNULL to 1.
+
+    lib/:
+
+	2003-10-09  Bruno Haible  <bruno@clisp.org>
+	* lib/relocatable.c: Include xalloc.h instead of xmalloc.h.
+
+	2003-08-01  Bruno Haible  <bruno@clisp.org>
+	* lib/relocatable.c (find_shared_library_fullname): Disable the code on
+	Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
+
+	2003-06-22  Bruno Haible  <bruno@clisp.org>
+	* lib/relocatable.c (compute_curr_prefix): Comment out this function in
+	the case when it is not used.
+	Reported by Pavel Roskin <proski@gnu.org>.
+
+    m4/:
+
+	* m4/gettext.m4: Upgrade from GNU gettext. Many changes.
+	* m4/po.m4: Likewise.
+
+	* m4/readlink.m4: New file, from GNU gettext.
+
+	2003-11-30  Bruno Haible  <bruno@clisp.org>
+	* m4/allocsa.m4: New file.
+	* m4/eealloc.m4: New file.
+	* m4/setenv.m4 (gl_PREREQ_SETENV): Require gl_ALLOCSA instead of
+	AC_FUNC_ALLOCA.
+
+	2003-10-21  Bruno Haible  <bruno@clisp.org>
+	* m4/canonicalize.m4 (gl_PREREQ_CANONICALIZE): Also test for
+	readlink().
+
+	2003-08-24  Bruno Haible  <bruno@clisp.org>
+	* m4/relocatable.m4 (AC_RELOCATABLE): Use $(host) instead of @host@,
+	since the substitution of @host@ may occur before the substitution of
+	@SET_RELOCATABLE@.
+
+	2003-08-23  Bruno Haible  <bruno@clisp.org>
+	* stdbool.m4: Replace with the version from gnulib, without
+	AC_HEADER_STDBOOL.
+
+	2003-08-08  Paul Eggert  <eggert@twinsun.com>
+	* m4/extensions.m4: New file.
+	* m4/unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
+	Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
+
+	2003-07-01  Bruno Haible  <bruno@clisp.org>
+	* m4/ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>.
+	<sys/types.h> should be sufficient.
+	Reported by Paul Eggert.
+
+	2003-07-01  Bruno Haible  <bruno@clisp.org>
+	* m4/lib-prefix.m4 (AC_LIB_ARG_WITH): Avoid "duplicated macro" error
+	from aclocal-1.4-p4.
+	Reported by Luke Schierer <lschiere@rackspace.com> and
+	Michael C. Toren <mct@toren.net>.
+
+	2003-07-01  Paul Eggert  <eggert@twinsun.com>
+	* m4/xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
+	xreadlink.c now includes it unconditionally.
+
+	2003-06-17  Paul Eggert  <eggert@twinsun.com>
+	* m4/lib-ld.m4 (AC_LIB_PROG_LD_GNU, AC_LIB_PROG_LD): Don't use egrep,
+	for portability to POSIX 1003.1-2001.  Backported from libtool-1.5.
+
+	2003-05-28  Paul Eggert  <eggert@twinsun.com>
+	* m4/pathmax.m4 (gl_PATHMAX): Don't check for limits.h.
+	* m4/xreadlink.m4 (gl_XREADLINK): Likewise.
+
+	2002-12-24  Bruno Haible  <bruno@clisp.org>
+	* m4/setenv.m4 (gt_FUNC_SETENV): New macro.
+	(gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
+	when invoked twice.
+	(gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
+	gt_FUNC_SETENV.
+
+    srclib/:
+
+	2003-11-30  Bruno Haible  <bruno@clisp.org>
+	* srclib/alloca.c: Remove file.
+
+	2003-11-30  Bruno Haible  <bruno@clisp.org>
+	Safer stack allocation.
+	* srclib/allocsa.h: New file.
+	* srclib/allocsa.c: New file.
+	* canonicalize.c: Include allocsa.h.
+	(__realpath): Use allocsa instead of alloca. Don't clobber errno right
+	before returning NULL.
+	* srclib/relocwrapper.c: Indirectly depends on allocsa.
+	* srclib/setenv.c: Include allocsa.h.
+	(alloca): Remove fallback definition.
+	(freea): Remove macro.
+	(__add_to_environ) [!_LIBC]: Use allocsa instead of alloca. Use freesa
+	instead of freea.
+
+	2003-11-17  Bruno Haible  <bruno@clisp.org>
+	* srclib/canonicalize.c: #undef realpath after <config.h> but before
+	the system includes, so as to avoid a prototype clash on Solaris 2.5.1.
+	Reported by Warren L. Dodge <warrend@mdhost.cse.tek.com>.
+
+	2003-10-21  Bruno Haible  <bruno@clisp.org>
+	* srclib/canonicalize.c (lstat): Define as an alias to 'stat' on
+	systems without symbolic links.
+
+	2003-10-17  Bruno Haible  <bruno@clisp.org>
+	* srclib/binary-io.h: Avoid warnings on Cygwin.
+
+	2003-10-09  Bruno Haible  <bruno@clisp.org>
+	* srclib/xalloc.h: Renamed from xmalloc.h.
+	* srclib/progreloc.c: Include xalloc.h instead of xmalloc.h.
+	* srclib/relocatable.c: Likewise.
+	* srclib/xmalloc.c: Likewise.
+	* srclib/xreadlink.c: Likewise.
+	* srclib/xstrdup.c: Likewise.
+
+	2003-09-12  Paul Eggert  <eggert@twinsun.com>
+	* srclib/progreloc.c (get_full_program_name): Define via prototype.
+
+	2003-09-12  Paul Eggert  <eggert@twinsun.com>
+	* srclib/setenv.c (clearenv): Define via prototype.
+
+	2003-09-10  Bruno Haible  <bruno@clisp.org>
+	* srclib/setenv.c: Include <stdlib.h> and <string.h> unconditionally.
+	* srclib/unsetenv.c: Likewise.
+
+	2003-08-28  Bruno Haible  <bruno@clisp.org>
+	* srclib/binary-io.h: Undefine O_BINARY before defining it. This avoids
+	a warning on QNX, which defines O_BINARY to 000000.
+
+	2003-08-24  Bruno Haible  <bruno@clisp.org>
+	* srclib/binary-io.h: Include <stdio.h>, to avoid a compilation error
+	when MSVC7 <stdio.h> is included later.
+
+	2003-08-24  Bruno Haible  <bruno@clisp.org>
+	* srclib/error.h: Use ANSI C "..." declarations when compiling with
+	MSVC, even though it doesn't define __STDC__ by default.
+	* srclib/error.c: Use <stdarg.h> when compiling with MSVC, even though
+	it doesn't define __STDC__ by default.
+
+	2003-08-24  Bruno Haible  <bruno@clisp.org>
+	Support for building DLLs on Windows.
+	* srclib/error.h (error_print_progname, error_message_count,
+	error_one_per_line): Add DLL_VARIABLE attribute.
+	* srclib/progname.h (program_name): Likewise.
+
+	2003-08-24  Bruno Haible  <bruno@clisp.org>
+	* srclib/progname.h: Make this file includable in C++ mode: add extern
+	"C".
+	* srclib/relocatable.h: Likewise.
+	* srclib/xmalloc.h: Likewise.
+
+	2003-08-22  Bruno Haible  <bruno@clisp.org>
+	* srclib/progname.h (error_with_progname, maybe_print_progname): Remove
+	declarations.
+	* srclib/progname.c (error_with_progname): Remove variable.
+	(maybe_print_progname): Remove function.
+
+	2003-08-01  Bruno Haible  <bruno@clisp.org>
+	* srclib/relocatable.c (find_shared_library_fullname): Disable the code
+	on Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
+
+	2003-07-01  Paul Eggert  <eggert@twinsun.com>
+	* srclib/xreadlink.c: Include <sys/types.h> unconditionally, instead of
+	having it depend on HAVE_SYS_TYPES_H.
+
+	2003-06-23  Bruno Haible  <bruno@clisp.org>
+	Avoid compilation units that are empty after preprocessing.
+	* srclib/canonicalize.c: Add dummy declaration.
+	* srclib/strerror.c: Likewise.
+	* srclib/error.c: Include <stdio.h> even if there's nothing to be
+	compiled.
+
+	2003-06-22  Bruno Haible  <bruno@clisp.org>
+	* srclib/relocatable.c (compute_curr_prefix): Comment out this function
+	in the case when it is not used.
+	Reported by Pavel Roskin <proski@gnu.org>.
+
+	2003-05-28  Paul Eggert  <eggert@twinsun.com>
+	* srclib/pathmax.h: Include <limits.h> without checking for
+	HAVE_LIMITS_H.
+	* srclib/xreadlink.c: Likewise.
+
+2004-01-20  Bruno Haible  <bruno@clisp.org>
+
+	Assume automake-1.8.
+	* Makefile.devel (AUTOCONF, AUTOHEADER): Assume autoconf-2.59.
+	(AUTOMAKE): Assume automake-1.8.
+	* Makefile.in (am--refresh): New target.
+
+2004-01-23  Bruno Haible  <bruno@clisp.org>
+
+	* Version 1.9.2 released.
+
+2004-01-23  Bruno Haible  <bruno@clisp.org>
+
+	* tests/table-from.c: Include binary-io.h.
+	(main): Switch stdout to binary mode.
+	* tests/table-to.c: Include binary-io.h.
+	(main): Switch stdout to binary mode.
+	* tests/genutf8.c: Include binary-io.h.
+	(main): Switch stdout to binary mode.
+	* tests/Makefile.in (INCLUDES): Also look in srclib.
+	(check): Pass INCLUDES when compiling genutf8.c.
+	* tests/Makefile.os2 (INCLUDES): Also look in srclib.
+	(genutf8.exe): Pass INCLUDES when compiling genutf8.c.
+	* tests/Makefile.msvc (INCLUDES): Also look in srclib.
+	(check): Pass INCLUDES when compiling genutf8.c.
+
+2004-01-21  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c (force_binary): Remove variable.
+	(usage): Don't document --binary any more.
+	(convert, main): Always switch to binary mode.
+	* tests/check-stateful.bat: Remove --binary option.
+	* tests/check-translit.bat: Likewise.
+	* tests/check-stateful.cmd: Likewise.
+	* tests/check-translit.cmd: Likewise.
+	* djgpp/stateful-check.sed: Remove MODE variable.
+	* djgpp/translit-check.sed: Likewise.
+
+2004-01-21  Bruno Haible  <bruno@clisp.org>
+
+	* man/iconv.3: Fix description of return value in case of error.
+	Reported by Jonathan Wakely <redi@users.sf.net>.
+
+2003-09-12  Paul Eggert  <eggert@twinsun.com>
+
+	* srclib/progreloc.c (get_full_program_name): Define via prototype.
+
+2003-08-15  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (lib/translit.h): Add ulimit command so that the
+	gentranslit program gets the stack it needs. Many Linux distributions
+	allow only 8 MB of stack by default.
+
+2003-08-01  Bruno Haible  <bruno@clisp.org>
+
+	* lib/relocatable.c (find_shared_library_fullname): Disable the code on
+	Linux/libc5.
+	* srclib/relocatable.c (find_shared_library_fullname): Likewise.
+	Reported by Alain Guibert <derogaton+bgli@oreka.com>.
+
+2003-07-02  Bruno Haible  <bruno@clisp.org>
+
+	* m4/lib-ld.m4: Update from GNU gettext.
+	* m4/lib-prefix.m4: Update from GNU gettext.
+	* m4/gettext.m4: Update from GNU gettext.
+	* m4/intmax.m4: New file, from GNU gettext.
+	* m4/longdouble.m4: New file, from GNU gettext.
+	* m4/longlong.m4: New file, from GNU gettext.
+	* m4/printf-posix.m4: New file, from GNU gettext.
+	* m4/signed.m4: New file, from GNU gettext.
+	* m4/wchar_t.m4: New file, from GNU gettext.
+	* m4/wint_t.m4: New file, from GNU gettext.
+	* m4/pathmax.m4: Update from GNU gettext and gnulib.
+	* m4/ssize_t.m4: Update from GNU gettext and gnulib.
+	* m4/xreadlink.m4: Update from GNU gettext and gnulib.
+	* m4/readlink.m4: New file, from gnulib.
+	* autoconf/install-reloc: Update from GNU gettext.
+	* srclib/stdbool_.h: Renamed from srclib/stdbool.h.in.
+	* srclib/readlink.c: New file, from GNU gettext and gnulib.
+	* srclib/Makefile.am (LIBADD_SOURCE): Add readlink.c.
+	(EXTRA_DIST, stdbool.h): Use stdbool_.h instead of stdbool.h.in.
+	* configure.in: Invoke gl_FUNC_READLINK.
+
+2003-06-22  Bruno Haible  <bruno@clisp.org>
+
+	* src/Makefile.in (install): Link with the already installed library.
+	This fixes a link error on Solaris.
+	Reported by Paul Eggert.
+
+2003-06-08  Bruno Haible  <bruno@clisp.org>
+
+	* srclib/canonicalize.c (__getcwd) [VMS]: Pass 3 arguments to getcwd.
+
+2003-05-02  Bruno Haible  <bruno@clisp.org>
+
+	Support for libtool-1.5.
+	* srclib/progname.c (set_program_name): Remove a leading
+	"<dirname>/.libs/lt-" or "<dirname>/.libs/", not only "lt-".
+
+2003-06-23  Bruno Haible  <bruno@clisp.org>
+
+	Avoid compilation units that are empty after preprocessing.
+	* srclib/canonicalize.c: Add dummy declaration.
+	* srclib/strerror.c: Likewise.
+	* srclib/error.c: Include <stdio.h> even if there's nothing to be
+	compiled.
+
+2003-06-22  Bruno Haible  <bruno@clisp.org>
+
+	Portability to mingw32.
+	* m4/ssize_t.m4: New file, from GNU gettext.
+	* m4/xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
+	Reported by Jeff Bonggren <jbon@cfl.rr.com>.
+
+2003-06-22  Bruno Haible  <bruno@clisp.org>
+
+	Portability to mingw32.
+	* lib/relocatable.c [WIN32]: Include <windows.h>.
+	* srclib/relocatable.c: Likewise.
+	Reported by Jeff Bonggren <jbon@cfl.rr.com>.
+
+2003-06-22  Bruno Haible  <bruno@clisp.org>
+
+	* lib/relocatable.c (compute_curr_prefix): Comment out this function in
+	the case when it is not used.
+	* srclib/relocatable.c (compute_curr_prefix): Likewise.
+	Reported by Pavel Roskin <proski@gnu.org>.
+
+2003-06-18  Bruno Haible  <bruno@clisp.org>
+
+	* config/install-sh: Update from automake-1.7.5.
+
+2003-06-16  Bruno Haible  <bruno@clisp.org>
+
+	* lib/encodings.def (ISO-8859-15): Add alias LATIN-9.
+	(ISO-8859-16): Add aliases ISO_8859-16:2001, LATIN10, L10. Remove alias
+	ISO_8859-16:2000.
+	(GBK): Add aliases MS936, WINDOWS-936.
+	Reported by Guido Flohr <guido@imperia.net>.
+
+2003-05-09  Bruno Haible  <bruno@clisp.org>
+
+	* srclib/canonicalize.c: Add #ifdef around versioned_symbol. Avoids an
+	"extraneous semicolon" warning from Tru64 cc.
+
+2003-06-07  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (config.h_vms): Don't define HAVE_ENVIRON_DECL.
+	* Makefile.vms (config.h): New rule.
+	(all, install): Depend on it.
+	(all, install, installdirs, uninstall, check): Fix typo.
+	(mostlyclean, clean, distclean, maintainer-clean): Likewise. Remove
+	config.h.
+	* lib/Makefile.vms (DEFS): Fix value of INSTALLDIR.
+	(OBJECTS): Use libiconv.obj instead of iconv.obj.
+	(libiconv.obj): Renamed from iconv.obj.
+	* srclib/Makefile.vms (INCLUDES): Add parent directory.
+	(OBJECTS): Remove strtoul.obj, setenv.obj, unsetenv.obj.
+	(strtoul.obj, setenv.obj, unsetenv.obj): Remove rules.
+	(alloca.h): New rule.
+	(canonicalize.obj): Depend on it.
+	(clean): Remove alloca.h.
+	* src/Makefile.vms (datadir, localedir): New variables.
+	(DEFS): Also define LOCALEDIR.
+	(iconv.obj): Add flags for relocatability,
+	(iconv.exe): Link with libicrt. Use link_options.
+	* vms/link_options.opt: New file.
+	Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
+
+2003-06-07  Bruno Haible  <bruno@clisp.org>
+
+	Support for relocatable data files even on Woe32.
+	* lib/Makefile.msvc (PICFLAGS): Also define PIC.
+
+2003-05-22  Bruno Haible  <bruno@clisp.org>
+
+	* Version 1.9.1 released.
+
+2003-05-22  Bruno Haible  <bruno@clisp.org>
+
+	* lib/genaliases.c (main): Emit %pic instead of %null-strings.
+	Change type of 'name' field to 'int'.
+	* lib/genaliases2.c (emit_encoding): Add a 'tag' argument. Emit an
+	invocation of macro S(), including the tag and a counter.
+	(main): Use the command-line argument as tag.
+	* Makefile.devel (lib/aliases_aix.h, lib/aliases_osf1.h,
+	lib/aliases_dos.h, lib/aliases_extra.h): Pass a tag to the program.
+	* lib/iconv.c (stringpool2_t): New type.
+	(stringpool2_contents): New data table.
+	(stringpool2): New macro.
+	(sysdep_aliases): Make position-independent. Move #includes out to
+	aliases2.h.
+	(aliases2_lookup): Update.
+	(nalias): New type.
+	(compare_by_index): Use 'struct nalias' instead of 'struct alias'.
+	(iconvlist): Convert 'struct alias' to 'struct nalias' while copying.
+	* lib/aliases2.h: New file, extracted from lib/iconv.c.
+
+2003-05-20  Bruno Haible  <bruno@clisp.org>
+
+	* lib/iconv.c (iconvlist): Test p->name against NULL, not against "".
+	Reported by Muraoka Taro <koron@tka.att.ne.jp>.
+
+2003-05-19  Bruno Haible  <bruno@clisp.org>
+
+	* windows/iconv.rc: Include <winver.h>.
+	Reported by Perry Rapp.
+
+2003-05-18  Bruno Haible  <bruno@clisp.org>
+
+	* Version 1.9 released.
+
+2003-05-18  Bruno Haible  <bruno@clisp.org>
+
+	* lib/Makefile.in (libiconv_plug_osf.so): Avoid using LIBTOOL_LINK.
+
+2003-05-18  Bruno Haible  <bruno@clisp.org>
+
+	* lib/Makefile.msvc (DEBUGFLAGS): New variable.
+	(iconv.lib): Use it.
+	* src/Makefile.msvc (DEBUGFLAGS): New variable.
+	* tests/Makefile.msvc (DEBUGFLAGS): New variable.
+
+2003-05-17  Bruno Haible  <bruno@clisp.org>
+
+	* src/Makefile.msvc (libdir, datadir, localedir): New variables.
+	(IIlibdir, IIdatadir, IIlocaledir): New variables.
+	(CFLAGS): Define LOCALEDIR.
+	(iconv_no_i18n.exe): New rule.
+	(all): Depend on it.
+	* tests/check-stateful.bat: Invoke iconv_no_i18n instead of iconv.
+	* tests/check-translit.bat: Likewise.
+
+2003-05-16  Bruno Haible  <bruno@clisp.org>
+
+	* lib/genaliases.c (main): Emit declarations for gperf-3.0.
+	* Makefile.devel (lib/aliases.h): Remove gperf command line options;
+	add new option "-m 10" for gperf-3.0.
+
+2003-05-12  Bruno Haible  <bruno@clisp.org>
+
+	* m4/error.m4: Update from gettext.
+
+2003-05-12  Bruno Haible  <bruno@clisp.org>
+
+	* configure.in: Invoke AC_GNU_SOURCE and jm_FUNC_GLIBC_UNLOCKED_IO.
+
+2003-05-12  Bruno Haible  <bruno@clisp.org>
+
+	* lib/Makefile.msvc (PICFLAGS, CFLAGS): Move BUILDING_* macros from
+	CFLAGS to PICFLAGS.
+
+2003-05-09  Bruno Haible  <bruno@clisp.org>
+
+	* srclib/error.c: Update from gnulib with modifications.
+	* srclib/unlocked-io.h: New file, from gnulib.
+	* m4/strerror_r.m4: New file, from gnulib.
+	* m4/unlocked-io.m4: New file, from gnulib.
+	* Makefile.devel (aclocal.m4): Depend on them.
+
+2003-05-08  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.msvc (IIPREFIX): New variable.
+	* srclib/Makefile.msvc (INCLUDES): Add -I..\windows.
+	* src/Makefile.msvc (IIPREFIX, IIprefix, IIexec_prefix, IIbindir,
+	IIincludedir): New variables.
+	(INCLUDES): Add -I..\windows.
+	(iconv.exe): Define INSTALLPREFIX and INSTALLDIR. Link with
+	../srclib/icrt.lib.
+	Patches by Perry Rapp.
+
+2003-05-07  Bruno Haible  <bruno@clisp.org>
+
+	* README.woe32: Fix instructions for step 1.
+	* srclib/Makefile.msvc (OBJECTS): Remove strtoul.obj.
+	(strtoul.obj): Remove rule.
+	Reported by Perry Rapp.
+
+2003-05-07  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.vms: New file.
+	* lib/Makefile.vms: New file.
+	* srclib/Makefile.vms: New file.
+	* src/Makefile.vms: New file.
+	* man/Makefile.vms: New file.
+	* tests/Makefile.vms: New file.
+	* Makefile.devel (config.h_vms, lib/config.h_vms, include/iconv.h_vms):
+	New rules.
+	(all): Depend on them.
+
+2003-05-07  Bruno Haible  <bruno@clisp.org>
+
+	* srclib/Makefile.msvc (OBJECTS): Remove findprog.obj.
+	(findprog.obj): Remove rule.
+	* src/Makefile.msvc (includedir): New variable.
+
+2003-05-06  Bruno Haible  <bruno@clisp.org>
+
+	* lib/translit.def: Upgrade to Unicode 4.0.
+
+2003-05-06  Bruno Haible  <bruno@clisp.org>
+
+	* srclib/Makefile.am (DEFS): Fix spelling of DEPENDS_ON_LIBICONV.
+	* srclib/Makefile.msvc (CFLAGS): Likewise.
+
+	* srclib/Makefile.msvc (INCLUDES): Add -I.. .
+	Reported by Perry Rapp.
+
+	* Makefile.msvc (config.h): New rule.
+	(all): Depend on it.
+	(mostlyclean, clean, distclean, maintainer-clean): Erase config.h.
+	Reported by Perry Rapp.
+
+2003-05-06  Bruno Haible  <bruno@clisp.org>
+
+	* autoconf/config.guess: Update to GNU version 2003-02-22.
+	* autoconf/config.sub: Likewise.
+
+2003-05-06  Bruno Haible  <bruno@clisp.org>
+
+	* m4/lib-link.m4: Update from GNU gettext.
+	* autoconf/config.rpath: Update from GNU gettext.
+
+	* m4/libtool.m4: Update from GNU gettext, based on libtool-1.5.
+	* autoconf/ltmain.sh: Update from GNU gettext, based on libtool-1.5.
+
+	* m4/gettext.m4: Update from GNU gettext.
+	* m4/nls.m4: Update from GNU gettext.
+	* m4/po.m4: Update from GNU gettext.
+	* Makefile.devel (aclocal.m4): Depend on m4/nls.m4 and m4/po.m4.
+
+2003-04-12  Bruno Haible  <bruno@clisp.org>
+
+	Support for OpenVMS 7.3.
+	* lib/iconv.c (USE_OSF1): Define also on VMS.
+
+2003-04-12  Bruno Haible  <bruno@clisp.org>
+
+	Better support for FreeBSD.
+	* lib/encodings.def (ISO8859-{1,2,3,4,5,6,7,8,9,10,13,14,15,16): New
+	aliases, for compatibility with earlier FreeBSD iconv implementation
+	by Konstantin Chuguev.
+	* lib/iconv.c (iconv_open, iconv, iconv_close) [FreeBSD]: Define as
+	aliases.
+	* src/Makefile.in (install) [FreeBSD]: Avoid installation problem.
+
+2003-04-12  Bruno Haible  <bruno@clisp.org>
+
+	* configure.in (mandir): Change default value.
+	* Makefile.in (datadir): New variable.
+	(install, installdirs, uninstall): Pass datadir to po and man
+	directories.
+	* Makefile.os2 (datadir): New variable.
+	(mandir): Use it instead of prefix.
+	(install, uninstall): Pass datadir to man directory.
+	* Makefile.msvc (mandir, docdir): Use datadir instead of prefix.
+	* man/Makefile.in (datadir): New variable.
+	(docdir): Use it instead of prefix.
+	(install, installdirs): Update.
+	* man/Makefile.os2 (datadir): New variable.
+	(mandir): Use it instead of prefix.
+	* man/Makefile.msvc (datadir): New variable.
+	(mandir, docdir): Use it instead of prefix.
+	(install, installdirs): Update.
+
+2003-04-06  Bruno Haible  <bruno@clisp.org>
+
+	Make it possible to build with or without libintl support on Woe32.
+	* Makefile.devel (config.h.msvc): Remove ENABLE_NLS.
+	* Makefile.msvc (NO_NLS): New variable.
+	* srclib/Makefile.msvc (NO_NLS): New variable.
+	(CFLAGS, INCLUDES): Use them.
+	* src/Makefile.msvc (NO_NLS): New variable.
+	(NLSFLAGS, INCINTL, LIBINTL): New variables.
+	(CFLAGS, INCLUDES, iconv.exe): Use them.
+
+2003-04-12  Bruno Haible  <bruno@clisp.org>
+
+	* lib/loop_unicode.h (unicode_transliterate): When the Hangul or
+	variants transliteration failed with RET_ILUNI, don't return
+	RET_TOOSMALL.
+	Reported by the FreeBSD porters.
+
+2003-04-06  Bruno Haible  <bruno@clisp.org>
+
+	* srclib/binary-io.h: New file, from GNU gettext.
+	* src/iconv.c: Include it.
+	(O_BINARY, O_TEXT, SET_BINARY): Remove definitions.
+
+2003-04-05  Bruno Haible  <bruno@clisp.org>
+
+	Support for relocatable installation.
+	* m4/alloca.m4: New file, from GNU gettext.
+	* m4/canonicalize.m4: New file, from GNU gettext.
+	* m4/error.m4: New file, from GNU gettext.
+	* m4/onceonly.m4: New file, from GNU gettext.
+	* m4/pathmax.m4: New file, from GNU gettext.
+	* m4/relocatable.m4: New file, from GNU gettext.
+	* m4/setenv.m4: New file, from GNU gettext.
+	* m4/stdbool.m4: New file, from GNU gettext.
+	* m4/strerror.m4: New file, from GNU gettext.
+	* m4/xreadlink.m4: New file, from GNU gettext.
+	* autoconf/config.libpath: New file, from GNU gettext.
+	* autoconf/install-reloc: New file, from GNU gettext.
+	* autoconf/reloc-ldflags: New file, from GNU gettext.
+	* autoconf/missing: New file, from GNU automake 1.7.3.
+	* lib/relocatable.h: New file, from GNU gettext.
+	* lib/relocatable.c: New file, from GNU gettext.
+	* srclib/alloca.c: New file, from GNU gettext.
+	* srclib/alloca_.h: New file, from GNU gettext.
+	* srclib/canonicalize.c: New file, from GNU gettext.
+	* srclib/canonicalize.h: New file, from GNU gettext.
+	* srclib/error.c: New file, from GNU gettext.
+	* srclib/error.h: New file, from GNU gettext.
+	* srclib/exit.h: New file, from GNU gettext.
+	* srclib/gettext.h: New file, from GNU gettext.
+	* srclib/memmove.c: New file, from GNU gettext.
+	* srclib/pathmax.h: New file, from GNU gettext.
+	* srclib/progname.c: New file, from GNU gettext.
+	* srclib/progname.h: New file, from GNU gettext.
+	* srclib/progreloc.c: New file, from GNU gettext.
+	* srclib/relocatable.c: New file, from GNU gettext.
+	* srclib/relocatable.h: New file, from GNU gettext.
+	* srclib/relocwrapper.c: New file, from GNU gettext.
+	* srclib/setenv.c: New file, from GNU gettext.
+	* srclib/setenv.h: New file, from GNU gettext.
+	* srclib/stdbool.h.in: New file, from GNU gettext.
+	* srclib/strerror.c: New file, from GNU gettext.
+	* srclib/unsetenv.c: New file, from GNU gettext.
+	* srclib/xmalloc.c: New file, from GNU gettext.
+	* srclib/xmalloc.h: New file, from GNU gettext.
+	* srclib/xreadlink.c: New file, from GNU gettext.
+	* srclib/xreadlink.h: New file, from GNU gettext.
+	* srclib/xstrdup.c: New file, from GNU gettext.
+	* srclib/Makefile.am: New file.
+	* srclib/Makefile.msvc: New file.
+	* windows/alloca.h: New file, from GNU gettext.
+	* windows/stdbool.h: New file, from GNU gettext.
+	* configure.in (AC_CONFIG_HEADERS): Replace src/config.h with config.h.
+	Add AC_RELOCATABLE, AC_HEADER_STDC, AC_CHECK_HEADERS(stddef.h stdlib.h
+	string.h), AC_CHECK_FUNCS(getc_unlocked), AC_REPLACE_FUNCS(memmove),
+	AM_LANGINFO_CODESET, gl_FUNC_ALLOCA, gl_CANONICALIZE,
+	gt_FUNC_ERROR_AT_LINE, gl_PATHMAX, gt_FUNC_SETENV, gt_STDBOOL_H,
+	gl_FUNC_STRERROR, gl_XREADLINK, AC_OUTPUT(srclib/Makefile).
+	* lib/config.h.in: Add HAVE_GETC_UNLOCKED, HAVE_LANGINFO_CODESET,
+	HAVE_SETLOCALE, HAVE_STDDEF_H, HAVE_STDLIB_H, HAVE_STRING_H, for
+	localcharset.c. Add ENABLE_RELOCATABLE, INSTALLPREFIX, for
+	relocatable.c.
+	* lib/Makefile.in (DEFS): New variable.
+	(SOURCES): Add localcharset.c and relocatable.c.
+	(OBJECTS): Add localcharset.lo and relocatable.lo.
+	(LIBCHARSET_OBJECTS): Remove variable.
+	(libiconv_plug_linux.so, libiconv_plug_solaris.so,
+	libiconv_plug_osf.so): Use $(DEFS). Don't use $(LIBCHARSET_OBJECTS).
+	(iconv.lo): Use $(DEFS).
+	(localcharset.lo, relocatable.lo): New rules.
+	* lib/Makefile.msvc (CFLAGS): Define HAVE_CONFIG_H, BUILDING_DLL,
+	ENABLE_RELOCATABLE, IN_LIBRARY, INSTALLDIR, NO_XMALLOC,
+	set_relocation_prefix, relocate. Remove $(PICFLAGS).
+	(INCLUDES): Simplify.
+	(SOURCES): Remove variable.
+	(OBJECTS): Add localcharset.obj and relocatable.obj.
+	(LIBCHARSET_OBJECTS): Remove variable.
+	(iconv.obj): Add $(PICFLAGS).
+	(localcharset.obj, relocatable.obj): New rules.
+	(iconv.lib): Drop $(LIBCHARSET_OBJECTS).
+	* include/iconv.h.in (libiconv_set_relocation_prefix): New declaration.
+	* src/gettext.h: Remove file.
+	* src/iconv.c: Include progname.h and relocatable.h.
+	(ICONV_CONST): Define to const if the system has no iconv.
+	(main): Invoke set_program_name. Relocate LOCALEDIR.
+	* src/Makefile.in (top_srcdir): New variable.
+	(INCLUDES): Add .. and ../srclib.
+	(iconv_no_i18n, iconv): Link with ../srclib/libicrt.a.
+	(iconv_no_i18n.@OBJEXT@, iconv.@OBJEXT@): Define INSTALLDIR.
+	(RELOCATABLE_LIBRARY_PATH, RELOCATABLE_SRC_DIR, RELOCATABLE_BUILD_DIR,
+	RELOCATABLE_CONFIG_H_DIR, @SET_RELOCATABLE@, iconv_LDFLAGS): New
+	variables.
+	(iconv): Use $(iconv_LDFLAGS).
+	(install): Use $(INSTALL_PROGRAM_ENV).
+	(distclean): Drop removing config.h.
+	* src/Makefile.msvc (INCLUDES): Add .., simplify.
+	* tests/Makefile.msvc (INCLUDES): Simplify.
+	* Makefile.devel (AUTOHEADER, AUTOMAKE): New variables.
+	(config.h.in, srclib/Makefile.in, config.h.msvc): New rules.
+	(all): Depend on them.
+	(aclocal.m4) Depend also on m4/alloca.m4, m4/canonicalize.m4,
+	m4/error.m4, m4/onceonly.m4, m4/pathmax.m4, m4/relocatable.m4,
+	m4/setenv.m4, m4/stdbool.m4, m4/strerror.m4, m4/xreadlink.m4.
+	(lib/config.h.msvc): Additional processing.
+	* Makefile.in (all, install, installdirs, uninstall, check): Recurse
+	into srclib.
+	(mostlyclean, clean, distclean, maintainerclean): Likewise. Remove
+	lib/localcharset.h.
+	(distclean, maintainerclean): Remove also config.h and some stamps.
+	* Makefile.msvc (all, install, installdirs, uninstall, check,
+	mostlyclean, clean, distclean, maintainerclean): Recurse into srclib.
+	* INSTALL.generic: Document --enable-relocatable and
+	--with-libintl-prefix. Remove the recommendation to set CPPFLAGS and
+	LDFLAGS. The lib-link.m4 macros make this unnecessary.
+
+2003-04-05  Bruno Haible  <bruno@clisp.org>
+
+	* configure.in: Bump version number to 1.9.
+	* include/iconv.h.in (_LIBICONV_VERSION): Bump.
+	* windows/iconv.rc: Bump version number.
+	* lib/Makefile.in (LIBICONV_VERSION_INFO): Bump to 4:0:2.
+
+2003-04-05  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.msvc (PREFIX): New variable.
+	(prefix): Use it.
+	(distclean, maintainer-clean): Drop Unix specific removals.
+	* lib/Makefile.msvc (PREFIX, IIPREFIX): New variables.
+	(prefix): Use it.
+	(IIprefix, IIexec_prefix, IIbindir, IIlibdir): New variables.
+	(clean): Drop Unix specific removal.
+	* src/Makefile.msvc (PREFIX): New variable.
+	(prefix): Use it.
+	(clean): Drop Unix specific removal.
+	(distclean): Likewise.
+	* tests/Makefile.msvc (clean): Drop Unix specific removal.
+	(distclean): Likewise.
+
+2003-04-05  Bruno Haible  <bruno@clisp.org>
+
+	* m4/endian.m4 (CL_WORDS_LITTLEENDIAN): Use 3-argument AC_DEFINE.
+
+2003-04-05  Bruno Haible  <bruno@clisp.org>
+
+	* m4/general.m4 (CL_CONFIG_SUBDIRS, CL_CANONICAL_HOST,
+	CL_CANONICAL_HOST_CPU, CL_CANONICAL_HOST_CPU_FOR_FFCALL): Remove
+	macros.
+	* m4/gettext.m4: Update from GNU gettext.
+	* m4/iconv.m4: Update from GNU gettext.
+	* m4/lcmessage.m4: Update from GNU gettext.
+	* m4/progtest.m4: Update from GNU gettext.
+	* m4/libtool.m4: Update from GNU gettext.
+	2003-02-16  Bruno Haible  <bruno@clisp.org>
+		Workaround autoconf >= 2.52 breakage.
+		* libtool.m4 (AC_LIBTOOL_ARG_WITH): New macro.
+		(_LT_AC_LTCONFIG_HACK, AC_PROG_LD): Use it.
+	* autoconf/ltmain.sh: Update from GNU gettext.
+	2003-02-18  Bruno Haible  <bruno@clisp.org>
+		Fix the 2002-09-16 fix.
+		* ltmain.sh (install): If "ln -s -f" fails (this is the case
+		with /usr/bin/ln on Solaris 2.7), fall back to "rm && ln -s".
+
+2003-04-05  Bruno Haible  <bruno@clisp.org>
+
+	Start using automake.
+	* configure.in: Add AM_INIT_AUTOMAKE invocation.
+	(PACKAGE, VERSION): Remove.
+	Use AC_CANONICAL_HOST instead of CL_CANONICAL_HOST.
+	Use AC_PROG_LN_S instead of CL_PROG_LN_S.
+	Use AC_PROG_RANLIB instead of CL_PROG_RANLIB.
+	Reorder so that AC_CANONICAL_HOST comes early but still after
+	AC_PROG_CC.
+	* m4/ranlib.m4: Remove file.
+	* m4/libtool.m4: Undo AC_ -> CL_ substitutions.
+	* Makefile.devel (CLISP_DIR): Comment out.
+	(AUTOCONF_FILES): Change to aclocal.m4.
+	(aclocal.m4): Renamed from autoconf/aclocal.m4. Update dependencies.
+	(configure.in): Drop --include option.
+
+2003-03-17  Bruno Haible  <bruno@clisp.org>
+
+	Improved MSVC support.
+	* Makefile.msvc (prefix): Use less Unixy value.
+	(local_prefix): Remove variable.
+	(libdir, includedir, mandir): Use backslashes.
+	(bindir, datadir, localedir, docdir): New variables.
+	(INSTALL, INSTALL_PROGRAM, INSTALL_DATA): New variables.
+	(all): Recurse into po/ and man/.
+	(install, installdirs, uninstall): Rewritten.
+	(check, mostlyclean, clean, distclean, maintainer-clean): Recurse
+	into po/ and man/.
+	* lib/Makefile.msvc (prefix): Use less Unixy value.
+	(local_prefix): Remove variable.
+	(libdir): Use backslashes.
+	(bindir): New variable.
+	(INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Set to real values.
+	(RESOURCES): Enable iconv.res.
+	(install, installdirs, uninstall): New rules.
+	(clean): Remove config.h.
+	(distclean): Don't remove config.h here.
+	* src/Makefile.msvc (prefix, exec_prefix, bindir): New variables.
+	(INSTALL, INSTALL_PROGRAM, INSTALL_DATA): New variables.
+	(install, installdirs, uninstall): New rules.
+	* man/Makefile.msvc: New file.
+	* tests/Makefile.msvc (install, installdirs, uninstall): New rules.
+	* Makefile.devel (all): Depend on po/Makefile.msvc.
+	(po/Makefile.msvc): New rule.
+	* windows/iconv.rc: Update.
+	* README.woe32: Mention automatic installation command.
+
+	Rename libcharset.h to localcharset.h.
+	* lib/iconv.c: Include localcharset.h, not libcharset.h.
+	* Makefile.in (lib/localcharset.h): Renamed from lib/libcharset.h.
+	(all, install): Update dependencies.
+	(all): Create lib/localcharset.h, not lib/libcharset.h.
+	(mostlyclean, clean, distclean, maintainer-clean): Remove
+	lib/localcharset.h, not lib/libcharset.h.
+	* djgpp/README.in, djgpp/README: Update.
+	* djgpp/config.bat: Update.
+	* djgpp/config.sed: Update.
+	* djgpp/fnchange.in, djgpp/fnchange.lst: Update.
+
+2003-01-31  Bruno Haible  <bruno@clisp.org>
+
+	* src/Makefile.in (all): Don't do the chmod if it has already been
+	done.
+
+2003-01-31  Bruno Haible  <bruno@clisp.org>
+
+	* lib/loop_unicode.h (unicode_transliterate): Enable recursive
+	transliteration. Idea from Perry Rapp.
+	* lib/gentranslit.c (main): Change bound from 0x10000 to 0x110000.
+	Change element type of translit_data to 'unsigned int'.
+	* lib/translit.def: Many new transliterations, mostly taken from glibc.
+	* lib/translit.h: Regenerated.
+	* tests/Translit1.ISO-8859-1, tests/Translit1.ASCII: New files.
+	* tests/Makefile.in (check): Add Translit1 check.
+	* tests/Makefile.msvc (check): Likewise.
+	* tests/Makefile.os2 (check): Likewise.
+	* tests/TranslitFail1.ISO-8859-1: Choose a sentence which the new
+	improved transliteration cannot do.
+
+2003-02-14  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (AUTOCONF): Switch to autoconf-2.57.
+	(configure): Update rule.
+
+2003-01-03  Albert Chin  <libtool@thewrittenword.com>
+
+	* autoconf/ltmain.sh: Don't pass -R flags found in a .la's
+	dependency_libs variable directly down to the linker.
+	Reported by Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>.
+
+2003-01-01  Bruno Haible  <bruno@clisp.org>
+
+	* src/Makefile.in (install): Use libiconv.la in ../lib, not in
+	$(libdir), so that installing with DESTDIR works.
+	Reported by Michael Adams <michael@michaeladams.org>.
+
+2003-01-01  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.in (mkinstalldirs): New variable.
+	(install-lib, install, installdirs): Use it instead of mkdir.
+	* lib/Makefile.in (mkinstalldirs): New variable.
+	(install-lib, install, installdirs): Use it instead of mkdir.
+	* man/Makefile.in (mkinstalldirs): New variable.
+	(install, installdirs): Use it instead of mkdir.
+	* src/Makefile.in (mkinstalldirs): New variable.
+	(install, installdirs): Use it instead of mkdir.
+
+2002-09-27  Bruno Haible  <bruno@clisp.org>
+
+	* autoconf/mkinstalldirs: Upgrade to automake-1.7.2 version.
+
+2002-11-07  Bruno Haible  <bruno@clisp.org>
+
+	* m4/libtool.m4: Upgrade to libtool-1.4.3.
+	* autoconf/ltmain.sh: Upgrade to libtool-1.4.3.
+
+2002-07-14  Bruno Haible  <bruno@clisp.org>
+
+	* m4/libtool.m4 (_LT_AC_LTCONFIG_HACK): Add support for GNU/FreeBSD.
+
+2002-06-12  Bruno Haible  <bruno@clisp.org>
+
+	* configure.in: Use new AC_* names of libtool macros. Invoke
+	AC_LIBTOOL_WIN32_DLL.
+
+2002-12-19  Bruno Haible  <bruno@clisp.org>
+
+	* lib/Makefile.in (libiconv_plug_solaris.so): Change rule if using gcc.
+	Reported by Henry Nelson <henry@irm.nara.kindai.ac.jp>.
+
+2002-11-07  Bruno Haible  <bruno@clisp.org>
+
+	Make "make install" without prior "make" work.
+	* Makefile.in (lib/libcharset.h): New rule.
+	(all, install): Depend on it.
+	Reported by Martin Mokrejš <mmokrejs@natur.cuni.cz>.
+
+2002-10-28  Bruno Haible  <bruno@clisp.org>
+
+	* man/Makefile.in (install): Change directory back to the working
+	directory, so that install-sh (which may be a relative pathname) is
+	found in the right place.
+
+2002-09-16  Bruno Haible  <bruno@clisp.org>
+
+	* autoconf/ltmain.sh (install): Use "ln -s -f" instead of
+	"rm -f && ln -s" to make a symlink for a shared library.
+	Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
+
+2002-09-02  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c (main): Don't call bindtextdomain if !ENABLE_NLS.
+
+2002-08-16  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c (main): Perform fflush before testing ferror(stdout).
+
+2002-05-29  Bruno Haible  <bruno@clisp.org>
+
+	* Version 1.8 released.
+
+2002-05-26  Bruno Haible  <bruno@clisp.org>
+
+	* lib/c99.h: New file.
+	* lib/converters.h: Include it.
+	* lib/encodings.def (C99): New encoding.
+	* README, man/iconv_open.3: Document C99 encoding.
+
+2002-05-26  Bruno Haible  <bruno@clisp.org>
+
+	* lib/java.h (java_mbtowc): Accept 12-byte sequences for non-BMP
+	characters.
+	(java_wctomb): Produce 12-byte sequences for non-BMP characters.
+
+2002-05-29  Bruno Haible  <bruno@clisp.org>
+
+	Fix installation of iconv program when linked with a libintl that was
+	built against an earlier libiconv.
+	* src/iconv.c: Conditionally disable NLS.
+	* src/iconv_no_i18n.c: New file.
+	* src/Makefile.in (libdir): New variable.
+	(all): Depend on iconv_no_i18n, iconv.@OBJEXT@ but not iconv. Make
+	directory writable, so iconv executable can be created during "make
+	install".
+	(iconv): Remove rule.
+	(iconv_no_i18n, iconv_no_i18n.@OBJEXT@): New rules.
+	(install): Link iconv now, after the new libiconv.so is installed.
+	(clean): Also remove iconv_no_i18n.
+	* tests/Makefile.in: (check, check-extra-yes): Depend on iconv_no_i18n,
+	not iconv.
+	* tests/check-stateful: Use iconv_no_i18n, not iconv.
+	* tests/check-translit: LIkewise.
+	* tests/check-translitfailure: Likewise.
+
+2002-05-29  Bruno Haible  <bruno@clisp.org>
+
+	* configure.in: Call AC_PROG_INSTALL instead of CL_PROG_INSTALL.
+	* m4/install.m4: Remove file.
+	* Makefile.devel (autoconf/aclocal.m4): Don't depend on m4/install.m4.
+
+2002-05-24  Bruno Haible  <bruno@clisp.org>
+
+	* lib/jisx0213.h: Use 'inline' only conditionally.
+
+2002-05-18  Bruno Haible  <bruno@clisp.org>
+
+	* configure.in (AC_INIT), include/iconv.h.in (_LIBICONV_VERSION),
+	README, windows/iconv.rc, djgpp/README, djgpp/fnchange.lst:
+	Bump version number.
+	* lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 3:0:1.
+
+2002-02-06  Bruno Haible  <bruno@clisp.org>
+
+	* autoconf/ltmain.sh: Upgrade from libtool-1.4 to libtool-1.4.2.
+
+2002-02-02  Bruno Haible  <bruno@clisp.org>
+
+	* autoconf/ltmain.sh: Add DESTDIR support on ELF systems.
+
+2001-11-03  Bruno Haible  <haible@clisp.cons.org>
+
+	* autoconf/ltmain.sh: chmod 777 the .libs directory, so that
+	"make install" succeeds.
+
+2002-05-18  Bruno Haible  <bruno@clisp.org>
+
+	* src/Makefile.in (iconv): Remove the -liconv dependency of -lintl
+	from the command line. Needed to ensure that the new libiconv version
+	is used on FreeBSD.
+
+2002-05-14  Bruno Haible  <bruno@clisp.org>
+
+	Implement and document CP853, TDS565, RISCOS-LATIN1.
+	* tools/Makefile (ALL): Add cp853.h, tds565.h, riscos1.h.
+	(cp853.h, tds565.h, riscos1.h): New rules.
+	* lib/cp853.h: New file.
+	* lib/tds565.h: New file.
+	* lib/riscos1.h: New file.
+	* lib/converters.h: Include them.
+	* lib/encodings_dos.def (CP853): New encoding.
+	* lib/encodings_extra.def (TDS565, RISCOS-LATIN1): New encodings.
+	* README, man/iconv_open.3: Add CP853, TDS565, RISCOS-LATIN1.
+	* tests/Makefile.in (check-extra-yes): Check CP853, TDS565,
+	RISCOS-LATIN1.
+	* tests/Makefile.msvc (check): Check CP853.
+	* tests/CP853.TXT: New file.
+	* tests/TDS565.TXT: New file.
+	* tests/RISCOS-LATIN1.TXT: New file.
+
+	* lib/cp860.h (cp860_wctomb): Optimize.
+
+2002-05-12  Bruno Haible  <bruno@clisp.org>
+
+	* tools/Makefile (ksc5601.h): Add two extra characters.
+	* lib/ksc5601.h: Regenerated.
+	* tests/EUC-KR.TXT: Add EURO SIGN and REGISTERED SIGN.
+	* tests/CP949.TXT: Likewise.
+	* tests/JOHAB.TXT: Likewise.
+
+2002-05-12  Bruno Haible  <bruno@clisp.org>
+
+	* README: Mention extra encodings.
+	* man/iconv_open.3: Likewise. Improve formatting in text and html
+	output formats.
+
+2002-05-12  Bruno Haible  <bruno@clisp.org>
+
+	* tests/SHIFT_JIS.TXT: Renamed from tests/SHIFT-JIS.TXT.
+
+2002-05-12  Bruno Haible  <bruno@clisp.org>
+
+	* Makefile.devel (AUTOCONF): New variable.
+	(AUTOCONF_FILES): Remove autoconf/autoconf.m4f.
+	(configure): Use the AUTOCONF variable.
+	* autoconf/autoconf: Remove file.
+	* autoconf/autoconf.m4: Remove file.
+	* autoconf/autoconf.m4f: Remove file.
+
+2002-05-12  Bruno Haible  <bruno@clisp.org>
+
+	* tools/JISX0213.TXT: New file.
+	* tools/cjk_tab_to_h.c (do_jisx0213): New function.
+	(main): Accept "jisx0213".
+	* tools/Makefile (all): Add jisx0213.h.
+	(jisx0213.h): New rule.
+	* lib/jisx0213.h: New file, generated by cjk_tab_to_h.
+	* lib/euc_jisx0213.h: New file.
+	* lib/shift_jisx0213.h: New file.
+	* lib/iso2022_jp3.h: New file.
+	* lib/converters.h: Include them.
+	* lib/encodings_extra.def (EUC-JISX0213, SHIFT_JISX0213,
+	ISO-2022-JP-3): New encodings.
+	* tests/EUC-JISX0213.TXT: New file.
+	* tests/SHIFT_JISX0213.TXT: New file.
+	* tests/ISO-2022-JP-3-snippet: New file.
+	* tests/ISO-2022-JP-3-snippet.UTF-8: New file.
+	* tests/Makefile.in (check-extra): Also check EUC-JISX0213,
+	SHIFT_JISX0213, ISO-2022-JP-3.
+	* tests/check-stateless: Add support for encodings which contain
+	precomposed Unicode characters, by eliminating precomposed characters
+	before the comparison.
+	* tests/table-from.c (main): Fix usage message.
+	* tests/table-to.c (main): Make it work for encodings for which the
+	"to" direction is stateful.
+
+2002-05-09  Bruno Haible  <bruno@clisp.org>
+
+	New configure option --enable-extra-encodings.
+	* lib/encodings_extra.def: New file.
+	* lib/converters.h: Handle USE_EXTRA.
+	* lib/genaliases2.c (main): Handle USE_EXTRA.
+	* lib/genflags.c: Define USE_EXTRA.
+	(main): Include encodings_extra.def.
+	* lib/iconv.c: Handle ENABLE_EXTRA, conditionally set USE_EXTRA.
+	Handle USE_EXTRA.
+	* lib/config.h.in (ENABLE_EXTRA): New macro.
+	* configure.in: Accept option --enable-extra-encodings.
+	* Makefile.devel (all): Depend on lib/aliases_extra.h.
+	(lib/aliases_extra.h): New rule.
+	(lib/flags.h): Depend on lib/encodings_extra.def.
+	* tests/Makefile.in (check-extra, check-extra-no, check-extra-yes):
+	New rules.
+	(check): Invoke check-extra.
+	* tests/Makefile.msvc (check): Also check the DOS encodings.
+
+	Support for testing the AIX encodings.
+	* tests/CP856.TXT: New file.
+	* tests/CP922.TXT: New file.
+	* tests/CP1046.TXT: New file.
+	* tests/CP1124.TXT: New file.
+	* tests/CP1129.TXT: New file.
+	* tests/CP1161.TXT, tests/CP1161.IRREVERSIBLE.TXT: New files.
+	* tests/CP1162.TXT: New file.
+	* tests/CP1163.TXT, tests/CP1163.IRREVERSIBLE.TXT: New files.
+
+	Support for testing the OSF/1 encodings.
+	* tests/DEC-KANJI.TXT: New file.
+	* tests/DEC-HANYU.TXT, tests/DEC-HANYU.IRREVERSIBLE.TXT: New files.
+
+	Support for testing the DOS encodings.
+	* tests/CP437.TXT: New file.
+	* tests/CP737.TXT: New file.
+	* tests/CP775.TXT: New file.
+	* tests/CP852.TXT: New file.
+	* tests/CP855.TXT: New file.
+	* tests/CP857.TXT: New file.
+	* tests/CP858.TXT: New file.
+	* tests/CP860.TXT: New file.
+	* tests/CP861.TXT: New file.
+	* tests/CP863.TXT: New file.
+	* tests/CP864.TXT: New file.
+	* tests/CP865.TXT: New file.
+	* tests/CP869.TXT: New file.
+	* tests/CP1125.TXT: New file.
+
+2002-05-09  Bruno Haible  <bruno@clisp.org>
+
+	Implement more ASCII compatible DOS encodings.
+	* tools/Makefile (ALL): Add cp737.h, cp858.h, cp860.h, cp863.h.
+	(cp737.h, cp858.h, cp860.h, cp863.h): New rules.
+	* lib/cp737.h: New file.
+	* lib/cp858.h: New file.
+	* lib/cp860.h: New file.
+	* lib/cp863.h: New file.
+	* lib/converters.h: Include them.
+	* lib/encodings_dos.def (CP737, CP858, CP860, CP863): New encodings.
+
+2002-05-09  Bruno Haible  <bruno@clisp.org>
+
+	Implement new ASCII compatible encodings from IBM.
+	* tools/Makefile (ALL): Add cp1161.h, cp1162.h, cp1163.h.
+	(cp1161.h, cp1162.h, cp1163.h): New rules.
+	* lib/cp1161.h: New file.
+	* lib/cp1162.h: New file.
+	* lib/cp1163.h: New file.
+	* lib/converters.h: Include them.
+	* lib/encodings_aix.def (CP1161, CP1162, CP1163): New encodings.
+
+2002-05-09  Bruno Haible  <bruno@clisp.org>
+
+	Implement and document KOI8-T.
+	* tools/Makefile (ALL): Add koi8_t.h.
+	(koi8_t.h): New rule.
+	* lib/koi8_t.h: New file.
+	* lib/converters.h: Include it.
+	* lib/encodings.def (KOI8-T): New encoding.
+	* README, man/iconv_open.3: Add KOI8-T.
+	* tests/Makefile.in (tests): Check KOI8-T.
+	* tests/Makefile.os2 (tests): Likewise.
+	* tests/Makefile.msvc (tests): Likewise.
+	* tests/KOI8-T.TXT: New file.
+
+2002-05-09  Bruno Haible  <bruno@clisp.org>
+
+	* tools/8bit_tab_to_h.c (main): Update copyright year.
+	* tools/cjk_variants.c (main): Likewise.
+
+2002-05-08  Bruno Haible  <bruno@clisp.org>
+
+	* README.woe32: Renamed from README.win32.
+
+2002-05-08  Bruno Haible  <bruno@clisp.org>
+
+	* lib/iconv.c: Enable DOS encodings also when compiling for Woe32,
+	because the Woe32 consoles use them.
+
+2002-05-04  Bruno Haible  <bruno@clisp.org>
+
+	* lib/loop_unicode.h (unicode_loop_convert): When quitting the loop
+	without writing an output character, restore cd->istate to its value
+	before the xxx_mbtowc call. Otherwise we lose some characters during
+	CP1255/CP1258/TCVN to Unicode conversion.
+	(unicode_loop_reset): Likewise for the xxx_flushwc call.
+	* tests/CP1255-snippet, tests/CP1255-snippet.UTF-8: Make the test
+	files large enough to test against the bug.
+	* tests/CP1258-snippet, tests/CP1258-snippet.UTF-8: Likewise.
+	* tests/TCVN-snippet, tests/TCVN-snippet.UTF-8: Likewise.
+
+2002-04-28  Bruno Haible  <bruno@clisp.org>
+
+	* tools/Makefile (armscii_8.h): Use table from glibc-2.2.90.
+	* tests/ARMSCII-8.TXT: Update to glibc-2.2.90 version.
+	* tests/ARMSCII-8.IRREVERSIBLE.TXT: Remove 0x0027.
+	* lib/armscii_8.h: Regenerated.
+
+2002-04-28  Bruno Haible  <bruno@clisp.org>
+
+	* src/iconv.c: Include gettext.h.
+	(_): New macro.
+	(usage, print_version, convert, main): Internationalize.
+	(main): Call setlocale, bindtextdomain, textdomain.
+	* src/gettext.h: New file, from GNU gettext 0.11.2.
+	* src/config.h.in: New file, needed for ENABLE_NLS.
+	* src/Makefile.in (datadir, localedir): New variables.
+	(iconv): Link with @LTLIBINTL@.
+	(iconv.@OBJEXT@): Define LOCALEDIR.
+	(distclean): Remove config.h.
+	* po: New directory.
+	* Makefile.in (all, install, installdirs, uninstall, check,
+	mostlyclean, clean, distclean, maintainer-clean): Recurse into the po
+	directory.
+	* autoconf/mkinstalldirs: New file, from automake-1.5.
+	* ABOUT-NLS: New file, from GNU gettext 0.11.2.
+	* m4/codeset.m4: New file, from GNU gettext 0.11.2.
+	* m4/gettext.m4: New file, from GNU gettext 0.11.2.
+	* m4/glibc21.m4: New file, from GNU gettext 0.11.2.
+	* m4/isc-posix.m4: New file, from GNU gettext 0.11.2.
+	* m4/lcmessage.m4: New file, from GNU gettext 0.11.2.
+	* m4/progtest.m4: New file, from GNU gettext 0.11.2.
+	* configure.in: Require autoconf-2.52, needed for multiple config.h.in
+	files. Use new form of AC_INIT. Invoke AM_GNU_GETTEXT.
+	(PACKAGE, VERSION): Define, needed for po/Makefile.in.in.
+	* lib/config.h.in (HAVE_LOCALE_H, HAVE_SETLOCALE): Remove.
+
+2002-04-28  gettextize  <bug-gnu-gettext@gnu.org>
+
+	* configure.in (AC_OUTPUT): Add po/Makefile.in.
+
+2002-04-28  Bruno Haible  <bruno@clisp.org>
+
+	* m4/eilseq.m4: Renamed from autoconf/eilseq.m4.
+	* m4/mbstate_t.m4: Renamed from autoconf/mbstate_t.m4.
+	* m4/general.m4: New file, from GNU clisp.
+	* m4/proto.m4: New file, from GNU clisp.
+	* m4/ranlib.m4: New file, from GNU clisp.
+	* m4/install.m4: New file, from GNU clisp.
+	* m4/cp.m4: New file, from GNU clisp.
+	* m4/ln.m4: New file, from GNU clisp.
+	* m4/endian.m4: New file, from GNU clisp.
+	* m4/iconv.m4: New file, from GNU gettext 0.11.2.
+	* m4/lib-ld.m4: New file, from GNU gettext 0.11.2.
+	* m4/lib-link.m4: New file, from GNU gettext 0.11.2.
+	* m4/lib-prefix.m4: New file, from GNU gettext 0.11.2.
+	* autoconf/config.rpath: New file, from GNU gettext 0.11.2.
+	* m4/libtool.m4: New file, based on libtool-1.4.2.
+	* Makefile.devel (ACLOCAL): Remove variable.
+	(ACSELECT): Remove variable.
+	(OTHERMACROS): Remove variable.
+	(m4/*.m4): New rules.
+	(autoconf/aclocal.m4): Construct using aclocal instead of acselect.
+	* configure.in: Invoke AM_ICONV instead of CL_ICONV.
+
+2002-04-06  Bruno Haible  <bruno@clisp.org>
+
+	Upgrade to Unicode 3.2.
+	* tools/cjk_tab_to_h.c (output_title): Bump copyright year.
+	(compact_large_charset2uni): Add an argument. Determine optimal shift.
+	Copy modified enc->charset2uni table.
+	(output_charset2uni): Deal with shift other than 8. Copy encoding, so
+	as to not disturb subsequent output_uni2charset[_sparse] call.
+	* lib/hkscs.h: Regenerated.
+	* tests/BIG5-HKSCS.TXT: Update.
+	* tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Update.
+
+2002-04-06  Bruno Haible  <bruno@clisp.org>
+
+	Upgrade to Unicode 3.2.
+	* tools/Makefile (cns11643_1.h, cns11643_2.h, cns11643_3.h,
+	cns11643_4a.h, cns11643_4b.h, cns11643_5.h, cns11643_6.h,
+	cns11643_7.h, cns11643_15.h, cns11643_inv.h): Use
+	CNS11643-Unicode32.TXT instead of CNS11643-Unicode31.TXT.
+	* lib/cns11643_3.h: Regenerated.
+	* lib/cns11643_4a.h: Regenerated.
+	* lib/cns11643_4b.h: Regenerated.
+	* lib/cns11643_5.h: Regenerated.
+	* lib/cns11643_6.h: Regenerated.
+	* lib/cns11643_7.h: Regenerated.
+	* lib/cns11643_15.h: Regenerated.
+	* lib/cns11643_inv.h: Regenerated.
+	* tests/EUC-TW.TXT: Update.
+
+2002-01-17  Bruno Haible  <bruno@clisp.org>
+
+	* lib/tcvn.h (tcvn_2uni_1): Make it smaller.
+	(tcvn_mbtowc): Small optimization.
+
+2002-01-13  Bruno Haible  <bruno@clisp.org>
+
+	New options -l, -c, -s.
+	* src/iconv.c (discard_unconvertible, silent): New variables.
+	(usage): Document options -l, -c, -s.
+	(print_one): New function.
+	(convert): If silent is true, don't print error messages about the
+	conversion to stderr. If discard_unconvertible is true, set the
+	iconv descriptor to DISCARD_ILSEQ the first time, but make sure to
+	return the same return code as when discard_unconvertible is false.
+	(main): Accept options -l, -c, -s. Implement option -l.
+	* man/iconv.1: Document options -l, -c, -s.
+
+2002-01-13  Bruno Haible  <bruno@clisp.org>
+
+	Support for "iconv -c".
+	* include/iconv.h.in (ICONV_GET_DISCARD_ILSEQ): New macro.
+	(ICONV_SET_DISCARD_ILSEQ): Likewise.
+	* lib/converters.h (struct conv_struct): New field discard_ilseq.
+	* lib/iconv.c (iconv_open): Set discard_ilseq to true if tocode
+	has an "//IGNORE" suffix, and to false otherwise.
+	(iconvctl): Implement ICONV_GET_DISCARD_ILSEQ, ICONV_SET_DISCARD_ILSEQ.
+	* lib/loop_unicode.h (unicode_loop_convert): If discard_ilseq is
+	true, skip one input character instead of returning EILSEQ.
+	(unicode_loop_reset): Likewise.
+	* lib/loop_wchar.h (wchar_from_loop_convert): Likewise.
+	(wchar_to_loop_convert): Likewise.
+
+2002-01-13  Bruno Haible  <bruno@clisp.org>
+
+	Support for "iconv -l".
+	* include/iconv.h.in (iconvlist): New declaration.
+	* Makefile.devel (lib/aliases.h): Change gperf options.
+	* lib/iconv.c (compare_by_index, compare_by_name, iconvlist): New
+	functions.
+
+2002-01-06  Bruno Haible  <bruno@clisp.org>
+
+	* lib/loop_unicode.h (unicode_transliterate): If the transliteration
+	fails due to limited output encoding, return RET_ILUNI, not
+	RET_TOOSMALL. Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
+	* tests/check-translitfailure: New file.
+	* tests/TranslitFail1.ISO-8859-1: New file.
+	* tests/Makefile.in (check): Call check-translitfailure.
+
+2001-12-15  Bruno Haible  <bruno@clisp.org>
+
+	* lib/euc_jp.h (euc_jp_wctomb): Add irreversible mappings for
+	Shift_JIS characters 0x5C and 0x7E.
+	* tests/EUC-JP.IRREVERSIBLE.TXT: New file.
+
+2001-12-05  Bruno Haible  <bruno@clisp.org>
+
+	* lib/iconv.c (iconv_open): Recognize the empty encoding name. Avoid
+	  endless loop if locale_charset() returns the empty string.
+	* README, man/iconv_open.3: Add the empty encoding name.
+
+2001-11-10  Bruno Haible  <haible@clisp.cons.org>
+
+        * lib/Makefile.in (libiconv_plug_linux.so): Allow building it with a
+          non-gcc compiler.
+
+2001-10-23  Bruno Haible  <haible@clisp.cons.org>
+
+        * tools/Makefile (cp1125.h): New target.
+          (ALL): Add it.
+        * lib/cp1125.h: New file.
+        * lib/converters.h: Include it.
+        * lib/encodings_dos.def (CP1125): New encoding.
+
+2001-09-08  Bruno Haible  <haible@clisp.cons.org>
+
+	* autoconf/eilseq.m4: New file.
+	* Makefile.devel (OTHERMACROS): Add it.
+	* configure.in: Call AC_EILSEQ.
+	* include/iconv.h.in (EILSEQ): Define to the autoconf determined value.
+
+2001-08-25  Bruno Haible  <haible@clisp.cons.org>
+
+	Upgrade to autoconf-2.52.
+	* autoconf/autoconf: Upgrade to autoconf-2.52.
+	* autoconf/acgeneral.m4: Remove file.
+	* autoconf/acspecific.m4: Remove file.
+	* autoconf/autoconf.m4f: New file, from autoconf-2.52.
+	* autoconf/aclocal.m4: Require autoconf-2.52.
+	(CL_CANONICAL_HOST): Call AC_CANONICAL_HOST. Don't cache the result,
+	AC_CANONICAL_HOST does it itself. Add $SHELL in front of
+	$ac_config_guess and $ac_config_sub.
+	* Makefile.devel (AUTOCONF_FILES): Remove acgeneral.m4, acspecific.m4.
+	Add autoconf.m4f.
+	(configure): Use autoconf options -A, -l instead of -m.
+	* configure.in: Use AC_CONFIG_SUBDIRS, not AC_OUTPUT_SUBDIRS.
+
+2001-08-05  Bruno Haible  <haible@clisp.cons.org>
+
+	* autoconf/acgeneral.m4 (AC_MSG_RESULTPROTO): Remove macro.
+	(AC_LANG_EXTERN): Move to aclocal.m4.
+	* autoconf/aclocal.m4 (AC_LANG_EXTERN): Moved here from acgeneral.m4.
+	(CL_PROTO): Use AC_MSG_RESULT directly, instead of AC_MSG_RESULTPROTO.
+	(CL_SILENT): No need to pushdef AC_MSG_RESULTPROTO.
+
+2001-08-05  Bruno Haible  <haible@clisp.cons.org>
+
+	Make it possible to build libiconv with CC=gcc CFLAGS="-x c++".
+	* lib/loop_wchar.h (wchar_to_loop_convert): Rename local variable
+	'try' to 'incount'.
+	* lib/Makefile.in (libiconv_plug_linux.so): Add "-x none" option
+	between sources and libs.
+	(libiconv_plug_solaris.so) [GCC]: Likewise.
+	(libiconv_plug_osf.so) [GCC]: Likewise.
+	* src/Makefile.in (iconv.@OBJEXT@): New rule.
+	(iconv): Depend on it.
+	(clean): Erase *.@OBJEXT@, not *.o.
+	* tests/Makefile.in (table-from.@OBJEXT@): New rule.
+	(table-from): Depend on it.
+	(table-to.@OBJEXT@): New rule.
+	(table-to): Depend on it.
+	(clean): Erase *.@OBJEXT@, not *.o.
+
+2001-07-28  Bruno Haible  <haible@clisp.cons.org>
+
+	* tools/Makefile (iso8859_16.h): Generate from the unicode.org table.
+	* lib/iso8859_16.h: Regenerated.
+	* tests/ISO-8859-16.TXT: Swap the values of 0xA5 and 0xAB.
+
+2001-07-17  Bruno Haible  <haible@clisp.cons.org>
+
+	* configure.in (VERSION): Define. Needed by djgpp/Makefile.maint.
+
+2001-07-03  Bruno Haible  <haible@clisp.cons.org>
+
+	* configure.in: Also check for mbsinit.
+	* lib/loop_wchar.h (mbsinit): Define to 1 if not defined.
+	Needed for SCO 3.2v5.0.2.
+
+2001-06-27  Bruno Haible  <haible@clisp.cons.org>
+
+	* Version 1.7 released.
+
+2001-06-27  Bruno Haible  <haible@clisp.cons.org>
+
+	* INSTALL.generic (Particular Systems): Generalize section about
+	/usr/local to "most systems".
+
+	* lib/Makefile.in (all): Build @PLUGLIB@ before libiconv.la, because
+	Solaris cc destroys iconv.o and iconv.lo while building
+	libiconv_plug_solaris.so.
+	(clean): Remove so_locations, left there by the OSF/1 linker.
+
+	* lib/cp1255.h (cp1255_decomp): Use 'signed int' instead of 'int'.
+
+	* lib/vietcomb.h (viet_decomp): Use 'unsigned int' instead of
+	'unsigned short'.
+
+	* tests/table-from.c: Include string.h.
+	* tests/table-to.c: Likewise.
+
+2001-06-26  Bruno Haible  <haible@clisp.cons.org>
+
+	* tools/Makefile (jisx0208.h): Replace U+005C with U+FF3C.
+	(jisx0212.h): Replace U+007E with U+FF5E.
+	* lib/jisx0208.h: Regenerated.
+	* lib/jisx0212.h: Regenerated.
+	* tests/EUC-JP.TXT: Map 0xA1C0 to U+FF3C. Map 0x8FA2B7 to U+FF5E.
+	* tests/EUC-JP.IRREVERSIBLE.TXT: Remove file.
+	* tests/SHIFT-JIS.TXT: Map 0x815F to U+FF3C.
+	* tests/CP932.TXT: Likewise.
+	* tests/CP932.IRREVERSIBLE.TXT: 0x815F mapping is now reversible.
+
+2001-06-25  Bruno Haible  <haible@clisp.cons.org>
+
+	* src/Makefile.in (iconv): Mention $(INCLUDES) before $(CFLAGS) and
+	$(CPPFLAGS).
+	* src/Makefile.msvc (iconv.exe): Likewise.
+	* src/Makefile.os2 (iconv.exe): Likewise.
+	* lib/Makefile.in (libiconv_plug_linux.so): Likewise.
+	(libiconv_plug_solaris.so): Likewise.
+	(libiconv_plug_osf.so): Likewise.
+	(iconv.lo): Likewise.
+	* lib/Makefile.msvc (iconv.obj): Likewise.
+	* lib/Makefile.os2 (iconv.obj): Likewise.
+	* tests/Makefile.in (table-from, table-to): Likewise.
+	* tests/Makefile.msvc (table-from.exe, table-to.exe): Likewise.
+	* tests/Makefile.os2 (table-from.exe, table-to.exe): Likewise.
+	(genutf8.exe): Don't use $(INCLUDES).
+
+2001-06-25  Bruno Haible  <haible@clisp.cons.org>
+
+        * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
+          Bump version number.
+        * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:4:0.
+
+2001-06-25  Bruno Haible  <haible@clisp.cons.org>
+
+        * Makefile.devel (OTHERMACROS): Use libtool.m4 in libcharset subdir.
+
+2001-06-25  Bruno Haible  <haible@clisp.cons.org>
+
+        * lib/encodings.def: Make SHIFT_JIS the primary name of SJIS.
+
+2001-06-08  Bruno Haible  <haible@clisp.cons.org>
+
+        * autoconf/ltmain.sh: Upgrade to libtool-1.4.
+        * autoconf/ltconfig: Remove file.
+
+2001-06-08  Bruno Haible  <haible@clisp.cons.org>
+
+        * autoconf/config.guess: Update to GNU version 2001-05-11.
+        * autoconf/config.sub: Likewise.
+
+2001-06-03  Bruno Haible  <haible@clisp.cons.org>
+
+        * lib/loop_unicode.h (unicode_loop_convert): Ignore Unicode 3.1 tag
+          characters if they cannot be converted.
+          (unicode_loop_reset): Likewise.
+        * lib/iso2022_jp2.h (STATE_TAG_NONE, STATE_TAG_LANGUAGE,
+           STATE_TAG_LANGUAGE_j, STATE_TAG_LANGUAGE_ja, STATE_TAG_LANGUAGE_k,
+           STATE_TAG_LANGUAGE_ko, STATE_TAG_LANGUAGE_z, STATE_TAG_LANGUAGE_zh):
+          New macros.
+          (SPLIT_STATE, COMBINE_STATE): Different differently for wctomb
+          direction.
+          (iso2022_jp2_wctomb): Keep track of Unicode 3.1 language tag.
+          If "ja", prefer conversion to Japanese character sets. If "zh",
+          prefer conversion to GB2312. If "ko", prefer conversion to KSC5601.
+
+        * lib/converters.h (RET_ILUNI): Change value from 0 to -1.
+          (RET_TOOSMALL): Change value from -1 to -2.
+        * lib/loop_unicode.h (unicode_transliterate): Allow xxx_wctomb to
+          return 0 written bytes.
+
+2001-06-06  Bruno Haible  <haible@clisp.cons.org>
+
+        * lib/encodings.def: Align with IANA character-set registry.
+          (US-ASCII): Add alias "ANSI_X3.4-1986".
+          (ISO-8859-14): Add alias "ISO-CELTIC".
+          (JIS_X0208): Add alias "JIS_C6226-1983".
+          (BIG5HKSCS): Add alias "BIG5-HKSCS".
+        * README, man/iconv_open.3: Rename BIG5HKSCS to BIG5-HKSCS.
+        * tests/Makefile.in (check): Likewise.
+        * tests/Makefile.os2 (check): Likewise.
+        * tests/Makefile.msvc (check): Likewise.
+        * tests/BIG5-HKSCS.TXT: Renamed from BIG5HKSCS.TXT.
+        * tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Renamed from
+          BIG5HKSCS.IRREVERSIBLE.TXT.
+
+2001-06-02  Bruno Haible  <haible@clisp.cons.org>
+
+        * tools/cjk_tab_to_h.c (Encoding): Add fffd field.
+          (is_charset2uni_large, compact_large_charset2uni): New functions.
+          (find_charset2uni_pages): Use enc->fffd instead of 0xfffd.
+          (output_charset2uni): If mapping to more than the Unicode BMP,
+          use an extra indirection to keep each value in 16 bits.
+          (invert): Bump limit from U+10000 to U+30000.
+          (output_uni2charset_dense): Likewise.
+          (output_uni2charset_sparse): Likewise. If mapping to more than one
+          CJK plane, use three bytes per value instead of two bytes.
+          (byte_row_cns11643): Allow more than 3 CJK planes.
+          (do_cns11643_only_uni2charset): Increase number of rows, to include
+          plane 15. Remove plane bits hack.
+          (main): Accept names cns11643_4a,4b,5,6,7,15 as well.
+        * tools/Makefile (ALL): Add cns11643_4a.h, cns11643_4b.h, cns11643_5.h,
+          cns11643_6.h, cns11643_7.h, cns11643_15.h.
+          (cns11643_1.h, cns11643_2.h, cns11643_3.h): Use new Unicode 3.1
+          derived table.
+          (cns11643_4a.h, cns11643_4b.h, cns11643_5.h, cns11643_6.h,
+           cns11643_7.h, cns11643_15.h): New rules.
+          (cns11643_inv.h): Change title.
+        * lib/cns11643_1.h: Regenerated from Unicode 3.1 derived table.
+        * lib/cns11643_3.h: Likewise.
+        * lib/cns11643_4a.h: New file.
+        * lib/cns11643_4b.h: New file.
+        * lib/cns11643_4.h: New file.
+        * lib/cns11643_5.h: New file.
+        * lib/cns11643_6.h: New file.
+        * lib/cns11643_7.h: New file.
+        * lib/cns11643_15.h: New file.
+        * lib/cns11643_inv.h: Regenerated from Unicode 3.1 derived table.
+          (cns11643_inv_wctomb): Return 3 bytes now.
+        * lib/cns11643.h: Include cns11643_4.h, cns11643_5.h, cns11643_6.h,
+          cns11643_7.h, cns11643_15.h.
+          (cns11643_wctomb): Now a simple alias to cns11643_inv_wctomb. Return
+          plane number starting at 1, not 0.
+        * lib/dec_hanyu.h (dec_hanyu_wctomb): Update for cns11643_wctomb
+          change.
+        * lib/euc_tw.h (euc_tw_mbtowc): Accept CNS11643 planes 4,5,6,7,15 as
+          well.
+          (euc_tw_wctomb): Update for cns11643_wctomb change.
+        * lib/iso2022_cn.h (iso2022_cn_wctomb): Likewise.
+        * lib/iso2022_cnext.h (iso2022_cn_ext_mbtowc): Accept CNS11643 planes
+          4,5,6,7 as well.
+          (iso2022_cn_ext_wctomb): Update for cns11643_wctomb change.
+          Try CNS11643 planes 4,5,6,7 as well.
+        * tests/EUC-TW.TXT: Many additions, mostly in planes 3,4,5,6,7,15.
+        * tests/EUC-TW.IRREVERSIBLE.TXT: Reflect additions to CNS11643 plane 1.
+          Add U+5344.
+
+2001-06-01  Bruno Haible  <haible@clisp.cons.org>
+
+        * tests/table-from.c (bmp_only): New variable.
+          (ucs4_decode): If bmp_only, don't return characters outside Unicode
+          plane 0.
+          (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
+          a conversion line if ucs4_decode returns NULL.
+        * tests/table-to.c (main): When testing encodings other than UTF-8 and
+          GB18030, loop upto U+30000 instead of U+10000.
+
+2001-05-24  Bruno Haible  <haible@clisp.cons.org>
+
+        * lib/converters.h (mbtowc_funcs): Add flushwc member function.
+        * lib/flushwc.h: New file.
+        * lib/cp1255.h: Include flushwc.h.
+          (cp1255_comp_table_data, cp1255_comp_table): New arrays.
+          (cp1255_mbtowc): Compose base and combining characters.
+          (cp1255_flushwc): New macro.
+        * lib/vietcomb.h (viet_comp_table_data, viet_comp_table): New arrays.
+        * lib/cp1258.h: Include flushwc.h.
+          (cp1258_mbtowc): Compose base and combining characters.
+          (cp1258_flushwc): New macro.
+        * lib/tcvn.h: Include flushwc.h.
+          (tcvn_mbtowc): Compose base and combining characters.
+          (tcvn_flushwc): New macro.
+        * lib/loop_unicode.h: (unicode_transliterate): New function, extracted
+          from unicode_loop_convert.
+          (unicode_loop_convert): Use unicode_transliterate.
+          (unicode_loop_reset): Call xxx_flushwc and output the resulting
+          character.
+        * lib/encodings.def: Add xxx_flushwc member.
+        * lib/encodings_aix.def: Likewise.
+        * lib/encodings_dos.def: Likewise.
+        * lib/encodings_local.def: Likewise.
+        * lib/encodings_osf1.def: Likewise.
+        * lib/genaliases.c: Add an argument to the DEFENCODING macro.
+        * lib/genaliases2.c: Likewise.
+        * lib/genflags.c: Likewise.
+        * lib/iconv.c: Likewise.
+        * tests/table-from.c (try): Reset the iconv descriptor before the main
+          call, and flush it afterwards.
+          (ucs4_decode): New function.
+          (main): Allow up to 3 Unicode characters output. Call ucs4_decode.
+        * tests/CP1255-snippet: New file.
+        * tests/CP1255-snippet.UTF-8: New file.
+        * tests/CP1258-snippet: New file.
+        * tests/CP1258-snippet.UTF-8: New file.
+        * tests/TCVN-snippet: New file.
+        * tests/TCVN-snippet.UTF-8: New file.
+        * tests/Makefile.in (check): Check combining behaviour of CP1255,
+          CP1258, TCVN.
+        * tests/Makefile.msvc (check): Likewise.
+        * tests/Makefile.os2 (check): Likewise.
+
+2001-05-22  Bruno Haible  <haible@clisp.cons.org>
+
+        * lib/converters.h (RET_ILUNI): New macro.
+          (RET_ILSEQ): Change value to -1.
+          (RET_TOOFEW): Change value.
+        * lib/loop_unicode.h (unicode_loop_convert): Write RET_ILUNI instead
+          of 0. Update handling of xxx_mbtowc return value.
+        * lib/genflags.c (emit_encoding): Likewise.
+        * lib/ascii.h (ascii_wctomb): Use RET_ILUNI instead of RET_ILSEQ.
+        * lib/armscii_8.h (armscii_8_wctomb): Likewise.
+        * lib/big5.h (big5_wctomb): Likewise.
+        * lib/big5hkscs.h (big5hkscs_wctomb): Likewise.
+        * lib/ces_big5.h (ces_big5_wctomb): Likewise.
+        * lib/ces_gbk.h (ces_gbk_wctomb): Likewise.
+        * lib/cns11643.h (cns11643_wctomb): Likewise.
+        * lib/cns11643_inv.h (cns11643_inv_wctomb): Likewise.
+        * lib/cp437.h (cp437_wctomb): Likewise.
+        * lib/cp775.h (cp775_wctomb): Likewise.
+        * lib/cp850.h (cp850_wctomb): Likewise.
+        * lib/cp852.h (cp852_wctomb): Likewise.
+        * lib/cp855.h (cp855_wctomb): Likewise.
+        * lib/cp856.h (cp856_wctomb): Likewise.
+        * lib/cp857.h (cp857_wctomb): Likewise.
+        * lib/cp861.h (cp861_wctomb): Likewise.
+        * lib/cp862.h (cp862_wctomb): Likewise.
+        * lib/cp864.h (cp864_wctomb): Likewise.
+        * lib/cp865.h (cp865_wctomb): Likewise.
+        * lib/cp866.h (cp866_wctomb): Likewise.
+        * lib/cp869.h (cp869_wctomb): Likewise.
+        * lib/cp874.h (cp874_wctomb): Likewise.
+        * lib/cp922.h (cp922_wctomb): Likewise.
+        * lib/cp932ext.h (cp932ext_wctomb): Likewise.
+        * lib/cp932.h (cp932_wctomb): Likewise.
+        * lib/cp936ext.h (cp936ext_wctomb): Likewise.
+        * lib/cp949.h (cp949_wctomb): Likewise.
+        * lib/cp950ext.h (cp950ext_wctomb): Likewise.
+        * lib/cp950.h (cp950_wctomb): Likewise.
+        * lib/cp1046.h (cp1046_wctomb): Likewise.
+        * lib/cp1124.h (cp1124_wctomb): Likewise.
+        * lib/cp1129.h (cp1129_wctomb): Likewise.
+        * lib/cp1133.h (cp1133_wctomb): Likewise.
+        * lib/cp1250.h (cp1250_wctomb): Likewise.
+        * lib/cp1251.h (cp1251_wctomb): Likewise.
+        * lib/cp1252.h (cp1252_wctomb): Likewise.
+        * lib/cp1253.h (cp1253_wctomb): Likewise.
+        * lib/cp1254.h (cp1254_wctomb): Likewise.
+        * lib/cp1255.h (cp1255_wctomb): Likewise.
+        * lib/cp1256.h (cp1256_wctomb): Likewise.
+        * lib/cp1257.h (cp1257_wctomb): Likewise.
+        * lib/cp1258.h (cp1258_wctomb): Likewise.
+        * lib/dec_hanyu.h (dec_hanyu_wctomb): Likewise.
+        * lib/dec_kanji.h (dec_kanji_wctomb): Likewise.
+        * lib/euc_cn.h (euc_cn_wctomb): Likewise.
+        * lib/euc_jp.h (euc_jp_wctomb): Likewise.
+        * lib/euc_kr.h (euc_kr_wctomb): Likewise.
+        * lib/euc_tw.h (euc_tw_wctomb): Likewise.
+        * lib/gb12345ext.h (gb12345ext_wctomb): Likewise.
+        * lib/gb12345.h (gb12345_wctomb): Likewise.
+        * lib/gb18030ext.h (gb18030ext_wctomb): Likewise.
+        * lib/gb18030.h (gb18030_wctomb): Likewise.
+        * lib/gb18030uni.h (gb18030uni_wctomb): Likewise.
+        * lib/gb2312.h (gb2312_wctomb): Likewise.
+        * lib/gbkext_inv.h (gbkext_inv_wctomb): Likewise.
+        * lib/gbk.h (gbk_wctomb): Likewise.
+        * lib/georgian_academy.h (georgian_academy_wctomb): Likewise.
+        * lib/georgian_ps.h (georgian_ps_wctomb): Likewise.
+        * lib/hkscs.h (hkscs_wctomb): Likewise.
+        * lib/hp_roman8.h (hp_roman8_wctomb): Likewise.
+        * lib/hz.h (hz_wctomb): Likewise.
+        * lib/iso2022_cnext.h (iso2022_cn_ext_wctomb): Likewise.
+        * lib/iso2022_cn.h (iso2022_cn_wctomb): Likewise.
+        * lib/iso2022_jp1.h (iso2022_jp1_wctomb): Likewise.
+        * lib/iso2022_jp2.h (iso2022_jp2_wctomb): Likewise.
+        * lib/iso2022_jp.h (iso2022_jp_wctomb): Likewise.
+        * lib/iso2022_kr.h (iso2022_kr_wctomb): Likewise.
+        * lib/iso646_cn.h (iso646_cn_wctomb): Likewise.
+        * lib/iso646_jp.h (iso646_jp_wctomb): Likewise.
+        * lib/iso8859_1.h (iso8859_1_wctomb): Likewise.
+        * lib/iso8859_2.h (iso8859_2_wctomb): Likewise.
+        * lib/iso8859_3.h (iso8859_3_wctomb): Likewise.
+        * lib/iso8859_4.h (iso8859_4_wctomb): Likewise.
+        * lib/iso8859_5.h (iso8859_5_wctomb): Likewise.
+        * lib/iso8859_6.h (iso8859_6_wctomb): Likewise.
+        * lib/iso8859_7.h (iso8859_7_wctomb): Likewise.
+        * lib/iso8859_8.h (iso8859_8_wctomb): Likewise.
+        * lib/iso8859_9.h (iso8859_9_wctomb): Likewise.
+        * lib/iso8859_10.h (iso8859_10_wctomb): Likewise.
+        * lib/iso8859_13.h (iso8859_13_wctomb): Likewise.
+        * lib/iso8859_14.h (iso8859_14_wctomb): Likewise.
+        * lib/iso8859_15.h (iso8859_15_wctomb): Likewise.
+        * lib/iso8859_16.h (iso8859_16_wctomb): Likewise.
+        * lib/isoir165ext.h (isoir165ext_wctomb): Likewise.
+        * lib/isoir165.h (isoir165_wctomb): Likewise.
+        * lib/jisx0201.h (jisx0201_wctomb): Likewise.
+        * lib/jisx0208.h (jisx0208_wctomb): Likewise.
+        * lib/jisx0212.h (jisx0212_wctomb): Likewise.
+        * lib/johab.h (johab_wctomb): Likewise.
+        * lib/johab_hangul.h (johab_hangul_wctomb, johab_hangul_decompose):
+          Likewise.
+        * lib/koi8_r.h (koi8_r_wctomb): Likewise.
+        * lib/koi8_ru.h (koi8_ru_wctomb): Likewise.
+        * lib/koi8_u.h (koi8_u_wctomb): Likewise.
+        * lib/ksc5601.h (ksc5601_wctomb): Likewise.
+        * lib/mac_arabic.h (mac_arabic_wctomb): Likewise.
+        * lib/mac_centraleurope.h (mac_centraleurope_wctomb): Likewise.
+        * lib/mac_croatian.h (mac_croatian_wctomb): Likewise.
+        * lib/mac_cyrillic.h (mac_cyrillic_wctomb): Likewise.
+        * lib/mac_greek.h (mac_greek_wctomb): Likewise.
+        * lib/mac_hebrew.h (mac_hebrew_wctomb): Likewise.
+        * lib/mac_iceland.h (mac_iceland_wctomb): Likewise.
+        * lib/mac_roman.h (mac_roman_wctomb): Likewise.
+        * lib/mac_romania.h (mac_romania_wctomb): Likewise.
+        * lib/mac_thai.h (mac_thai_wctomb): Likewise.
+        * lib/mac_turkish.h (mac_turkish_wctomb): Likewise.
+        * lib/mac_ukraine.h (mac_ukraine_wctomb): Likewise.
+        * lib/mulelao.h (mulelao_wctomb): Likewise.
+        * lib/nextstep.h (nextstep_wctomb): Likewise.
+        * lib/sjis.h (sjis_wctomb): Likewise.
+        * lib/tcvn.h (tcvn_wctomb): Likewise.
+        * lib/tis620.h (tis620_wctomb): Likewise.
+        * lib/ucs2be.h (ucs2be_wctomb): Likewise.
+        * lib/ucs2.h (ucs2_wctomb): Likewise.
+        * lib/ucs2internal.h (ucs2internal_wctomb): Likewise.
+        * lib/ucs2le.h (ucs2le_wctomb): Likewise.
+        * lib/ucs2swapped.h (ucs2swapped_wctomb): Likewise.
+        * lib/ucs4.h (ucs4_wctomb): Likewise.
+        * lib/uhc_1.h (uhc_1_wctomb): Likewise.
+        * lib/uhc_2.h (uhc_2_wctomb): Likewise.
+        * lib/utf16be.h (utf16be_wctomb): Likewise.
+        * lib/utf16.h (utf16_wctomb): Likewise.
+        * lib/utf16le.h (utf16le_wctomb): Likewise.
+        * lib/utf32be.h (utf32be_wctomb): Likewise.
+        * lib/utf32.h (utf32_wctomb): Likewise.
+        * lib/utf32le.h (utf32le_wctomb): Likewise.
+        * lib/utf7.h (utf7_wctomb): Likewise.
+        * lib/utf8.h (utf8_wctomb): Likewise.
+        * lib/viscii.h (viscii_wctomb): Likewise.
+        * tools/8bit_tab_to_h.c (main): Likewise.
+        * tools/cjk_tab_to_h.c (output_uni2charset_dense,
+           output_uni2charset_sparse, do_gb18030uni): Likewise.
+
+2001-05-19  Bruno Haible  <haible@clisp.cons.org>
+
+        * Makefile.devel (all): Add man/{iconv.1,iconv*.3}.html.
+          (man/%.html): New rule.
+        * man/Makefile.in (docdir, htmldir): New variables.
+          (install, installdirs): Install the HTML formatted man pages in
+          $(htmldir).
+          (uninstall): Uninstall them.
+
+2001-05-20  Bruno Haible  <haible@clisp.cons.org>
+
+        * lib/cp1255.h (cp1255_decomp_table): New array.
+          (cp1255_comb_table): New array.
+          (cp1255_wctomb): Decompose Unicode characters.
+        * tests/CP1255.IRREVERSIBLE.TXT: New file.
+
+2001-05-13  Bruno Haible  <haible@clisp.cons.org>
+
+        * lib/vietcomb.h: New file.
+        * lib/cp1258.h: Include it.
+          (cp1258_comb_table): New array.
+          (cp1258_wctomb): Decompose Unicode characters.
+        * lib/tcvn.h: Include it.
+          (tcvn_comb_table): New array.
+          (tcvn_wctomb): Decompose Unicode characters.
+        * tests/CP1258.IRREVERSIBLE.TXT: New file.
+        * tests/TCVN.IRREVERSIBLE.TXT: New file.
+
+2001-05-06  Bruno Haible  <haible@clisp.cons.org>
+
+        * lib/Makefile.msvc (config.h): Allow the 'del' command to fail.
+        (iconv.lib): Likewise.
+
+2001-05-06  Bruno Haible  <haible@clisp.cons.org>
+
+        * lib/Makefile.in (CPPFLAGS, LDFLAGS): New variables.
+        (CPP): Remove variable.
+        (libiconv.la, libiconv_plug_linux.so, libiconv_plug_solaris.so,
+         libiconv_plug_osf.so): Use LDFLAGS.
+        (libiconv_plug_linux.so, libiconv_plug_solaris.so,
+         libiconv_plug_osf.so, iconv.lo): Use CPPFLAGS.
+        * lib/Makefile.msvc (CPP): Remove variable.
+        * src/Makefile.in (CPPFLAGS, LDFLAGS): New variables.
+        (CPP): Remove variable.
+        (iconv): Use CPPFLAGS and LDFLAGS.
+        * src/Makefile.msvc (CPP): Remove variable.
+        * tests/Makefile.in (CPPFLAGS, LDFLAGS): New variables.
+        (check, table-from, table-to): Use CPPFLAGS and LDFLAGS.
+        * tests/Makefile.msvc (CPP): Remove variable.
+
+2001-05-06  Bruno Haible  <haible@clisp.cons.org>
+
+        * lib/Makefile.in (libiconv_plug_solaris.so): Change rule if not using
+          gcc. Reported by Paananen Mikko <mikkopa@cs.tut.fi>.
+
+2001-04-11  Bruno Haible  <haible@clisp.cons.org>
+
+        Implement and document UTF-32, UTF-32BE, UTF-32LE.
+        * src/utf32.h, src/utf32be.h, src/utf32le.h: New files.
+        * src/converters.h: Include them.
+        * src/encodings.def (UTF-32, UTF-32BE, UTF32LE): New encodings.
+        * README, man/iconv_open.3: Add UTF-32, UTF-32BE, UTF32LE.
+        * tests/Makefile.in (check): Check UTF-32, UTF-32BE, UTF32LE.
+        * tests/Makefile.os2 (check): Likewise.
+        * tests/Makefile.msvc (check): Likewise.
+        * tests/UTF-32*snippet*: New files.
+
+        * lib/ucs4.h (ucs4_mbtowc): Fix value of other-endian byte order.
+          (ucs4_wctomb): Allow any 31-bit codepoint.
+
+2001-04-11  Bruno Haible  <haible@clisp.cons.org>
+
+        * tests/GB18030.TXT: Add mappings for all of U+0000..U+FFFF, including
+          unassigned code points.
+        * tests/table-from.c (main); When dumping GB18030, don't print code
+          points larger than U+FFFF.
+
+2001-03-30  Bruno Haible  <haible@clisp.cons.org>
+
+        * tools/Makefile (GB18030uni.TXT): Use a table source which includes
+          the unassigned Unicode code points.
+        * lib/gb18030uni.h: Update.
+          (gb18030uni_ranges): Remove bitmap_offset field.
+          (gb18030uni_bitmap): Remove array.
+          (gb18030uni_mbtowc): Omit gb18030uni_bitmap access.
+          (gb18030uni_wctomb): Likewise.
+        * lib/gb18030.h (gb18030_mbtowc): Handle Unicode characters >= 0x10000.
+          (gb18030_wctomb): Likewise.
+
+2001-03-21  Bruno Haible  <haible@clisp.cons.org>
+
+        * INSTALL.generic (Particular Systems): Add recommendations for AIX 3.
+
+2001-03-21  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/iconv.c (print_version): Now called GNU libiconv.
+
+2001-03-20  Bruno Haible  <haible@clisp.cons.org>
+
+        * README: This package is now called GNU libiconv.
+
+        * tools/8bit_tab_to_h.c (main): Emit copyright notice to the output
+          file.
+        * tools/cjk_tab_to_h.c (output_title): Likewise.
+        * tools/cjk_variants.c (main): Likewise.
+        * lib/gentranslit.c (main): Likewise.
+
+2001-03-19  Bruno Haible  <haible@clisp.cons.org>
+
+        * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Always define
+          ac_config_guess and ac_config_sub. Then ignore requests for
+          AC_CONFIG_AUX_DIR_DEFAULT or AC_CANONICAL_HOST.
+
+2001-03-10  Bruno Haible  <haible@clisp.cons.org>
+
+        * INSTALL.generic: New section "Particular Systems".
+
+2001-03-10  Bruno Haible  <haible@clisp.cons.org>
+
+        * lib/Makefile.in (libiconv.la): Pass flag -no-undefined. Needed on
+          platforms like BeOS.
+
+        * lib/loop_wchar.h (mbstate_t): Don't typedef if already #defined in
+          config.h.
+
+2001-03-06  Bruno Haible  <haible@clisp.cons.org>
+
+        * Version 1.6 released.
+        * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
+          Bump version number.
+        * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:3:0.
+
+2001-03-05  Bruno Haible  <haible@clisp.cons.org>
+
+        Provide all encodings used by OSF/1 5.1 locales.
+        * lib/dec_kanji.h: New file.
+        * lib/dec_hanyu.h: New file.
+        * lib/converters.h: Include them if USE_OSF1 is defined.
+        * lib/encodings_osf1.def: New file.
+        * lib/genflags.c (main): Include it. Define USE_OSF1.
+        * lib/genaliases2.c (main): Include it conditionally.
+        * lib/iconv.c: Define USE_OSF1 on OSF/1.
+          Include encodings_osf1.def and aliases_osf1.h.
+        * lib/Makefile.in (iconv.lo): Depend on encodings_osf1.def and
+          aliases_osf1.h.
+        * Makefile.devel (lib/aliases_osf1.h): New target.
+          (all): Depend on lib/aliases_osf1.h.
+          (lib/flags.h): Depend on lib/encodings_osf1.def.
+
+2001-03-01  Bruno Haible  <haible@clisp.cons.org>
+
+        * tools/Makefile (cp775.h): New target.
+          (ALL): Add it.
+        * lib/cp775.h: New file.
+        * lib/converters.h: Include it.
+        * lib/encodings_dos.def (CP775): New encoding.
+
+2001-02-25  Bruno Haible  <haible@clisp.cons.org>
+
+        * lib/iconv.c (iconv_open): locale_charset() doesn't return NULL any
+          more.
+
+2001-02-24  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/iconv.c (convert): Use ICONV_CONST.
+        * tests/table-from.c: Include config.h.
+          (try): Use ICONV_CONST.
+        * tests/table-to.c: Include config.h.
+          (main): Use ICONV_CONST.
+        * tests/Makefile.in (INCLUDES): Add -I../lib.
+        * tests/Makefile.os2 (INCLUDES): Likewise.
+        * tests/Makefile.msvc (INCLUDES): Add -I..\lib.
+
+2001-02-24  Bruno Haible  <haible@clisp.cons.org>
+
+        Provide all encodings used by DOS locales.
+        * tools/Makefile (cp437.h, cp852.h, cp855.h, cp857.h, cp861.h,
+           cp864.h, cp865.h, cp869.h): New targets.
+          (ALL): Add them.
+        * lib/cp437.h: New file.
+        * lib/cp852.h: New file.
+        * lib/cp855.h: New file.
+        * lib/cp857.h: New file.
+        * lib/cp861.h: New file.
+        * lib/cp864.h: New file.
+        * lib/cp865.h: New file.
+        * lib/cp869.h: New file.
+        * lib/converters.h: Include them if USE_DOS is defined.
+        * lib/encodings_dos.def: New file.
+        * lib/genflags.c (main): Include it. Define USE_DOS.
+        * lib/genaliases2.c (main): Include it conditionally.
+        * lib/iconv.c: Define USE_DOS on DJGPP.
+          Include encodings_dos.def and aliases_dos.h.
+        * lib/Makefile.in (iconv.lo): Depend on encodings_dos.def and
+          aliases_dos.h.
+        * Makefile.devel (lib/aliases_dos.h): New target.
+          (all): Depend on lib/aliases_dos.h.
+          (lib/flags.h): Depend on lib/encodings_dos.def.
+
+2001-02-23  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/iconv.c [DJGPP]: Include <io.h> and <unistd.h>.
+          (SET_BINARY) [O_BINARY]: New macro.
+          (usage): Mention --binary if available.
+          (convert): Use SET_BINARY instead of setmode.
+          (main): Likewise.
+          Reported by Juan Manuel Guerrero <st001906@hrz1.hrz.tu-darmstadt.de>.
+
+2001-02-25  Bruno Haible  <haible@clisp.cons.org>
+
+        * autoconf/ltconfig:
+          sed -e 's/reload object files/produce relocatable object files/'.
+
+2001-02-20  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/iconv.c (usage, main): Make -f and -t options optional.
+        * man/iconv.1: Mark them as optional.
+
+2001-02-20  Bruno Haible  <haible@clisp.cons.org>
+
+        * tools/Makefile (GB18030ext.TXT, GB18030uni.TXT): Generate from
+          glibc-2.2.2 table.
+        * lib/gb18030uni.h, lib/gb18030ext.h: Add mapping 0xA989 -> U+303E,
+          0xFE5E -> U+2E97. Shift the entire four-byte range.
+        * tests/GB18030.TXT: Regenerated.
+
+2001-02-20  Bruno Haible  <haible@clisp.cons.org>
+
+        Better support for DOS/Windows platforms.
+        * autoconf/ltconfig: Upgrade to libtool-1.3.5.
+        * autoconf/ltmain.sh: Likewise.
+        * autoconf/aclocal.m4: Likewise.
+        * autoconf/install-sh: New file.
+        * configure.in: Call AC_OBJEXT and AC_EXEEXT. Call AC_CONFIG_AUX_DIR.
+
+2001-02-20  Bruno Haible  <haible@clisp.cons.org>
+
+        * Makefile.in (libdir, includedir, mandir): Use the autoconf
+          determined value, in order to respect the configure arguments.
+        * lib/Makefile.in (libdir): Likewise.
+        * src/Makefile.in (bindir): Likewise.
+        * man/Makefile.in (mandir): Likewise.
+
+2001-02-04  Bruno Haible  <haible@clisp.cons.org>
+
+        * lib/translit.def: Add all the neutral transliterations from glibc.
+        * lib/gentranslit.c (main): Allow UTF-8 replacements which are in
+          UCS-2 but not in ISO-8859-1. Generate a table of 'unsigned short'.
+          Avoid accessing data[-1].
+        * lib/loop_unicode.h (unicode_loop_convert): Change type of pointer
+          into translit_data.
+
+2001-01-05  Bruno Haible  <haible@clisp.cons.org>
+
+        Implement and document CP862.
+        * tools/Makefile (ALL): Add cp862.h.
+          (cp862.h): New target.
+        * lib/cp862.h: New file.
+        * lib/converters.h: Include it.
+        * lib/encodings.def (CP862): New encoding.
+        * README, man/iconv_open.3: Add CP862.
+        * tests/Makefile.in (check): Check CP862.
+        * tests/Makefile.msvc (check): Likewise.
+        * tests/Makefile.os2 (check): Likewise.
+        * tests/CP862.TXT: New file.
+
+2000-12-18  Bruno Haible  <haible@clisp.cons.org>
+
+        * autoconf/mbstate_t.m4: New file, from textutils-2.0.10.
+        * Makefile.devel (OTHERMACROS): Add it.
+        * configure.in: Call AC_MBSTATE_T.
+        * lib/config.h.in (mbstate_t): New definition.
+        * lib/loop_wchar.h (mbrtowc): For BeOS, declare and define fallback.
+
+2000-12-12  Bruno Haible  <haible@clisp.cons.org>
+
+        * Makefile.in: Use $(MAKE) instead of $(MAKE) -r. Needed with Solaris
+          "make", which doesn't set MAKE as expected by @SET_MAKE@ if -r is
+          given. Reported by Toshimitsu Fujiwara.
+
+2000-12-08  Bruno Haible  <haible@clisp.cons.org>
+
+        * Makefile.in (exec_prefix): Use configure's --exec-prefix argument.
+        * lib/Makefile.in (exec_prefix): Likewise.
+        * src/Makefile.in (exec_prefix): Likewise.
+        * man/Makefile.in (exec_prefix): Likewise.
+
+2000-12-02  Bruno Haible  <haible@clisp.cons.org>
+
+        * Version 1.5 released.
+        * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
+          Bump version number.
+        * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:2:0.
+
+2000-12-02  Bruno Haible  <haible@clisp.cons.org>
+
+        * Makefile.in (mostlyclean, clean, distclean, maintainer-clean):
+          Remove files installed in lib by libcharset.
+        * Makefile.msvc (mostlyclean): Likewise.
+
+        * Makefile.in (check): Depend on target 'all'.
+        * Makefile.os2 (check): Likewise.
+        * Makefile.msvc (check): Depend on target 'force' as well.
+
+        * src/iconv.c (usage): Take an exitcode argument.
+          (print_version): New function.
+          (main): Recognize --help and --version command line options.
+
+2000-12-02  Bruno Haible  <haible@clisp.cons.org>
+
+        * Makefile.msvc: Replace STATIC with its opposite flag, DLL.
+        * lib/Makefile.msvc: Likewise.
+        * src/Makefile.msvc: Likewise.
+        * tests/Makefile.msvc: Likewise.
+
+2000-12-01  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/iconv.c: Include <fcntl.h>. Define fallbacks for setmode, fileno.
+          (force_binary): New variable.
+          (convert): If requested, set the input O_BINARY.
+          (main): Accept --binary option. If requested, set the output O_BINARY.
+        * tests/check-stateful.bat: Pass --binary to iconv.
+        * tests/check-stateful.cmd: Likewise.
+        * tests/check-translit.bat: Likewise.
+        * tests/check-translit.cmd: Likewise.
+
+2000-12-01  Bruno Haible  <haible@clisp.cons.org>
+
+        * include/iconv.h.in (_libiconv_version): New declaration.
+        * lib/iconv.c (_libiconv_version): New variable.
+
+2000-11-30  Bruno Haible  <haible@clisp.cons.org>
+
+        * Makefile.msvc (all): File now named lib/libcharset.h.
+          (clean, distclean, maintainer-clean): Likewise.
+
+2000-11-23  Bruno Haible  <haible@clisp.cons.org>
+
+        * lib/*: Move here all files from src/*.
+        * src/*: Move all files to lib.
+        * lib/Makefile.in (distclean): No need to remove config.status,
+          config.log, config.cache.
+        * configure.in: Require lib/iconv.c, not src/iconv.c. Create
+          lib/config.h, not src/config.h. Also create lib/Makefile.
+        * Makefile.in (all): Install libcharset into lib, not src. Recurse
+          into lib and src.
+          (install-lib): Recurse into lib, not src.
+          (install): Recurse into libcharset, lib and src.
+          (installdirs, uninstall): Likewise.
+          (check, mostlyclean, clean, distclean, maintainer-clean): Likewise.
+        * Makefile.msvc (all): Recurse into lib and src.
+          (install): Recurse into libcharset, lib and src.
+          (installdirs, uninstall): Likewise.
+          (check, mostlyclean, clean, distclean, maintainer-clean): Likewise.
+        * Makefile.os2 (all): Recurse into lib and src.
+          (install-lib): Recurse into lib, not src.
+          (install, uninstall): Recurse into lib and src.
+          (check, mostlyclean, clean, distclean, maintainer-clean): Likewise.
+        * Makefile.devel (lib/config.h.msvc): Renamed from src/config.h.msvc.
+          (lib/aliases.h): Renamed from src/aliases.h.
+          (lib/aliases.gperf): Renamed from src/aliases.gperf.
+          (lib/aliases_aix.h): Renamed from src/aliases_aix.h.
+          (lib/flags.h): Renamed from src/flags.h.
+          (lib/translit.h): Renamed from src/translit.h.
+        * src/iconv.c: Moved here from tests/iconv.c.
+        * src/Makefile.in: New file.
+        * src/Makefile.msvc: New file.
+        * src/Makefile.os2: New file.
+        * tests/Makefile.in (iconv): Remove target.
+          (../lib/libiconv.la): Renamed from ../src/libiconv.la.
+          (clean): No need to remove iconv.
+        * tests/Makefile.msvc (iconv.exe): Remove target.
+        * tests/Makefile.os2 (iconv.exe): Likewise.
+        * tests/check-stateful: iconv is in ../src.
+        * tests/check-stateful.bat: Likewise.
+        * tests/check-stateful.cmd: Likewise.
+        * tests/check-translit: iconv is in ../src.
+        * tests/check-translit.bat: Likewise.
+        * tests/check-translit.cmd: Likewise.
+        * man/iconv.1: New file.
+        * man/Makefile.in (install, installdirs, uninstall): Also install *.1
+          man pages.
+        * man/Makefile.os2 (MAN3): Renamed from MAN.
+          (MAN1): New variable.
+          (install, uninstall): Also install *.1 man pages.
+
+2000-11-21  Bruno Haible  <haible@clisp.cons.org>
+
+        * Makefile.msvc (all, check, mostlyclean, clean, distclean,
+           maintainer-clean): Recurse into libcharset.
+          (clean, distclean, maintainer-clean): Remove src\libcharset.h.
+        * src/Makefile.msvc (LIBCHARSET_OBJECTS): New variable.
+          (iconv.lib): Link with $(LIBCHARSET_OBJECTS).
+
+2000-11-18  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/cp950.h (cp950_mbtowc, cp950_wctomb): Change implementation
+          so that it agrees with Microsoft's definition of CP950.
+        * tests/CP950.TXT: Likewise.
+        * tests/CP950.IRREVERSIBLE.TXT: Add 0xA244, 0xA2CC, 0xA2CE.
+
+2000-11-18  Bruno Haible  <haible@clisp.cons.org>
+
+        Add support for locale dependent "char" and "wchar_t" encodings.
+        * libcharset: New subdirectory.
+        * src/loop_unicode.h: New file, extracted from src/iconv.c.
+        * src/loop_wchar.h: New file.
+        * src/loops.h: New file. Include loop_unicode.h and loop_wchar.h.
+        * src/encodings_local.def: New file.
+        * src/genaliases.c: Also create aliases for encodings_local.def.
+        * src/converters.h (conv_struct): Add lfuncs field.
+        * src/genflags.c: Add dummy definitions of struct loop_funcs.
+        * src/iconv.c: Include libcharset.h.
+          (loop_funcs): New structure.
+          Treat encodings_local.def like encodings.def.
+          Include loops.h.
+          (iconv_open): Move the bulk of the code to loop_unicode.h.
+          (iconv): Likewise.
+          (iconvctl): Extend determination of TRIVIALP to wchar_t conversion
+          descriptors.
+        * src/Makefile.in (PLUG_SOURCES): Remove variable.
+          (LIBCHARSET_OBJECTS): New variable.
+          (libiconv.la): Link in the LIBCHARSET_OBJECTS.
+          (libiconv_plug_linux.so, libiconv_plug_solaris.so,
+           libiconv_plug_osf.so): Link in the LIBCHARSET_OBJECTS, using
+          LIBTOOL_LINK.
+          (iconv.lo): Depend on encodings_local.def.
+        * src/Makefile.msvc (iconv.obj): Depend on encodings_local.def.
+        * src/Makefile.os2 (iconv.obj): Likewise.
+        * configure.in: Add tests for locale.h, mbrtowc, wcrtomb, setlocale.
+          Recurse into libcharset.
+        * src/config.h.in (HAVE_LOCALE_H, HAVE_MBRTOWC, HAVE_WCRTOMB,
+           HAVE_SETLOCALE): New macros.
+        * tests/iconv.c: Include config.h and locale.h.
+          (main): Call setlocale.
+        * tests/Makefile.in (iconv): Search for config.h in ../src.
+        * tests/Makefile.os2 (iconv.exe): Likewise.
+        * tests/Makefile.msvc (iconv.exe): Likewise.
+        * README, man/iconv_open.3: Document "char" and "wchar_t" encodings.
+        * Makefile.in: After "cd", use "&&" not ";".
+          (all, check, mostlyclean, clean, distclean, maintainer-clean):
+          Recurse into libcharset.
+        * Makefile.devel (all): Recurse into libcharset.
+          (src/aliases.gperf): Depend on src/encodings_local.def.
+
+2000-11-18  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/converters.h (ucs4_t): New type.
+          (wchar_t): Remove locally defined override.
+          (mbtowc_funcs, wctomb_funcs): Use ucs4_t instead of wchar_t.
+        * src/iconv.c (iconv): Likewise.
+        * src/genflags.c (emit_encoding): Use ucs4_t instead of wchar_t.
+        * tools/8bit_tab_to_h.c: Use "ucs4_t" instead of "wchar_t".
+        * tools/cjk_tab_to_h.c: Likewise.
+        * src/armscii_8.h: Use ucs4_t instead of wchar_t.
+        * src/ascii.h: Likewise.
+        * src/big5.h: Likewise.
+        * src/big5hkscs.h: Likewise.
+        * src/ces_big5.h: Likewise.
+        * src/ces_gbk.h: Likewise.
+        * src/cns11643.h: Likewise.
+        * src/cns11643_1.h: Likewise.
+        * src/cns11643_2.h: Likewise.
+        * src/cns11643_3.h: Likewise.
+        * src/cns11643_inv.h: Likewise.
+        * src/cp1046.h: Likewise.
+        * src/cp1124.h: Likewise.
+        * src/cp1129.h: Likewise.
+        * src/cp1133.h: Likewise.
+        * src/cp1250.h: Likewise.
+        * src/cp1251.h: Likewise.
+        * src/cp1252.h: Likewise.
+        * src/cp1253.h: Likewise.
+        * src/cp1254.h: Likewise.
+        * src/cp1255.h: Likewise.
+        * src/cp1256.h: Likewise.
+        * src/cp1257.h: Likewise.
+        * src/cp1258.h: Likewise.
+        * src/cp850.h: Likewise.
+        * src/cp856.h: Likewise.
+        * src/cp866.h: Likewise.
+        * src/cp874.h: Likewise.
+        * src/cp922.h: Likewise.
+        * src/cp932.h: Likewise.
+        * src/cp932ext.h: Likewise.
+        * src/cp936ext.h: Likewise.
+        * src/cp949.h: Likewise.
+        * src/cp950.h: Likewise.
+        * src/cp950ext.h: Likewise.
+        * src/euc_cn.h: Likewise.
+        * src/euc_jp.h: Likewise.
+        * src/euc_kr.h: Likewise.
+        * src/euc_tw.h: Likewise.
+        * src/gb12345.h: Likewise.
+        * src/gb12345ext.h: Likewise.
+        * src/gb18030.h: Likewise.
+        * src/gb18030ext.h: Likewise.
+        * src/gb18030uni.h: Likewise.
+        * src/gb2312.h: Likewise.
+        * src/gbk.h: Likewise.
+        * src/gbkext1.h: Likewise.
+        * src/gbkext2.h: Likewise.
+        * src/gbkext_inv.h: Likewise.
+        * src/georgian_academy.h: Likewise.
+        * src/georgian_ps.h: Likewise.
+        * src/hkscs.h: Likewise.
+        * src/hp_roman8.h: Likewise.
+        * src/hz.h: Likewise.
+        * src/iso2022_cn.h: Likewise.
+        * src/iso2022_cnext.h: Likewise.
+        * src/iso2022_jp.h: Likewise.
+        * src/iso2022_jp1.h: Likewise.
+        * src/iso2022_jp2.h: Likewise.
+        * src/iso2022_kr.h: Likewise.
+        * src/iso646_cn.h: Likewise.
+        * src/iso646_jp.h: Likewise.
+        * src/iso8859_1.h: Likewise.
+        * src/iso8859_10.h: Likewise.
+        * src/iso8859_13.h: Likewise.
+        * src/iso8859_14.h: Likewise.
+        * src/iso8859_15.h: Likewise.
+        * src/iso8859_16.h: Likewise.
+        * src/iso8859_2.h: Likewise.
+        * src/iso8859_3.h: Likewise.
+        * src/iso8859_4.h: Likewise.
+        * src/iso8859_5.h: Likewise.
+        * src/iso8859_6.h: Likewise.
+        * src/iso8859_7.h: Likewise.
+        * src/iso8859_8.h: Likewise.
+        * src/iso8859_9.h: Likewise.
+        * src/isoir165.h: Likewise.
+        * src/isoir165ext.h: Likewise.
+        * src/java.h: Likewise.
+        * src/jisx0201.h: Likewise.
+        * src/jisx0208.h: Likewise.
+        * src/jisx0212.h: Likewise.
+        * src/johab.h: Likewise.
+        * src/johab_hangul.h: Likewise.
+        * src/koi8_r.h: Likewise.
+        * src/koi8_ru.h: Likewise.
+        * src/koi8_u.h: Likewise.
+        * src/ksc5601.h: Likewise.
+        * src/mac_arabic.h: Likewise.
+        * src/mac_centraleurope.h: Likewise.
+        * src/mac_croatian.h: Likewise.
+        * src/mac_cyrillic.h: Likewise.
+        * src/mac_greek.h: Likewise.
+        * src/mac_hebrew.h: Likewise.
+        * src/mac_iceland.h: Likewise.
+        * src/mac_roman.h: Likewise.
+        * src/mac_romania.h: Likewise.
+        * src/mac_thai.h: Likewise.
+        * src/mac_turkish.h: Likewise.
+        * src/mac_ukraine.h: Likewise.
+        * src/mulelao.h: Likewise.
+        * src/nextstep.h: Likewise.
+        * src/sjis.h: Likewise.
+        * src/tcvn.h: Likewise.
+        * src/tis620.h: Likewise.
+        * src/ucs2.h: Likewise.
+        * src/ucs2be.h: Likewise.
+        * src/ucs2internal.h: Likewise.
+        * src/ucs2le.h: Likewise.
+        * src/ucs2swapped.h: Likewise.
+        * src/ucs4.h: Likewise.
+        * src/ucs4be.h: Likewise.
+        * src/ucs4internal.h: Likewise.
+        * src/ucs4le.h: Likewise.
+        * src/ucs4swapped.h: Likewise.
+        * src/uhc_1.h: Likewise.
+        * src/uhc_2.h: Likewise.
+        * src/utf16.h: Likewise.
+        * src/utf16be.h: Likewise.
+        * src/utf16le.h: Likewise.
+        * src/utf7.h: Likewise.
+        * src/utf8.h: Likewise.
+        * src/viscii.h: Likewise.
+
+2000-11-18  Bruno Haible  <haible@clisp.cons.org>
+
+        Make transliteration optional.
+        * src/iconv.c (iconv_open): Strip off //TRANSLIT suffix from names.
+          Set transliteration on if and only if tocode ends in //TRANSLIT.
+        * README, man/iconv_open.3: Document how to enable transliteration.
+        * tests/check-translit: Add //TRANSLIT to iconv's 't' argument.
+        * tests/check-translit.bat: Likewise.
+        * tests/check-translit.cmd: Likewise.
+
+2000-11-18  Bruno Haible  <haible@clisp.cons.org>
+
+        * man/iconv.3: Fix typo.
+
+2000-10-31  Bruno Haible  <haible@clisp.cons.org>
+
+        * README, man/iconv_open.3: Document JOHAB again.
+
+2000-11-15  Bruno Haible  <haible@clisp.cons.org>
+
+        * Makefile.msvc: Add support for MFLAGS and DEBUG parameters.
+          (STATIC): Change default from 0 to 1.
+        * src/Makefile.msvc: Likewise.
+        * tests/Makefile.msvc: Likewise.
+        * tests/check-stateless.bat: Call 'sort' with no arguments.
+
+2000-11-12  Bruno Haible  <haible@clisp.cons.org>
+
+        * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
+          version from GNU CVS.
+
+2000-10-24  Bruno Haible  <haible@clisp.cons.org>
+
+        * Version 1.4 released.
+        * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
+          Bump version number.
+        * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:1:0.
+
+2000-10-23  Bruno Haible  <haible@clisp.cons.org>
+
+        Implement and document GB18030 and BIG5HKSCS.
+        * tools/cjk_tab_to_h.c (row_byte_hkscs, byte_row_hkscs, do_hkscs): New
+          functions.
+          (do_gb18030uni): New function.
+          (main): Accept gb18030ext, gb18030uni, hkscs.
+        * tools/Makefile (ALL): Add gb18030ext.h, gb18030uni.h, hkscs.h.
+          (gb18030ext.h, GB18030ext.TXT, gb18030uni.h, GB18030uni.TXT,
+           hkscs.h): New targets.
+        * src/gb18030ext.h, src/gb18030uni.h, src/gb18030.h: New files.
+        * src/hkscs.h, src/big5hkscs.h: New files.
+        * src/converters.h: Include gb18030.h and big5hkscs.h.
+        * src/encodings.def (GB18030, BIG5HKSCS): New encodings.
+        * README, man/iconv_open.3: Add GB18030, BIG5HKSCS.
+        * tests/Makefile.in (check): Check GB18030, BIG5HKSCS.
+        * tests/Makefile.msvc (check): Likewise.
+        * tests/Makefile.os2 (check): Likewise.
+        * tests/GB18030.TXT: New file.
+        * tests/BIG5HKSCS.TXT, tests/BIG5HKSCS.IRREVERSIBLE.TXT: New files.
+
+2000-10-23  Bruno Haible  <haible@clisp.cons.org>
+
+        * tests/table-from.c (try, main): Use UCS-4-INTERNAL instead of
+          UCS-2-INTERNAL, to avoid problems with UCS-2 surrogate handling.
+        * tests/table-to.c (main): Likewise.
+
+2000-10-22  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/gentranslit.c (main): Read the input in UTF-8 encoding.
+
+2000-10-09  Bruno Haible  <haible@clisp.cons.org>
+
+        CPU recognition on OpenBSD.
+        * autoconf/aclocal.m4 (CL_WORDS_LITTLEENDIAN): Recognize __m68k__,
+          __mc68020__, __MIPSEB__, __MIPSEL__, __m88k__ as CPU indicators.
+
+2000-10-03  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/gentranslit.c (main): Don't output non-ASCII ISO-8859-1
+          character literals, use the numeric value instead.
+          Reported by Shin-Hsien Yeh <shyeh@alcatel.com.tw>.
+
+2000-09-29  Bruno Haible  <haible@clisp.cons.org>
+
+        * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Fix bug in 2000-05-23
+          change.
+
+2000-09-25  Bruno Haible  <haible@clisp.cons.org>
+
+        * autoconf/aclocal.m4 (CL_WORDS_LITTLEENDIAN): Recognize __i386__
+          as equivalent to __i386. For OpenBSD.
+
+2000-09-21  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/utf16.h (utf16_wctomb): Reject single surrogates.
+        * src/utf16be.h (utf16be_wctomb): Likewise.
+        * src/utf16le.h (utf16le_wctomb): Likewise.
+        * src/ucs2.h (ucs2_mbtowc, ucs2_wctomb): Likewise.
+        * src/ucs2be.h (ucs2be_mbtowc, ucs2be_wctomb): Likewise.
+        * src/ucs2le.h (ucs2le_mbtowc, ucs2le_wctomb): Likewise.
+        * src/ucs2internal.h (ucs2internal_mbtowc, ucs2internal_wctomb):
+          Likewise.
+        * src/ucs2swapped.h (ucs2swapped_mbtowc, ucs2swapped_wctomb):
+          Likewise.
+
+2000-09-15  Bruno Haible  <haible@clisp.cons.org>
+
+        * Makefile.in (install, installdirs, uninstall): Support DESTDIR.
+        * src/Makefile.in (install, installdirs, uninstall): Likewise.
+        * man/Makefile.in (install, installdirs, uninstall): Likewise.
+
+2000-09-11  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/utf7.h (utf7_mbtowc): Fix combining of UTF-16 surrogates.
+
+2000-08-26  Bruno Haible  <haible@clisp.cons.org>
+
+        * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
+          value, not parens.
+
+2000-07-04  Akira Hatakeyama  <akira@sra.co.jp>
+            Bruno Haible  <haible@clisp.cons.org>
+
+        * os2/iconv.def, README.os2, Makefile.os2, src/Makefile.os2,
+          tests/Makefile.os2, man/Makefile.os2, tests/check-stateful.cmd,
+          tests/check-stateless.cmd, tests/check-translit.cmd: New files.
+
+2000-06-28  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/ucs2internal.h (ucs2internal_mbtowc): Avoid gcc warning about
+          cast.
+        * src/ucs4internal.h (ucs4internal_mbtowc): Likewise.
+        * src/ucs2swapped.h (ucs2swapped_mbtowc, ucs2swapped_wctomb): Verify
+          sizeof(unsigned short).
+        * src/ucs4swapped.h (ucs4swapped_mbtowc, ucs4swapped_mbtowc): Verify
+          sizeof(unsigned int).
+        Reported by François Pinard <pinard@iro.umontreal.ca>.
+
+2000-05-29  Bruno Haible  <haible@clisp.cons.org>
+
+        * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
+        Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
+
+2000-05-23  Bruno Haible  <haible@clisp.cons.org>
+
+        * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
+          host_vendor, host_os correctly if $host has more than two hyphens.
+
+2000-04-15  Bruno Haible  <haible@clisp.cons.org>
+
+        * Version 1.3 released.
+        * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc:
+          Bump version number.
+        * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:0:0.
+
+2000-04-15  Bruno Haible  <haible@clisp.cons.org>
+
+        * THANKS: New file.
+        * INSTALL.generic: New file.
+
+        Implement and document UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE.
+        * src/ucs2be.h, src/ucs2le.h, src/ucs4be.h, src/ucs4le.h: New files.
+        * src/converters.h: Include them.
+        * src/ucs2swapped.h: Remove #defines for UCS-2-BE, UCS-2-LE.
+        * src/ucs4swapped.h: Remove #defines for UCS-4-BE, UCS-4-LE.
+        * src/encodings.def (UCS-2BE): Renamed from UCS-2-BE.
+          (UCS-2LE): Renamed from UCS-2-LE.
+          (UCS-4BE): Renamed from UCS-4-BE.
+          (UCS-4LE): Renamed from UCS-4-LE.
+        * Makefile.devel (src/aliases.h): Pass option "-i 1" to gperf.
+        * README, man/iconv_open.3: Add UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE.
+        * tests/Makefile.in (check): Check UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE.
+        * tests/Makefile.msvc (check): Likewise.
+        * tests/UCS-*snippet*: New files.
+
+        Allow building as a shared library on Windows.
+        Allow running the tests on Windows.
+        * Makefile.devel (include/iconv.h.msvc): Remove rule.
+          (include/iconv.h.msvc-static, include/iconv.h.msvc-shared): New
+          rules.
+          (all): Update.
+        * windows/dllexport.h: New file.
+        * include/iconv.h.msvc: Remove file.
+        * include/iconv.h.msvc-static, include/iconv.h.msvc-shared: New
+          autogenerated files.
+        * Makefile.msvc (STATIC, DEBUG): Default to 0.
+          (all): Choose either include\iconv.h.msvc-static or
+          include\iconv.h.msvc-shared.
+          (check): Depend on all.
+          (all, check, mostlyclean, clean, distclean, maintainer-clean):
+          Recurse into tests directory.
+        * src/Makefile.msvc (STATIC, DEBUG): Default to 0.
+          (WARN_CFLAGS, PICFLAGS, OPTIMFLAGS): New variables.
+          (CFLAGS): Use them. Add -MD and -DBUILDING_LIBICONV.
+          (RESOURCES): New variable.
+          (iconv.lib): Change rule when building DLL.
+          (clean, distclean): One filename per line.
+        * tests/Makefile.msvc: New file.
+        * tests/check-stateful.bat, tests/check-stateless.bat,
+          tests/check-translit.bat: New files.
+        * tests/uniq-u.c: New file, taken from GNU textutils.
+        * README.win32: Update.
+        Based on patches by Taro Muraoka <koron@tka.att.ne.jp>.
+
+2000-04-14  Bruno Haible  <haible@clisp.cons.org>
+
+        Fix an OSF/1 problem.
+        * configure.in: Define GCC variable for substitution.
+        * src/Makefile.in (libiconv_plug_osf.so): Change rule if not using
+          gcc.
+
+2000-04-13  Bruno Haible  <haible@clisp.cons.org>
+
+        Fix a SunOS 4 problem.
+        * include/iconv.h.in: If EILSEQ is not defined by the system, define
+          it to ENOENT, not EINVAL.
+
+2000-04-02  Bruno Haible  <haible@clisp.cons.org>
+
+        Allow building on filesystems lacking symlinks and hard links.
+        * Makefile.devel (autoconf/aclocal.m4): Replace AC_PROG_LN_S with
+          CL_PROG_LN_S.
+        * configure.in: Add CL_PROG_LN, CL_PROG_LN_S.
+        * src/Makefile.in (LN): Use autoconfigured value @LN@.
+          (LN_S): Use autoconfigured value @LN_S@.
+
+2000-03-15  Bruno Haible  <haible@clisp.cons.org>
+
+        * Version 1.2 released.
+        * include/iconv.h.in (_LIBICONV_VERSION): Bump version number.
+        * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 1:1:1.
+
+2000-03-14  Bruno Haible  <haible@clisp.cons.org>
+
+        Implement and document UTF-16BE and UTF16LE.
+        * src/utf16be.h, src/utf16le.h: New files.
+        * src/converters.h: Include them.
+        * src/encodings.def (UTF-16BE, UTF16LE): New encodings.
+        * README, man/iconv_open.3: Add UTF-16BE, UTF16LE.
+        * tests/Makefile.in (check): Check UTF-16, UTF-16BE, UTF16LE.
+        * tests/UTF-16*snippet*: New files.
+
+        * src/utf16.h (utf16_wctomb): Output a byte order mark.
+
+2000-03-13  Bruno Haible  <haible@clisp.cons.org>
+
+        Provide all encodings used by AIX locales.
+        * tools/Makefile (all): Add cp856.h, cp922.h, cp1046.h, cp1124.h,
+          cp1129.h.
+          (cp856.h, cp922.h, cp1046.h, cp1124.h, cp1129.h): New targets.
+        * src/cp856.h, src/cp922.h, src/cp943.h, src/cp1046.h, src/cp1124.h,
+          src/cp1129.h: New files.
+        * src/converters.h: Include them if USE_AIX is defined.
+        * src/encodings_aix.def: New file, with CP856, CP922, CP943, CP1046,
+          CP1124, CP1129.
+        * src/genflags.c: Define USE_AIX. Include encodings_aix.def.
+        * src/genaliases2.c: New file.
+        * src/iconv.c: Define USE_AIX on AIX.
+          Include encodings_aix.def and aliases_aix.h.
+          (aliases2_lookup): New function.
+          (iconv_open): Call aliases2_lookup.
+        * src/Makefile.in (iconv.lo): Depend on encodings_aix.def and
+          aliases_aix.h.
+        * Makefile.devel (all): Add src/aliases_aix.h.
+          (src/aliases_aix.h): New rule.
+          (src/flags.h): Depend on src/encodings_aix.def.
+
+2000-02-24  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/iconv.c (iconv): Don't write beyond the end of the output buffer.
+          Reported by Edmund Grimley Evans <edmundo@rano.org>.
+
+2000-02-22  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/utf7.h (direct_tab, xdirect_tab): Treat tab like space.
+
+2000-02-15  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/iconv.c (iconv): Add cast in xxx_reset call.
+
+2000-02-05  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/tis620.h: Simplify.
+
+2000-01-27  Bruno Haible  <haible@clisp.cons.org>
+
+        * Makefile.devel (CLISP_DIR): Change to "..".
+
+2000-01-24  Bruno Haible  <haible@clisp.cons.org>
+
+        * Version 1.1 released.
+        * include/iconv.h.in (_LIBICONV_VERSION): Bump version number.
+        * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 1:0:1.
+
+2000-01-23  Bruno Haible  <haible@clisp.cons.org>
+
+        * src/utf7.h (utf7_wctomb): If base64 encoding is not active, encode
+          '+' as "+-".
+
+2000-01-22  Bruno Haible  <haible@clisp.cons.org>
+
+        * include/iconv.h.in (iconvctl): New declaration.
+          (ICONV_TRIVIALP, ICONV_GET_TRANSLITERATE, ICONV_SET_TRANSLITERATE):
+          New macros.
+        * src/iconv.c (iconvctl): New function.
+
+        * tests/Makefile.in: Add a rule for ../src/libiconv.la. Define $(MAKE).
+
+        Solve a build problem.
+        * include/iconv.h.in: Renamed from include/libiconv.h.in.
+        * Makefile.devel: libiconv.h -> iconv.h.
+        * Makefile.in: Likewise.
+        * configure.in: Likewise. Remove check for <iconv.h>.
+        * src/iconv.c: Include iconv.h instead of libiconv.h.
+        * tests/iconv.c, tests/table-from.c, tests/table-to.c: Likewise.
+
+        * README, man/iconv_open.3: Don't document JOHAB any more.
+
+        * man/iconv.3: Clarify return value again.
+
+2000-01-16  Bruno Haible  <haible@clisp.cons.org>
+
+        Add aliases.
+        * src/encodings.def (ISO-8859-14): Add alias ISO-IR-199.
+          (ISO-8859-15): Add alias ISO-IR-203.
+          (EUC-CN): Add alias CN-GB, from RFC 1922.
+          (BIG5): Add alias CN-BIG5, from RFC 1922.
+        * Makefile.devel (src/aliases.h): Add 8th character to key set.
+
+        Drop X11 aliases.
+        * src/encodings.def (JIS_X0201): Drop JISX0201.1976-0 alias.
+          (JIS_X0208): Drop JIS_X0208.1983-0, JIS_X0208.1983-1 aliases.
+          (KSC_5601): Drop KSC5601.1987-0 alias.
+
+        Improve GB/T 12345 (not used yet).
+        * tools/Makefile (gb12345ext.h): Use GB12345-more.TXT.
+        * src/gb12345ext.h: Regenerated.
+
+        Improve and document CP949.
+        * tools/Makefile (all): Add uhc_1.h and uhc_2.h.
+          (uhc_1.h, uhc_2.h): New rules.
+        * tools/cjk_tab_to_h.c (output_charset2uni_noholes_monotonic): New
+          function.
+          (output_uni2charset_sparse): Take an additional boolean argument.
+          All callers changed.
+          (*_uhc_1, *_uhc_2): New functions.
+          (main): Treat uhc_1 and uhc_2.
+        * src/uhc_1.h, src/uhc_2.h: New files.
+        * src/cp949.h: New file, include them.
+        * src/converters.h: Include it.
+        * src/encodings.def (KSC_5601): Remove alias CP949.
+          (CP949): New encoding.
+        * README, man/iconv_open.3: Add CP949.
+        * tests/Makefile.in (check): Check CP949.
+        * tests/CP949.TXT: New file.
+
+        Document CP932.
+        * README, man/iconv_open.3: Add CP932.
+        * tests/Makefile.in (check): Check CP932.
+        * tests/CP932.TXT, tests/CP932.IRREVERSIBLE.TXT: New files.
+
+        * Makefile.devel (src/flags.h): Depend on src/converters.h.
+
+        * tests/Makefile.in (check): Check JIS_X0201.
+        * tests/JIS_X0201.TXT: New file.
+
+        * src/euc_kr.h (euc_kr_wctomb): Shrink size of buf.
+        * src/iso2022_kr.h (iso2022_kr_wctomb): Likewise.
+
+        * src/iso2022_cnext.h (iso2022_cn_ext_mbtowc): Use isoir165_mbtowc.
+          (iso2022_cn_ext_wctomb): Use isoir165_wctomb.
+
+        Add ISO-IR-165 (undocumented).
+        * tools/Makefile (all): Add isoir165ext.h.
+          (isoir165ext.h): New rule.
+        * tools/cjk_tab_to_h.c (main): Treat isoir165ext like gb2312.
+        * src/isoir165.h, src/isoir165ext.h: New files.
+        * src/converters.h: Include it.
+        * src/encodings.def: Add ISO-IR-165.
+        * tests/Makefile.in (check): Check ISO-IR-165.
+        * tests/ISO-IR-165.TXT, tests/ISO-IR-165.IRREVERSIBLE.TXT: New files.
+
+        Add ISO646-CN (undocumented).
+        * src/iso646_cn.h: New file.
+        * src/converters.h: Include it.
+        * src/encodings.def: Add ISO646-CN.
+        * tests/Makefile.in (check): Check ISO646-CN.
+        * tests/ISO646-CN.TXT: New file.
+
+        Add ISO646-JP (undocumented).
+        * src/iso646_jp.h: New file.
+        * src/converters.h: Include it.
+        * src/encodings.def: Add ISO646-JP.
+        * tests/Makefile.in (check): Check ISO646-JP.
+        * tests/ISO646-JP.TXT: New file.
+
+2000-01-05  Bruno Haible  <haible@clisp.cons.org>
+
+        Add ISO-8859-16.
+        * tools/Makefile (all): Add iso8859_16.h.
+          (iso8859_16.h): New rule.
+        * src/iso8859_16.h: New file.
+        * src/converters.h: Include it.
+        * src/encodings.def: Add ISO-8859-16.
+        * README, man/iconv_open.3: Add ISO-8859-16.
+        * tests/Makefile.in (check): Check ISO-8859-16.
+        * tests/ISO-8859-16.TXT: New file.
+
+        * man/iconv.3: Clarify what happens *inbuf in case 3.
+
+        * src/iso8859_8.h: Update using newest table from ftp.unicode.org.
+        * tests/ISO-8859-8.TXT: Likewise.
+
+2000-01-04  Bruno Haible  <haible@clisp.cons.org>
+
+        * Version 1.0 released.
+        * include/libiconv.h.in (_LIBICONV_VERSION): Bump version number.
+        * src/Makefile.in (LIBICONV_VERSION_INFO): Define to 0:1:0.
+          (libiconv.la): Use LIBICONV_VERSION_INFO.
+
+2000-01-03  Bruno Haible  <haible@clisp.cons.org>
+
+        * tests/Makefile.in: New file.
+          tests/check-stateless, tests/table-from.c, tests/table-to.c,
+          tests/*.TXT, tests/genutf8.c: New files, checks for stateless
+          encodings.
+          tests/check-stateful, tests/iconv.c, tests/*-snippet*: New files,
+          checks for stateful encodings.
+        * Makefile.in (all, check, mostlyclean, clean, distclean,
+           maintainer-clean): Descend into tests directory.
+        * configure.in: Add tests/Makefile to AC_OUTPUT duties.
+
+        * src/gentranslit.c: New file.
+        * Makefile.devel (src/translit.h): New rule.
+        * src/translit.def, src/translit.h: New files.
+        * src/iconv.c: Include it.
+          (iconv): Transliterate using translit.h table.
+
+        * src/genflags.c: New file.
+        * Makefile.devel (src/flags.h): New rule.
+        * src/flags.h: New file.
+        * src/iconv.c: Include it.
+          (encoding): Add field 'oflags'.
+          (all_encodings): Initialize the field 'oflags'.
+          (iconv_open): Copy field 'oflags'.
+          (iconv): Transliterate quotation marks U+2018, U+2019, U+201A.
+        * src/Makefile.in (iconv.lo): Update dependencies.
+
+        * src/converters.h: New file, extracted from src/iconv.c.
+        * src/iconv.c: Include it.
+        * src/Makefile.in (iconv.lo): Update dependencies.
+
+        * tools/cjk_variants.c: New file.
+        * tools/Makefile (ALL): Add cjk_variants.h.
+          (cjk_variants.h, cjk_variants): New rules.
+        * src/cjk_variants.h: New file.
+        * src/iconv.c: Include it.
+          (iconv): Use cjk_variants for transliteration.
+
+        * man/iconv.3: Fix description of return value.
+        * euc_kr.h (euc_kr_wctomb): Remove Hangul transliteration.
+        * iso2022_kr.h (iso2022kr_wctomb): Likewise.
+        * src/iconv.c (iconv): Do Hangul transliteration here and increment
+          result once for every transliterated character.
+        * src/johab_hangul.h (johab_hangul_decompose): Change result array
+          from 'unsigned char*' to 'wchar_t*'.
+
+        * src/cp1258.h (cp1258_mbtowc): Return RET_ILSEQ instead of storing
+          0xfffd.
+
+        * src/georgian_ps.h (georgian_ps_wctomb): Accept 0x00e6.
+
+        * src/euc_jp.h (euc_jp_wctomb): Don't treat U+005C and U+007E like
+          Katakana.
+
+        * src/euc_tw.h (euc_tw_mbtowc): Fix typo.
+
+        * src/cp950.h (cp950_mbtowc, cp950_wctomb): Exclude the range
+          0xC6A1..0xC7FE.
+
+        * tools/cjk_tab_to_h.c (read_table_ksc5601): Some Hangul range was
+          not being excluded. Fix that.
+        * src/ksc5601.h: Regenerated.
+        * src/johab.h (johab_mbtowc): Don't accept 0xDA{A1..D3} - this is
+          valid in KSC5601/KSX1001 but not in JOHAB.
+
+        * src/iconv.c (conv_struct): Add fields iindex, oindex.
+          (iconv_open): Fill in iindex, oindex.
+
+        * src/encodings.def (UCS-2-BE): Add aliases "UNICODE-1-1" and
+          "csUnicode11", from IANA charset list.
+          (MacRoman): Add aliases "MAC" and "csMacintosh" for "MACINTOSH",
+          from IANA charset list.
+          (JIS_X0208): Add aliases "X0208", "ISO-IR-87", "csISO87JISX0208",
+          from IANA charset list.
+          (GB_2312-80): New encoding, from IANA charset list.
+
+        * README, man/iconv_open.3: Add MacIceland and MacUkraine.
+
+        * Makefile.devel: Add rules for src/aliases.h and src/aliases.gperf.
+          (all): Depend on src/aliases.h.
+        * src/Makefile.in: Remove rules for $(srcdir)/aliases.h and
+          $(srcdir)/aliases.gperf.
+          (clean): Clean up.
+
+        * src/Makefile.in (libiconv_plug_linux.so): Remove unneeded "-ldl".
+
+1999-12-31  Bruno Haible  <haible@clisp.cons.org>
+
+        * Version 0.3 released.
+
diff --git a/DEPENDENCIES b/DEPENDENCIES
new file mode 100644
index 0000000..64b08a9
--- /dev/null
+++ b/DEPENDENCIES
@@ -0,0 +1 @@
+No packages need to be installed before GNU libiconv is installed.
diff --git a/DESIGN b/DESIGN
new file mode 100644
index 0000000..9ff2ad3
--- /dev/null
+++ b/DESIGN
@@ -0,0 +1,64 @@
+While some other iconv(3) implementations - like FreeBSD iconv(3) - choose
+the "many small shared libraries" and dlopen(3) approach, this implementation
+packs everything into a single shared library. Here is a comparison of the
+two designs.
+
+* Run-time efficiency
+  1. A dlopen() based approach needs a cache of loaded shared libraries.
+  Otherwise, every iconv_open() call will result in a call to dlopen()
+  and thus to file system related system calls - which is prohibitive
+  because some applications use the iconv_open/iconv/iconv_close sequence
+  for every single filename, string, or piece of text.
+  2. In terms of virtual memory use, both approaches are on par. Being shared
+  libraries, the tables are shared between any processes that use them.
+  And because of the demand loading used by Unix systems (and because libiconv
+  does not have initialization functions), only those parts of the tables
+  which are needed (typically very few kilobytes) will be read from disk and
+  paged into main memory.
+  3. Even with a cache of loaded shared libraries, the dlopen() based approach
+  makes more system calls, because it has to load one or two shared libraries
+  for every encoding in use.
+
+* Total size
+  In the dlopen(3) approach, every shared library has a symbol table and
+  relocation offset. All together, FreeBSD iconv installs more than 200 shared
+  libraries with a total size of 2.3 MB. Whereas libiconv installs 0.45 MB.
+
+* Extensibility
+  The dlopen(3) approach is good for guaranteeing extensibility if the iconv
+  implementation is distributed without source. (Or when, as in glibc, you
+  cannot rebuild iconv without rebuilding your libc, thus possibly
+  destabilizing your system.)
+  The libiconv package achieves extensibility through the LGPL license:
+  Every user has access to the source of the package and can extend and
+  replace just libiconv.so.
+  The places which have to be modified when a new encoding is added are as
+  follows: add an #include statement in iconv.c, add an entry in the table in
+  iconv.c, and of course, update the README and iconv_open.3 manual page.
+
+* Use within other packages
+  If you want to incorporate an iconv implementation into another package
+  (such as a mail user agent or web browser), the single library approach
+  is easier, because:
+  1. In the shared library approach you have to provide the right directory
+  prefix which will be used at run time.
+  2. Incorporating iconv as a static library into the executable is easy -
+  it won't need dynamic loading. (This assumes that your package is under
+  the LGPL or GPL license.)
+
+
+All conversions go through Unicode. This is possible because most of the
+world's characters have already been allocated in the Unicode standard.
+Therefore we have for each encoding two functions:
+- For conversion from the encoding to Unicode, a function called xxx_mbtowc.
+- For conversion from Unicode to the encoding, a function called xxx_wctomb,
+  and for stateful encodings, a function called xxx_reset which returns to
+  the initial shift state.
+
+
+All our functions operate on a single Unicode character at a time. This is
+obviously less efficient than operating on an entire buffer of characters at
+a time, but it makes the coding considerably easier and less bug-prone. Those
+who wish best performance should install the Real Thing (TM): GNU libc 2.1
+or newer.
+
diff --git a/HACKING b/HACKING
new file mode 100644
index 0000000..0c291e2
--- /dev/null
+++ b/HACKING
@@ -0,0 +1,64 @@
+All you need to know when hacking (modifying) GNU libiconv or when building
+it off the CVS.
+
+
+Requirements
+============
+
+You will need reasonably recent versions of the build tools:
+
+  * A C compiler. Such as GNU GCC.
+    + Homepage:
+      http://gcc.gnu.org/
+
+  * GNU automake
+    + Homepage:
+      http://www.gnu.org/software/automake/
+
+  * GNU autoconf
+    + Homepage:
+      http://www.gnu.org/software/autoconf/
+
+  * GNU m4
+    + Homepage:
+      http://www.gnu.org/software/m4/
+
+  * GNU gperf
+    + Homepage:
+      http://www.gnu.org/software/gperf/
+
+  * GNU groff 1.17 or newer
+    + Homepage:
+      http://www.gnu.org/software/groff/
+
+  * Perl
+    + Homepage:
+      http://www.perl.org/
+
+  * Either an internet connection or a recent copy of GNU gnulib.
+    + Homepage:
+      http://www.gnu.org/software/gnulib/
+
+And, of course, the packages listed in the DEPENDENCIES file.
+
+
+Building off the CVS
+====================
+
+Access to the CVS is described at http://sourceforge.net/cvs/?group_id=51585 .
+
+After fetching the sources from the CVS, peek at the comments in autogen.sh,
+then run "./autogen.sh"; then you can proceed with "./configure" as usual.
+
+
+Adding new encodings
+====================
+
+For an indication which encodings are acceptable in the official version of
+GNU libiconv, take a look at NOTES.
+
+For an indication which files need to be modified when adding a new encoding,
+look for example at the 2007-05-25 ChangeLog entry for RK1048.  The lib/*.h
+file for an encoding is usually generated by one of the tools in the tools/
+directory.  All you need to provide is the conversion table in the format of
+the many *.TXT files.
diff --git a/INSTALL.generic b/INSTALL.generic
new file mode 100644
index 0000000..13813e8
--- /dev/null
+++ b/INSTALL.generic
@@ -0,0 +1,273 @@
+Basic Installation
+==================
+
+   These are generic installation instructions.
+
+   The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation.  It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions.  Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, a file
+`config.cache' that saves the results of its tests to speed up
+reconfiguring, and a file `config.log' containing compiler output
+(useful mainly for debugging `configure').
+
+   If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release.  If at some point `config.cache'
+contains results you don't want to keep, you may remove or edit it.
+
+   The file `configure.ac' is used to create `configure' by a program
+called `autoconf'.  You only need `configure.ac' if you want to change
+it or regenerate `configure' using a newer version of `autoconf'.
+
+The simplest way to compile this package is:
+
+  1. `cd' to the directory containing the package's source code and type
+     `./configure' to configure the package for your system.  If you're
+     using `csh' on an old version of System V, you might need to type
+     `sh ./configure' instead to prevent `csh' from trying to execute
+     `configure' itself.
+
+     Running `configure' takes awhile.  While running, it prints some
+     messages telling which features it is checking for.
+
+  2. Type `make' to compile the package.
+
+  3. Optionally, type `make check' to run any self-tests that come with
+     the package.
+
+  4. Type `make install' to install the programs and any data files and
+     documentation.
+
+  5. You can remove the program binaries and object files from the
+     source code directory by typing `make clean'.  To also remove the
+     files that `configure' created (so you can compile the package for
+     a different kind of computer), type `make distclean'.  There is
+     also a `make maintainer-clean' target, but that is intended mainly
+     for the package's developers.  If you use it, you may have to get
+     all sorts of other programs in order to regenerate files that came
+     with the distribution.
+
+Compilers and Options
+=====================
+
+   Some systems require unusual options for compilation or linking that
+the `configure' script does not know about.  You can give `configure'
+initial values for variables by setting them in the environment.  Using
+a Bourne-compatible shell, you can do that on the command line like
+this:
+     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
+
+Or on systems that have the `env' program, you can do it like this:
+     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
+
+Compiling For Multiple Architectures
+====================================
+
+   You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory.  To do this, you must use a version of `make' that
+supports the `VPATH' variable, such as GNU `make'.  `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script.  `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+
+   If you have to use a `make' that does not supports the `VPATH'
+variable, you have to compile the package for one architecture at a time
+in the source code directory.  After you have installed the package for
+one architecture, use `make distclean' before reconfiguring for another
+architecture.
+
+   On MacOS X 10.5 and later systems, you can create libraries and
+executables that work on multiple system types--known as "fat" or
+"universal" binaries--by specifying multiple '-arch' options to the
+compiler but only a single '-arch' option to the preprocessor.  Like
+this:
+
+     ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+                 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+                 CPP="gcc -E" CXXCPP="g++ -E"
+
+   This is not guaranteed to produce working output in all cases.  You
+may have to build one architecture at a time and combine the results
+using the 'lipo' tool if you have problems.
+
+Installation Names
+==================
+
+   By default, `make install' will install the package's files in
+`/usr/local/bin', `/usr/local/man', etc.  You can specify an
+installation prefix other than `/usr/local' by giving `configure' the
+option `--prefix=PATH'.
+
+   You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files.  If you
+give `configure' the option `--exec-prefix=PATH', the package will use
+PATH as the prefix for installing programs and libraries.
+Documentation and other data files will still use the regular prefix.
+
+   In addition, if you use an unusual directory layout you can give
+options like `--bindir=PATH' to specify different values for particular
+kinds of files.  Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them.
+
+   If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+Relocatable Installation
+========================
+
+   By default, `make install' will install a package with hardwired
+file names, and the package will not work correctly when copied or
+moved to a different location in the filesystem.
+
+   Some packages pay attention to the `--enable-relocatable' option to
+`configure'.  This option makes the entire installed package
+relocatable.  This means, it can be moved or copied to a different
+location on the filesystem.  It is possible to make symlinks to the
+installed and moved programs, and invoke them through the symlink.  It
+is possible to do the same thing  with a hard link _only_ if the hard
+linked file is in the same directory as the real program.
+
+   For reliability it is best to give together with --enable-relocatable
+a `--prefix' option pointing to an otherwise unused (and never used
+again) directory, for example, `--prefix=/tmp/inst$$'.  This is
+recommended because on some OSes the executables remember the location
+of shared libraries (and prefer them over LD_LIBRARY_PATH !), therefore
+such an executable will look for its shared libraries first in the
+original installation directory and only then in the current
+installation directory.
+
+   Installation with `--enable-relocatable' will not work for setuid /
+setgid executables.  (This is because such an executable kills its
+LD_LIBRARY_PATH variable when it is launched.)
+
+   The runtime penalty and size penalty are nearly zero on Linux 2.2 or
+newer (just one system call more when an executable is launched), and
+small on other systems (the wrapper program just sets an environment
+variable and execs the real program).
+
+Optional Features
+=================
+
+   Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System).  The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+   For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+   For packages that use the GNU libiconv library, you can use the
+`configure' option `--with-libiconv-prefix' to specify the prefix you
+used while installing GNU libiconv.  This option is not necessary if
+that other prefix is the same as the one now specified through --prefix.
+
+   For packages that use the GNU libintl library, you can use the
+`configure' option `--with-libintl-prefix' to specify the prefix you
+used while installing GNU gettext-runtime.  This option is not necessary if
+that other prefix is the same as the one now specified through --prefix.
+
+Particular Systems
+==================
+
+   On HP-UX, the default C compiler is not ANSI C compatible.  If GNU CC
+is not installed, it is recommended to use the following options in order
+to use an ANSI C compiler:
+
+     ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
+
+and if that doesn't work, install pre-built binaries of GCC for HP-UX.
+
+   On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
+parse its `<wchar.h>' header file.  The option `-nodtk' can be used as
+a workaround.  If GNU CC is not installed, it is therefore recommended
+to try
+
+     ./configure CC="cc"
+
+and if that doesn't work, try
+
+     ./configure CC="cc -nodtk"
+
+   On AIX 3, the C include files by default don't define some necessary
+prototype declarations.  If GNU CC is not installed, it is recommended to
+use the following options:
+
+     ./configure CC="xlc -D_ALL_SOURCE"
+
+   On BeOS, user installed software goes in /boot/home/config, not
+/usr/local.  It is recommended to use the following options:
+
+     ./configure --prefix=/boot/home/config
+
+Specifying the System Type
+==========================
+
+   There may be some features `configure' can not figure out
+automatically, but needs to determine by the type of host the package
+will run on.  Usually `configure' can figure that out, but if it prints
+a message saying it can not guess the host type, give it the
+`--host=TYPE' option.  TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name with three fields:
+     CPU-COMPANY-SYSTEM
+
+See the file `config.sub' for the possible values of each field.  If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the host type.
+
+   If you are building compiler tools for cross-compiling, you can also
+use the `--target=TYPE' option to select the type of system they will
+produce code for and the `--build=TYPE' option to select the type of
+system on which you are compiling the package.
+
+Sharing Defaults
+================
+
+   If you want to set default values for `configure' scripts to share,
+you can create a site shell script called `config.site' that gives
+default values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists.  Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Operation Controls
+==================
+
+   `configure' recognizes the following options to control how it
+operates.
+
+`--cache-file=FILE'
+     Use and save the results of the tests in FILE instead of
+     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
+     debugging `configure'.
+
+`--help'
+     Print a summary of the options to `configure', and exit.
+
+`--quiet'
+`--silent'
+`-q'
+     Do not print messages saying which checks are being made.  To
+     suppress all normal output, redirect it to `/dev/null' (any error
+     messages will still be shown).
+
+`--srcdir=DIR'
+     Look for the package's source code in directory DIR.  Usually
+     `configure' can determine that directory automatically.
+
+`--version'
+     Print the version of Autoconf used to generate the `configure'
+     script, and exit.
+
+`configure' also accepts some other, not widely useful, options.
+
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..5860a3c
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,1162 @@
+The libiconv and libcharset _libraries_ and their header files are under LGPLv2:
+
+		  GNU LIBRARY GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1991 Free Software Foundation, Inc.
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the library GPL.  It is
+ numbered 2 because it goes with version 2 of the ordinary GPL.]
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+  This license, the Library General Public License, applies to some
+specially designated Free Software Foundation software, and to any
+other libraries whose authors decide to use it.  You can use it for
+your libraries, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if
+you distribute copies of the library, or if you modify it.
+
+  For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you.  You must make sure that they, too, receive or can get the source
+code.  If you link a program with the library, you must provide
+complete object files to the recipients so that they can relink them
+with the library, after making changes to the library and recompiling
+it.  And you must show them these terms so they know their rights.
+
+  Our method of protecting your rights has two steps: (1) copyright
+the library, and (2) offer you this license which gives you legal
+permission to copy, distribute and/or modify the library.
+
+  Also, for each distributor's protection, we want to make certain
+that everyone understands that there is no warranty for this free
+library.  If the library is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original
+version, so that any problems introduced by others will not reflect on
+the original authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that companies distributing free
+software will individually obtain patent licenses, thus in effect
+transforming the program into proprietary software.  To prevent this,
+we have made it clear that any patent must be licensed for everyone's
+free use or not licensed at all.
+
+  Most GNU software, including some libraries, is covered by the ordinary
+GNU General Public License, which was designed for utility programs.  This
+license, the GNU Library General Public License, applies to certain
+designated libraries.  This license is quite different from the ordinary
+one; be sure to read it in full, and don't assume that anything in it is
+the same as in the ordinary license.
+
+  The reason we have a separate public license for some libraries is that
+they blur the distinction we usually make between modifying or adding to a
+program and simply using it.  Linking a program with a library, without
+changing the library, is in some sense simply using the library, and is
+analogous to running a utility program or application program.  However, in
+a textual and legal sense, the linked executable is a combined work, a
+derivative of the original library, and the ordinary General Public License
+treats it as such.
+
+  Because of this blurred distinction, using the ordinary General
+Public License for libraries did not effectively promote software
+sharing, because most developers did not use the libraries.  We
+concluded that weaker conditions might promote sharing better.
+
+  However, unrestricted linking of non-free programs would deprive the
+users of those programs of all benefit from the free status of the
+libraries themselves.  This Library General Public License is intended to
+permit developers of non-free programs to use free libraries, while
+preserving your freedom as a user of such programs to change the free
+libraries that are incorporated in them.  (We have not seen how to achieve
+this as regards changes in header files, but we have achieved it as regards
+changes in the actual functions of the Library.)  The hope is that this
+will lead to faster development of free libraries.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.  Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library".  The
+former contains code derived from the library, while the latter only
+works together with the library.
+
+  Note that it is possible for a library to be covered by the ordinary
+General Public License rather than by this special one.
+
+		  GNU LIBRARY GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License Agreement applies to any software library which
+contains a notice placed by the copyright holder or other authorized
+party saying it may be distributed under the terms of this Library
+General Public License (also called "this License").  Each licensee is
+addressed as "you".
+
+  A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+  The "Library", below, refers to any such software library or work
+which has been distributed under these terms.  A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language.  (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+  "Source code" for a work means the preferred form of the work for
+making modifications to it.  For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+  Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it).  Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+  
+  1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+  You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+  2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) The modified work must itself be a software library.
+
+    b) You must cause the files modified to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    c) You must cause the whole of the work to be licensed at no
+    charge to all third parties under the terms of this License.
+
+    d) If a facility in the modified Library refers to a function or a
+    table of data to be supplied by an application program that uses
+    the facility, other than as an argument passed when the facility
+    is invoked, then you must make a good faith effort to ensure that,
+    in the event an application does not supply such function or
+    table, the facility still operates, and performs whatever part of
+    its purpose remains meaningful.
+
+    (For example, a function in a library to compute square roots has
+    a purpose that is entirely well-defined independent of the
+    application.  Therefore, Subsection 2d requires that any
+    application-supplied function or table used by this function must
+    be optional: if the application does not supply it, the square
+    root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library.  To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License.  (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.)  Do not make any other change in
+these notices.
+
+  Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+  This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+  4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+  If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library".  Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+  However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library".  The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+  When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library.  The
+threshold for this to be true is not precisely defined by law.
+
+  If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work.  (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+  Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+  6. As an exception to the Sections above, you may also compile or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+  You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License.  You must supply a copy of this License.  If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License.  Also, you must do one
+of these things:
+
+    a) Accompany the work with the complete corresponding
+    machine-readable source code for the Library including whatever
+    changes were used in the work (which must be distributed under
+    Sections 1 and 2 above); and, if the work is an executable linked
+    with the Library, with the complete machine-readable "work that
+    uses the Library", as object code and/or source code, so that the
+    user can modify the Library and then relink to produce a modified
+    executable containing the modified Library.  (It is understood
+    that the user who changes the contents of definitions files in the
+    Library will not necessarily be able to recompile the application
+    to use the modified definitions.)
+
+    b) Accompany the work with a written offer, valid for at
+    least three years, to give the same user the materials
+    specified in Subsection 6a, above, for a charge no more
+    than the cost of performing this distribution.
+
+    c) If distribution of the work is made by offering access to copy
+    from a designated place, offer equivalent access to copy the above
+    specified materials from the same place.
+
+    d) Verify that the user has already received a copy of these
+    materials or that you have already sent this user a copy.
+
+  For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it.  However, as a special exception,
+the source code distributed need not include anything that is normally
+distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+  It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system.  Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+  7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+    a) Accompany the combined library with a copy of the same work
+    based on the Library, uncombined with any other library
+    facilities.  This must be distributed under the terms of the
+    Sections above.
+
+    b) Give prominent notice with the combined library of the fact
+    that part of it is a work based on the Library, and explaining
+    where to find the accompanying uncombined form of the same work.
+
+  8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License.  Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License.  However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+  9. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Library or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+  10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded.  In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+  13. The Free Software Foundation may publish revised and/or new
+versions of the Library General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation.  If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+  14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission.  For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this.  Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+			    NO WARRANTY
+
+  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+     Appendix: How to Apply These Terms to Your New Libraries
+
+  If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change.  You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+  To apply these terms, attach the following notices to the library.  It is
+safest to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the library's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Library General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Library General Public License for more details.
+
+    You should have received a copy of the GNU Library General Public
+    License along with this library; if not, write to the Free
+    Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+    MA 02110-1301, USA
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the
+  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+  <signature of Ty Coon>, 1 April 1990
+  Ty Coon, President of Vice
+
+That's all there is to it!
+
+--------------------------------------------------------------------------------
+The iconv _program_ and the documentation are under GPLv3:
+
+                    GNU GENERAL PUBLIC LICENSE
+                       Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                            Preamble
+
+  The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+  The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works.  By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.  We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors.  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+  To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights.  Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received.  You must make sure that they, too, receive
+or can get the source code.  And you must show them these terms so they
+know their rights.
+
+  Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+  For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software.  For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+  Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so.  This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software.  The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable.  Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products.  If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+  Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary.  To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+                       TERMS AND CONDITIONS
+
+  0. Definitions.
+
+  "This License" refers to version 3 of the GNU General Public License.
+
+  "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+  "The Program" refers to any copyrightable work licensed under this
+License.  Each licensee is addressed as "you".  "Licensees" and
+"recipients" may be individuals or organizations.
+
+  To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy.  The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+  A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+  To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy.  Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+  To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies.  Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+  An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License.  If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+  1. Source Code.
+
+  The "source code" for a work means the preferred form of the work
+for making modifications to it.  "Object code" means any non-source
+form of a work.
+
+  A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+  The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form.  A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+  The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities.  However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work.  For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+  The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+  The Corresponding Source for a work in source code form is that
+same work.
+
+  2. Basic Permissions.
+
+  All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met.  This License explicitly affirms your unlimited
+permission to run the unmodified Program.  The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work.  This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+  You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force.  You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright.  Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+  Conveying under any other circumstances is permitted solely under
+the conditions stated below.  Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+  No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+  When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+  4. Conveying Verbatim Copies.
+
+  You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+  You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+  5. Conveying Modified Source Versions.
+
+  You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+    a) The work must carry prominent notices stating that you modified
+    it, and giving a relevant date.
+
+    b) The work must carry prominent notices stating that it is
+    released under this License and any conditions added under section
+    7.  This requirement modifies the requirement in section 4 to
+    "keep intact all notices".
+
+    c) You must license the entire work, as a whole, under this
+    License to anyone who comes into possession of a copy.  This
+    License will therefore apply, along with any applicable section 7
+    additional terms, to the whole of the work, and all its parts,
+    regardless of how they are packaged.  This License gives no
+    permission to license the work in any other way, but it does not
+    invalidate such permission if you have separately received it.
+
+    d) If the work has interactive user interfaces, each must display
+    Appropriate Legal Notices; however, if the Program has interactive
+    interfaces that do not display Appropriate Legal Notices, your
+    work need not make them do so.
+
+  A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit.  Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+  6. Conveying Non-Source Forms.
+
+  You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+    a) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by the
+    Corresponding Source fixed on a durable physical medium
+    customarily used for software interchange.
+
+    b) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by a
+    written offer, valid for at least three years and valid for as
+    long as you offer spare parts or customer support for that product
+    model, to give anyone who possesses the object code either (1) a
+    copy of the Corresponding Source for all the software in the
+    product that is covered by this License, on a durable physical
+    medium customarily used for software interchange, for a price no
+    more than your reasonable cost of physically performing this
+    conveying of source, or (2) access to copy the
+    Corresponding Source from a network server at no charge.
+
+    c) Convey individual copies of the object code with a copy of the
+    written offer to provide the Corresponding Source.  This
+    alternative is allowed only occasionally and noncommercially, and
+    only if you received the object code with such an offer, in accord
+    with subsection 6b.
+
+    d) Convey the object code by offering access from a designated
+    place (gratis or for a charge), and offer equivalent access to the
+    Corresponding Source in the same way through the same place at no
+    further charge.  You need not require recipients to copy the
+    Corresponding Source along with the object code.  If the place to
+    copy the object code is a network server, the Corresponding Source
+    may be on a different server (operated by you or a third party)
+    that supports equivalent copying facilities, provided you maintain
+    clear directions next to the object code saying where to find the
+    Corresponding Source.  Regardless of what server hosts the
+    Corresponding Source, you remain obligated to ensure that it is
+    available for as long as needed to satisfy these requirements.
+
+    e) Convey the object code using peer-to-peer transmission, provided
+    you inform other peers where the object code and Corresponding
+    Source of the work are being offered to the general public at no
+    charge under subsection 6d.
+
+  A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+  A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling.  In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage.  For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product.  A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+  "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source.  The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+  If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information.  But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+  The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed.  Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+  Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+  7. Additional Terms.
+
+  "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law.  If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+  When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it.  (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.)  You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+  Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+    a) Disclaiming warranty or limiting liability differently from the
+    terms of sections 15 and 16 of this License; or
+
+    b) Requiring preservation of specified reasonable legal notices or
+    author attributions in that material or in the Appropriate Legal
+    Notices displayed by works containing it; or
+
+    c) Prohibiting misrepresentation of the origin of that material, or
+    requiring that modified versions of such material be marked in
+    reasonable ways as different from the original version; or
+
+    d) Limiting the use for publicity purposes of names of licensors or
+    authors of the material; or
+
+    e) Declining to grant rights under trademark law for use of some
+    trade names, trademarks, or service marks; or
+
+    f) Requiring indemnification of licensors and authors of that
+    material by anyone who conveys the material (or modified versions of
+    it) with contractual assumptions of liability to the recipient, for
+    any liability that these contractual assumptions directly impose on
+    those licensors and authors.
+
+  All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10.  If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term.  If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+  If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+  Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+  8. Termination.
+
+  You may not propagate or modify a covered work except as expressly
+provided under this License.  Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+  However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+  Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+  Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License.  If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+  9. Acceptance Not Required for Having Copies.
+
+  You are not required to accept this License in order to receive or
+run a copy of the Program.  Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance.  However,
+nothing other than this License grants you permission to propagate or
+modify any covered work.  These actions infringe copyright if you do
+not accept this License.  Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+  10. Automatic Licensing of Downstream Recipients.
+
+  Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License.  You are not responsible
+for enforcing compliance by third parties with this License.
+
+  An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations.  If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+  You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License.  For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+  11. Patents.
+
+  A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based.  The
+work thus licensed is called the contributor's "contributor version".
+
+  A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version.  For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+  Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+  In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement).  To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+  If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients.  "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+  If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+  A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License.  You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+  Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+  12. No Surrender of Others' Freedom.
+
+  If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all.  For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+  13. Use with the GNU Affero General Public License.
+
+  Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work.  The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+  14. Revised Versions of this License.
+
+  The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+  Each version is given a distinguishing version number.  If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation.  If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+  If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+  Later license versions may give you additional or different
+permissions.  However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+  15. Disclaimer of Warranty.
+
+  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. Limitation of Liability.
+
+  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+  17. Interpretation of Sections 15 and 16.
+
+  If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+                     END OF TERMS AND CONDITIONS
+
+            How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+  If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+    <program>  Copyright (C) <year>  <name of author>
+    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+  You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<http://www.gnu.org/licenses/>.
+
+  The GNU General Public License does not permit incorporating your program
+into proprietary programs.  If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library.  If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.  But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
diff --git a/MODULE_LICENSE_GPL b/MODULE_LICENSE_GPL
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/MODULE_LICENSE_GPL
diff --git a/Makefile.devel b/Makefile.devel
new file mode 100644
index 0000000..8f6399c
--- /dev/null
+++ b/Makefile.devel
@@ -0,0 +1,202 @@
+# -*- makefile -*-
+# This is the developer's makefile, not the user's makefile.
+# Don't use it unless you know exactly what you do!
+
+SHELL = /bin/sh
+MAKE = make
+AUTOCONF = autoconf-2.68
+AUTOHEADER = autoheader-2.68
+AUTOMAKE = automake-1.11
+ACLOCAL = aclocal-1.11
+GPERF = gperf
+CC = gcc
+CFLAGS = -O
+MAN2HTML = groff -mandoc -Thtml
+CP = cp
+RM = rm -f
+
+
+all : configures config.h.in \
+      srclib/Makefile.gnulib srclib/Makefile.in \
+      include/iconv.h.build.in \
+      lib/aliases.h lib/aliases_sysaix.h lib/aliases_syshpux.h lib/aliases_sysosf1.h lib/aliases_syssolaris.h \
+      lib/aliases_aix.h lib/aliases_aix_sysaix.h \
+      lib/aliases_osf1.h lib/aliases_osf1_sysosf1.h \
+      lib/aliases_dos.h \
+      lib/aliases_extra.h \
+      lib/flags.h lib/translit.h \
+      man/iconv.1.html man/iconv.3.html man/iconv_close.3.html man/iconv_open.3.html force
+	cd libcharset && $(MAKE) -f Makefile.devel all
+	cd preload && $(MAKE) -f Makefile.devel all
+
+
+# Before making a new release:
+# - check that the encoding lists in README and man/iconv_open.3 are up to date,
+# - increment the version number in
+#     include/iconv.h.in
+#     README
+#     djgpp/README
+#     djgpp/fnchange.lst
+#     libcharset/djgpp/README
+#     libcharset/djgpp/fnchange.lst
+# - update the version info in lib/Makefile.in,
+# - do "make -f Makefile.devel".
+
+
+CONFIGURES = configure
+CONFIGURES_IN = configure.ac
+
+aclocal.m4 : $(CONFIGURES_IN) srclib/Makefile.gnulib $(wildcard m4/*.m4) $(wildcard srcm4/*.m4)
+	$(ACLOCAL) -I m4 -I srcm4 --output=$@ && touch $@
+
+configures : $(CONFIGURES)
+
+AUTOCONF_FILES = aclocal.m4 $(wildcard m4/*.m4) $(wildcard srcm4/*.m4)
+
+configure : configure.ac $(AUTOCONF_FILES)
+	$(AUTOCONF)
+
+check-configures : $(CONFIGURES)
+	set -e; for f in $(CONFIGURES); do bash -x -n $$f; done
+
+config.h.in : configure.ac $(AUTOCONF_FILES)
+	$(AUTOHEADER)
+	touch $@
+
+
+GNULIB_MODULES = \
+  binary-io \
+  error \
+  gettext \
+  gettext-h \
+  mbstate \
+  memmove \
+  progname \
+  relocatable-prog \
+  safe-read \
+  sigpipe \
+  stdio \
+  stdlib \
+  strerror \
+  unistd \
+  uniwidth/width \
+  unlocked-io \
+  xalloc \
+  libiconv-misc
+
+srclib/Makefile.gnulib : force
+	if test -n "$$GNULIB_TOOL"; then \
+	  $$GNULIB_TOOL --lib=libicrt --source-base=srclib --m4-base=srcm4 --makefile-name=Makefile.gnulib --no-libtool --local-dir=gnulib-local --no-vc-files \
+	    --import $(GNULIB_MODULES); \
+	fi
+
+srclib/Makefile.in : srclib/Makefile.am srclib/Makefile.gnulib
+	touch build-aux/compile \
+	&& $(AUTOMAKE) --gnits srclib/Makefile \
+	&& rm -f build-aux/compile
+
+
+include/iconv.h.build.in : include/iconv.h.in include/export.h
+	sed -e 's/extern \([^"]\)/extern LIBICONV_DLL_EXPORTED \1/' \
+	    -e '/_LIBICONV_VERSION/r include/export.h' \
+	  < $< > $@
+
+
+lib/aliases.h lib/canonical.h lib/canonical_local.h : lib/encodings.def lib/encodings_local.def lib/genaliases.c
+	$(CC) $(CFLAGS) lib/genaliases.c -o genaliases
+	./genaliases > lib/aliases.gperf 3> canonical.sh 4> canonical_local.sh
+	$(RM) genaliases
+	$(GPERF) -m 10 lib/aliases.gperf > tmp.h
+	$(CP) tmp.h lib/aliases.h
+	sh canonical.sh > lib/canonical.h
+	sh canonical_local.sh > lib/canonical_local.h
+	$(RM) tmp.h canonical.sh canonical_local.sh
+
+lib/aliases_sysaix.h lib/canonical_sysaix.h lib/canonical_local_sysaix.h : lib/encodings.def lib/encodings_local.def lib/genaliases.c
+	$(CC) $(CFLAGS) -DUSE_AIX_ALIASES lib/genaliases.c -o genaliases
+	./genaliases > lib/aliases_sysaix.gperf 3> canonical.sh 4> canonical_local.sh
+	$(RM) genaliases
+	$(GPERF) -m 10 lib/aliases_sysaix.gperf > tmp.h
+	$(CP) tmp.h lib/aliases_sysaix.h
+	sh canonical.sh > lib/canonical_sysaix.h
+	sh canonical_local.sh > lib/canonical_local_sysaix.h
+	$(RM) tmp.h canonical.sh canonical_local.sh
+
+lib/aliases_syshpux.h lib/canonical_syshpux.h lib/canonical_local_syshpux.h : lib/encodings.def lib/encodings_local.def lib/genaliases.c
+	$(CC) $(CFLAGS) -DUSE_HPUX_ALIASES lib/genaliases.c -o genaliases
+	./genaliases > lib/aliases_syshpux.gperf 3> canonical.sh 4> canonical_local.sh
+	$(RM) genaliases
+	$(GPERF) -m 10 lib/aliases_syshpux.gperf > tmp.h
+	$(CP) tmp.h lib/aliases_syshpux.h
+	sh canonical.sh > lib/canonical_syshpux.h
+	sh canonical_local.sh > lib/canonical_local_syshpux.h
+	$(RM) tmp.h canonical.sh canonical_local.sh
+
+lib/aliases_sysosf1.h lib/canonical_sysosf1.h lib/canonical_local_sysosf1.h : lib/encodings.def lib/encodings_local.def lib/genaliases.c
+	$(CC) $(CFLAGS) -DUSE_OSF1_ALIASES lib/genaliases.c -o genaliases
+	./genaliases > lib/aliases_sysosf1.gperf 3> canonical.sh 4> canonical_local.sh
+	$(RM) genaliases
+	$(GPERF) -m 10 lib/aliases_sysosf1.gperf > tmp.h
+	$(CP) tmp.h lib/aliases_sysosf1.h
+	sh canonical.sh > lib/canonical_sysosf1.h
+	sh canonical_local.sh > lib/canonical_local_sysosf1.h
+	$(RM) tmp.h canonical.sh canonical_local.sh
+
+lib/aliases_syssolaris.h lib/canonical_syssolaris.h lib/canonical_local_syssolaris.h : lib/encodings.def lib/encodings_local.def lib/genaliases.c
+	$(CC) $(CFLAGS) -DUSE_SOLARIS_ALIASES lib/genaliases.c -o genaliases
+	./genaliases > lib/aliases_syssolaris.gperf 3> canonical.sh 4> canonical_local.sh
+	$(RM) genaliases
+	$(GPERF) -m 10 lib/aliases_syssolaris.gperf > tmp.h
+	$(CP) tmp.h lib/aliases_syssolaris.h
+	sh canonical.sh > lib/canonical_syssolaris.h
+	sh canonical_local.sh > lib/canonical_local_syssolaris.h
+	$(RM) tmp.h canonical.sh canonical_local.sh
+
+lib/aliases_aix.h lib/canonical_aix.h : lib/encodings_aix.def lib/genaliases2.c
+	$(CC) $(CFLAGS) -DUSE_AIX lib/genaliases2.c -o genaliases
+	./genaliases aix > lib/aliases_aix.h 3> lib/canonical_aix.h
+	$(RM) genaliases
+
+lib/aliases_aix_sysaix.h lib/canonical_aix_sysaix.h : lib/encodings_aix.def lib/genaliases2.c
+	$(CC) $(CFLAGS) -DUSE_AIX -DUSE_AIX_ALIASES lib/genaliases2.c -o genaliases
+	./genaliases aix > lib/aliases_aix_sysaix.h 3> lib/canonical_aix_sysaix.h
+	$(RM) genaliases
+
+lib/aliases_osf1.h lib/canonical_osf1.h : lib/encodings_osf1.def lib/genaliases2.c
+	$(CC) $(CFLAGS) -DUSE_OSF1 lib/genaliases2.c -o genaliases
+	./genaliases osf1 > lib/aliases_osf1.h 3> lib/canonical_osf1.h
+	$(RM) genaliases
+
+lib/aliases_osf1_sysosf1.h lib/canonical_osf1_sysosf1.h : lib/encodings_osf1.def lib/genaliases2.c
+	$(CC) $(CFLAGS) -DUSE_OSF1 -DUSE_OSF1_ALIASES lib/genaliases2.c -o genaliases
+	./genaliases osf1 > lib/aliases_osf1_sysosf1.h 3> lib/canonical_osf1_sysosf1.h
+	$(RM) genaliases
+
+lib/aliases_dos.h lib/canonical_dos.h : lib/encodings_dos.def lib/genaliases2.c
+	$(CC) $(CFLAGS) -DUSE_DOS lib/genaliases2.c -o genaliases
+	./genaliases dos > lib/aliases_dos.h 3> lib/canonical_dos.h
+	$(RM) genaliases
+
+lib/aliases_extra.h lib/canonical_extra.h : lib/encodings_extra.def lib/genaliases2.c
+	$(CC) $(CFLAGS) -DUSE_EXTRA lib/genaliases2.c -o genaliases
+	./genaliases extra > lib/aliases_extra.h 3> lib/canonical_extra.h
+	$(RM) genaliases
+
+
+lib/flags.h : lib/encodings.def lib/encodings_aix.def lib/encodings_osf1.def lib/encodings_dos.def lib/encodings_extra.def lib/converters.h lib/genflags.c
+	$(CC) $(CFLAGS) lib/genflags.c -o genflags
+	./genflags > lib/flags.h
+	$(RM) genflags
+
+
+lib/translit.h : lib/translit.def lib/gentranslit.c
+	$(CC) $(CFLAGS) lib/gentranslit.c -o gentranslit
+	ulimit -s unlimited; ./gentranslit < lib/translit.def > lib/translit.h
+	$(RM) gentranslit
+
+
+man/%.html : man/%
+	$(MAN2HTML) $< > $@
+
+
+force :
diff --git a/Makefile.in b/Makefile.in
new file mode 100644
index 0000000..8168cad
--- /dev/null
+++ b/Makefile.in
@@ -0,0 +1,160 @@
+# Makefile for libiconv
+
+#### Start of system configuration section. ####
+
+# Directories used by "make":
+srcdir = @srcdir@
+
+# Directories used by "make install":
+prefix = @prefix@
+local_prefix = /usr/local
+exec_prefix = @exec_prefix@
+datarootdir = @datarootdir@
+datadir = @datadir@
+libdir = @libdir@
+includedir = @includedir@
+mandir = @mandir@
+
+# Programs used by "make":
+RM = rm -f
+@SET_MAKE@
+
+# Programs used by "make install":
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+mkinstalldirs = $(SHELL) @top_srcdir@/build-aux/mkinstalldirs
+
+#### End of system configuration section. ####
+
+SHELL = /bin/sh
+
+all : lib/localcharset.h force
+	cd lib && $(MAKE) all
+	cd preload && $(MAKE) all
+	cd srclib && $(MAKE) all
+	cd src && $(MAKE) all
+	cd po && $(MAKE) all
+	cd man && $(MAKE) all
+	if test -d tests; then cd tests && $(MAKE) all; fi
+
+lib/localcharset.h :
+	builddir="`pwd`"; cd libcharset && $(MAKE) all && $(MAKE) install-lib libdir="$$builddir/lib" includedir="$$builddir/lib"
+
+# Installs the library and include files only. Typically called with only
+# $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
+install-lib : all force
+	cd lib && $(MAKE) install-lib libdir='$(libdir)' includedir='$(includedir)'
+	if [ ! -d $(includedir) ] ; then $(mkinstalldirs) $(includedir) ; fi
+	$(INSTALL_DATA) include/iconv.h.inst $(includedir)/iconv.h
+
+install : lib/localcharset.h force
+	cd libcharset && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	cd lib && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	cd preload && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	cd srclib && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	cd src && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	if [ ! -d $(DESTDIR)$(includedir) ] ; then $(mkinstalldirs) $(DESTDIR)$(includedir) ; fi
+	$(INSTALL_DATA) include/iconv.h.inst $(DESTDIR)$(includedir)/iconv.h
+	cd po && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)'
+	cd man && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)' mandir='$(mandir)'
+
+install-strip : lib/localcharset.h force
+	cd libcharset && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	cd lib && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	cd preload && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	cd srclib && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	cd src && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	if [ ! -d $(DESTDIR)$(includedir) ] ; then $(mkinstalldirs) $(DESTDIR)$(includedir) ; fi
+	$(INSTALL_DATA) include/iconv.h.inst $(DESTDIR)$(includedir)/iconv.h
+	cd po && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)'
+	cd man && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)' mandir='$(mandir)'
+
+installdirs : force
+	cd libcharset && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	cd lib && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	cd preload && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	cd srclib && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	cd src && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	if [ ! -d $(DESTDIR)$(includedir) ] ; then $(mkinstalldirs) $(DESTDIR)$(includedir) ; fi
+	cd po && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)'
+	cd man && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)' mandir='$(mandir)'
+
+uninstall : force
+	cd libcharset && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	cd lib && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	cd preload && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	cd srclib && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	cd src && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+	$(RM) $(DESTDIR)$(includedir)/iconv.h
+	cd po && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)'
+	cd man && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)' mandir='$(mandir)'
+
+check : all force
+	cd libcharset && $(MAKE) check
+	cd lib && $(MAKE) check
+	cd preload && $(MAKE) check
+	cd srclib && $(MAKE) check
+	cd src && $(MAKE) check
+	cd po && $(MAKE) check
+	cd man && $(MAKE) check
+	if test -d tests; then cd tests && $(MAKE) check; fi
+
+mostlyclean : force
+	cd libcharset && $(MAKE) mostlyclean
+	$(RM) lib/charset.alias lib/libcharset.* lib/localcharset.h
+	cd lib && $(MAKE) mostlyclean
+	cd preload && $(MAKE) mostlyclean
+	cd srclib && $(MAKE) mostlyclean
+	cd src && $(MAKE) mostlyclean
+	cd po && $(MAKE) mostlyclean
+	cd man && $(MAKE) mostlyclean
+	if test -d tests; then cd tests && $(MAKE) mostlyclean; fi
+	rm -rf bin
+
+clean : force
+	cd libcharset && $(MAKE) clean
+	$(RM) lib/charset.alias lib/libcharset.* lib/localcharset.h
+	cd lib && $(MAKE) clean
+	cd preload && $(MAKE) clean
+	cd srclib && $(MAKE) clean
+	cd src && $(MAKE) clean
+	cd po && $(MAKE) clean
+	cd man && $(MAKE) clean
+	if test -d tests; then cd tests && $(MAKE) clean; fi
+	rm -rf bin
+
+distclean : force
+	cd libcharset && if test -f Makefile; then $(MAKE) distclean; fi
+	$(RM) lib/charset.alias lib/libcharset.* lib/localcharset.h
+	cd lib && if test -f Makefile; then $(MAKE) distclean; fi
+	cd preload && if test -f Makefile; then $(MAKE) distclean; fi
+	cd srclib && if test -f Makefile; then $(MAKE) distclean; fi
+	cd src && if test -f Makefile; then $(MAKE) distclean; fi
+	cd po && if test -f Makefile; then $(MAKE) distclean; fi
+	cd man && if test -f Makefile; then $(MAKE) distclean; fi
+	if test -d tests; then cd tests && if test -f Makefile; then $(MAKE) distclean; fi; fi
+	$(RM) config.status config.log config.cache Makefile libtool
+	$(RM) config.h stamp-h1 lib/stamp-h2
+	$(RM) include/iconv.h include/iconv.h.inst
+	rm -rf bin
+
+maintainer-clean : force
+	cd libcharset && if test -f Makefile; then $(MAKE) maintainer-clean; fi
+	$(RM) lib/charset.alias lib/libcharset.* lib/localcharset.h
+	cd lib && if test -f Makefile; then $(MAKE) maintainer-clean; fi
+	cd preload && if test -f Makefile; then $(MAKE) maintainer-clean; fi
+	cd srclib && if test -f Makefile; then $(MAKE) maintainer-clean; fi
+	cd src && if test -f Makefile; then $(MAKE) maintainer-clean; fi
+	cd po && if test -f Makefile; then $(MAKE) maintainer-clean; fi
+	cd man && if test -f Makefile; then $(MAKE) maintainer-clean; fi
+	if test -d tests; then cd tests && if test -f Makefile; then $(MAKE) maintainer-clean; fi; fi
+	$(RM) config.status config.log config.cache Makefile libtool
+	$(RM) config.h stamp-h1 lib/stamp-h2
+	$(RM) include/iconv.h include/iconv.h.inst
+	rm -rf bin
+
+force :
+
+# Work around an automake-1.8 bug.
+am--refresh:
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..c33d0d1
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,184 @@
+New in 1.14:
+* The 'iconv' program now produces its output as soon as it can. It no longer
+  unnecessarily waits for more input.
+* Updated the GB18030 converter to map 25 characters to code points that have
+  been to Unicode since 2000, rather than to code points in the Private Use
+  Area.
+* Updated the BIG5-HKSCS converter. The old BIG5-HKSCS converter is renamed to
+  BIG5-HKSCS:2004. A new converter BIG5-HKSCS:2008 is added. BIG5-HKSCS is now
+  an alias for BIG5-HKSCS:2008.
+* Fixed a bug in the conversion to wchar_t.
+* Fixed a small bug in the CP1258 converter.
+
+New in 1.13:
+* The library and the iconv program now understand platform dependent aliases,
+  for better compatibility with the platform's own iconv_open function.
+  Examples: "646" on Solaris, "iso88591" on HP-UX, "IBM-1252" on AIX.
+* For stateful encodings, when the input ends with a shift sequence followed
+  by invalid input, the iconv function now increments the input pointer past
+  the shift sequence before returning (size_t)(-1) with errno = EILSEQ. This
+  is also like GNU libc's iconv() behaves.
+* The library exports a new function iconv_open_into() that stores the
+  conversion descriptor in pre-allocated memory, rather than allocating fresh
+  memory for it.
+* Added CP1131 converter.
+
+New in 1.12:
+* The iconv program is now licensed under the GPL version 3, instead of the
+  GPL version 2. The libiconv library continues to be licensed under LGPL.
+* Added RK1048 converter.
+* On AIX, an existing system libiconv no longer causes setlocale() to fail.
+* Upgraded EUC-KR, JOHAB to include the Korean postal code sign.
+
+New in 1.11:
+* The iconv program has new options --unicode-subst, --byte-subst,
+  --widechar-subst that allow to specify substitutions for characters that
+  cannot be converted.
+* The iconv program now understands long options:
+    long option    equivalent to
+    --from-code    -f
+    --to-code      -t
+    --list         -l
+    --silent       -s
+* The CP936 converter is now different from the GBK converter: it has changed
+  to include the Euro sign and private area characters. CP936 is no longer an
+  alias of GBK.
+* Updated GB18030 converter to include all private area characters.
+* Updated CP950 converter to include the Euro sign and private area characters.
+* Updated CP949 converter to include private area characters.
+* Updated the BIG5-HKSCS converter. The old BIG5-HKSCS converter is renamed to
+  BIG5-HKSCS:1999 and updated to Unicode 4. New converters BIG5-HKSCS:2001 and
+  BIG5-HKSCS:2004 are added. BIG5-HKSCS is now an alias for BIG5-HKSCS:2004.
+* Added a few irreversible mappings to the CP932 converter.
+* Tidy up the list of symbols exported from libiconv (assumes gcc >= 4.0).
+
+New in 1.10:
+* Added ISO-8859-11 converter.
+* Updated the ISO-8859-7 converter.
+* Added ATARIST converter, available through --enable-extra-encodings.
+* Added BIG5-2003 converter (experimental), available through
+  --enable-extra-encodings.
+* Updated EUC-TW converter to include the Euro sign.
+* The preloadable library has been renamed from libiconv_plug.so to
+  preloadable_libiconv.so.
+* Portability to mingw.
+
+New in 1.9:
+* Many more transliterations.
+* New configuration option --enable-relocatable.  See the INSTALL.generic file
+  for details.
+
+New in 1.8:
+* The iconv program has new options -l, -c, -s.
+* The iconv program is internationalized.
+* Added C99 converter.
+* Added KOI8-T converter.
+* New configuration option --enable-extra-encodings that enables a bunch of
+  additional encodings; see the README for details.
+* Updated the ISO-8859-16 converter.
+* Upgraded BIG5-HKSCS, EUC-TW, ISO-2022-CN, ISO-2022-CN-EXT converters to
+  Unicode 3.2.
+* Upgraded EUC-KR, CP949, JOHAB converters to include the Euro sign.
+* Changed the ARMSCII-8 converter.
+* Extended the EUC-JP encoder so that YEN SIGN characters don't cause failures
+  in Shift_JIS to EUC-JP conversion.
+* The JAVA converter now handles characters outside the Unicode BMP correctly.
+* Fixed a bug in the CP1255, CP1258, TCVN decoders: The base characters of
+  combining characters could be dropped at the end of the conversion buffer.
+* Fixed a bug in the transliteration that could lead to excessive memory
+  allocations in libintl when transliteration was needed.
+* Portability to BSD/OS and SCO 3.2.5.
+
+New in 1.7:
+* Added UTF-32, UTF-32BE, UTF-32LE converters.
+* Changed CP1255, CP1258 and TCVN converters to handle combining characters.
+* Changed EUC-JP, SHIFT_JIS, CP932, ISO-2022-JP, ISO-2022-JP-2, ISO-2022-JP-1
+  converters to use fullwidth Yen sign instead of halfwidth Yen sign, and
+  fullwidth tilde instead of halfwidth tilde.
+* Upgraded EUC-TW, ISO-2022-CN, ISO-2022-CN-EXT converters to Unicode 3.1.
+* Changed the GB18030 converter to not reject unassigned and private-use
+  Unicode characters.
+* Fixed a bug in the byte order mark treatment of the UCS-4 decoder.
+* The manual pages are now distributed also in HTML format.
+
+New in 1.6:
+* The iconv program's -f and -t options are now optional.
+* Many more transliterations.
+* Added CP862 converter.
+* Changed the GB18030 converter.
+* Portability to DOS with DJGPP.
+
+New in 1.5:
+* Added an iconv(1) program.
+* New locale dependent encodings "char", "wchar_t".
+* Transliteration is now off by default. Use a //TRANSLIT suffix to enable it.
+* The JOHAB encoding is documented again.
+* Changed a few mappings in the CP950 converter.
+
+New in 1.4:
+* Added GB18030, BIG5HKSCS converters.
+* Portability to OS/2 with emx+gcc.
+
+New in 1.3:
+* Added UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE converters.
+* Fixed the definition of EILSEQ on SunOS4.
+* Fixed a build problem on OSF/1.
+* Support for building as a shared library on Woe32.
+
+New in 1.2:
+* Added UTF-16BE and UTF-16LE converters.
+* Changed the UTF-16 encoder.
+* Fixed the treatment of tab characters in the UTF-7 converter.
+* Fixed an internal error when output buffer was not large enough.
+
+New in 1.1:
+* Added ISO-8859-16 converter.
+* Added CP932 converter, a variant of SHIFT_JIS.
+* Added CP949 converter, a variant of EUC-KR.
+* Improved the ISO-2022-CN-EXT converter: It now covers the ISO-IR-165 range.
+* Updated the ISO-8859-8 conversion table.
+* The JOHAB encoding is deprecated and not documented any more.
+* Fixed two build problems: 1. "make -n check" failed. 2. When libiconv was
+  already installed, "make" failed.
+
+New in 1.0:
+* Added transliteration facilities.
+* Added a test suite.
+* Fixed the iconv(3) manual page and function: the return value was not
+  described correctly.
+* Fixed a bug in the CP1258 decoder: invalid bytes now yield EILSEQ instead of
+  U+FFFD.
+* Fixed a bug in the Georgian-PS encoder: accept U+00E6.
+* Fixed a bug in the EUC-JP encoder: reject 0x8E5C and 0x8E7E.
+* Fixed a bug in the KSC5601 and JOHAB converters: they recognized some Hangul
+  characters at some invalid code positions.
+* Fixed a bug in the EUC-TW decoder; it was severely broken.
+* Fixed a bug in the CP950 converter: it recognized a dubious BIG5 range.
+
+New in 0.3:
+* Reduced the size of the tables needed for the JOHAB converter.
+* Portability to Woe32.
+
+New in 0.2:
+* Added KOI8-RU, CP850, CP866, CP874, CP950, ISO-2022-CN-EXT, GBK and
+  ISO-2022-JP-1 converters.
+* Added MACINTOSH as an alias for MAC-ROMAN.
+* Added ASMO-708 as an alias for ISO-8859-6.
+* Added ELOT_928 as an alias for ISO-8859-7.
+* Improved the EUC-TW converter: Treat CNS 11643 plane 3.
+* Improved the ISO-2022-KR and EUC-KR converters: Hangul characters are
+  decomposed into Jamo when needed.
+* Improved the CP932 converter.
+* Updated the CP1133, MULELAO-1 and ARMSCII-8 mappings.
+* The EUC-JP and SHIFT_JIS converters now cover the user-defined range.
+* Fixed a possible buffer overrun in the JOHAB converter.
+* Fixed a bug in the UTF-7, ISO-2022-*, HZ decoders: a shift sequence a the
+  end of the input no longer gives an error.
+* The HZ encoder now always terminates its output in the ASCII state.
+* Use a perfect hash table for looking up the aliases.
+
+New in 0.1:
+* Portability to Linux/glibc-2.0.x, Linux/libc5, OSF/1, FreeBSD.
+* Fixed a bug in the EUC-JP decoder. Extended the ISO-2022-JP-2 converter.
+* Made TIS-620 mapping consistent with glibc-2.1.
+
diff --git a/NOTES b/NOTES
new file mode 100644
index 0000000..0755a2e
--- /dev/null
+++ b/NOTES
@@ -0,0 +1,399 @@
+Q: Why does libiconv support encoding XXX? Why does libiconv not support
+   encoding ZZZ?
+
+A: libiconv, as an internationalization library, supports those character
+   sets and encodings which are in wide-spread use in at least one territory
+   of the world.
+
+   Hint1: On http://www.w3c.org/International/O-charset-lang.html you find a
+   page "Languages, countries, and the charsets typically used for them".
+   From this table, we can conclude that the following are in active use:
+
+     ISO-8859-1, CP1252   Afrikaans, Albanian, Basque, Catalan, Danish, Dutch,
+                          English, Faroese, Finnish, French, Galician, German,
+                          Icelandic, Irish, Italian, Norwegian, Portuguese,
+                          Scottish, Spanish, Swedish
+     ISO-8859-2           Croatian, Czech, Hungarian, Polish, Romanian, Slovak,
+                          Slovenian
+     ISO-8859-3           Esperanto, Maltese
+     ISO-8859-5           Bulgarian, Byelorussian, Macedonian, Russian,
+                          Serbian, Ukrainian
+     ISO-8859-6           Arabic
+     ISO-8859-7           Greek
+     ISO-8859-8           Hebrew
+     ISO-8859-9, CP1254   Turkish
+     ISO-8859-10          Inuit, Lapp
+     ISO-8859-13          Latvian, Lithuanian
+     ISO-8859-15          Estonian
+     KOI8-R               Russian
+     SHIFT_JIS            Japanese
+     ISO-2022-JP          Japanese
+     EUC-JP               Japanese
+
+   Ordered by frequency on the web (1997):
+     ISO-8859-1, CP1252   96%
+     SHIFT_JIS             1.6%
+     ISO-2022-JP           1.2%
+     EUC-JP                0.4%
+     CP1250                0.3%
+     CP1251                0.2%
+     CP850                 0.1%
+     MACINTOSH             0.1%
+     ISO-8859-5            0.1%
+     ISO-8859-2            0.0%
+
+   Hint2: The character sets mentioned in the XFree86 4.0 locale.alias file.
+
+     ISO-8859-1           Afrikaans, Basque, Breton, Catalan, Danish, Dutch,
+                          English, Estonian, Faroese, Finnish, French,
+                          Galician, German, Greenlandic, Icelandic,
+                          Indonesian, Irish, Italian, Lithuanian, Norwegian,
+                          Occitan, Portuguese, Scottish, Spanish, Swedish,
+                          Walloon, Welsh
+     ISO-8859-2           Albanian, Croatian, Czech, Hungarian, Polish,
+                          Romanian, Serbian, Slovak, Slovenian
+     ISO-8859-3           Esperanto
+     ISO-8859-4           Estonian, Latvian, Lithuanian
+     ISO-8859-5           Bulgarian, Byelorussian, Macedonian, Russian,
+                          Serbian, Ukrainian
+     ISO-8859-6           Arabic
+     ISO-8859-7           Greek
+     ISO-8859-8           Hebrew
+     ISO-8859-9           Turkish
+     ISO-8859-14          Breton, Irish, Scottish, Welsh
+     ISO-8859-15          Basque, Breton, Catalan, Danish, Dutch, Estonian,
+                          Faroese, Finnish, French, Galician, German,
+                          Greenlandic, Icelandic, Irish, Italian, Lithuanian,
+                          Norwegian, Occitan, Portuguese, Scottish, Spanish,
+                          Swedish, Walloon, Welsh
+     KOI8-R               Russian
+     KOI8-U               Russian, Ukrainian
+     EUC-JP (alias eucJP)      Japanese
+     ISO-2022-JP (alias JIS7)  Japanese
+     SHIFT_JIS (alias SJIS)    Japanese
+     U90                       Japanese
+     S90                       Japanese
+     EUC-CN (alias eucCN)      Chinese
+     EUC-TW (alias eucTW)      Chinese
+     BIG5                      Chinese
+     EUC-KR (alias eucKR)      Korean
+     ARMSCII-8                 Armenian
+     GEORGIAN-ACADEMY          Georgian
+     GEORGIAN-PS               Georgian
+     TIS-620 (alias TACTIS)    Thai
+     MULELAO-1                 Laothian
+     IBM-CP1133                Laothian
+     VISCII                    Vietnamese
+     TCVN                      Vietnamese
+     NUNACOM-8                 Inuktitut
+
+   Hint3: The character sets supported by Netscape Communicator 4.
+
+     Where is this documented? For the complete picture, I had to use
+     "strings netscape" and then a lot of guesswork. For a quick take,
+     look at the "View - Character set" menu of Netscape Communicator 4.6:
+
+     ISO-8859-{1,2,5,7,9,15}
+     WINDOWS-{1250,1251,1253}
+     KOI8-R               Cyrillic
+     CP866                Cyrillic
+     Autodetect           Japanese  (EUC-JP, ISO-2022-JP, ISO-2022-JP-2, SJIS)
+     EUC-JP               Japanese
+     SHIFT_JIS            Japanese
+     GB2312               Chinese
+     BIG5                 Chinese
+     EUC-TW               Chinese
+     Autodetect           Korean    (EUC-KR, ISO-2022-KR, but not JOHAB)
+
+     UTF-8
+     UTF-7
+
+   Hint4: The character sets supported by Microsoft Internet Explorer 4.
+
+     ISO-8859-{1,2,3,4,5,6,7,8,9}
+     WINDOWS-{1250,1251,1252,1253,1254,1255,1256,1257}
+     KOI8-R               Cyrillic
+     KOI8-RU              Ukrainian
+     ASMO-708             Arabic
+     EUC-JP               Japanese
+     ISO-2022-JP          Japanese
+     SHIFT_JIS            Japanese
+     GB2312               Chinese
+     HZ-GB-2312           Chinese
+     BIG5                 Chinese
+     EUC-KR               Korean
+     ISO-2022-KR          Korean
+     WINDOWS-874          Thai
+     WINDOWS-1258         Vietnamese
+
+     UTF-8
+     UTF-7
+     UNICODE             actually UNICODE-LITTLE
+     UNICODEFEFF         actually UNICODE-BIG
+
+     and various DOS character sets: DOS-720, DOS-862, IBM852, CP866.
+
+   We take the union of all these four sets. The result is:
+
+   European and Semitic languages
+     * ASCII.
+       We implement this because it is occasionally useful to know or to
+       check whether some text is entirely ASCII (i.e. if the conversion
+       ISO-8859-x -> UTF-8 is trivial).
+     * ISO-8859-{1,2,3,4,5,6,7,8,9,10}
+       We implement this because they are widely used. Except ISO-8859-4
+       which appears to have been superseded by ISO-8859-13 in the baltic
+       countries. But it's an ISO standard anyway.
+     * ISO-8859-13
+       We implement this because it's a standard in Lithuania and Latvia.
+     * ISO-8859-14
+       We implement this because it's an ISO standard.
+     * ISO-8859-15
+       We implement this because it's increasingly used in Europe, because
+       of the Euro symbol.
+     * ISO-8859-16
+       We implement this because it's an ISO standard.
+     * KOI8-R, KOI8-U
+       We implement this because it appears to be the predominant encoding
+       on Unix in Russia and Ukraine, respectively.
+     * KOI8-RU
+       We implement this because MSIE4 supports it.
+     * KOI8-T
+       We implement this because it is the locale encoding in glibc's Tajik
+       locale.
+     * PT154
+       We implement this because it is the locale encoding in glibc's Kazakh
+       locale.
+     * RK1048
+       We implement this because it's a standard in Kazakhstan.
+     * CP{1250,1251,1252,1253,1254,1255,1256,1257}
+       We implement these because they are the predominant Windows encodings
+       in Europe.
+     * CP850
+       We implement this because it is mentioned as occurring in the web
+       in the aforementioned statistics.
+     * CP862
+       We implement this because Ron Aaron says it is sometimes used in web
+       pages and emails.
+     * CP866
+       We implement this because Netscape Communicator does.
+     * CP1131
+       We implement this because it is the locale encoding of a Belorusian
+       locale in FreeBSD and MacOS X.
+     * Mac{Roman,CentralEurope,Croatian,Romania,Cyrillic,Greek,Turkish} and
+       Mac{Hebrew,Arabic}
+       We implement these because the Sun JDK does, and because Mac users
+       don't deserve to be punished.
+     * Macintosh
+       We implement this because it is mentioned as occurring in the web
+       in the aforementioned statistics.
+   Japanese
+     * EUC-JP, SHIFT_JIS, ISO-2022-JP
+       We implement these because they are widely used. EUC-JP and SHIFT_JIS
+       are more used for files, whereas ISO-2022-JP is recommended for email.
+     * CP932
+       We implement this because it is the Microsoft variant of SHIFT_JIS,
+       used on Windows.
+     * ISO-2022-JP-2
+       We implement this because it's the common way to represent mails which
+       make use of JIS X 0212 characters.
+     * ISO-2022-JP-1
+       We implement this because it's in the RFCs, but I don't think it is
+       really used.
+     * U90, S90
+       We DON'T implement this because I have no informations about what it
+       is or who uses it.
+   Simplified Chinese
+     * EUC-CN = GB2312
+       We implement this because it is the widely used representation
+       of simplified Chinese.
+     * GBK
+       We implement this because it appears to be used on Solaris and Windows.
+     * GB18030
+       We implement this because it is an official requirement in the
+       People's Republic of China.
+     * ISO-2022-CN
+       We implement this because it is in the RFCs, but I have no idea
+       whether it is really used.
+     * ISO-2022-CN-EXT
+       We implement this because it's in the RFCs, but I don't think it is
+       really used.
+     * HZ = HZ-GB-2312
+       We implement this because the RFCs recommend it for Usenet postings,
+       and because MSIE4 supports it.
+   Traditional Chinese
+     * EUC-TW
+       We implement it because it appears to be used on Unix.
+     * BIG5
+       We implement it because it is the de-facto standard for traditional
+       Chinese.
+     * CP950
+       We implement this because it is the Microsoft variant of BIG5, used
+       on Windows.
+     * BIG5+
+       We DON'T implement this because it doesn't appear to be in wide use.
+       Only the CWEX fonts use this encoding. Furthermore, the conversion
+       tables in the big5p package are not coherent: If you convert directly,
+       you get different results than when you convert via GBK.
+     * BIG5-HKSCS
+       We implement it because it is the de-facto standard for traditional
+       Chinese in Hongkong.
+   Korean
+     * EUC-KR
+       We implement these because they appear to be the widely used
+       representations for Korean.
+     * CP949
+       We implement this because it is the Microsoft variant of EUC-KR, used
+       on Windows.
+     * ISO-2022-KR
+       We implement it because it is in the RFCs and because MSIE4 supports
+       it, but I have no idea whether it's really used.
+     * JOHAB
+       We implement this because it is apparently used on Windows as a locale
+       encoding (codepage 1361).
+     * ISO-646-KR
+       We DON'T implement this because although an old ASCII variant, its
+       glyph for 0x7E is not clear: RFC 1345 and unicode.org's JOHAB.TXT
+       say it's a tilde, but Ken Lunde's "CJKV information processing" says
+       it's an overline. And it is not ISO-IR registered.
+   Armenian
+     * ARMSCII-8
+       We implement it because XFree86 supports it.
+   Georgian
+     * Georgian-Academy, Georgian-PS
+       We implement these because they appear to be both used for Georgian;
+       Xfree86 supports them.
+   Thai
+     * ISO-8859-11, TIS-620
+       We implement these because it seems to be standard for Thai.
+     * CP874
+       We implement this because MSIE4 supports it.
+     * MacThai
+       We implement this because the Sun JDK does, and because Mac users
+       don't deserve to be punished.
+   Laotian
+     * MuleLao-1, CP1133
+       We implement these because XFree86 supports them. I have no idea which
+       one is used more widely.
+   Vietnamese
+     * VISCII, TCVN
+       We implement these because XFree86 supports them.
+     * CP1258
+       We implement this because MSIE4 supports it.
+   Other languages
+     * NUNACOM-8 (Inuktitut)
+       We DON'T implement this because it isn't part of Unicode yet, and
+       therefore doesn't convert to anything except itself.
+   Platform specifics
+     * HP-ROMAN8, NEXTSTEP
+       We implement these because they were the native character set on HPs
+       and NeXTs for a long time, and libiconv is intended to be usable on
+       these old machines.
+   Full Unicode
+     * UTF-8, UCS-2, UCS-4
+       We implement these. Obviously.
+     * UCS-2BE, UCS-2LE, UCS-4BE, UCS-4LE
+       We implement these because they are the preferred internal
+       representation of strings in Unicode aware applications. These are
+       non-ambiguous names, known to glibc. (glibc doesn't have
+       UCS-2-INTERNAL and UCS-4-INTERNAL.)
+     * UTF-16, UTF-16BE, UTF-16LE
+       We implement these, because UTF-16 is still the favourite encoding of
+       the president of the Unicode Consortium (for political reasons), and
+       because they appear in RFC 2781.
+     * UTF-32, UTF-32BE, UTF-32LE
+       We implement these because they are part of Unicode 3.1.
+     * UTF-7
+       We implement this because it is essential functionality for mail
+       applications.
+     * C99
+       We implement it because it's used for C and C++ programs and because
+       it's a nice encoding for debugging.
+     * JAVA
+       We implement it because it's used for Java programs and because it's
+       a nice encoding for debugging.
+     * UNICODE (big endian), UNICODEFEFF (little endian)
+       We DON'T implement these because they are stupid and not standardized.
+   Full Unicode, in terms of `uint16_t' or `uint32_t'
+   (with machine dependent endianness and alignment)
+     * UCS-2-INTERNAL, UCS-4-INTERNAL
+       We implement these because they are the preferred internal
+       representation of strings in Unicode aware applications.
+
+Q: Support encodings mentioned in RFC 1345 ?
+A: No, they are not in use any more. Supporting ISO-646 variants is pointless
+   since ISO-8859-* have been adopted.
+
+Q: Support EBCDIC ?
+A: No!
+
+Q: How do I add a new character set?
+A: 1. Explain the "why" in this file, above.
+   2. You need to have a conversion table from/to Unicode. Transform it into
+   the format used by the mapping tables found on ftp.unicode.org: each line
+   contains the character code, in hex, with 0x prefix, then whitespace,
+   then the Unicode code point, in hex, 4 hex digits, with 0x prefix. '#'
+   counts as a comment delimiter until end of line.
+   Please also send your table to Mark Leisher <mleisher@crl.nmsu.edu> so he
+   can include it in his collection.
+   3. If it's an 8-bit character set, use the '8bit_tab_to_h' program in the
+   tools directory to generate the C code for the conversion. You may tweak
+   the resulting C code if you are not satisfied with its quality, but this
+   is rarely needed.
+   If it's a two-dimensional character set (with rows and columns), use the
+   'cjk_tab_to_h' program in the tools directory to generate the C code for
+   the conversion. You will need to modify the main() function to recognize
+   the new character set name, with the proper dimensions, but that shouldn't
+   be too hard. This yields the CCS. The CES you have to write by hand.
+   4. Store the resulting C code file in the lib directory. Add a #include
+   directive to converters.h, and add an entry to the encodings.def file.
+   5. Compile the package, and test your new encoding using a program like
+   iconv(1) or clisp(1).
+   6. Augment the testsuite: Add a line to tests/Makefile.in. For a stateless
+   encoding, create the complete table as a TXT file. For a stateful encoding,
+   provide a text snippet encoded using your new encoding and its UTF-8
+   equivalent.
+   7. Update the README and man/iconv_open.3, to mention the new encoding.
+   Add a note in the NEWS file.
+
+Q: What about bidirectional text? Should it be tagged or reversed when
+   converting from ISO-8859-8 or ISO-8859-6 to Unicode? Qt appears to do
+   this, see qt-2.0.1/src/tools/qrtlcodec.cpp.
+A: After reading RFC 1556: I don't think so. Support for ISO-8859-8-I and
+   ISO-8859-E remains to be implemented.
+   On the other hand, a page on www.w3c.org says that ISO-8859-8 in *email*
+   is visually encoded, ISO-8859-8 in *HTML* is logically encoded, i.e.
+   the same as ISO-8859-8-I. I'm confused.
+
+Other character sets not implemented:
+"MNEMONIC" = "csMnemonic"
+"MNEM" = "csMnem"
+"ISO-10646-UCS-Basic" = "csUnicodeASCII"
+"ISO-10646-Unicode-Latin1" = "csUnicodeLatin1" = "ISO-10646"
+"ISO-10646-J-1"
+"UNICODE-1-1" = "csUnicode11"
+"csWindows31Latin5"
+
+Other aliases not implemented (and not implemented in glibc-2.1 either):
+  From MSIE4:
+    ISO-8859-1: alias ISO8859-1
+    ISO-8859-2: alias ISO8859-2
+    KSC_5601: alias KS_C_5601
+    UTF-8: aliases UNICODE-1-1-UTF-8 UNICODE-2-0-UTF-8
+
+
+Q: How can I integrate libiconv into my package?
+A: Just copy the entire libiconv package into a subdirectory of your package.
+   At configuration time, call libiconv's configure script with the
+   appropriate --srcdir option and maybe --enable-static or --disable-shared.
+   Then "cd libiconv && make && make install-lib libdir=... includedir=...".
+   'install-lib' is a special (not GNU standardized) target which installs
+   only the include file - in $(includedir) - and the library - in $(libdir) -
+   and does not use other directory variables. After "installing" libiconv
+   in your package's build directory, building of your package can proceed.
+
+Q: Why is the testsuite so big?
+A: Because some of the tests are very comprehensive.
+   If you don't feel like using the testsuite, you can simply remove the
+   tests/ directory.
+
diff --git a/PORTS b/PORTS
new file mode 100644
index 0000000..2c4cfa0
--- /dev/null
+++ b/PORTS
@@ -0,0 +1,46 @@
+* Linux with libc6 (glibc-2.1):
+  OK
+
+* Linux with libc6 (glibc-2.0.7):
+  OK
+
+* Linux with libc5:
+  OK
+
+* Solaris 2.7:
+  OK
+
+* Solaris 2.6:
+  OK
+
+* OSF/1 5.1:
+  OK
+
+* OSF/1 4.0d:
+  OK
+
+* Irix 6.5:
+  OK
+
+* HP-UX 10.20:
+  OK
+
+* AIX 4.2:
+  OK
+
+* SunOS 4:
+  OK when configured --enable-static --disable-shared
+  (gcc cannot create shared libraries without relocations)
+
+* FreeBSD 3.3:
+  OK
+
+* BeOS 5:
+  OK
+
+* Woe32 with MSVC 4.0:
+  OK
+
+* Woe32 with MSVC 5.0:
+  OK
+
diff --git a/README b/README
new file mode 100644
index 0000000..2113ce5
--- /dev/null
+++ b/README
@@ -0,0 +1,171 @@
+            GNU LIBICONV - character set conversion library
+
+This library provides an iconv() implementation, for use on systems which
+don't have one, or whose implementation cannot convert from/to Unicode.
+
+It provides support for the encodings:
+
+    European languages
+        ASCII, ISO-8859-{1,2,3,4,5,7,9,10,13,14,15,16},
+        KOI8-R, KOI8-U, KOI8-RU,
+        CP{1250,1251,1252,1253,1254,1257}, CP{850,866,1131},
+        Mac{Roman,CentralEurope,Iceland,Croatian,Romania},
+        Mac{Cyrillic,Ukraine,Greek,Turkish},
+        Macintosh
+    Semitic languages
+        ISO-8859-{6,8}, CP{1255,1256}, CP862, Mac{Hebrew,Arabic}
+    Japanese
+        EUC-JP, SHIFT_JIS, CP932, ISO-2022-JP, ISO-2022-JP-2, ISO-2022-JP-1
+    Chinese
+        EUC-CN, HZ, GBK, CP936, GB18030, EUC-TW, BIG5, CP950, BIG5-HKSCS,
+        BIG5-HKSCS:2004, BIG5-HKSCS:2001, BIG5-HKSCS:1999, ISO-2022-CN,
+        ISO-2022-CN-EXT
+    Korean
+        EUC-KR, CP949, ISO-2022-KR, JOHAB
+    Armenian
+        ARMSCII-8
+    Georgian
+        Georgian-Academy, Georgian-PS
+    Tajik
+        KOI8-T
+    Kazakh
+        PT154, RK1048
+    Thai
+        ISO-8859-11, TIS-620, CP874, MacThai
+    Laotian
+        MuleLao-1, CP1133
+    Vietnamese
+        VISCII, TCVN, CP1258
+    Platform specifics
+        HP-ROMAN8, NEXTSTEP
+    Full Unicode
+        UTF-8
+        UCS-2, UCS-2BE, UCS-2LE
+        UCS-4, UCS-4BE, UCS-4LE
+        UTF-16, UTF-16BE, UTF-16LE
+        UTF-32, UTF-32BE, UTF-32LE
+        UTF-7
+        C99, JAVA
+    Full Unicode, in terms of `uint16_t' or `uint32_t'
+        (with machine dependent endianness and alignment)
+        UCS-2-INTERNAL, UCS-4-INTERNAL
+    Locale dependent, in terms of `char' or `wchar_t'
+        (with machine dependent endianness and alignment, and with OS and
+        locale dependent semantics)
+        char, wchar_t
+        The empty encoding name "" is equivalent to "char": it denotes the
+        locale dependent character encoding.
+
+When configured with the option --enable-extra-encodings, it also provides
+support for a few extra encodings:
+
+    European languages
+        CP{437,737,775,852,853,855,857,858,860,861,863,865,869,1125}
+    Semitic languages
+        CP864
+    Japanese
+        EUC-JISX0213, Shift_JISX0213, ISO-2022-JP-3
+    Chinese
+        BIG5-2003 (experimental)
+    Turkmen
+        TDS565
+    Platform specifics
+        ATARIST, RISCOS-LATIN1
+
+It can convert from any of these encodings to any other, through Unicode
+conversion.
+
+It has also some limited support for transliteration, i.e. when a character
+cannot be represented in the target character set, it can be approximated
+through one or several similarly looking characters. Transliteration is
+activated when "//TRANSLIT" is appended to the target encoding name.
+
+libiconv is for you if your application needs to support multiple character
+encodings, but that support lacks from your system.
+
+
+Installation
+------------
+
+As usual for GNU packages:
+
+    $ ./configure --prefix=/usr/local
+    $ make
+    $ make install
+
+After installing GNU libiconv for the first time, it is recommended to
+recompile and reinstall GNU gettext, so that it can take advantage of
+libiconv.
+
+On systems other than GNU/Linux, the iconv program will be internationalized
+only if GNU gettext has been built and installed before GNU libiconv. This
+means that the first time GNU libiconv is installed, we have a circular
+dependency between the GNU libiconv and GNU gettext packages, which can be
+resolved by building and installing either
+  - first libiconv, then gettext, then libiconv again,
+or (on systems supporting shared libraries, excluding AIX)
+  - first gettext, then libiconv, then gettext again.
+Recall that before building a package for the second time, you need to erase
+the traces of the first build by running "make distclean".
+
+This library can be built and installed in two variants:
+
+  - The library mode. This works on all systems, and uses a library
+    `libiconv.so' and a header file `<iconv.h>'. (Both are installed
+    through "make install".)
+
+    To use it, simply #include <iconv.h> and use the functions.
+
+    To use it in an autoconfiguring package:
+    - If you don't use automake, append m4/iconv.m4 to your aclocal.m4
+      file.
+    - If you do use automake, add m4/iconv.m4 to your m4 macro repository.
+    - Add to the link command line of libraries and executables that use
+      the functions the placeholder @LIBICONV@ (or, if using libtool for
+      the link, @LTLIBICONV@). If you use automake, the right place for
+      these additions are the *_LDADD variables.
+    Note that 'iconv.m4' is also part of the GNU gettext package, which
+    installs it in /usr/local/share/aclocal/iconv.m4.
+
+  - The libc plug/override mode. This works on GNU/Linux, Solaris and OSF/1
+    systems only. It is a way to get good iconv support without having
+    glibc-2.1.
+    It installs a library `preloadable_libiconv.so'. This library can be used
+    with LD_PRELOAD, to override the iconv* functions present in the C library.
+
+    On GNU/Linux and Solaris:
+        $ export LD_PRELOAD=/usr/local/lib/preloadable_libiconv.so
+
+    On OSF/1:
+        $ export _RLD_LIST=/usr/local/lib/preloadable_libiconv.so:DEFAULT
+
+    A program's source need not be modified, the program need not even be
+    recompiled. Just set the LD_PRELOAD environment variable, that's it!
+
+
+Copyright
+---------
+
+The libiconv and libcharset _libraries_ and their header files are under LGPL,
+see file COPYING.LIB.
+
+The iconv _program_ and the documentation are under GPL, see file COPYING.
+
+
+Download
+--------
+
+    http://ftp.gnu.org/gnu/libiconv/libiconv-1.14.tar.gz
+
+Homepage
+--------
+
+    http://www.gnu.org/software/libiconv/
+
+Bug reports to
+--------------
+
+    <bug-gnu-libiconv@gnu.org>
+
+
+Bruno Haible <bruno@clisp.org>
diff --git a/README.djgpp b/README.djgpp
new file mode 100644
index 0000000..aa8c420
--- /dev/null
+++ b/README.djgpp
@@ -0,0 +1,3 @@
+Installation on DJGPP:
+
+See the file djgpp/README.
diff --git a/README.google b/README.google
new file mode 100644
index 0000000..c9940a3
--- /dev/null
+++ b/README.google
@@ -0,0 +1,11 @@
+URL:		http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz
+Version:	1.14
+License:	LGPLv2 (library, header files), GPLv3 (executable)
+License File:	LICENSE
+
+Description:
+This library provides an iconv() implementation, for use on systems which don't
+have one, or whose implementation cannot convert from/to Unicode.
+
+Local Modifications:
+Addition of Android.mk
diff --git a/README.woe32 b/README.woe32
new file mode 100644
index 0000000..ae8320b
--- /dev/null
+++ b/README.woe32
@@ -0,0 +1,37 @@
+Installation on Woe32 (WinNT/2000/XP/Vista/7, Win95/98/ME):
+
+Building requires the mingw or cygwin development environment (includes gcc).
+MS Visual C/C++ with "nmake" is no longer supported.
+
+This file explains how to create binaries for the mingw execution environment.
+For how to create binaries for the cygwin environment, please see the normal
+INSTALL file.  MS Visual C/C++ with "nmake" is no longer supported.
+
+I recommend to use the cygwin environment as the development environment
+and mingw only as the target (runtime, deployment) environment.
+For this, you need to install
+  - cygwin,
+  - the mingw runtime package, also from the cygwin site.
+
+You must not install cygwin programs directly under /usr/local -
+because the mingw compiler and linker would pick up the include files
+and libraries from there, thus introducing an undesired dependency to
+cygwin. You can for example achieve this by using the
+configure option --prefix=/usr/local/cygwin each time you build a
+program for cygwin.
+
+Building for mingw is then achieved through the following preparation
+and configure commands:
+
+   PATH=/usr/local/mingw/bin:$PATH
+   export PATH
+   ./configure --host=i586-pc-mingw32 --prefix=/usr/local/mingw \
+     CC="gcc-3 -mno-cygwin" \
+     CXX="g++-3 -mno-cygwin" \
+     CPPFLAGS="-Wall -I/usr/local/mingw/include" \
+     LDFLAGS="-L/usr/local/mingw/lib"
+
+The -mno-cygwin tells the cygwin compiler and linker to build for mingw.
+The -I and -L option are so that packages previously built for the
+same environment are found. The --host option tells the various
+tools that you are building for mingw, not cygwin.
diff --git a/THANKS b/THANKS
new file mode 100644
index 0000000..a6f02ff
--- /dev/null
+++ b/THANKS
@@ -0,0 +1,15 @@
+          Thanks to                               for
+
+Edmund Grimley Evans  <edmundo@rano.org>      bug reports
+
+Taro Muraoka  <koron@tka.att.ne.jp>           Woe32 DLL support
+
+Akira Hatakeyama  <akira@sra.co.jp>           OS/2 support
+
+Juan Manuel Guerrero  <st001906@hrz1.hrz.tu-darmstadt.de>
+                                              DOS/DJGPP support
+
+Hironori Sakamoto  <hsaka@mth.biglobe.ne.jp>  advice on EUC-JP and JISX0213
+
+Ken Lunde  <lunde@adobe.com>                  detailed information about GB18030
+
diff --git a/aclocal.m4 b/aclocal.m4
new file mode 100644
index 0000000..707b711
--- /dev/null
+++ b/aclocal.m4
@@ -0,0 +1,1055 @@
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+m4_ifndef([AC_AUTOCONF_VERSION],
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
+[m4_warning([this file was generated for autoconf 2.68.
+You have another version of autoconf.  It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically `autoreconf'.])])
+
+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_AUTOMAKE_VERSION(VERSION)
+# ----------------------------
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.11'
+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.11.1], [],
+      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+
+# _AM_AUTOCONF_VERSION(VERSION)
+# -----------------------------
+# aclocal traces this macro to find the Autoconf version.
+# This is a private macro too.  Using m4_define simplifies
+# the logic in aclocal, which can simply ignore this definition.
+m4_define([_AM_AUTOCONF_VERSION], [])
+
+# AM_SET_CURRENT_AUTOMAKE_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.11.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, 2003, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
+#
+# Of course, Automake must honor this variable whenever it calls a
+# tool from the auxiliary directory.  The problem is that $srcdir (and
+# therefore $ac_aux_dir as well) can be either absolute or relative,
+# depending on how configure is run.  This is pretty annoying, since
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+# source directory, any form will work fine, but in subdirectories a
+# relative path needs to be adjusted first.
+#
+# $ac_aux_dir/missing
+#    fails when called from a subdirectory if $ac_aux_dir is relative
+# $top_srcdir/$ac_aux_dir/missing
+#    fails if $ac_aux_dir is absolute,
+#    fails when called from a subdirectory in a VPATH build with
+#          a relative $ac_aux_dir
+#
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+# are both prefixed by $srcdir.  In an in-source build this is usually
+# harmless because $srcdir is `.', but things will broke when you
+# start a VPATH build or use an absolute $srcdir.
+#
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
+#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+# and then we would define $MISSING as
+#   MISSING="\${SHELL} $am_aux_dir/missing"
+# This will work as long as MISSING is not called from configure, because
+# unfortunately $(top_srcdir) has no meaning in configure.
+# However there are other variables, like CC, which are often used in
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
+#
+# Another solution, used here, is to always expand $ac_aux_dir to an
+# absolute PATH.  The drawback is that using absolute paths prevent a
+# configured tree to be moved without reconfiguration.
+
+AC_DEFUN([AM_AUX_DIR_EXPAND],
+[dnl Rely on autoconf to set up CDPATH properly.
+AC_PREREQ([2.50])dnl
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+])
+
+# AM_CONDITIONAL                                            -*- Autoconf -*-
+
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 9
+
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
+# -------------------------------------
+# Define a conditional.
+AC_DEFUN([AM_CONDITIONAL],
+[AC_PREREQ(2.52)dnl
+ ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
+	[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])dnl
+AC_SUBST([$1_FALSE])dnl
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
+if $2; then
+  $1_TRUE=
+  $1_FALSE='#'
+else
+  $1_TRUE='#'
+  $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+  AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
+fi])])
+
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 10
+
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
+# written in clear, in which case automake, when reading aclocal.m4,
+# will think it sees a *use*, and therefore will trigger all it's
+# C support machinery.  Also note that it means that autoscan, seeing
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+
+
+# _AM_DEPENDENCIES(NAME)
+# ----------------------
+# See how the compiler implements dependency checking.
+# NAME is "CC", "CXX", "GCJ", or "OBJC".
+# We try a few techniques and use that to set a single cache variable.
+#
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
+# dependency, and given that the user is not expected to run this macro,
+# just rely on AC_PROG_CC.
+AC_DEFUN([_AM_DEPENDENCIES],
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+
+ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
+       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
+       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
+       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
+                   [depcc="$$1"   am_compiler_list=])
+
+AC_CACHE_CHECK([dependency style of $depcc],
+               [am_cv_$1_dependencies_compiler_type],
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+  # We make a subdir and do the tests there.  Otherwise we can end up
+  # making bogus files that we don't know about and never remove.  For
+  # instance it was reported that on HP-UX the gcc test will end up
+  # making a dummy file named `D' -- because `-MD' means `put the output
+  # in D'.
+  mkdir conftest.dir
+  # Copy depcomp to subdir because otherwise we won't find it if we're
+  # using a relative directory.
+  cp "$am_depcomp" conftest.dir
+  cd conftest.dir
+  # We will build objects and dependencies in a subdirectory because
+  # it helps to detect inapplicable dependency modes.  For instance
+  # both Tru64's cc and ICC support -MD to output dependencies as a
+  # side effect of compilation, but ICC will put the dependencies in
+  # the current directory while Tru64 will put them in the object
+  # directory.
+  mkdir sub
+
+  am_cv_$1_dependencies_compiler_type=none
+  if test "$am_compiler_list" = ""; then
+     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
+  fi
+  am__universal=false
+  m4_case([$1], [CC],
+    [case " $depcc " in #(
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
+     esac],
+    [CXX],
+    [case " $depcc " in #(
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
+     esac])
+
+  for depmode in $am_compiler_list; do
+    # Setup a source with many dependencies, because some compilers
+    # like to wrap large dependency lists on column 80 (with \), and
+    # we should not choose a depcomp mode which is confused by this.
+    #
+    # We need to recreate these files for each test, as the compiler may
+    # overwrite some of them when testing with obscure command lines.
+    # This happens at least with the AIX C compiler.
+    : > sub/conftest.c
+    for i in 1 2 3 4 5 6; do
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+      # Solaris 8's {/usr,}/bin/sh.
+      touch sub/conftst$i.h
+    done
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
+    # mode.  It turns out that the SunPro C++ compiler does not properly
+    # handle `-M -o', and we need to detect this.  Also, some Intel
+    # versions had trouble with output in subdirs
+    am__obj=sub/conftest.${OBJEXT-o}
+    am__minus_obj="-o $am__obj"
+    case $depmode in
+    gcc)
+      # This depmode causes a compiler race in universal mode.
+      test "$am__universal" = false || continue
+      ;;
+    nosideeffect)
+      # after this tag, mechanisms are not by side-effect, so they'll
+      # only be used when explicitly requested
+      if test "x$enable_dependency_tracking" = xyes; then
+	continue
+      else
+	break
+      fi
+      ;;
+    msvisualcpp | msvcmsys)
+      # This compiler won't grok `-c -o', but also, the minuso test has
+      # not run yet.  These depmodes are late enough in the game, and
+      # so weak that their functioning should not be impacted.
+      am__obj=conftest.${OBJEXT-o}
+      am__minus_obj=
+      ;;
+    none) break ;;
+    esac
+    if depmode=$depmode \
+       source=sub/conftest.c object=$am__obj \
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+         >/dev/null 2>conftest.err &&
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+      # icc doesn't choke on unknown options, it will just issue warnings
+      # or remarks (even with -Werror).  So we grep stderr for any message
+      # that says an option was ignored or not supported.
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
+      #   icc: Command line warning: ignoring option '-M'; no argument required
+      # The diagnosis changed in icc 8.0:
+      #   icc: Command line remark: option '-MP' not supported
+      if (grep 'ignoring option' conftest.err ||
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+        am_cv_$1_dependencies_compiler_type=$depmode
+        break
+      fi
+    fi
+  done
+
+  cd ..
+  rm -rf conftest.dir
+else
+  am_cv_$1_dependencies_compiler_type=none
+fi
+])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+AM_CONDITIONAL([am__fastdep$1], [
+  test "x$enable_dependency_tracking" != xno \
+  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
+])
+
+
+# AM_SET_DEPDIR
+# -------------
+# Choose a directory name for dependency files.
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
+AC_DEFUN([AM_SET_DEPDIR],
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
+])
+
+
+# AM_DEP_TRACK
+# ------------
+AC_DEFUN([AM_DEP_TRACK],
+[AC_ARG_ENABLE(dependency-tracking,
+[  --disable-dependency-tracking  speeds up one-time build
+  --enable-dependency-tracking   do not reject slow dependency extractors])
+if test "x$enable_dependency_tracking" != xno; then
+  am_depcomp="$ac_aux_dir/depcomp"
+  AMDEPBACKSLASH='\'
+fi
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+AC_SUBST([AMDEPBACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
+])
+
+# Generate code to set up dependency tracking.              -*- Autoconf -*-
+
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+#serial 5
+
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
+# ------------------------------
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
+[{
+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
+  # are listed without --file.  Let's play safe and only enable the eval
+  # if we detect the quoting.
+  case $CONFIG_FILES in
+  *\'*) eval set x "$CONFIG_FILES" ;;
+  *)   set x $CONFIG_FILES ;;
+  esac
+  shift
+  for mf
+  do
+    # Strip MF so we end up with the name of the file.
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
+    # Check whether this is an Automake generated Makefile or not.
+    # We used to match only the files named `Makefile.in', but
+    # some people rename them; so instead we look at the file content.
+    # Grep'ing the first line is not enough: some people post-process
+    # each Makefile.in and add a new line on top of each file to say so.
+    # Grep'ing the whole file is not good either: AIX grep has a line
+    # limit of 2048, but all sed's we know have understand at least 4000.
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+      dirpart=`AS_DIRNAME("$mf")`
+    else
+      continue
+    fi
+    # Extract the definition of DEPDIR, am__include, and am__quote
+    # from the Makefile without running `make'.
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+    test -z "$DEPDIR" && continue
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
+    test -z "am__include" && continue
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+    # When using ansi2knr, U may be empty or an underscore; expand it
+    U=`sed -n 's/^U = //p' < "$mf"`
+    # Find all dependency output files, they are included files with
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
+    # simplest approach to changing $(DEPDIR) to its actual value in the
+    # expansion.
+    for file in `sed -n "
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
+      # Make sure the directory exists.
+      test -f "$dirpart/$file" && continue
+      fdir=`AS_DIRNAME(["$file"])`
+      AS_MKDIR_P([$dirpart/$fdir])
+      # echo "creating $dirpart/$file"
+      echo '# dummy' > "$dirpart/$file"
+    done
+  done
+}
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
+
+
+# AM_OUTPUT_DEPENDENCY_COMMANDS
+# -----------------------------
+# This macro should only be invoked once -- use via AC_REQUIRE.
+#
+# This code is only required when automatic dependency tracking
+# is enabled.  FIXME.  This creates each `.P' file that we will
+# need in order to bootstrap the dependency handling code.
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
+[AC_CONFIG_COMMANDS([depfiles],
+     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+])
+
+# Do all the work for Automake.                             -*- Autoconf -*-
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 16
+
+# This macro actually does too much.  Some checks are only needed if
+# your package does certain things.  But this isn't really a big deal.
+
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+# AM_INIT_AUTOMAKE([OPTIONS])
+# -----------------------------------------------
+# The call with PACKAGE and VERSION arguments is the old style
+# call (pre autoconf-2.50), which is being phased out.  PACKAGE
+# and VERSION should now be passed to AC_INIT and removed from
+# the call to AM_INIT_AUTOMAKE.
+# We support both call styles for the transition.  After
+# the next Automake release, Autoconf can make the AC_INIT
+# arguments mandatory, and then we can depend on a new Autoconf
+# release and drop the old call support.
+AC_DEFUN([AM_INIT_AUTOMAKE],
+[AC_PREREQ([2.62])dnl
+dnl Autoconf wants to disallow AM_ names.  We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+  # is not polluted with repeated "-I."
+  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+  # test to see if srcdir already configured
+  if test -f $srcdir/config.status; then
+    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+  fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+  if (cygpath --version) >/dev/null 2>/dev/null; then
+    CYGPATH_W='cygpath -w'
+  else
+    CYGPATH_W=echo
+  fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
+  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
+AM_MISSING_PROG(AUTOCONF, autoconf)
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
+AM_MISSING_PROG(AUTOHEADER, autoheader)
+AM_MISSING_PROG(MAKEINFO, makeinfo)
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
+# We need awk for the "check" target.  The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+			     [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+		  [_AM_DEPENDENCIES(CC)],
+		  [define([AC_PROG_CC],
+			  defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+		  [_AM_DEPENDENCIES(CXX)],
+		  [define([AC_PROG_CXX],
+			  defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+		  [_AM_DEPENDENCIES(OBJC)],
+		  [define([AC_PROG_OBJC],
+			  defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
+])
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
+])
+
+dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
+dnl mangled by Autoconf and run in a shell conditional statement.
+m4_define([_AC_COMPILER_EXEEXT],
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
+
+
+# When config.status generates a header, we must update the stamp-h file.
+# This file resides in the same directory as the config header
+# that is generated.  The stamp files are numbered to have different names.
+
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
+# loop where config.status creates the headers, so we can generate
+# our stamp files there.
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
+[# Compute $1's index in $config_headers.
+_am_arg=$1
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+  case $_am_header in
+    $_am_arg | $_am_arg:* )
+      break ;;
+    * )
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+  esac
+done
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+
+# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_SH
+# ------------------
+# Define $install_sh.
+AC_DEFUN([AM_PROG_INSTALL_SH],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+if test x"${install_sh}" != xset; then
+  case $am_aux_dir in
+  *\ * | *\	*)
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+  *)
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
+  esac
+fi
+AC_SUBST(install_sh)])
+
+# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 2
+
+# Check whether the underlying file-system supports filenames
+# with a leading dot.  For instance MS-DOS doesn't.
+AC_DEFUN([AM_SET_LEADING_DOT],
+[rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+  am__leading_dot=.
+else
+  am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
+
+# Check to see how 'make' treats includes.	            -*- Autoconf -*-
+
+# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 4
+
+# AM_MAKE_INCLUDE()
+# -----------------
+# Check to see how make treats includes.
+AC_DEFUN([AM_MAKE_INCLUDE],
+[am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+	@echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+AC_MSG_CHECKING([for style of include used by $am_make])
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from `make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+  am__include=include
+  am__quote=
+  _am_result=GNU
+  ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+   echo '.include "confinc"' > confmf
+   case `$am_make -s -f confmf 2> /dev/null` in #(
+   *the\ am__doit\ target*)
+     am__include=.include
+     am__quote="\""
+     _am_result=BSD
+     ;;
+   esac
+fi
+AC_SUBST([am__include])
+AC_SUBST([am__quote])
+AC_MSG_RESULT([$_am_result])
+rm -f confinc confmf
+])
+
+# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 6
+
+# AM_PROG_CC_C_O
+# --------------
+# Like AC_PROG_CC_C_O, but changed for automake.
+AC_DEFUN([AM_PROG_CC_C_O],
+[AC_REQUIRE([AC_PROG_CC_C_O])dnl
+AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([compile])dnl
+# FIXME: we rely on the cache variable name because
+# there is no other way.
+set dummy $CC
+am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
+eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
+if test "$am_t" != yes; then
+   # Losing compiler, so override with the script.
+   # FIXME: It is wrong to rewrite CC.
+   # But if we don't then we get into trouble of one sort or another.
+   # A longer-term fix would be to have automake use am__CC in this case,
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+   CC="$am_aux_dir/compile $CC"
+fi
+dnl Make sure AC_PROG_CC is never called again, or it will override our
+dnl setting of CC.
+m4_define([AC_PROG_CC],
+          [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
+])
+
+# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
+
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 6
+
+# AM_MISSING_PROG(NAME, PROGRAM)
+# ------------------------------
+AC_DEFUN([AM_MISSING_PROG],
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+
+
+# AM_MISSING_HAS_RUN
+# ------------------
+# Define MISSING if not defined so far and test if it supports --run.
+# If it does, set am_missing_run to use it, otherwise, to nothing.
+AC_DEFUN([AM_MISSING_HAS_RUN],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
+if test x"${MISSING+set}" != xset; then
+  case $am_aux_dir in
+  *\ * | *\	*)
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+  *)
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
+  esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --run true"; then
+  am_missing_run="$MISSING --run "
+else
+  am_missing_run=
+  AC_MSG_WARN([`missing' script is too old or missing])
+fi
+])
+
+# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_MKDIR_P
+# ---------------
+# Check for `mkdir -p'.
+AC_DEFUN([AM_PROG_MKDIR_P],
+[AC_PREREQ([2.60])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
+dnl while keeping a definition of mkdir_p for backward compatibility.
+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
+dnl Makefile.ins that do not define MKDIR_P, so we do our own
+dnl adjustment using top_builddir (which is defined more often than
+dnl MKDIR_P).
+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
+case $mkdir_p in
+  [[\\/$]]* | ?:[[\\/]]*) ;;
+  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
+esac
+])
+
+# Helper functions for option handling.                     -*- Autoconf -*-
+
+# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 4
+
+# _AM_MANGLE_OPTION(NAME)
+# -----------------------
+AC_DEFUN([_AM_MANGLE_OPTION],
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+
+# _AM_SET_OPTION(NAME)
+# ------------------------------
+# Set option NAME.  Presently that only means defining a flag for this option.
+AC_DEFUN([_AM_SET_OPTION],
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
+
+# _AM_SET_OPTIONS(OPTIONS)
+# ----------------------------------
+# OPTIONS is a space-separated list of Automake options.
+AC_DEFUN([_AM_SET_OPTIONS],
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+# -------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+AC_DEFUN([_AM_IF_OPTION],
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+# Check to make sure that the build environment is sane.    -*- Autoconf -*-
+
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 5
+
+# AM_SANITY_CHECK
+# ---------------
+AC_DEFUN([AM_SANITY_CHECK],
+[AC_MSG_CHECKING([whether build environment is sane])
+# Just in case
+sleep 1
+echo timestamp > conftest.file
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name.  Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+  *[[\\\"\#\$\&\'\`$am_lf]]*)
+    AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
+    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
+esac
+
+# Do `set' in a subshell so we don't clobber the current shell's
+# arguments.  Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+   if test "$[*]" = "X"; then
+      # -L didn't work.
+      set X `ls -t "$srcdir/configure" conftest.file`
+   fi
+   rm -f conftest.file
+   if test "$[*]" != "X $srcdir/configure conftest.file" \
+      && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+      # If neither matched, then we have a broken ls.  This can happen
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
+      # broken ls alias from the environment.  This has actually
+      # happened.  Such a system could not be considered "sane".
+      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
+alias in your environment])
+   fi
+
+   test "$[2]" = conftest.file
+   )
+then
+   # Ok.
+   :
+else
+   AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT(yes)])
+
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_STRIP
+# ---------------------
+# One issue with vendor `install' (even GNU) is that you can't
+# specify the program used to strip binaries.  This is especially
+# annoying in cross-compiling environments, where the build's strip
+# is unlikely to handle the host's binaries.
+# Fortunately install-sh will honor a STRIPPROG variable, so we
+# always use install-sh in `make install-strip', and initialize
+# STRIPPROG with the value of the STRIP variable (set by the user).
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using `strip' when the user
+# run `make install-strip'.  However `strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the `STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
+if test "$cross_compiling" != no; then
+  AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 2
+
+# _AM_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
+# This macro is traced by Automake.
+AC_DEFUN([_AM_SUBST_NOTMAKE])
+
+# AM_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Public sister of _AM_SUBST_NOTMAKE.
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+
+# Check how to create a tarball.                            -*- Autoconf -*-
+
+# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 2
+
+# _AM_PROG_TAR(FORMAT)
+# --------------------
+# Check how to create a tarball in format FORMAT.
+# FORMAT should be one of `v7', `ustar', or `pax'.
+#
+# Substitute a variable $(am__tar) that is a command
+# writing to stdout a FORMAT-tarball containing the directory
+# $tardir.
+#     tardir=directory && $(am__tar) > result.tar
+#
+# Substitute a variable $(am__untar) that extract such
+# a tarball read from stdin.
+#     $(am__untar) < result.tar
+AC_DEFUN([_AM_PROG_TAR],
+[# Always define AMTAR for backward compatibility.
+AM_MISSING_PROG([AMTAR], [tar])
+m4_if([$1], [v7],
+     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
+     [m4_case([$1], [ustar],, [pax],,
+              [m4_fatal([Unknown tar format])])
+AC_MSG_CHECKING([how to create a $1 tar archive])
+# Loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
+# Do not fold the above two line into one, because Tru64 sh and
+# Solaris sh will not grok spaces in the rhs of `-'.
+for _am_tool in $_am_tools
+do
+  case $_am_tool in
+  gnutar)
+    for _am_tar in tar gnutar gtar;
+    do
+      AM_RUN_LOG([$_am_tar --version]) && break
+    done
+    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+    am__untar="$_am_tar -xf -"
+    ;;
+  plaintar)
+    # Must skip GNU tar: if it does not support --format= it doesn't create
+    # ustar tarball either.
+    (tar --version) >/dev/null 2>&1 && continue
+    am__tar='tar chf - "$$tardir"'
+    am__tar_='tar chf - "$tardir"'
+    am__untar='tar xf -'
+    ;;
+  pax)
+    am__tar='pax -L -x $1 -w "$$tardir"'
+    am__tar_='pax -L -x $1 -w "$tardir"'
+    am__untar='pax -r'
+    ;;
+  cpio)
+    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+    am__untar='cpio -i -H $1 -d'
+    ;;
+  none)
+    am__tar=false
+    am__tar_=false
+    am__untar=false
+    ;;
+  esac
+
+  # If the value was cached, stop now.  We just wanted to have am__tar
+  # and am__untar set.
+  test -n "${am_cv_prog_tar_$1}" && break
+
+  # tar/untar a dummy directory, and stop if the command works
+  rm -rf conftest.dir
+  mkdir conftest.dir
+  echo GrepMe > conftest.dir/file
+  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+  rm -rf conftest.dir
+  if test -s conftest.tar; then
+    AM_RUN_LOG([$am__untar <conftest.tar])
+    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+  fi
+done
+rm -rf conftest.dir
+
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+]) # _AM_PROG_TAR
+
+m4_include([srcm4/00gnulib.m4])
+m4_include([srcm4/alloca.m4])
+m4_include([srcm4/asm-underscore.m4])
+m4_include([srcm4/canonicalize.m4])
+m4_include([srcm4/codeset.m4])
+m4_include([srcm4/double-slash-root.m4])
+m4_include([srcm4/eealloc.m4])
+m4_include([srcm4/environ.m4])
+m4_include([srcm4/errno_h.m4])
+m4_include([srcm4/error.m4])
+m4_include([srcm4/extensions.m4])
+m4_include([srcm4/fcntl_h.m4])
+m4_include([srcm4/gettext.m4])
+m4_include([srcm4/gnulib-common.m4])
+m4_include([srcm4/gnulib-comp.m4])
+m4_include([srcm4/iconv.m4])
+m4_include([srcm4/include_next.m4])
+m4_include([srcm4/intlmacosx.m4])
+m4_include([srcm4/lib-ld.m4])
+m4_include([srcm4/lib-link.m4])
+m4_include([srcm4/lib-prefix.m4])
+m4_include([srcm4/libunistring-base.m4])
+m4_include([srcm4/longlong.m4])
+m4_include([srcm4/lstat.m4])
+m4_include([srcm4/malloca.m4])
+m4_include([srcm4/mbstate_t.m4])
+m4_include([srcm4/memmove.m4])
+m4_include([srcm4/multiarch.m4])
+m4_include([srcm4/nls.m4])
+m4_include([srcm4/nocrash.m4])
+m4_include([srcm4/pathmax.m4])
+m4_include([srcm4/po.m4])
+m4_include([srcm4/progtest.m4])
+m4_include([srcm4/read.m4])
+m4_include([srcm4/readlink.m4])
+m4_include([srcm4/relocatable-lib.m4])
+m4_include([srcm4/relocatable.m4])
+m4_include([srcm4/safe-read.m4])
+m4_include([srcm4/setenv.m4])
+m4_include([srcm4/signal_h.m4])
+m4_include([srcm4/signalblocking.m4])
+m4_include([srcm4/sigpipe.m4])
+m4_include([srcm4/ssize_t.m4])
+m4_include([srcm4/stat.m4])
+m4_include([srcm4/stdbool.m4])
+m4_include([srcm4/stddef_h.m4])
+m4_include([srcm4/stdint.m4])
+m4_include([srcm4/stdio_h.m4])
+m4_include([srcm4/stdlib_h.m4])
+m4_include([srcm4/strerror.m4])
+m4_include([srcm4/string_h.m4])
+m4_include([srcm4/sys_socket_h.m4])
+m4_include([srcm4/sys_stat_h.m4])
+m4_include([srcm4/time_h.m4])
+m4_include([srcm4/unistd_h.m4])
+m4_include([srcm4/unlocked-io.m4])
+m4_include([srcm4/visibility.m4])
+m4_include([srcm4/warn-on-use.m4])
+m4_include([srcm4/wchar_t.m4])
+m4_include([m4/cp.m4])
+m4_include([m4/eilseq.m4])
+m4_include([m4/endian.m4])
+m4_include([m4/fcntl-o.m4])
+m4_include([m4/libtool.m4])
+m4_include([m4/ln.m4])
+m4_include([m4/ltoptions.m4])
+m4_include([m4/ltsugar.m4])
+m4_include([m4/ltversion.m4])
+m4_include([m4/lt~obsolete.m4])
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..c9ff5e0
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,80 @@
+#!/bin/sh
+# Convenience script for regenerating all autogeneratable files that are
+# omitted from the version control repository. In particular, this script
+# 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.68 and automake-1.11 in the PATH.
+# It also requires either
+#   - the GNULIB_TOOL environment variable pointing to the gnulib-tool script
+#     in a gnulib checkout, or
+#   - the git program in the PATH and an internet connection.
+# It also requires
+#   - the gperf program.
+
+# Copyright (C) 2003-2010 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
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+# Usage: ./autogen.sh [--skip-gnulib]
+#
+# Usage from a CVS checkout:                 ./autogen.sh
+# This uses an up-to-date gnulib checkout.
+#
+# Usage from a released tarball:             ./autogen.sh --skip-gnulib
+# This does not use a gnulib checkout.
+
+skip_gnulib=false
+while :; do
+  case "$1" in
+    --skip-gnulib) skip_gnulib=true; shift;;
+    *) break ;;
+  esac
+done
+
+if test $skip_gnulib = false; then
+  if test -z "$GNULIB_TOOL"; then
+    # Check out gnulib in a subdirectory 'gnulib'.
+    if test -d gnulib; then
+      (cd gnulib && git pull)
+    else
+      git clone git://git.savannah.gnu.org/gnulib.git
+    fi
+    # Now it should contain a gnulib-tool.
+    if test -f gnulib/gnulib-tool; then
+      GNULIB_TOOL=`pwd`/gnulib/gnulib-tool
+    else
+      echo "** warning: gnulib-tool not found" 1>&2
+    fi
+  fi
+  # Skip the gnulib-tool step if gnulib-tool was not found.
+  if test -n "$GNULIB_TOOL"; then
+    make -f Makefile.devel srclib/Makefile.gnulib GNULIB_TOOL="$GNULIB_TOOL"
+  fi
+fi
+
+rm -f configure config.h.in include/iconv.h.build.in
+rm -f lib/aliases.h lib/aliases_sysaix.h lib/aliases_syshpux.h lib/aliases_sysosf1.h lib/aliases_syssolaris.h
+rm -f lib/aliases_aix.h lib/aliases_aix_sysaix.h
+rm -f lib/aliases_osf1.h lib/aliases_osf1_sysosf1.h
+rm -f lib/aliases_dos.h
+rm -f lib/aliases_extra.h
+rm -f lib/flags.h
+rm -f lib/translit.h
+rm -f man/iconv.1.html man/iconv.3.html man/iconv_close.3.html man/iconv_open.3.html
+make -f Makefile.devel
+
+(cd libcharset
+ ./autogen.sh
+)
diff --git a/build-aux/config.guess b/build-aux/config.guess
new file mode 100755
index 0000000..e5716ee
--- /dev/null
+++ b/build-aux/config.guess
@@ -0,0 +1,1555 @@
+#! /bin/sh
+# Attempt to guess a canonical system name.
+#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+#   Free Software Foundation, Inc.
+
+timestamp='2009-02-03'
+
+# 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
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+
+# Originally written by Per Bothner <per@bothner.com>.
+# Please send patches to <config-patches@gnu.org>.  Submit a context
+# diff and a properly formatted ChangeLog entry.
+#
+# This script attempts to guess a canonical system name similar to
+# config.sub.  If it succeeds, it prints the system name on stdout, and
+# exits with 0.  Otherwise, it exits with 1.
+#
+# The plan is that this can be called by configure scripts if you
+# don't specify an explicit build system type.
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION]
+
+Output the configuration name of the system \`$me' is run on.
+
+Operation modes:
+  -h, --help         print this help, then exit
+  -t, --time-stamp   print date of last modification, then exit
+  -v, --version      print version number, then exit
+
+Report bugs and patches to <config-patches@gnu.org>."
+
+version="\
+GNU config.guess ($timestamp)
+
+Originally written by Per Bothner.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+  case $1 in
+    --time-stamp | --time* | -t )
+       echo "$timestamp" ; exit ;;
+    --version | -v )
+       echo "$version" ; exit ;;
+    --help | --h* | -h )
+       echo "$usage"; exit ;;
+    -- )     # Stop option processing
+       shift; break ;;
+    - )	# Use stdin as input.
+       break ;;
+    -* )
+       echo "$me: invalid option $1$help" >&2
+       exit 1 ;;
+    * )
+       break ;;
+  esac
+done
+
+if test $# != 0; then
+  echo "$me: too many arguments$help" >&2
+  exit 1
+fi
+
+trap 'exit 1' 1 2 15
+
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
+# compiler to aid in system detection is discouraged as it requires
+# temporary files to be created and, as you can see below, it is a
+# headache to deal with in a portable fashion.
+
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
+# use `HOST_CC' if defined, but it is deprecated.
+
+# Portable tmp directory creation inspired by the Autoconf team.
+
+set_cc_for_build='
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
+: ${TMPDIR=/tmp} ;
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
+dummy=$tmp/dummy ;
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
+case $CC_FOR_BUILD,$HOST_CC,$CC in
+ ,,)    echo "int x;" > $dummy.c ;
+	for c in cc gcc c89 c99 ; do
+	  if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
+	     CC_FOR_BUILD="$c"; break ;
+	  fi ;
+	done ;
+	if test x"$CC_FOR_BUILD" = x ; then
+	  CC_FOR_BUILD=no_compiler_found ;
+	fi
+	;;
+ ,,*)   CC_FOR_BUILD=$CC ;;
+ ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
+esac ; set_cc_for_build= ;'
+
+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+# (ghazi@noc.rutgers.edu 1994-08-24)
+if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
+	PATH=$PATH:/.attbin ; export PATH
+fi
+
+UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
+UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
+UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+
+# Note: order is significant - the case branches are not exclusive.
+
+case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+    *:NetBSD:*:*)
+	# NetBSD (nbsd) targets should (where applicable) match one or
+	# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
+	# *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
+	# switched to ELF, *-*-netbsd* would select the old
+	# object file format.  This provides both forward
+	# compatibility and a consistent mechanism for selecting the
+	# object file format.
+	#
+	# Note: NetBSD doesn't particularly care about the vendor
+	# portion of the name.  We always set it to "unknown".
+	sysctl="sysctl -n hw.machine_arch"
+	UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
+	    /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
+	case "${UNAME_MACHINE_ARCH}" in
+	    armeb) machine=armeb-unknown ;;
+	    arm*) machine=arm-unknown ;;
+	    sh3el) machine=shl-unknown ;;
+	    sh3eb) machine=sh-unknown ;;
+	    sh5el) machine=sh5le-unknown ;;
+	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
+	esac
+	# The Operating System including object format, if it has switched
+	# to ELF recently, or will in the future.
+	case "${UNAME_MACHINE_ARCH}" in
+	    arm*|i386|m68k|ns32k|sh3*|sparc|vax)
+		eval $set_cc_for_build
+		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
+			| grep __ELF__ >/dev/null
+		then
+		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
+		    # Return netbsd for either.  FIX?
+		    os=netbsd
+		else
+		    os=netbsdelf
+		fi
+		;;
+	    *)
+	        os=netbsd
+		;;
+	esac
+	# The OS release
+	# Debian GNU/NetBSD machines have a different userland, and
+	# thus, need a distinct triplet. However, they do not need
+	# kernel version information, so it can be replaced with a
+	# suitable tag, in the style of linux-gnu.
+	case "${UNAME_VERSION}" in
+	    Debian*)
+		release='-gnu'
+		;;
+	    *)
+		release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+		;;
+	esac
+	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
+	# contains redundant information, the shorter form:
+	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
+	echo "${machine}-${os}${release}"
+	exit ;;
+    *:OpenBSD:*:*)
+	UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
+	echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
+	exit ;;
+    *:ekkoBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
+	exit ;;
+    *:SolidBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
+	exit ;;
+    macppc:MirBSD:*:*)
+	echo powerpc-unknown-mirbsd${UNAME_RELEASE}
+	exit ;;
+    *:MirBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
+	exit ;;
+    alpha:OSF1:*:*)
+	case $UNAME_RELEASE in
+	*4.0)
+		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
+		;;
+	*5.*)
+	        UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+		;;
+	esac
+	# According to Compaq, /usr/sbin/psrinfo has been available on
+	# OSF/1 and Tru64 systems produced since 1995.  I hope that
+	# covers most systems running today.  This code pipes the CPU
+	# types through head -n 1, so we only detect the type of CPU 0.
+	ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
+	case "$ALPHA_CPU_TYPE" in
+	    "EV4 (21064)")
+		UNAME_MACHINE="alpha" ;;
+	    "EV4.5 (21064)")
+		UNAME_MACHINE="alpha" ;;
+	    "LCA4 (21066/21068)")
+		UNAME_MACHINE="alpha" ;;
+	    "EV5 (21164)")
+		UNAME_MACHINE="alphaev5" ;;
+	    "EV5.6 (21164A)")
+		UNAME_MACHINE="alphaev56" ;;
+	    "EV5.6 (21164PC)")
+		UNAME_MACHINE="alphapca56" ;;
+	    "EV5.7 (21164PC)")
+		UNAME_MACHINE="alphapca57" ;;
+	    "EV6 (21264)")
+		UNAME_MACHINE="alphaev6" ;;
+	    "EV6.7 (21264A)")
+		UNAME_MACHINE="alphaev67" ;;
+	    "EV6.8CB (21264C)")
+		UNAME_MACHINE="alphaev68" ;;
+	    "EV6.8AL (21264B)")
+		UNAME_MACHINE="alphaev68" ;;
+	    "EV6.8CX (21264D)")
+		UNAME_MACHINE="alphaev68" ;;
+	    "EV6.9A (21264/EV69A)")
+		UNAME_MACHINE="alphaev69" ;;
+	    "EV7 (21364)")
+		UNAME_MACHINE="alphaev7" ;;
+	    "EV7.9 (21364A)")
+		UNAME_MACHINE="alphaev79" ;;
+	esac
+	# A Pn.n version is a patched version.
+	# A Vn.n version is a released version.
+	# A Tn.n version is a released field test version.
+	# A Xn.n version is an unreleased experimental baselevel.
+	# 1.2 uses "1.2" for uname -r.
+	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+	exit ;;
+    Alpha\ *:Windows_NT*:*)
+	# How do we know it's Interix rather than the generic POSIX subsystem?
+	# Should we change UNAME_MACHINE based on the output of uname instead
+	# of the specific Alpha model?
+	echo alpha-pc-interix
+	exit ;;
+    21064:Windows_NT:50:3)
+	echo alpha-dec-winnt3.5
+	exit ;;
+    Amiga*:UNIX_System_V:4.0:*)
+	echo m68k-unknown-sysv4
+	exit ;;
+    *:[Aa]miga[Oo][Ss]:*:*)
+	echo ${UNAME_MACHINE}-unknown-amigaos
+	exit ;;
+    *:[Mm]orph[Oo][Ss]:*:*)
+	echo ${UNAME_MACHINE}-unknown-morphos
+	exit ;;
+    *:OS/390:*:*)
+	echo i370-ibm-openedition
+	exit ;;
+    *:z/VM:*:*)
+	echo s390-ibm-zvmoe
+	exit ;;
+    *:OS400:*:*)
+        echo powerpc-ibm-os400
+	exit ;;
+    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
+	echo arm-acorn-riscix${UNAME_RELEASE}
+	exit ;;
+    arm:riscos:*:*|arm:RISCOS:*:*)
+	echo arm-unknown-riscos
+	exit ;;
+    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
+	echo hppa1.1-hitachi-hiuxmpp
+	exit ;;
+    Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
+	# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
+	if test "`(/bin/universe) 2>/dev/null`" = att ; then
+		echo pyramid-pyramid-sysv3
+	else
+		echo pyramid-pyramid-bsd
+	fi
+	exit ;;
+    NILE*:*:*:dcosx)
+	echo pyramid-pyramid-svr4
+	exit ;;
+    DRS?6000:unix:4.0:6*)
+	echo sparc-icl-nx6
+	exit ;;
+    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
+	case `/usr/bin/uname -p` in
+	    sparc) echo sparc-icl-nx7; exit ;;
+	esac ;;
+    sun4H:SunOS:5.*:*)
+	echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+	exit ;;
+    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
+	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+	exit ;;
+    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
+	eval $set_cc_for_build
+	SUN_ARCH="i386"
+	# If there is a compiler, see if it is configured for 64-bit objects.
+	# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
+	# This test works for both compilers.
+	if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+	    if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
+		(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+		grep IS_64BIT_ARCH >/dev/null
+	    then
+		SUN_ARCH="x86_64"
+	    fi
+	fi
+	echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+	exit ;;
+    sun4*:SunOS:6*:*)
+	# According to config.sub, this is the proper way to canonicalize
+	# SunOS6.  Hard to guess exactly what SunOS6 will be like, but
+	# it's likely to be more like Solaris than SunOS4.
+	echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+	exit ;;
+    sun4*:SunOS:*:*)
+	case "`/usr/bin/arch -k`" in
+	    Series*|S4*)
+		UNAME_RELEASE=`uname -v`
+		;;
+	esac
+	# Japanese Language versions have a version number like `4.1.3-JL'.
+	echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
+	exit ;;
+    sun3*:SunOS:*:*)
+	echo m68k-sun-sunos${UNAME_RELEASE}
+	exit ;;
+    sun*:*:4.2BSD:*)
+	UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
+	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
+	case "`/bin/arch`" in
+	    sun3)
+		echo m68k-sun-sunos${UNAME_RELEASE}
+		;;
+	    sun4)
+		echo sparc-sun-sunos${UNAME_RELEASE}
+		;;
+	esac
+	exit ;;
+    aushp:SunOS:*:*)
+	echo sparc-auspex-sunos${UNAME_RELEASE}
+	exit ;;
+    # The situation for MiNT is a little confusing.  The machine name
+    # can be virtually everything (everything which is not
+    # "atarist" or "atariste" at least should have a processor
+    # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
+    # to the lowercase version "mint" (or "freemint").  Finally
+    # the system name "TOS" denotes a system which is actually not
+    # MiNT.  But MiNT is downward compatible to TOS, so this should
+    # be no problem.
+    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
+        echo m68k-atari-mint${UNAME_RELEASE}
+	exit ;;
+    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
+	echo m68k-atari-mint${UNAME_RELEASE}
+        exit ;;
+    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
+        echo m68k-atari-mint${UNAME_RELEASE}
+	exit ;;
+    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
+        echo m68k-milan-mint${UNAME_RELEASE}
+        exit ;;
+    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
+        echo m68k-hades-mint${UNAME_RELEASE}
+        exit ;;
+    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
+        echo m68k-unknown-mint${UNAME_RELEASE}
+        exit ;;
+    m68k:machten:*:*)
+	echo m68k-apple-machten${UNAME_RELEASE}
+	exit ;;
+    powerpc:machten:*:*)
+	echo powerpc-apple-machten${UNAME_RELEASE}
+	exit ;;
+    RISC*:Mach:*:*)
+	echo mips-dec-mach_bsd4.3
+	exit ;;
+    RISC*:ULTRIX:*:*)
+	echo mips-dec-ultrix${UNAME_RELEASE}
+	exit ;;
+    VAX*:ULTRIX*:*:*)
+	echo vax-dec-ultrix${UNAME_RELEASE}
+	exit ;;
+    2020:CLIX:*:* | 2430:CLIX:*:*)
+	echo clipper-intergraph-clix${UNAME_RELEASE}
+	exit ;;
+    mips:*:*:UMIPS | mips:*:*:RISCos)
+	eval $set_cc_for_build
+	sed 's/^	//' << EOF >$dummy.c
+#ifdef __cplusplus
+#include <stdio.h>  /* for printf() prototype */
+	int main (int argc, char *argv[]) {
+#else
+	int main (argc, argv) int argc; char *argv[]; {
+#endif
+	#if defined (host_mips) && defined (MIPSEB)
+	#if defined (SYSTYPE_SYSV)
+	  printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
+	#endif
+	#if defined (SYSTYPE_SVR4)
+	  printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
+	#endif
+	#if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
+	  printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
+	#endif
+	#endif
+	  exit (-1);
+	}
+EOF
+	$CC_FOR_BUILD -o $dummy $dummy.c &&
+	  dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
+	  SYSTEM_NAME=`$dummy $dummyarg` &&
+	    { echo "$SYSTEM_NAME"; exit; }
+	echo mips-mips-riscos${UNAME_RELEASE}
+	exit ;;
+    Motorola:PowerMAX_OS:*:*)
+	echo powerpc-motorola-powermax
+	exit ;;
+    Motorola:*:4.3:PL8-*)
+	echo powerpc-harris-powermax
+	exit ;;
+    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
+	echo powerpc-harris-powermax
+	exit ;;
+    Night_Hawk:Power_UNIX:*:*)
+	echo powerpc-harris-powerunix
+	exit ;;
+    m88k:CX/UX:7*:*)
+	echo m88k-harris-cxux7
+	exit ;;
+    m88k:*:4*:R4*)
+	echo m88k-motorola-sysv4
+	exit ;;
+    m88k:*:3*:R3*)
+	echo m88k-motorola-sysv3
+	exit ;;
+    AViiON:dgux:*:*)
+        # DG/UX returns AViiON for all architectures
+        UNAME_PROCESSOR=`/usr/bin/uname -p`
+	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
+	then
+	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
+	       [ ${TARGET_BINARY_INTERFACE}x = x ]
+	    then
+		echo m88k-dg-dgux${UNAME_RELEASE}
+	    else
+		echo m88k-dg-dguxbcs${UNAME_RELEASE}
+	    fi
+	else
+	    echo i586-dg-dgux${UNAME_RELEASE}
+	fi
+ 	exit ;;
+    M88*:DolphinOS:*:*)	# DolphinOS (SVR3)
+	echo m88k-dolphin-sysv3
+	exit ;;
+    M88*:*:R3*:*)
+	# Delta 88k system running SVR3
+	echo m88k-motorola-sysv3
+	exit ;;
+    XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
+	echo m88k-tektronix-sysv3
+	exit ;;
+    Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
+	echo m68k-tektronix-bsd
+	exit ;;
+    *:IRIX*:*:*)
+	echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
+	exit ;;
+    ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
+	echo romp-ibm-aix     # uname -m gives an 8 hex-code CPU id
+	exit ;;               # Note that: echo "'`uname -s`'" gives 'AIX '
+    i*86:AIX:*:*)
+	echo i386-ibm-aix
+	exit ;;
+    ia64:AIX:*:*)
+	if [ -x /usr/bin/oslevel ] ; then
+		IBM_REV=`/usr/bin/oslevel`
+	else
+		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+	fi
+	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
+	exit ;;
+    *:AIX:2:3)
+	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
+		eval $set_cc_for_build
+		sed 's/^		//' << EOF >$dummy.c
+		#include <sys/systemcfg.h>
+
+		main()
+			{
+			if (!__power_pc())
+				exit(1);
+			puts("powerpc-ibm-aix3.2.5");
+			exit(0);
+			}
+EOF
+		if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
+		then
+			echo "$SYSTEM_NAME"
+		else
+			echo rs6000-ibm-aix3.2.5
+		fi
+	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+		echo rs6000-ibm-aix3.2.4
+	else
+		echo rs6000-ibm-aix3.2
+	fi
+	exit ;;
+    *:AIX:*:[456])
+	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
+	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
+		IBM_ARCH=rs6000
+	else
+		IBM_ARCH=powerpc
+	fi
+	if [ -x /usr/bin/oslevel ] ; then
+		IBM_REV=`/usr/bin/oslevel`
+	else
+		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+	fi
+	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
+	exit ;;
+    *:AIX:*:*)
+	echo rs6000-ibm-aix
+	exit ;;
+    ibmrt:4.4BSD:*|romp-ibm:BSD:*)
+	echo romp-ibm-bsd4.4
+	exit ;;
+    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
+	echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
+	exit ;;                             # report: romp-ibm BSD 4.3
+    *:BOSX:*:*)
+	echo rs6000-bull-bosx
+	exit ;;
+    DPX/2?00:B.O.S.:*:*)
+	echo m68k-bull-sysv3
+	exit ;;
+    9000/[34]??:4.3bsd:1.*:*)
+	echo m68k-hp-bsd
+	exit ;;
+    hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
+	echo m68k-hp-bsd4.4
+	exit ;;
+    9000/[34678]??:HP-UX:*:*)
+	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+	case "${UNAME_MACHINE}" in
+	    9000/31? )            HP_ARCH=m68000 ;;
+	    9000/[34]?? )         HP_ARCH=m68k ;;
+	    9000/[678][0-9][0-9])
+		if [ -x /usr/bin/getconf ]; then
+		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
+                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
+                    case "${sc_cpu_version}" in
+                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
+                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
+                      532)                      # CPU_PA_RISC2_0
+                        case "${sc_kernel_bits}" in
+                          32) HP_ARCH="hppa2.0n" ;;
+                          64) HP_ARCH="hppa2.0w" ;;
+			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
+                        esac ;;
+                    esac
+		fi
+		if [ "${HP_ARCH}" = "" ]; then
+		    eval $set_cc_for_build
+		    sed 's/^              //' << EOF >$dummy.c
+
+              #define _HPUX_SOURCE
+              #include <stdlib.h>
+              #include <unistd.h>
+
+              int main ()
+              {
+              #if defined(_SC_KERNEL_BITS)
+                  long bits = sysconf(_SC_KERNEL_BITS);
+              #endif
+                  long cpu  = sysconf (_SC_CPU_VERSION);
+
+                  switch (cpu)
+              	{
+              	case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
+              	case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
+              	case CPU_PA_RISC2_0:
+              #if defined(_SC_KERNEL_BITS)
+              	    switch (bits)
+              		{
+              		case 64: puts ("hppa2.0w"); break;
+              		case 32: puts ("hppa2.0n"); break;
+              		default: puts ("hppa2.0"); break;
+              		} break;
+              #else  /* !defined(_SC_KERNEL_BITS) */
+              	    puts ("hppa2.0"); break;
+              #endif
+              	default: puts ("hppa1.0"); break;
+              	}
+                  exit (0);
+              }
+EOF
+		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
+		    test -z "$HP_ARCH" && HP_ARCH=hppa
+		fi ;;
+	esac
+	if [ ${HP_ARCH} = "hppa2.0w" ]
+	then
+	    eval $set_cc_for_build
+
+	    # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
+	    # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler
+	    # generating 64-bit code.  GNU and HP use different nomenclature:
+	    #
+	    # $ CC_FOR_BUILD=cc ./config.guess
+	    # => hppa2.0w-hp-hpux11.23
+	    # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
+	    # => hppa64-hp-hpux11.23
+
+	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
+		grep __LP64__ >/dev/null
+	    then
+		HP_ARCH="hppa2.0w"
+	    else
+		HP_ARCH="hppa64"
+	    fi
+	fi
+	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
+	exit ;;
+    ia64:HP-UX:*:*)
+	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+	echo ia64-hp-hpux${HPUX_REV}
+	exit ;;
+    3050*:HI-UX:*:*)
+	eval $set_cc_for_build
+	sed 's/^	//' << EOF >$dummy.c
+	#include <unistd.h>
+	int
+	main ()
+	{
+	  long cpu = sysconf (_SC_CPU_VERSION);
+	  /* The order matters, because CPU_IS_HP_MC68K erroneously returns
+	     true for CPU_PA_RISC1_0.  CPU_IS_PA_RISC returns correct
+	     results, however.  */
+	  if (CPU_IS_PA_RISC (cpu))
+	    {
+	      switch (cpu)
+		{
+		  case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
+		  case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
+		  case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
+		  default: puts ("hppa-hitachi-hiuxwe2"); break;
+		}
+	    }
+	  else if (CPU_IS_HP_MC68K (cpu))
+	    puts ("m68k-hitachi-hiuxwe2");
+	  else puts ("unknown-hitachi-hiuxwe2");
+	  exit (0);
+	}
+EOF
+	$CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
+		{ echo "$SYSTEM_NAME"; exit; }
+	echo unknown-hitachi-hiuxwe2
+	exit ;;
+    9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
+	echo hppa1.1-hp-bsd
+	exit ;;
+    9000/8??:4.3bsd:*:*)
+	echo hppa1.0-hp-bsd
+	exit ;;
+    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
+	echo hppa1.0-hp-mpeix
+	exit ;;
+    hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
+	echo hppa1.1-hp-osf
+	exit ;;
+    hp8??:OSF1:*:*)
+	echo hppa1.0-hp-osf
+	exit ;;
+    i*86:OSF1:*:*)
+	if [ -x /usr/sbin/sysversion ] ; then
+	    echo ${UNAME_MACHINE}-unknown-osf1mk
+	else
+	    echo ${UNAME_MACHINE}-unknown-osf1
+	fi
+	exit ;;
+    parisc*:Lites*:*:*)
+	echo hppa1.1-hp-lites
+	exit ;;
+    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
+	echo c1-convex-bsd
+        exit ;;
+    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
+	if getsysinfo -f scalar_acc
+	then echo c32-convex-bsd
+	else echo c2-convex-bsd
+	fi
+        exit ;;
+    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
+	echo c34-convex-bsd
+        exit ;;
+    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
+	echo c38-convex-bsd
+        exit ;;
+    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
+	echo c4-convex-bsd
+        exit ;;
+    CRAY*Y-MP:*:*:*)
+	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+	exit ;;
+    CRAY*[A-Z]90:*:*:*)
+	echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
+	| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
+	      -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
+	      -e 's/\.[^.]*$/.X/'
+	exit ;;
+    CRAY*TS:*:*:*)
+	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+	exit ;;
+    CRAY*T3E:*:*:*)
+	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+	exit ;;
+    CRAY*SV1:*:*:*)
+	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+	exit ;;
+    *:UNICOS/mp:*:*)
+	echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+	exit ;;
+    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
+	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+        exit ;;
+    5000:UNIX_System_V:4.*:*)
+        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
+        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+	exit ;;
+    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
+	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
+	exit ;;
+    sparc*:BSD/OS:*:*)
+	echo sparc-unknown-bsdi${UNAME_RELEASE}
+	exit ;;
+    *:BSD/OS:*:*)
+	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
+	exit ;;
+    *:FreeBSD:*:*)
+	case ${UNAME_MACHINE} in
+	    pc98)
+		echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+	    amd64)
+		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+	    *)
+		echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+	esac
+	exit ;;
+    i*:CYGWIN*:*)
+	echo ${UNAME_MACHINE}-pc-cygwin
+	exit ;;
+    *:MINGW*:*)
+	echo ${UNAME_MACHINE}-pc-mingw32
+	exit ;;
+    i*:windows32*:*)
+    	# uname -m includes "-pc" on this system.
+    	echo ${UNAME_MACHINE}-mingw32
+	exit ;;
+    i*:PW*:*)
+	echo ${UNAME_MACHINE}-pc-pw32
+	exit ;;
+    *:Interix*:[3456]*)
+    	case ${UNAME_MACHINE} in
+	    x86)
+		echo i586-pc-interix${UNAME_RELEASE}
+		exit ;;
+	    EM64T | authenticamd | genuineintel)
+		echo x86_64-unknown-interix${UNAME_RELEASE}
+		exit ;;
+	    IA64)
+		echo ia64-unknown-interix${UNAME_RELEASE}
+		exit ;;
+	esac ;;
+    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
+	echo i${UNAME_MACHINE}-pc-mks
+	exit ;;
+    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
+	# How do we know it's Interix rather than the generic POSIX subsystem?
+	# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
+	# UNAME_MACHINE based on the output of uname instead of i386?
+	echo i586-pc-interix
+	exit ;;
+    i*:UWIN*:*)
+	echo ${UNAME_MACHINE}-pc-uwin
+	exit ;;
+    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
+	echo x86_64-unknown-cygwin
+	exit ;;
+    p*:CYGWIN*:*)
+	echo powerpcle-unknown-cygwin
+	exit ;;
+    prep*:SunOS:5.*:*)
+	echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+	exit ;;
+    *:GNU:*:*)
+	# the GNU system
+	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+	exit ;;
+    *:GNU/*:*:*)
+	# other systems with GNU libc and userland
+	echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
+	exit ;;
+    i*86:Minix:*:*)
+	echo ${UNAME_MACHINE}-pc-minix
+	exit ;;
+    arm*:Linux:*:*)
+	eval $set_cc_for_build
+	if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
+	    | grep -q __ARM_EABI__
+	then
+	    echo ${UNAME_MACHINE}-unknown-linux-gnu
+	else
+	    echo ${UNAME_MACHINE}-unknown-linux-gnueabi
+	fi
+	exit ;;
+    avr32*:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
+    cris:Linux:*:*)
+	echo cris-axis-linux-gnu
+	exit ;;
+    crisv32:Linux:*:*)
+	echo crisv32-axis-linux-gnu
+	exit ;;
+    frv:Linux:*:*)
+    	echo frv-unknown-linux-gnu
+	exit ;;
+    ia64:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
+    m32r*:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
+    m68*:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
+    mips:Linux:*:*)
+	eval $set_cc_for_build
+	sed 's/^	//' << EOF >$dummy.c
+	#undef CPU
+	#undef mips
+	#undef mipsel
+	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
+	CPU=mipsel
+	#else
+	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
+	CPU=mips
+	#else
+	CPU=
+	#endif
+	#endif
+EOF
+	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
+	    /^CPU/{
+		s: ::g
+		p
+	    }'`"
+	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
+	;;
+    mips64:Linux:*:*)
+	eval $set_cc_for_build
+	sed 's/^	//' << EOF >$dummy.c
+	#undef CPU
+	#undef mips64
+	#undef mips64el
+	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
+	CPU=mips64el
+	#else
+	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
+	CPU=mips64
+	#else
+	CPU=
+	#endif
+	#endif
+EOF
+	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
+	    /^CPU/{
+		s: ::g
+		p
+	    }'`"
+	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
+	;;
+    or32:Linux:*:*)
+	echo or32-unknown-linux-gnu
+	exit ;;
+    ppc:Linux:*:*)
+	echo powerpc-unknown-linux-gnu
+	exit ;;
+    ppc64:Linux:*:*)
+	echo powerpc64-unknown-linux-gnu
+	exit ;;
+    alpha:Linux:*:*)
+	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+	  EV5)   UNAME_MACHINE=alphaev5 ;;
+	  EV56)  UNAME_MACHINE=alphaev56 ;;
+	  PCA56) UNAME_MACHINE=alphapca56 ;;
+	  PCA57) UNAME_MACHINE=alphapca56 ;;
+	  EV6)   UNAME_MACHINE=alphaev6 ;;
+	  EV67)  UNAME_MACHINE=alphaev67 ;;
+	  EV68*) UNAME_MACHINE=alphaev68 ;;
+        esac
+	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
+	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
+	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
+	exit ;;
+    padre:Linux:*:*)
+	echo sparc-unknown-linux-gnu
+	exit ;;
+    parisc:Linux:*:* | hppa:Linux:*:*)
+	# Look for CPU level
+	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
+	  PA7*) echo hppa1.1-unknown-linux-gnu ;;
+	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
+	  *)    echo hppa-unknown-linux-gnu ;;
+	esac
+	exit ;;
+    parisc64:Linux:*:* | hppa64:Linux:*:*)
+	echo hppa64-unknown-linux-gnu
+	exit ;;
+    s390:Linux:*:* | s390x:Linux:*:*)
+	echo ${UNAME_MACHINE}-ibm-linux
+	exit ;;
+    sh64*:Linux:*:*)
+    	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
+    sh*:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
+    sparc:Linux:*:* | sparc64:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
+    vax:Linux:*:*)
+	echo ${UNAME_MACHINE}-dec-linux-gnu
+	exit ;;
+    x86_64:Linux:*:*)
+	echo x86_64-unknown-linux-gnu
+	exit ;;
+    xtensa*:Linux:*:*)
+    	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
+    i*86:Linux:*:*)
+	# The BFD linker knows what the default object file format is, so
+	# first see if it will tell us. cd to the root directory to prevent
+	# problems with other programs or directories called `ld' in the path.
+	# Set LC_ALL=C to ensure ld outputs messages in English.
+	ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
+			 | sed -ne '/supported targets:/!d
+				    s/[ 	][ 	]*/ /g
+				    s/.*supported targets: *//
+				    s/ .*//
+				    p'`
+        case "$ld_supported_targets" in
+	  elf32-i386)
+		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
+		;;
+	  a.out-i386-linux)
+		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
+		exit ;;
+	  "")
+		# Either a pre-BFD a.out linker (linux-gnuoldld) or
+		# one that does not give us useful --help.
+		echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
+		exit ;;
+	esac
+	# Determine whether the default compiler is a.out or elf
+	eval $set_cc_for_build
+	sed 's/^	//' << EOF >$dummy.c
+	#include <features.h>
+	#ifdef __ELF__
+	# ifdef __GLIBC__
+	#  if __GLIBC__ >= 2
+	LIBC=gnu
+	#  else
+	LIBC=gnulibc1
+	#  endif
+	# else
+	LIBC=gnulibc1
+	# endif
+	#else
+	#if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
+	LIBC=gnu
+	#else
+	LIBC=gnuaout
+	#endif
+	#endif
+	#ifdef __dietlibc__
+	LIBC=dietlibc
+	#endif
+EOF
+	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
+	    /^LIBC/{
+		s: ::g
+		p
+	    }'`"
+	test x"${LIBC}" != x && {
+		echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
+		exit
+	}
+	test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
+	;;
+    i*86:DYNIX/ptx:4*:*)
+	# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
+	# earlier versions are messed up and put the nodename in both
+	# sysname and nodename.
+	echo i386-sequent-sysv4
+	exit ;;
+    i*86:UNIX_SV:4.2MP:2.*)
+        # Unixware is an offshoot of SVR4, but it has its own version
+        # number series starting with 2...
+        # I am not positive that other SVR4 systems won't match this,
+	# I just have to hope.  -- rms.
+        # Use sysv4.2uw... so that sysv4* matches it.
+	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
+	exit ;;
+    i*86:OS/2:*:*)
+	# If we were able to find `uname', then EMX Unix compatibility
+	# is probably installed.
+	echo ${UNAME_MACHINE}-pc-os2-emx
+	exit ;;
+    i*86:XTS-300:*:STOP)
+	echo ${UNAME_MACHINE}-unknown-stop
+	exit ;;
+    i*86:atheos:*:*)
+	echo ${UNAME_MACHINE}-unknown-atheos
+	exit ;;
+    i*86:syllable:*:*)
+	echo ${UNAME_MACHINE}-pc-syllable
+	exit ;;
+    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+	echo i386-unknown-lynxos${UNAME_RELEASE}
+	exit ;;
+    i*86:*DOS:*:*)
+	echo ${UNAME_MACHINE}-pc-msdosdjgpp
+	exit ;;
+    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
+	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
+	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
+		echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
+	else
+		echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
+	fi
+	exit ;;
+    i*86:*:5:[678]*)
+    	# UnixWare 7.x, OpenUNIX and OpenServer 6.
+	case `/bin/uname -X | grep "^Machine"` in
+	    *486*)	     UNAME_MACHINE=i486 ;;
+	    *Pentium)	     UNAME_MACHINE=i586 ;;
+	    *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
+	esac
+	echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
+	exit ;;
+    i*86:*:3.2:*)
+	if test -f /usr/options/cb.name; then
+		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
+		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
+	elif /bin/uname -X 2>/dev/null >/dev/null ; then
+		UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
+		(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
+		(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
+			&& UNAME_MACHINE=i586
+		(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
+			&& UNAME_MACHINE=i686
+		(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
+			&& UNAME_MACHINE=i686
+		echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
+	else
+		echo ${UNAME_MACHINE}-pc-sysv32
+	fi
+	exit ;;
+    pc:*:*:*)
+	# Left here for compatibility:
+        # uname -m prints for DJGPP always 'pc', but it prints nothing about
+        # the processor, so we play safe by assuming i386.
+	echo i386-pc-msdosdjgpp
+        exit ;;
+    Intel:Mach:3*:*)
+	echo i386-pc-mach3
+	exit ;;
+    paragon:*:*:*)
+	echo i860-intel-osf1
+	exit ;;
+    i860:*:4.*:*) # i860-SVR4
+	if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
+	  echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
+	else # Add other i860-SVR4 vendors below as they are discovered.
+	  echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
+	fi
+	exit ;;
+    mini*:CTIX:SYS*5:*)
+	# "miniframe"
+	echo m68010-convergent-sysv
+	exit ;;
+    mc68k:UNIX:SYSTEM5:3.51m)
+	echo m68k-convergent-sysv
+	exit ;;
+    M680?0:D-NIX:5.3:*)
+	echo m68k-diab-dnix
+	exit ;;
+    M68*:*:R3V[5678]*:*)
+	test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
+    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
+	OS_REL=''
+	test -r /etc/.relid \
+	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+	  && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
+	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+	  && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
+    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
+        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+          && { echo i486-ncr-sysv4; exit; } ;;
+    NCR*:*:4.2:* | MPRAS*:*:4.2:*)
+	OS_REL='.3'
+	test -r /etc/.relid \
+	    && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+	    && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
+	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+	    && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
+	/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
+	    && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
+    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
+	echo m68k-unknown-lynxos${UNAME_RELEASE}
+	exit ;;
+    mc68030:UNIX_System_V:4.*:*)
+	echo m68k-atari-sysv4
+	exit ;;
+    TSUNAMI:LynxOS:2.*:*)
+	echo sparc-unknown-lynxos${UNAME_RELEASE}
+	exit ;;
+    rs6000:LynxOS:2.*:*)
+	echo rs6000-unknown-lynxos${UNAME_RELEASE}
+	exit ;;
+    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
+	echo powerpc-unknown-lynxos${UNAME_RELEASE}
+	exit ;;
+    SM[BE]S:UNIX_SV:*:*)
+	echo mips-dde-sysv${UNAME_RELEASE}
+	exit ;;
+    RM*:ReliantUNIX-*:*:*)
+	echo mips-sni-sysv4
+	exit ;;
+    RM*:SINIX-*:*:*)
+	echo mips-sni-sysv4
+	exit ;;
+    *:SINIX-*:*:*)
+	if uname -p 2>/dev/null >/dev/null ; then
+		UNAME_MACHINE=`(uname -p) 2>/dev/null`
+		echo ${UNAME_MACHINE}-sni-sysv4
+	else
+		echo ns32k-sni-sysv
+	fi
+	exit ;;
+    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+                      # says <Richard.M.Bartel@ccMail.Census.GOV>
+        echo i586-unisys-sysv4
+        exit ;;
+    *:UNIX_System_V:4*:FTX*)
+	# From Gerald Hewes <hewes@openmarket.com>.
+	# How about differentiating between stratus architectures? -djm
+	echo hppa1.1-stratus-sysv4
+	exit ;;
+    *:*:*:FTX*)
+	# From seanf@swdc.stratus.com.
+	echo i860-stratus-sysv4
+	exit ;;
+    i*86:VOS:*:*)
+	# From Paul.Green@stratus.com.
+	echo ${UNAME_MACHINE}-stratus-vos
+	exit ;;
+    *:VOS:*:*)
+	# From Paul.Green@stratus.com.
+	echo hppa1.1-stratus-vos
+	exit ;;
+    mc68*:A/UX:*:*)
+	echo m68k-apple-aux${UNAME_RELEASE}
+	exit ;;
+    news*:NEWS-OS:6*:*)
+	echo mips-sony-newsos6
+	exit ;;
+    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
+	if [ -d /usr/nec ]; then
+	        echo mips-nec-sysv${UNAME_RELEASE}
+	else
+	        echo mips-unknown-sysv${UNAME_RELEASE}
+	fi
+        exit ;;
+    BeBox:BeOS:*:*)	# BeOS running on hardware made by Be, PPC only.
+	echo powerpc-be-beos
+	exit ;;
+    BeMac:BeOS:*:*)	# BeOS running on Mac or Mac clone, PPC only.
+	echo powerpc-apple-beos
+	exit ;;
+    BePC:BeOS:*:*)	# BeOS running on Intel PC compatible.
+	echo i586-pc-beos
+	exit ;;
+    BePC:Haiku:*:*)	# Haiku running on Intel PC compatible.
+	echo i586-pc-haiku
+	exit ;;
+    SX-4:SUPER-UX:*:*)
+	echo sx4-nec-superux${UNAME_RELEASE}
+	exit ;;
+    SX-5:SUPER-UX:*:*)
+	echo sx5-nec-superux${UNAME_RELEASE}
+	exit ;;
+    SX-6:SUPER-UX:*:*)
+	echo sx6-nec-superux${UNAME_RELEASE}
+	exit ;;
+    SX-7:SUPER-UX:*:*)
+	echo sx7-nec-superux${UNAME_RELEASE}
+	exit ;;
+    SX-8:SUPER-UX:*:*)
+	echo sx8-nec-superux${UNAME_RELEASE}
+	exit ;;
+    SX-8R:SUPER-UX:*:*)
+	echo sx8r-nec-superux${UNAME_RELEASE}
+	exit ;;
+    Power*:Rhapsody:*:*)
+	echo powerpc-apple-rhapsody${UNAME_RELEASE}
+	exit ;;
+    *:Rhapsody:*:*)
+	echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
+	exit ;;
+    *:Darwin:*:*)
+	UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
+	case $UNAME_PROCESSOR in
+	    unknown) UNAME_PROCESSOR=powerpc ;;
+	esac
+	echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
+	exit ;;
+    *:procnto*:*:* | *:QNX:[0123456789]*:*)
+	UNAME_PROCESSOR=`uname -p`
+	if test "$UNAME_PROCESSOR" = "x86"; then
+		UNAME_PROCESSOR=i386
+		UNAME_MACHINE=pc
+	fi
+	echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
+	exit ;;
+    *:QNX:*:4*)
+	echo i386-pc-qnx
+	exit ;;
+    NSE-?:NONSTOP_KERNEL:*:*)
+	echo nse-tandem-nsk${UNAME_RELEASE}
+	exit ;;
+    NSR-?:NONSTOP_KERNEL:*:*)
+	echo nsr-tandem-nsk${UNAME_RELEASE}
+	exit ;;
+    *:NonStop-UX:*:*)
+	echo mips-compaq-nonstopux
+	exit ;;
+    BS2000:POSIX*:*:*)
+	echo bs2000-siemens-sysv
+	exit ;;
+    DS/*:UNIX_System_V:*:*)
+	echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
+	exit ;;
+    *:Plan9:*:*)
+	# "uname -m" is not consistent, so use $cputype instead. 386
+	# is converted to i386 for consistency with other x86
+	# operating systems.
+	if test "$cputype" = "386"; then
+	    UNAME_MACHINE=i386
+	else
+	    UNAME_MACHINE="$cputype"
+	fi
+	echo ${UNAME_MACHINE}-unknown-plan9
+	exit ;;
+    *:TOPS-10:*:*)
+	echo pdp10-unknown-tops10
+	exit ;;
+    *:TENEX:*:*)
+	echo pdp10-unknown-tenex
+	exit ;;
+    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
+	echo pdp10-dec-tops20
+	exit ;;
+    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
+	echo pdp10-xkl-tops20
+	exit ;;
+    *:TOPS-20:*:*)
+	echo pdp10-unknown-tops20
+	exit ;;
+    *:ITS:*:*)
+	echo pdp10-unknown-its
+	exit ;;
+    SEI:*:*:SEIUX)
+        echo mips-sei-seiux${UNAME_RELEASE}
+	exit ;;
+    *:DragonFly:*:*)
+	echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+	exit ;;
+    *:*VMS:*:*)
+    	UNAME_MACHINE=`(uname -p) 2>/dev/null`
+	case "${UNAME_MACHINE}" in
+	    A*) echo alpha-dec-vms ; exit ;;
+	    I*) echo ia64-dec-vms ; exit ;;
+	    V*) echo vax-dec-vms ; exit ;;
+	esac ;;
+    *:XENIX:*:SysV)
+	echo i386-pc-xenix
+	exit ;;
+    i*86:skyos:*:*)
+	echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
+	exit ;;
+    i*86:rdos:*:*)
+	echo ${UNAME_MACHINE}-pc-rdos
+	exit ;;
+    i*86:AROS:*:*)
+	echo ${UNAME_MACHINE}-pc-aros
+	exit ;;
+esac
+
+#echo '(No uname command or uname output not recognized.)' 1>&2
+#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
+
+eval $set_cc_for_build
+cat >$dummy.c <<EOF
+#ifdef _SEQUENT_
+# include <sys/types.h>
+# include <sys/utsname.h>
+#endif
+main ()
+{
+#if defined (sony)
+#if defined (MIPSEB)
+  /* BFD wants "bsd" instead of "newsos".  Perhaps BFD should be changed,
+     I don't know....  */
+  printf ("mips-sony-bsd\n"); exit (0);
+#else
+#include <sys/param.h>
+  printf ("m68k-sony-newsos%s\n",
+#ifdef NEWSOS4
+          "4"
+#else
+	  ""
+#endif
+         ); exit (0);
+#endif
+#endif
+
+#if defined (__arm) && defined (__acorn) && defined (__unix)
+  printf ("arm-acorn-riscix\n"); exit (0);
+#endif
+
+#if defined (hp300) && !defined (hpux)
+  printf ("m68k-hp-bsd\n"); exit (0);
+#endif
+
+#if defined (NeXT)
+#if !defined (__ARCHITECTURE__)
+#define __ARCHITECTURE__ "m68k"
+#endif
+  int version;
+  version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
+  if (version < 4)
+    printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
+  else
+    printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
+  exit (0);
+#endif
+
+#if defined (MULTIMAX) || defined (n16)
+#if defined (UMAXV)
+  printf ("ns32k-encore-sysv\n"); exit (0);
+#else
+#if defined (CMU)
+  printf ("ns32k-encore-mach\n"); exit (0);
+#else
+  printf ("ns32k-encore-bsd\n"); exit (0);
+#endif
+#endif
+#endif
+
+#if defined (__386BSD__)
+  printf ("i386-pc-bsd\n"); exit (0);
+#endif
+
+#if defined (sequent)
+#if defined (i386)
+  printf ("i386-sequent-dynix\n"); exit (0);
+#endif
+#if defined (ns32000)
+  printf ("ns32k-sequent-dynix\n"); exit (0);
+#endif
+#endif
+
+#if defined (_SEQUENT_)
+    struct utsname un;
+
+    uname(&un);
+
+    if (strncmp(un.version, "V2", 2) == 0) {
+	printf ("i386-sequent-ptx2\n"); exit (0);
+    }
+    if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
+	printf ("i386-sequent-ptx1\n"); exit (0);
+    }
+    printf ("i386-sequent-ptx\n"); exit (0);
+
+#endif
+
+#if defined (vax)
+# if !defined (ultrix)
+#  include <sys/param.h>
+#  if defined (BSD)
+#   if BSD == 43
+      printf ("vax-dec-bsd4.3\n"); exit (0);
+#   else
+#    if BSD == 199006
+      printf ("vax-dec-bsd4.3reno\n"); exit (0);
+#    else
+      printf ("vax-dec-bsd\n"); exit (0);
+#    endif
+#   endif
+#  else
+    printf ("vax-dec-bsd\n"); exit (0);
+#  endif
+# else
+    printf ("vax-dec-ultrix\n"); exit (0);
+# endif
+#endif
+
+#if defined (alliant) && defined (i860)
+  printf ("i860-alliant-bsd\n"); exit (0);
+#endif
+
+  exit (1);
+}
+EOF
+
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
+	{ echo "$SYSTEM_NAME"; exit; }
+
+# Apollos put the system type in the environment.
+
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
+
+# Convex versions that predate uname can use getsysinfo(1)
+
+if [ -x /usr/convex/getsysinfo ]
+then
+    case `getsysinfo -f cpu_type` in
+    c1*)
+	echo c1-convex-bsd
+	exit ;;
+    c2*)
+	if getsysinfo -f scalar_acc
+	then echo c32-convex-bsd
+	else echo c2-convex-bsd
+	fi
+	exit ;;
+    c34*)
+	echo c34-convex-bsd
+	exit ;;
+    c38*)
+	echo c38-convex-bsd
+	exit ;;
+    c4*)
+	echo c4-convex-bsd
+	exit ;;
+    esac
+fi
+
+cat >&2 <<EOF
+$0: unable to guess system type
+
+This script, last modified $timestamp, has failed to recognize
+the operating system you are using. It is advised that you
+download the most up to date version of the config scripts from
+
+  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
+and
+  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
+
+If the version you run ($0) is already up to date, please
+send the following data and any information you think might be
+pertinent to <config-patches@gnu.org> in order to provide the needed
+information to handle your system.
+
+config.guess timestamp = $timestamp
+
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
+/bin/uname -X     = `(/bin/uname -X) 2>/dev/null`
+
+hostinfo               = `(hostinfo) 2>/dev/null`
+/bin/universe          = `(/bin/universe) 2>/dev/null`
+/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null`
+/bin/arch              = `(/bin/arch) 2>/dev/null`
+/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
+
+UNAME_MACHINE = ${UNAME_MACHINE}
+UNAME_RELEASE = ${UNAME_RELEASE}
+UNAME_SYSTEM  = ${UNAME_SYSTEM}
+UNAME_VERSION = ${UNAME_VERSION}
+EOF
+
+exit 1
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "timestamp='"
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "'"
+# End:
diff --git a/build-aux/config.libpath b/build-aux/config.libpath
new file mode 100755
index 0000000..5294b29
--- /dev/null
+++ b/build-aux/config.libpath
@@ -0,0 +1,152 @@
+#! /bin/sh
+# Output a system dependent set of variables, describing how to set the
+# run time search path of shared libraries in an executable at run time.
+#
+#   Copyright 1996-2011 Free Software Foundation, Inc.
+#   Taken from GNU libtool, 2003
+#   Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+#
+#   This program is free software: you can redistribute it and/or modify
+#   it under the terms of the GNU General Public License as published by
+#   the Free Software Foundation; either version 3 of the License, or
+#   (at your option) any later version.
+#
+#   This program is distributed in the hope that it will be useful,
+#   but WITHOUT ANY WARRANTY; without even the implied warranty of
+#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#   GNU General Public License for more details.
+#
+#   You should have received a copy of the GNU General Public License
+#   along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+#   As a special exception to the GNU General Public License, if you
+#   distribute this file as part of a program that contains a
+#   configuration script generated by Autoconf, you may include it under
+#   the same distribution terms that you use for the rest of that program.
+#
+# The first argument passed to this file is the canonical host specification,
+#    CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
+# or
+#    CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
+# The environment variable LD should be set by the caller.
+#
+# The set of defined variables is at the end of this script.
+
+host="$1"
+host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+
+shlibpath_var=
+case $host_os in
+  aix3*)
+    shlibpath_var=LIBPATH
+    ;;
+  aix[4-9]*)
+    if test "$host_cpu" = ia64; then
+      # AIX 5 supports IA64
+      shlibpath_var=LD_LIBRARY_PATH
+    else
+      shlibpath_var=LIBPATH
+    fi
+    ;;
+  beos*)
+    shlibpath_var=LIBRARY_PATH
+    ;;
+  bsdi[45]*)
+    shlibpath_var=LD_LIBRARY_PATH
+    ;;
+  cygwin* | mingw* | pw32* | cegcc*)
+    # FIXME: first we should search . and the directory the executable is in
+    shlibpath_var=PATH
+    ;;
+  darwin* | rhapsody*)
+    shlibpath_var=DYLD_LIBRARY_PATH
+    ;;
+  dgux*)
+    shlibpath_var=LD_LIBRARY_PATH
+    ;;
+  freebsd* | dragonfly*)
+    shlibpath_var=LD_LIBRARY_PATH
+    ;;
+  gnu*)
+    shlibpath_var=LD_LIBRARY_PATH
+    ;;
+  hpux9* | hpux10* | hpux11*)
+    case "$host_cpu" in
+      ia64* | hppa*64*) shlibpath_var=LD_LIBRARY_PATH ;;
+      *) shlibpath_var=SHLIB_PATH ;;
+    esac
+    ;;
+  interix[3-9]*)
+    shlibpath_var=LD_LIBRARY_PATH
+    ;;
+  irix5* | irix6* | nonstopux*)
+    case $host_os in
+      irix5* | nonstopux*)
+        shlibsuff=
+        ;;
+      *)
+        case $LD in # libtool.m4 will add one of these switches to LD
+          *-32|*"-32 ") shlibsuff= ;;
+          *-n32|*"-n32 ") shlibsuff=N32 ;;
+          *-64|*"-64 ") shlibsuff=64 ;;
+          *) shlibsuff= ;;
+        esac
+        ;;
+    esac
+    shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+    ;;
+  linux*oldld* | linux*aout* | linux*coff*)
+    ;;
+  linux* | k*bsd*-gnu)
+    shlibpath_var=LD_LIBRARY_PATH
+    ;;
+  netbsd*)
+    shlibpath_var=LD_LIBRARY_PATH
+    ;;
+  newsos6)
+    shlibpath_var=LD_LIBRARY_PATH
+    ;;
+  nto-qnx*)
+    shlibpath_var=LD_LIBRARY_PATH
+    ;;
+  openbsd*)
+    shlibpath_var=LD_LIBRARY_PATH
+    ;;
+  os2*)
+    shlibpath_var=LIBPATH
+    ;;
+  osf3* | osf4* | osf5*)
+    shlibpath_var=LD_LIBRARY_PATH
+    ;;
+  rdos*)
+    ;;
+  solaris*)
+    shlibpath_var=LD_LIBRARY_PATH
+    ;;
+  sunos4*)
+    shlibpath_var=LD_LIBRARY_PATH
+    ;;
+  sysv4 | sysv4.3*)
+    shlibpath_var=LD_LIBRARY_PATH
+    ;;
+  sysv4*MP*)
+    if test -d /usr/nec ;then
+      shlibpath_var=LD_LIBRARY_PATH
+    fi
+    ;;
+  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+    shlibpath_var=LD_LIBRARY_PATH
+    ;;
+  uts4*)
+    shlibpath_var=LD_LIBRARY_PATH
+    ;;
+esac
+
+LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
+
+# This is the shared library path variable.
+shlibpath_var=$shlibpath_var
+
+EOF
diff --git a/build-aux/config.rpath b/build-aux/config.rpath
new file mode 100755
index 0000000..8bd7f5d
--- /dev/null
+++ b/build-aux/config.rpath
@@ -0,0 +1,690 @@
+#! /bin/sh
+# Output a system dependent set of variables, describing how to set the
+# run time search path of shared libraries in an executable.
+#
+#   Copyright 1996-2011 Free Software Foundation, Inc.
+#   Taken from GNU libtool, 2001
+#   Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+#
+#   This file is free software; the Free Software Foundation gives
+#   unlimited permission to copy and/or distribute it, with or without
+#   modifications, as long as this notice is preserved.
+#
+# The first argument passed to this file is the canonical host specification,
+#    CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
+# or
+#    CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
+# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
+# should be set by the caller.
+#
+# The set of defined variables is at the end of this script.
+
+# Known limitations:
+# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
+#   than 256 bytes, otherwise the compiler driver will dump core. The only
+#   known workaround is to choose shorter directory names for the build
+#   directory and/or the installation directory.
+
+# All known linkers require a `.a' archive for static linking (except MSVC,
+# which needs '.lib').
+libext=a
+shrext=.so
+
+host="$1"
+host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+
+# Code taken from libtool.m4's _LT_CC_BASENAME.
+
+for cc_temp in $CC""; do
+  case $cc_temp in
+    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
+    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
+    \-*) ;;
+    *) break;;
+  esac
+done
+cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
+
+# Code taken from libtool.m4's _LT_COMPILER_PIC.
+
+wl=
+if test "$GCC" = yes; then
+  wl='-Wl,'
+else
+  case "$host_os" in
+    aix*)
+      wl='-Wl,'
+      ;;
+    mingw* | cygwin* | pw32* | os2* | cegcc*)
+      ;;
+    hpux9* | hpux10* | hpux11*)
+      wl='-Wl,'
+      ;;
+    irix5* | irix6* | nonstopux*)
+      wl='-Wl,'
+      ;;
+    linux* | k*bsd*-gnu | kopensolaris*-gnu)
+      case $cc_basename in
+        ecc*)
+          wl='-Wl,'
+          ;;
+        icc* | ifort*)
+          wl='-Wl,'
+          ;;
+        lf95*)
+          wl='-Wl,'
+          ;;
+        nagfor*)
+          wl='-Wl,-Wl,,'
+          ;;
+        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+          wl='-Wl,'
+          ;;
+        ccc*)
+          wl='-Wl,'
+          ;;
+        xl* | bgxl* | bgf* | mpixl*)
+          wl='-Wl,'
+          ;;
+        como)
+          wl='-lopt='
+          ;;
+        *)
+          case `$CC -V 2>&1 | sed 5q` in
+            *Sun\ F* | *Sun*Fortran*)
+              wl=
+              ;;
+            *Sun\ C*)
+              wl='-Wl,'
+              ;;
+          esac
+          ;;
+      esac
+      ;;
+    newsos6)
+      ;;
+    *nto* | *qnx*)
+      ;;
+    osf3* | osf4* | osf5*)
+      wl='-Wl,'
+      ;;
+    rdos*)
+      ;;
+    solaris*)
+      case $cc_basename in
+        f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
+          wl='-Qoption ld '
+          ;;
+        *)
+          wl='-Wl,'
+          ;;
+      esac
+      ;;
+    sunos4*)
+      wl='-Qoption ld '
+      ;;
+    sysv4 | sysv4.2uw2* | sysv4.3*)
+      wl='-Wl,'
+      ;;
+    sysv4*MP*)
+      ;;
+    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+      wl='-Wl,'
+      ;;
+    unicos*)
+      wl='-Wl,'
+      ;;
+    uts4*)
+      ;;
+  esac
+fi
+
+# Code taken from libtool.m4's _LT_LINKER_SHLIBS.
+
+hardcode_libdir_flag_spec=
+hardcode_libdir_separator=
+hardcode_direct=no
+hardcode_minus_L=no
+
+case "$host_os" in
+  cygwin* | mingw* | pw32* | cegcc*)
+    # FIXME: the MSVC++ port hasn't been tested in a loooong time
+    # When not using gcc, we currently assume that we are using
+    # Microsoft Visual C++.
+    if test "$GCC" != yes; then
+      with_gnu_ld=no
+    fi
+    ;;
+  interix*)
+    # we just hope/assume this is gcc and not c89 (= MSVC++)
+    with_gnu_ld=yes
+    ;;
+  openbsd*)
+    with_gnu_ld=no
+    ;;
+esac
+
+ld_shlibs=yes
+if test "$with_gnu_ld" = yes; then
+  # Set some defaults for GNU ld with shared library support. These
+  # are reset later if shared libraries are not supported. Putting them
+  # here allows them to be overridden if necessary.
+  # Unlike libtool, we use -rpath here, not --rpath, since the documented
+  # option of GNU ld is called -rpath, not --rpath.
+  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+  case "$host_os" in
+    aix[3-9]*)
+      # On AIX/PPC, the GNU linker is very broken
+      if test "$host_cpu" != ia64; then
+        ld_shlibs=no
+      fi
+      ;;
+    amigaos*)
+      case "$host_cpu" in
+        powerpc)
+          ;;
+        m68k)
+          hardcode_libdir_flag_spec='-L$libdir'
+          hardcode_minus_L=yes
+          ;;
+      esac
+      ;;
+    beos*)
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+        :
+      else
+        ld_shlibs=no
+      fi
+      ;;
+    cygwin* | mingw* | pw32* | cegcc*)
+      # hardcode_libdir_flag_spec is actually meaningless, as there is
+      # no search path for DLLs.
+      hardcode_libdir_flag_spec='-L$libdir'
+      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
+        :
+      else
+        ld_shlibs=no
+      fi
+      ;;
+    haiku*)
+      ;;
+    interix[3-9]*)
+      hardcode_direct=no
+      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+      ;;
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+        :
+      else
+        ld_shlibs=no
+      fi
+      ;;
+    netbsd*)
+      ;;
+    solaris*)
+      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
+        ld_shlibs=no
+      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+        :
+      else
+        ld_shlibs=no
+      fi
+      ;;
+    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
+      case `$LD -v 2>&1` in
+        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
+          ld_shlibs=no
+          ;;
+        *)
+          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
+          else
+            ld_shlibs=no
+          fi
+          ;;
+      esac
+      ;;
+    sunos4*)
+      hardcode_direct=yes
+      ;;
+    *)
+      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+        :
+      else
+        ld_shlibs=no
+      fi
+      ;;
+  esac
+  if test "$ld_shlibs" = no; then
+    hardcode_libdir_flag_spec=
+  fi
+else
+  case "$host_os" in
+    aix3*)
+      # Note: this linker hardcodes the directories in LIBPATH if there
+      # are no directories specified by -L.
+      hardcode_minus_L=yes
+      if test "$GCC" = yes; then
+        # Neither direct hardcoding nor static linking is supported with a
+        # broken collect2.
+        hardcode_direct=unsupported
+      fi
+      ;;
+    aix[4-9]*)
+      if test "$host_cpu" = ia64; then
+        # On IA64, the linker does run time linking by default, so we don't
+        # have to do anything special.
+        aix_use_runtimelinking=no
+      else
+        aix_use_runtimelinking=no
+        # Test if we are trying to use run time linking or normal
+        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+        # need to do runtime linking.
+        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
+          for ld_flag in $LDFLAGS; do
+            if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
+              aix_use_runtimelinking=yes
+              break
+            fi
+          done
+          ;;
+        esac
+      fi
+      hardcode_direct=yes
+      hardcode_libdir_separator=':'
+      if test "$GCC" = yes; then
+        case $host_os in aix4.[012]|aix4.[012].*)
+          collect2name=`${CC} -print-prog-name=collect2`
+          if test -f "$collect2name" && \
+            strings "$collect2name" | grep resolve_lib_name >/dev/null
+          then
+            # We have reworked collect2
+            :
+          else
+            # We have old collect2
+            hardcode_direct=unsupported
+            hardcode_minus_L=yes
+            hardcode_libdir_flag_spec='-L$libdir'
+            hardcode_libdir_separator=
+          fi
+          ;;
+        esac
+      fi
+      # Begin _LT_AC_SYS_LIBPATH_AIX.
+      echo 'int main () { return 0; }' > conftest.c
+      ${CC} ${LDFLAGS} conftest.c -o conftest
+      aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
+}'`
+      if test -z "$aix_libpath"; then
+        aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
+}'`
+      fi
+      if test -z "$aix_libpath"; then
+        aix_libpath="/usr/lib:/lib"
+      fi
+      rm -f conftest.c conftest
+      # End _LT_AC_SYS_LIBPATH_AIX.
+      if test "$aix_use_runtimelinking" = yes; then
+        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+      else
+        if test "$host_cpu" = ia64; then
+          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
+        else
+          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+        fi
+      fi
+      ;;
+    amigaos*)
+      cas