mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-28 06:40:43 +00:00
libiconv-59
This commit is contained in:
parent
d6a57cdcc6
commit
0c47e3f840
@ -1,4 +0,0 @@
|
||||
#define ENABLE_EXTRA 1
|
||||
#define ENABLE_RELOCATABLE 1
|
||||
#define HAVE_UNISTD_H 1
|
||||
#define HAVE_LANGINFO_CODESET 1
|
@ -1,6 +0,0 @@
|
||||
#define DLL_VARIABLE
|
||||
#define EXEEXT ""
|
||||
#define relocate libiconv_relocate
|
||||
#define set_relocation_prefix libiconv_set_relocation_prefix
|
||||
#define LIBDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/darling"
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
#if @HAVE_VISIBILITY@ && BUILDING_LIBICONV
|
||||
#define LIBICONV_DLL_EXPORTED __attribute__((__visibility__("default")))
|
||||
#else
|
||||
#define LIBICONV_DLL_EXPORTED
|
||||
#endif
|
1
src/libiconv/install/libcharset.txt
Symbolic link
1
src/libiconv/install/libcharset.txt
Symbolic link
@ -0,0 +1 @@
|
||||
../libiconv/libcharset/COPYING.LIB
|
1
src/libiconv/install/libiconv.txt
Symbolic link
1
src/libiconv/install/libiconv.txt
Symbolic link
@ -0,0 +1 @@
|
||||
../libiconv/COPYING.LIB
|
35
src/libiconv/libiconv.plist
Normal file
35
src/libiconv/libiconv.plist
Normal file
@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<array>
|
||||
<dict>
|
||||
<key>OpenSourceImportDate</key>
|
||||
<string>2007-02-11</string>
|
||||
<key>OpenSourceLicense</key>
|
||||
<string>LGPL</string>
|
||||
<key>OpenSourceLicenseFile</key>
|
||||
<string>libiconv.txt</string>
|
||||
<key>OpenSourceModifications</key>
|
||||
<array>
|
||||
<string>changes to build under XBS</string>
|
||||
<string>4740335 - MacRoman with Euro</string>
|
||||
<string>4468207 - convert apple icon</string>
|
||||
<string>add macutf8</string>
|
||||
<string>UNIX2003 changes</string>
|
||||
<string>do not inline gperf lookup functions (12056452)</string>
|
||||
<string>lib/loop_wchar.h: 2cf3ee65d04ac4e41e29aa7526361ec3f20f5e29</string>
|
||||
<string>lib/loop_unicode.h: bb8f7987b00e303f690b59eb62c8eede974c2dd1, and supporting lib/converters.h changes. (23050414)
|
||||
</array>
|
||||
<key>OpenSourceProject</key>
|
||||
<string>libiconv</string>
|
||||
<key>OpenSourceSHA1</key>
|
||||
<string>df09c3ef43443ac15c0c2d49fd791aa73a64bf30</string>
|
||||
<key>OpenSourceURL</key>
|
||||
<string>http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.11.tar.gz</string>
|
||||
<key>OpenSourceVersion</key>
|
||||
<string>1.11</string>
|
||||
<key>OpenSourceWebsiteURL</key>
|
||||
<string>http://www.gnu.org/software/libiconv/</string>
|
||||
</dict>
|
||||
</array>
|
||||
</plist>
|
2108
src/libiconv/libiconv.xcodeproj/project.pbxproj
Normal file
2108
src/libiconv/libiconv.xcodeproj/project.pbxproj
Normal file
File diff suppressed because one or more lines are too long
986
src/libiconv/libiconv/ABOUT-NLS
Normal file
986
src/libiconv/libiconv/ABOUT-NLS
Normal file
@ -0,0 +1,986 @@
|
||||
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.
|
||||
|
||||
When reporting bugs in the `intl/' directory or bugs which may be
|
||||
related to internationalization, you should tell about the version of
|
||||
`gettext' which is used. The information can be found in the
|
||||
`intl/VERSION' file, in internationalized packages.
|
||||
|
||||
1.1 Quick configuration advice
|
||||
==============================
|
||||
|
||||
If you want to exploit the full power of internationalization, you
|
||||
should configure it using
|
||||
|
||||
./configure --with-included-gettext
|
||||
|
||||
to force usage of internationalizing routines provided within this
|
||||
package, despite the existence of internationalizing capabilities in the
|
||||
operating system where this package is being installed. So far, only
|
||||
the `gettext' implementation in the GNU C library version 2 provides as
|
||||
many features (such as locale alias, message inheritance, automatic
|
||||
charset conversion or plural form handling) as the implementation here.
|
||||
It is also not possible to offer this additional functionality on top
|
||||
of a `catgets' implementation. Future versions of GNU `gettext' will
|
||||
very likely convey even more functionality. So it might be a good idea
|
||||
to change to GNU `gettext' as soon as possible.
|
||||
|
||||
So you need _not_ provide this option if you are using GNU libc 2 or
|
||||
you have installed a recent copy of the GNU gettext package with the
|
||||
included `libintl'.
|
||||
|
||||
1.2 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. If not, the included GNU
|
||||
`gettext' library will be used. This library is wholly contained
|
||||
within this package, usually in the `intl/' subdirectory, so prior
|
||||
installation of the GNU `gettext' package is _not_ required.
|
||||
Installers may use special options at configuration time for changing
|
||||
the default behaviour. The commands:
|
||||
|
||||
./configure --with-included-gettext
|
||||
./configure --disable-nls
|
||||
|
||||
will, respectively, bypass any pre-existing `gettext' to use the
|
||||
internationalizing routines provided within this package, or else,
|
||||
_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.a' file and
|
||||
will decide to use this. This might not be desirable. You should use
|
||||
the more recent version of the GNU `gettext' library. I.e. if the file
|
||||
`intl/VERSION' shows that the library which comes with this package is
|
||||
more recent, you should use
|
||||
|
||||
./configure --with-included-gettext
|
||||
|
||||
to prevent auto-detection.
|
||||
|
||||
The configuration process will not test for the `catgets' function
|
||||
and therefore it will not be used. The reason is that even an
|
||||
emulation of `gettext' on top of `catgets' could not provide all the
|
||||
extensions of the GNU `gettext' library.
|
||||
|
||||
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.3 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. 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 country 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.4 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://www.iro.umontreal.ca/contrib/po/HTML/', in the "National 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 `translation@iro.umontreal.ca' 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 skill are praised more than
|
||||
programming skill, here.
|
||||
|
||||
1.5 Available Packages
|
||||
======================
|
||||
|
||||
Languages are not equally supported in all packages. The following
|
||||
matrix shows the current state of internationalization, as of April
|
||||
2005. 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 ar az be bg bs ca cs cy da de el en en_GB
|
||||
+-------------------------------------------------+
|
||||
GNUnet | |
|
||||
a2ps | [] [] [] [] [] |
|
||||
aegis | () |
|
||||
ant-phone | () |
|
||||
anubis | [] |
|
||||
ap-utils | |
|
||||
aspell | [] [] [] [] |
|
||||
bash | [] [] |
|
||||
batchelor | [] |
|
||||
bfd | |
|
||||
bibshelf | [] |
|
||||
binutils | [] |
|
||||
bison | [] [] |
|
||||
bluez-pin | [] [] [] [] |
|
||||
clisp | [] [] |
|
||||
console-tools | [] [] |
|
||||
coreutils | [] [] [] [] |
|
||||
cpio | |
|
||||
cpplib | [] [] [] |
|
||||
darkstat | [] () [] |
|
||||
dialog | [] [] [] [] [] [] |
|
||||
diffutils | [] [] [] [] [] |
|
||||
doodle | [] |
|
||||
e2fsprogs | [] [] |
|
||||
enscript | [] [] [] [] |
|
||||
error | [] [] [] [] |
|
||||
fetchmail | [] () [] [] [] |
|
||||
fileutils | [] [] |
|
||||
findutils | [] [] [] |
|
||||
flex | [] [] [] |
|
||||
fslint | [] |
|
||||
gas | |
|
||||
gawk | [] [] [] |
|
||||
gbiff | [] |
|
||||
gcal | [] |
|
||||
gcc | [] |
|
||||
gettext-examples | [] [] [] [] |
|
||||
gettext-runtime | [] [] [] [] |
|
||||
gettext-tools | [] [] |
|
||||
gimp-print | [] [] [] [] |
|
||||
gip | |
|
||||
gliv | [] |
|
||||
glunarclock | |
|
||||
gmult | [] [] |
|
||||
gnubiff | () |
|
||||
gnucash | [] () () [] |
|
||||
gnucash-glossary | [] () |
|
||||
gpe-aerial | [] [] |
|
||||
gpe-beam | [] [] |
|
||||
gpe-calendar | [] [] |
|
||||
gpe-clock | [] [] |
|
||||
gpe-conf | [] [] |
|
||||
gpe-contacts | |
|
||||
gpe-edit | [] |
|
||||
gpe-go | [] |
|
||||
gpe-login | [] [] |
|
||||
gpe-ownerinfo | [] [] |
|
||||
gpe-sketchbook | [] [] |
|
||||
gpe-su | [] [] |
|
||||
gpe-taskmanager | [] [] |
|
||||
gpe-timesheet | [] |
|
||||
gpe-today | [] [] |
|
||||
gpe-todo | [] [] |
|
||||
gphoto2 | [] [] [] [] |
|
||||
gprof | [] [] |
|
||||
gpsdrive | () () |
|
||||
gramadoir | [] [] |
|
||||
grep | [] [] [] [] [] [] |
|
||||
gretl | |
|
||||
gsasl | [] |
|
||||
gss | |
|
||||
gst-plugins | [] [] [] [] [] [] |
|
||||
gstreamer | [] [] [] [] [] |
|
||||
gtick | [] () |
|
||||
gtkspell | [] [] [] |
|
||||
hello | [] [] [] [] |
|
||||
id-utils | [] [] |
|
||||
impost | |
|
||||
indent | [] [] |
|
||||
iso_3166 | |
|
||||
iso_3166_1 | [] [] [] [] [] |
|
||||
iso_3166_2 | |
|
||||
iso_3166_3 | [] |
|
||||
iso_4217 | |
|
||||
iso_639 | |
|
||||
jpilot | [] |
|
||||
jtag | |
|
||||
jwhois | |
|
||||
kbd | [] [] [] [] |
|
||||
latrine | () |
|
||||
ld | [] |
|
||||
libc | [] [] [] [] [] |
|
||||
libextractor | |
|
||||
libgpewidget | [] [] [] |
|
||||
libgsasl | |
|
||||
libiconv | [] [] [] [] [] |
|
||||
libidn | |
|
||||
lifelines | [] () |
|
||||
lilypond | [] |
|
||||
lingoteach | |
|
||||
lynx | [] [] [] [] |
|
||||
m4 | [] [] [] [] |
|
||||
mailutils | [] |
|
||||
make | [] [] |
|
||||
man-db | [] () [] [] |
|
||||
minicom | [] [] |
|
||||
mysecretdiary | [] [] |
|
||||
nano | [] () [] |
|
||||
nano_1_0 | [] () [] [] |
|
||||
opcodes | [] |
|
||||
parted | [] [] [] [] |
|
||||
psmisc | |
|
||||
ptx | [] [] [] |
|
||||
pwdutils | |
|
||||
python | |
|
||||
radius | [] |
|
||||
recode | [] [] [] [] [] |
|
||||
rpm | [] [] |
|
||||
screem | |
|
||||
scrollkeeper | [] [] [] [] [] [] [] [] |
|
||||
sed | [] [] |
|
||||
sh-utils | [] [] |
|
||||
shared-mime-info | [] [] |
|
||||
sharutils | [] [] [] [] [] |
|
||||
silky | |
|
||||
skencil | [] () |
|
||||
sketch | [] () |
|
||||
solfege | [] |
|
||||
soundtracker | [] [] |
|
||||
sp | [] |
|
||||
stardict | [] |
|
||||
tar | |
|
||||
texinfo | [] [] |
|
||||
textutils | [] [] [] |
|
||||
tin | () () |
|
||||
tp-robot | [] |
|
||||
tuxpaint | [] [] [] [] [] [] [] |
|
||||
unicode-han-tra... | |
|
||||
unicode-transla... | |
|
||||
util-linux | [] [] [] [] |
|
||||
vorbis-tools | [] [] [] [] |
|
||||
wastesedge | () |
|
||||
wdiff | [] [] [] [] |
|
||||
wget | [] [] [] [] [] [] |
|
||||
xchat | [] [] [] [] |
|
||||
xkeyboard-config | |
|
||||
xpad | |
|
||||
+-------------------------------------------------+
|
||||
af am ar az be bg bs ca cs cy da de el en en_GB
|
||||
10 0 0 2 7 4 0 41 43 3 52 90 20 1 15
|
||||
|
||||
eo es et eu fa fi fr ga gl he hr hu id is it
|
||||
+-----------------------------------------------+
|
||||
GNUnet | |
|
||||
a2ps | [] [] [] () |
|
||||
aegis | |
|
||||
ant-phone | [] |
|
||||
anubis | [] |
|
||||
ap-utils | [] |
|
||||
aspell | [] [] |
|
||||
bash | [] [] [] [] |
|
||||
batchelor | [] [] |
|
||||
bfd | [] |
|
||||
bibshelf | [] [] [] |
|
||||
binutils | [] [] |
|
||||
bison | [] [] [] [] [] [] |
|
||||
bluez-pin | [] [] [] [] [] [] |
|
||||
clisp | [] [] |
|
||||
console-tools | |
|
||||
coreutils | [] [] [] [] [] |
|
||||
cpio | [] [] |
|
||||
cpplib | [] [] |
|
||||
darkstat | [] () [] [] [] |
|
||||
dialog | [] [] [] [] [] [] [] [] |
|
||||
diffutils | [] [] [] [] [] [] [] [] [] [] |
|
||||
doodle | [] [] |
|
||||
e2fsprogs | [] [] [] |
|
||||
enscript | [] [] |
|
||||
error | [] [] [] [] [] |
|
||||
fetchmail | [] |
|
||||
fileutils | [] [] [] [] [] [] |
|
||||
findutils | [] [] [] [] [] |
|
||||
flex | [] [] [] |
|
||||
fslint | [] |
|
||||
gas | [] [] |
|
||||
gawk | [] [] [] [] |
|
||||
gbiff | [] |
|
||||
gcal | [] [] |
|
||||
gcc | [] |
|
||||
gettext-examples | [] [] [] [] |
|
||||
gettext-runtime | [] [] [] [] [] [] |
|
||||
gettext-tools | [] [] [] |
|
||||
gimp-print | [] [] |
|
||||
gip | [] [] [] |
|
||||
gliv | () |
|
||||
glunarclock | [] [] [] |
|
||||
gmult | [] [] [] |
|
||||
gnubiff | () () |
|
||||
gnucash | [] () [] |
|
||||
gnucash-glossary | [] [] |
|
||||
gpe-aerial | [] [] |
|
||||
gpe-beam | [] [] |
|
||||
gpe-calendar | [] [] [] [] |
|
||||
gpe-clock | [] [] [] |
|
||||
gpe-conf | [] |
|
||||
gpe-contacts | [] |
|
||||
gpe-edit | [] [] |
|
||||
gpe-go | [] [] |
|
||||
gpe-login | [] [] [] |
|
||||
gpe-ownerinfo | [] [] [] [] [] |
|
||||
gpe-sketchbook | [] [] |
|
||||
gpe-su | [] [] [] |
|
||||
gpe-taskmanager | [] [] [] |
|
||||
gpe-timesheet | [] [] [] [] |
|
||||
gpe-today | [] [] [] [] |
|
||||
gpe-todo | [] [] [] |
|
||||
gphoto2 | [] [] [] [] [] |
|
||||
gprof | [] [] [] |
|
||||
gpsdrive | () () [] () |
|
||||
gramadoir | [] [] |
|
||||
grep | [] [] [] [] [] [] [] [] [] [] [] [] |
|
||||
gretl | [] [] [] |
|
||||
gsasl | [] [] [] |
|
||||
gss | [] |
|
||||
gst-plugins | [] [] [] |
|
||||
gstreamer | [] |
|
||||
gtick | [] [] [] [] [] |
|
||||
gtkspell | [] [] [] [] [] [] |
|
||||
hello | [] [] [] [] [] [] [] [] [] [] [] [] [] [] |
|
||||
id-utils | [] [] [] [] |
|
||||
impost | [] [] |
|
||||
indent | [] [] [] [] [] [] [] [] [] [] [] |
|
||||
iso_3166 | [] [] [] |
|
||||
iso_3166_1 | [] [] [] [] [] [] [] |
|
||||
iso_3166_2 | [] |
|
||||
iso_3166_3 | [] |
|
||||
iso_4217 | [] [] [] |
|
||||
iso_639 | [] [] [] [] |
|
||||
jpilot | [] [] |
|
||||
jtag | [] |
|
||||
jwhois | [] [] [] [] [] |
|
||||
kbd | [] [] |
|
||||
latrine | [] [] [] |
|
||||
ld | [] [] |
|
||||
libc | [] [] [] [] [] |
|
||||
libextractor | |
|
||||
libgpewidget | [] [] [] [] [] |
|
||||
libgsasl | [] [] |
|
||||
libiconv | [] [] [] [] [] [] [] [] [] [] [] |
|
||||
libidn | [] [] |
|
||||
lifelines | () |
|
||||
lilypond | [] |
|
||||
lingoteach | [] [] [] |
|
||||
lynx | [] [] [] |
|
||||
m4 | [] [] [] [] |
|
||||
mailutils | [] [] |
|
||||
make | [] [] [] [] [] [] [] |
|
||||
man-db | () |
|
||||
minicom | [] [] [] [] |
|
||||
mysecretdiary | [] [] [] |
|
||||
nano | [] [] () [] [] |
|
||||
nano_1_0 | [] [] [] [] [] |
|
||||
opcodes | [] [] |
|
||||
parted | [] [] [] [] |
|
||||
psmisc | [] [] |
|
||||
ptx | [] [] [] [] [] [] [] [] [] |
|
||||
pwdutils | |
|
||||
python | |
|
||||
radius | [] [] |
|
||||
recode | [] [] [] [] [] [] [] [] |
|
||||
rpm | [] |
|
||||
screem | |
|
||||
scrollkeeper | [] [] [] |
|
||||
sed | [] [] [] [] [] |
|
||||
sh-utils | [] [] [] [] [] [] [] |
|
||||
shared-mime-info | [] [] [] [] [] [] |
|
||||
sharutils | [] [] [] [] [] [] [] |
|
||||
silky | [] |
|
||||
skencil | [] [] |
|
||||
sketch | [] [] |
|
||||
solfege | [] |
|
||||
soundtracker | [] [] [] |
|
||||
sp | [] |
|
||||
stardict | [] |
|
||||
tar | [] [] [] [] [] |
|
||||
texinfo | [] [] [] |
|
||||
textutils | [] [] [] [] [] |
|
||||
tin | [] () |
|
||||
tp-robot | [] [] |
|
||||
tuxpaint | [] [] [] [] [] [] [] [] [] |
|
||||
unicode-han-tra... | |
|
||||
unicode-transla... | [] [] |
|
||||
util-linux | [] [] [] [] [] [] |
|
||||
vorbis-tools | [] [] |
|
||||
wastesedge | () |
|
||||
wdiff | [] [] [] [] [] [] [] [] |
|
||||
wget | [] [] [] [] [] [] [] [] [] [] |
|
||||
xchat | [] [] [] [] [] |
|
||||
xkeyboard-config | |
|
||||
xpad | [] [] [] |
|
||||
+-----------------------------------------------+
|
||||
eo es et eu fa fi fr ga gl he hr hu id is it
|
||||
13 85 21 15 2 35 115 45 17 8 6 40 27 1 45
|
||||
|
||||
ja ko ku lg lt lv mk mn ms mt nb nl nn no nso
|
||||
+-----------------------------------------------+
|
||||
GNUnet | |
|
||||
a2ps | () [] [] () |
|
||||
aegis | () |
|
||||
ant-phone | [] |
|
||||
anubis | [] [] [] |
|
||||
ap-utils | |
|
||||
aspell | [] [] |
|
||||
bash | [] |
|
||||
batchelor | [] |
|
||||
bfd | |
|
||||
bibshelf | |
|
||||
binutils | |
|
||||
bison | [] [] [] |
|
||||
bluez-pin | [] |
|
||||
clisp | [] |
|
||||
console-tools | |
|
||||
coreutils | [] [] |
|
||||
cpio | |
|
||||
cpplib | |
|
||||
darkstat | [] [] |
|
||||
dialog | [] |
|
||||
diffutils | [] [] [] |
|
||||
doodle | |
|
||||
e2fsprogs | |
|
||||
enscript | [] |
|
||||
error | [] |
|
||||
fetchmail | [] [] |
|
||||
fileutils | [] [] |
|
||||
findutils | [] |
|
||||
flex | [] [] |
|
||||
fslint | [] |
|
||||
gas | |
|
||||
gawk | [] [] |
|
||||
gbiff | [] |
|
||||
gcal | |
|
||||
gcc | |
|
||||
gettext-examples | [] [] |
|
||||
gettext-runtime | [] [] [] |
|
||||
gettext-tools | [] [] |
|
||||
gimp-print | [] [] |
|
||||
gip | [] |
|
||||
gliv | [] |
|
||||
glunarclock | [] [] |
|
||||
gmult | [] |
|
||||
gnubiff | |
|
||||
gnucash | () () [] |
|
||||
gnucash-glossary | [] |
|
||||
gpe-aerial | [] |
|
||||
gpe-beam | [] |
|
||||
gpe-calendar | [] |
|
||||
gpe-clock | [] |
|
||||
gpe-conf | [] |
|
||||
gpe-contacts | |
|
||||
gpe-edit | [] |
|
||||
gpe-go | [] |
|
||||
gpe-login | [] |
|
||||
gpe-ownerinfo | [] |
|
||||
gpe-sketchbook | [] |
|
||||
gpe-su | [] |
|
||||
gpe-taskmanager | [] [] |
|
||||
gpe-timesheet | [] |
|
||||
gpe-today | [] |
|
||||
gpe-todo | [] |
|
||||
gphoto2 | [] [] |
|
||||
gprof | |
|
||||
gpsdrive | () () () |
|
||||
gramadoir | () |
|
||||
grep | [] [] [] |
|
||||
gretl | |
|
||||
gsasl | [] |
|
||||
gss | |
|
||||
gst-plugins | [] |
|
||||
gstreamer | [] |
|
||||
gtick | [] |
|
||||
gtkspell | [] [] |
|
||||
hello | [] [] [] [] [] [] [] [] |
|
||||
id-utils | [] |
|
||||
impost | |
|
||||
indent | [] [] |
|
||||
iso_3166 | [] |
|
||||
iso_3166_1 | [] [] |
|
||||
iso_3166_2 | [] |
|
||||
iso_3166_3 | [] |
|
||||
iso_4217 | [] [] [] |
|
||||
iso_639 | [] [] [] |
|
||||
jpilot | () () () |
|
||||
jtag | |
|
||||
jwhois | [] |
|
||||
kbd | [] |
|
||||
latrine | [] |
|
||||
ld | |
|
||||
libc | [] [] [] [] [] |
|
||||
libextractor | |
|
||||
libgpewidget | [] |
|
||||
libgsasl | [] |
|
||||
libiconv | [] |
|
||||
libidn | |
|
||||
lifelines | [] |
|
||||
lilypond | [] |
|
||||
lingoteach | [] |
|
||||
lynx | [] [] |
|
||||
m4 | [] [] |
|
||||
mailutils | |
|
||||
make | [] [] [] |
|
||||
man-db | () |
|
||||
minicom | [] |
|
||||
mysecretdiary | [] |
|
||||
nano | [] [] |
|
||||
nano_1_0 | [] [] [] |
|
||||
opcodes | [] |
|
||||
parted | [] [] |
|
||||
psmisc | [] [] |
|
||||
ptx | [] [] [] |
|
||||
pwdutils | |
|
||||
python | |
|
||||
radius | |
|
||||
recode | [] |
|
||||
rpm | [] [] |
|
||||
screem | [] |
|
||||
scrollkeeper | [] [] [] |
|
||||
sed | [] [] |
|
||||
sh-utils | [] [] |
|
||||
shared-mime-info | [] [] [] [] |
|
||||
sharutils | [] [] |
|
||||
silky | [] |
|
||||
skencil | |
|
||||
sketch | |
|
||||
solfege | [] [] |
|
||||
soundtracker | |
|
||||
sp | () |
|
||||
stardict | [] [] |
|
||||
tar | [] [] |
|
||||
texinfo | [] [] [] |
|
||||
textutils | [] [] [] |
|
||||
tin | |
|
||||
tp-robot | [] |
|
||||
tuxpaint | [] [] [] [] [] [] |
|
||||
unicode-han-tra... | |
|
||||
unicode-transla... | |
|
||||
util-linux | [] [] |
|
||||
vorbis-tools | [] |
|
||||
wastesedge | [] |
|
||||
wdiff | [] [] |
|
||||
wget | [] [] |
|
||||
xchat | [] [] [] [] |
|
||||
xkeyboard-config | [] |
|
||||
xpad | [] |
|
||||
+-----------------------------------------------+
|
||||
ja ko ku lg lt lv mk mn ms mt nb nl nn no nso
|
||||
33 11 1 1 1 2 2 3 11 0 15 96 7 5 0
|
||||
|
||||
or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta
|
||||
+-------------------------------------------------+
|
||||
GNUnet | |
|
||||
a2ps | () [] [] [] [] [] [] |
|
||||
aegis | () () |
|
||||
ant-phone | [] |
|
||||
anubis | [] [] [] |
|
||||
ap-utils | () |
|
||||
aspell | [] [] |
|
||||
bash | [] [] [] |
|
||||
batchelor | [] |
|
||||
bfd | |
|
||||
bibshelf | |
|
||||
binutils | [] [] |
|
||||
bison | [] [] [] [] [] |
|
||||
bluez-pin | [] [] [] [] [] [] [] [] |
|
||||
clisp | [] |
|
||||
console-tools | [] |
|
||||
coreutils | [] [] [] [] |
|
||||
cpio | [] [] |
|
||||
cpplib | |
|
||||
darkstat | [] [] [] [] [] [] |
|
||||
dialog | [] [] [] [] [] [] [] |
|
||||
diffutils | [] [] [] [] [] [] |
|
||||
doodle | [] |
|
||||
e2fsprogs | [] [] |
|
||||
enscript | [] [] [] [] |
|
||||
error | [] [] [] |
|
||||
fetchmail | [] () [] [] [] |
|
||||
fileutils | [] [] [] [] [] |
|
||||
findutils | [] [] [] [] [] [] |
|
||||
flex | [] [] [] [] [] |
|
||||
fslint | [] [] [] |
|
||||
gas | |
|
||||
gawk | [] [] [] [] |
|
||||
gbiff | [] |
|
||||
gcal | [] |
|
||||
gcc | |
|
||||
gettext-examples | [] [] [] [] [] [] |
|
||||
gettext-runtime | [] [] [] [] [] [] [] |
|
||||
gettext-tools | [] [] [] [] [] [] [] |
|
||||
gimp-print | [] [] |
|
||||
gip | [] [] [] |
|
||||
gliv | [] [] [] |
|
||||
glunarclock | [] [] [] [] [] [] |
|
||||
gmult | [] [] [] [] |
|
||||
gnubiff | () [] |
|
||||
gnucash | () [] [] [] [] |
|
||||
gnucash-glossary | [] [] [] |
|
||||
gpe-aerial | [] [] [] [] [] [] |
|
||||
gpe-beam | [] [] [] [] [] [] |
|
||||
gpe-calendar | [] [] [] [] [] [] [] |
|
||||
gpe-clock | [] [] [] [] [] [] [] |
|
||||
gpe-conf | [] [] [] [] [] [] |
|
||||
gpe-contacts | [] [] [] |
|
||||
gpe-edit | [] [] [] [] [] [] [] |
|
||||
gpe-go | [] [] [] [] [] |
|
||||
gpe-login | [] [] [] [] [] [] [] |
|
||||
gpe-ownerinfo | [] [] [] [] [] [] [] |
|
||||
gpe-sketchbook | [] [] [] [] [] [] [] |
|
||||
gpe-su | [] [] [] [] [] [] [] |
|
||||
gpe-taskmanager | [] [] [] [] [] [] [] |
|
||||
gpe-timesheet | [] [] [] [] [] [] [] |
|
||||
gpe-today | [] [] [] [] [] [] [] |
|
||||
gpe-todo | [] [] [] [] [] [] [] |
|
||||
gphoto2 | [] [] [] [] |
|
||||
gprof | [] [] [] |
|
||||
gpsdrive | [] |
|
||||
gramadoir | [] |
|
||||
grep | [] [] [] [] [] [] [] |
|
||||
gretl | [] |
|
||||
gsasl | [] [] [] [] [] |
|
||||
gss | [] [] [] |
|
||||
gst-plugins | [] [] [] [] |
|
||||
gstreamer | [] [] [] [] |
|
||||
gtick | [] [] [] |
|
||||
gtkspell | [] [] [] [] [] [] |
|
||||
hello | [] [] [] [] [] [] [] |
|
||||
id-utils | [] [] [] [] |
|
||||
impost | |
|
||||
indent | [] [] [] [] [] [] |
|
||||
iso_3166 | [] [] [] [] [] |
|
||||
iso_3166_1 | [] [] [] [] |
|
||||
iso_3166_2 | |
|
||||
iso_3166_3 | [] [] [] |
|
||||
iso_4217 | [] [] |
|
||||
iso_639 | [] [] [] |
|
||||
jpilot | |
|
||||
jtag | [] |
|
||||
jwhois | [] [] [] () () |
|
||||
kbd | [] [] [] |
|
||||
latrine | [] [] |
|
||||
ld | [] |
|
||||
libc | [] [] [] [] [] |
|
||||
libextractor | [] |
|
||||
libgpewidget | [] [] [] [] [] [] |
|
||||
libgsasl | [] [] [] |
|
||||
libiconv | [] [] [] [] [] [] [] [] [] [] |
|
||||
libidn | [] () |
|
||||
lifelines | [] [] |
|
||||
lilypond | [] |
|
||||
lingoteach | [] |
|
||||
lynx | [] [] [] |
|
||||
m4 | [] [] [] [] [] |
|
||||
mailutils | [] [] [] |
|
||||
make | [] [] [] [] |
|
||||
man-db | [] [] |
|
||||
minicom | [] [] [] [] |
|
||||
mysecretdiary | [] [] [] [] |
|
||||
nano | [] [] [] |
|
||||
nano_1_0 | [] [] [] [] |
|
||||
opcodes | [] [] |
|
||||
parted | [] [] [] [] |
|
||||
psmisc | [] [] |
|
||||
ptx | [] [] [] [] [] [] |
|
||||
pwdutils | [] |
|
||||
python | |
|
||||
radius | [] [] |
|
||||
recode | [] [] [] [] [] [] |
|
||||
rpm | [] [] [] [] |
|
||||
screem | |
|
||||
scrollkeeper | [] [] [] [] [] [] [] |
|
||||
sed | [] [] [] [] [] [] [] [] |
|
||||
sh-utils | [] [] [] |
|
||||
shared-mime-info | [] [] [] [] [] |
|
||||
sharutils | [] [] [] |
|
||||
silky | [] |
|
||||
skencil | [] [] [] |
|
||||
sketch | [] [] [] |
|
||||
solfege | |
|
||||
soundtracker | [] [] |
|
||||
sp | |
|
||||
stardict | [] [] |
|
||||
tar | [] [] [] [] |
|
||||
texinfo | [] [] [] [] |
|
||||
textutils | [] [] [] |
|
||||
tin | |
|
||||
tp-robot | [] |
|
||||
tuxpaint | [] [] [] [] [] [] [] [] |
|
||||
unicode-han-tra... | |
|
||||
unicode-transla... | |
|
||||
util-linux | [] [] [] |
|
||||
vorbis-tools | [] [] |
|
||||
wastesedge | |
|
||||
wdiff | [] [] [] [] [] [] |
|
||||
wget | [] [] [] [] [] [] [] [] [] |
|
||||
xchat | [] [] [] [] [] [] |
|
||||
xkeyboard-config | |
|
||||
xpad | |
|
||||
+-------------------------------------------------+
|
||||
or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta
|
||||
1 0 48 30 58 6 79 71 5 45 13 12 50 86 0
|
||||
|
||||
tg th tk tr uk ven vi wa xh zh_CN zh_TW zu
|
||||
+--------------------------------------------+
|
||||
GNUnet | | 0
|
||||
a2ps | [] [] [] | 19
|
||||
aegis | | 0
|
||||
ant-phone | [] | 4
|
||||
anubis | [] | 9
|
||||
ap-utils | () | 1
|
||||
aspell | [] [] [] | 13
|
||||
bash | | 10
|
||||
batchelor | [] [] | 7
|
||||
bfd | | 1
|
||||
bibshelf | [] | 5
|
||||
binutils | [] | 6
|
||||
bison | [] | 17
|
||||
bluez-pin | [] [] [] [] [] | 24
|
||||
clisp | | 7
|
||||
console-tools | [] | 4
|
||||
coreutils | [] | 16
|
||||
cpio | [] [] | 6
|
||||
cpplib | [] [] | 7
|
||||
darkstat | [] () () | 15
|
||||
dialog | [] [] [] | 25
|
||||
diffutils | [] [] [] [] | 28
|
||||
doodle | [] | 5
|
||||
e2fsprogs | [] | 8
|
||||
enscript | [] | 12
|
||||
error | [] [] [] | 16
|
||||
fetchmail | [] | 12
|
||||
fileutils | [] [] [] | 18
|
||||
findutils | [] [] | 17
|
||||
flex | [] [] | 15
|
||||
fslint | [] | 7
|
||||
gas | [] | 3
|
||||
gawk | [] | 14
|
||||
gbiff | | 4
|
||||
gcal | [] | 5
|
||||
gcc | [] | 3
|
||||
gettext-examples | [] [] [] [] | 20
|
||||
gettext-runtime | [] [] [] [] [] | 25
|
||||
gettext-tools | [] [] [] | 17
|
||||
gimp-print | [] | 11
|
||||
gip | [] | 8
|
||||
gliv | [] | 6
|
||||
glunarclock | [] [] | 13
|
||||
gmult | [] [] [] | 13
|
||||
gnubiff | [] | 3
|
||||
gnucash | () [] | 10
|
||||
gnucash-glossary | [] | 8
|
||||
gpe-aerial | [] [] | 13
|
||||
gpe-beam | [] [] | 13
|
||||
gpe-calendar | [] [] [] [] | 18
|
||||
gpe-clock | [] [] [] [] | 17
|
||||
gpe-conf | [] [] | 12
|
||||
gpe-contacts | [] [] | 6
|
||||
gpe-edit | [] [] [] [] | 15
|
||||
gpe-go | [] [] | 11
|
||||
gpe-login | [] [] [] [] [] | 18
|
||||
gpe-ownerinfo | [] [] [] [] | 19
|
||||
gpe-sketchbook | [] [] | 14
|
||||
gpe-su | [] [] [] | 16
|
||||
gpe-taskmanager | [] [] [] | 17
|
||||
gpe-timesheet | [] [] [] [] | 17
|
||||
gpe-today | [] [] [] [] [] | 19
|
||||
gpe-todo | [] [] [] | 16
|
||||
gphoto2 | [] [] | 17
|
||||
gprof | [] [] | 10
|
||||
gpsdrive | | 2
|
||||
gramadoir | [] | 6
|
||||
grep | [] [] [] [] | 32
|
||||
gretl | | 4
|
||||
gsasl | [] [] | 12
|
||||
gss | [] | 5
|
||||
gst-plugins | [] [] | 16
|
||||
gstreamer | [] [] [] | 14
|
||||
gtick | [] | 11
|
||||
gtkspell | [] [] [] | 20
|
||||
hello | [] [] [] [] | 37
|
||||
id-utils | [] [] | 13
|
||||
impost | [] | 3
|
||||
indent | [] [] [] | 24
|
||||
iso_3166 | [] [] [] | 12
|
||||
iso_3166_1 | [] [] | 20
|
||||
iso_3166_2 | | 2
|
||||
iso_3166_3 | [] [] | 8
|
||||
iso_4217 | [] [] | 10
|
||||
iso_639 | [] [] | 12
|
||||
jpilot | [] [] [] | 6
|
||||
jtag | | 2
|
||||
jwhois | [] [] [] | 12
|
||||
kbd | [] [] | 12
|
||||
latrine | [] [] | 8
|
||||
ld | [] | 5
|
||||
libc | [] [] | 22
|
||||
libextractor | | 1
|
||||
libgpewidget | [] [] | 17
|
||||
libgsasl | [] | 7
|
||||
libiconv | [] [] [] [] [] | 32
|
||||
libidn | [] [] | 5
|
||||
lifelines | | 4
|
||||
lilypond | [] | 5
|
||||
lingoteach | | 5
|
||||
lynx | [] [] | 14
|
||||
m4 | [] [] | 17
|
||||
mailutils | [] | 7
|
||||
make | [] [] | 18
|
||||
man-db | | 5
|
||||
minicom | | 11
|
||||
mysecretdiary | [] [] | 12
|
||||
nano | | 11
|
||||
nano_1_0 | [] [] | 17
|
||||
opcodes | [] | 7
|
||||
parted | [] [] [] | 17
|
||||
psmisc | [] | 7
|
||||
ptx | [] [] | 23
|
||||
pwdutils | | 1
|
||||
python | | 0
|
||||
radius | [] | 6
|
||||
recode | [] [] | 22
|
||||
rpm | [] [] | 11
|
||||
screem | | 1
|
||||
scrollkeeper | [] [] | 23
|
||||
sed | [] [] | 19
|
||||
sh-utils | [] | 15
|
||||
shared-mime-info | [] [] | 19
|
||||
sharutils | [] [] [] | 20
|
||||
silky | | 3
|
||||
skencil | | 6
|
||||
sketch | | 6
|
||||
solfege | | 4
|
||||
soundtracker | [] | 8
|
||||
sp | [] | 3
|
||||
stardict | [] [] [] [] | 10
|
||||
tar | [] [] | 13
|
||||
texinfo | [] [] | 14
|
||||
textutils | [] [] [] | 17
|
||||
tin | | 1
|
||||
tp-robot | [] [] | 7
|
||||
tuxpaint | [] [] [] [] | 34
|
||||
unicode-han-tra... | | 0
|
||||
unicode-transla... | | 2
|
||||
util-linux | [] [] | 17
|
||||
vorbis-tools | [] | 10
|
||||
wastesedge | | 1
|
||||
wdiff | [] [] | 22
|
||||
wget | [] [] [] [] | 31
|
||||
xchat | [] [] [] | 22
|
||||
xkeyboard-config | | 1
|
||||
xpad | [] | 5
|
||||
+--------------------------------------------+
|
||||
72 teams tg th tk tr uk ven vi wa xh zh_CN zh_TW zu
|
||||
147 domains 0 0 1 78 29 0 71 16 0 41 20 0 1711
|
||||
|
||||
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 April 2005 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://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'.
|
||||
|
||||
1.6 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
|
||||
`translation@iro.umontreal.ca' to make the `.pot' files available to
|
||||
the translation teams.
|
||||
|
1
src/libiconv/libiconv/AUTHORS
Normal file
1
src/libiconv/libiconv/AUTHORS
Normal file
@ -0,0 +1 @@
|
||||
Bruno Haible <bruno@clisp.org>
|
482
src/libiconv/libiconv/COPYING.LIB
Normal file
482
src/libiconv/libiconv/COPYING.LIB
Normal file
@ -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!
|
3724
src/libiconv/libiconv/ChangeLog
Normal file
3724
src/libiconv/libiconv/ChangeLog
Normal file
File diff suppressed because it is too large
Load Diff
64
src/libiconv/libiconv/DESIGN
Normal file
64
src/libiconv/libiconv/DESIGN
Normal file
@ -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.
|
||||
|
246
src/libiconv/libiconv/INSTALL.generic
Normal file
246
src/libiconv/libiconv/INSTALL.generic
Normal file
@ -0,0 +1,246 @@
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
env CC="cc -Ae" ./configure
|
||||
|
||||
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:
|
||||
|
||||
env CC="xlc -D_ALL_SOURCE" ./configure
|
||||
|
||||
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.
|
||||
|
240
src/libiconv/libiconv/Makefile.devel
Normal file
240
src/libiconv/libiconv/Makefile.devel
Normal file
@ -0,0 +1,240 @@
|
||||
# -*- 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.60
|
||||
AUTOHEADER = autoheader-2.60
|
||||
AUTOMAKE = automake-1.9
|
||||
ACLOCAL = aclocal-1.9
|
||||
GPERF = gperf
|
||||
CC = gcc
|
||||
CFLAGS = -O
|
||||
MAN2HTML = groff -mandoc -Thtml
|
||||
CP = cp
|
||||
RM = rm -f
|
||||
|
||||
|
||||
all : configures config.h.in srclib/Makefile.in config.h_vms config.h.msvc lib/config.h_vms lib/config.h.msvc include/iconv.h.build.in include/iconv.h_vms include/iconv.h.msvc-static include/iconv.h.msvc-shared lib/aliases.h lib/aliases_aix.h lib/aliases_osf1.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 po/Makefile.msvc force
|
||||
cd libcharset && $(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
|
||||
# windows/iconv.rc
|
||||
# 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
|
||||
|
||||
#CLISP_DIR = ..
|
||||
#m4/general.m4 : $(CLISP_DIR)/src/m4/general.m4 ; cp -p $< $@-t && mv $@-t $@
|
||||
#m4/proto.m4 : $(CLISP_DIR)/src/m4/proto.m4 ; cp -p $< $@-t && mv $@-t $@
|
||||
#m4/cp.m4 : $(CLISP_DIR)/src/m4/cp.m4 ; cp -p $< $@-t && mv $@-t $@
|
||||
#m4/ln.m4 : $(CLISP_DIR)/src/m4/ln.m4 ; cp -p $< $@-t && mv $@-t $@
|
||||
#m4/endian.m4 : $(CLISP_DIR)/src/m4/endian.m4 ; cp -p $< $@-t && mv $@-t $@
|
||||
#m4/libtool.m4 : $(CLISP_DIR)/src/m4/libtool.m4 ; cp -p $< $@-t && mv $@-t $@
|
||||
|
||||
aclocal.m4 : $(CONFIGURES_IN) m4/general.m4 m4/proto.m4 m4/cp.m4 m4/ln.m4 m4/codeset.m4 m4/eilseq.m4 m4/endian.m4 m4/glibc21.m4 m4/isc-posix.m4 m4/lcmessage.m4 m4/alloca.m4 m4/allocsa.m4 m4/canonicalize.m4 m4/eealloc.m4 m4/error.m4 m4/extensions.m4 m4/full-header-path.m4 m4/mbstate_t.m4 m4/onceonly.m4 m4/pathmax.m4 m4/readlink.m4 m4/relocatable.m4 m4/setenv.m4 m4/size_max.m4 m4/ssize_t.m4 m4/stdbool.m4 m4/stdint.m4 m4/strerror.m4 m4/strerror_r.m4 m4/unistd_h.m4 m4/unlocked-io.m4 m4/xreadlink.m4 m4/visibility.m4 m4/libtool.m4 m4/gettext.m4 m4/iconv.m4 m4/intmax.m4 m4/inttypes-h.m4 m4/inttypes_h.m4 m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 m4/longdouble.m4 m4/longlong.m4 m4/nls.m4 m4/po.m4 m4/printf-posix.m4 m4/progtest.m4 m4/signed.m4 m4/stdint_h.m4 m4/wchar_t.m4 m4/wint_t.m4
|
||||
$(ACLOCAL) -I m4 --output=$@
|
||||
|
||||
configures : $(CONFIGURES)
|
||||
|
||||
AUTOCONF_FILES = aclocal.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 $@
|
||||
|
||||
|
||||
srclib/Makefile.in : srclib/Makefile.am
|
||||
$(AUTOMAKE) --gnits srclib/Makefile
|
||||
|
||||
|
||||
config.h_vms : config.h.in
|
||||
sed -e 's/#undef ENABLE_NLS$$/#define ENABLE_NLS 1/' \
|
||||
-e 's/#undef ENABLE_RELOCATABLE$$/#define ENABLE_RELOCATABLE 1/' \
|
||||
-e 's/#undef HAVE_ALLOCA$$/#define HAVE_ALLOCA 1/' \
|
||||
-e 's/#undef HAVE_DECL_STRERROR$$/#define HAVE_DECL_STRERROR 1/' \
|
||||
-e 's/#undef HAVE_DLFCN_H$$/#define HAVE_DLFCN_H 1/' \
|
||||
-e 's/#undef HAVE_ERRNO_DECL$$/#define HAVE_ERRNO_DECL 1/' \
|
||||
-e 's/#undef HAVE_GETCWD$$/#define HAVE_GETCWD 1/' \
|
||||
-e 's/#undef HAVE_ICONV$$/#define HAVE_ICONV 1/' \
|
||||
-e 's/#undef HAVE_INTTYPES_H$$/#define HAVE_INTTYPES_H 1/' \
|
||||
-e 's/#undef HAVE_LANGINFO_CODESET$$/#define HAVE_LANGINFO_CODESET 1/' \
|
||||
-e 's/#undef HAVE_LIMITS_H$$/#define HAVE_LIMITS_H 1/' \
|
||||
-e 's/#undef HAVE_LOCALE_H$$/#define HAVE_LOCALE_H 1/' \
|
||||
-e 's/#undef HAVE_MBRTOWC$$/#define HAVE_MBRTOWC 1/' \
|
||||
-e 's/#undef HAVE_MBSINIT$$/#define HAVE_MBSINIT 1/' \
|
||||
-e 's/#undef HAVE_MEMMOVE$$/#define HAVE_MEMMOVE 1/' \
|
||||
-e 's/#undef HAVE_MEMORY_H$$/#define HAVE_MEMORY_H 1/' \
|
||||
-e 's/#undef HAVE_SETENV$$/#define HAVE_SETENV 1/' \
|
||||
-e 's/#undef HAVE_SETLOCALE$$/#define HAVE_SETLOCALE 1/' \
|
||||
-e 's/#undef HAVE_STDBOOL_H$$/#define HAVE_STDBOOL_H 1/' \
|
||||
-e 's/#undef HAVE_STDDEF_H$$/#define HAVE_STDDEF_H 1/' \
|
||||
-e 's/#undef HAVE_STDLIB_H$$/#define HAVE_STDLIB_H 1/' \
|
||||
-e 's/#undef HAVE_STRERROR$$/#define HAVE_STRERROR 1/' \
|
||||
-e 's/#undef HAVE_STRINGS_H$$/#define HAVE_STRINGS_H 1/' \
|
||||
-e 's/#undef HAVE_STRING_H$$/#define HAVE_STRING_H 1/' \
|
||||
-e 's/#undef HAVE_SYS_PARAM_H$$/#define HAVE_SYS_PARAM_H 1/' \
|
||||
-e 's/#undef HAVE_SYS_STAT_H$$/#define HAVE_SYS_STAT_H 1/' \
|
||||
-e 's/#undef HAVE_SYS_TYPES_H$$/#define HAVE_SYS_TYPES_H 1/' \
|
||||
-e 's/#undef HAVE_UNISTD_H$$/#define HAVE_UNISTD_H 1/' \
|
||||
-e 's/#undef HAVE_UNSETENV$$/#define HAVE_UNSETENV 1/' \
|
||||
-e 's/#undef HAVE_VPRINTF$$/#define HAVE_VPRINTF 1/' \
|
||||
-e 's/#undef HAVE_WCHAR_H$$/#define HAVE_WCHAR_H 1/' \
|
||||
-e 's/#undef HAVE_WCRTOMB$$/#define HAVE_WCRTOMB 1/' \
|
||||
-e 's/#undef ICONV_CONST$$/#define ICONV_CONST/' \
|
||||
-e 's/#undef MALLOC_0_IS_NONNULL$$/#define MALLOC_0_IS_NONNULL 0/' \
|
||||
-e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \
|
||||
-e 's/#undef WORDS_LITTLEENDIAN$$/#define WORDS_LITTLEENDIAN 1/' \
|
||||
-e 's/#undef realpath$$/#define realpath rpl_realpath/' \
|
||||
-e '/#undef INSTALLPREFIX$$/d' \
|
||||
< $< > $@
|
||||
|
||||
config.h.msvc : config.h.in
|
||||
sed -e 's/#undef ENABLE_RELOCATABLE$$/#define ENABLE_RELOCATABLE 1/' \
|
||||
-e 's/#undef HAVE_ALLOCA$$/#define HAVE_ALLOCA 1/' \
|
||||
-e 's/#undef HAVE_DECL_STRERROR$$/#define HAVE_DECL_STRERROR 1/' \
|
||||
-e 's/#undef HAVE_ENVIRON_DECL$$/#define HAVE_ENVIRON_DECL 1/' \
|
||||
-e 's/#undef HAVE_ERRNO_DECL$$/#define HAVE_ERRNO_DECL 1/' \
|
||||
-e 's/#undef HAVE_GETCWD$$/#define HAVE_GETCWD 1/' \
|
||||
-e 's/#undef HAVE_LIMITS_H$$/#define HAVE_LIMITS_H 1/' \
|
||||
-e 's/#undef HAVE_LOCALE_H$$/#define HAVE_LOCALE_H 1/' \
|
||||
-e 's/#undef HAVE_MEMMOVE$$/#define HAVE_MEMMOVE 1/' \
|
||||
-e 's/#undef HAVE_MEMORY_H$$/#define HAVE_MEMORY_H 1/' \
|
||||
-e 's/#undef HAVE_SEARCH_H$$/#define HAVE_SEARCH_H 1/' \
|
||||
-e 's/#undef HAVE_SETLOCALE$$/#define HAVE_SETLOCALE 1/' \
|
||||
-e 's/#undef HAVE_STDDEF_H$$/#define HAVE_STDDEF_H 1/' \
|
||||
-e 's/#undef HAVE_STDLIB_H$$/#define HAVE_STDLIB_H 1/' \
|
||||
-e 's/#undef HAVE_STRERROR$$/#define HAVE_STRERROR 1/' \
|
||||
-e 's/#undef HAVE_STRING_H$$/#define HAVE_STRING_H 1/' \
|
||||
-e 's/#undef HAVE_SYS_STAT_H$$/#define HAVE_SYS_STAT_H 1/' \
|
||||
-e 's/#undef HAVE_SYS_TYPES_H$$/#define HAVE_SYS_TYPES_H 1/' \
|
||||
-e 's/#undef HAVE_VPRINTF$$/#define HAVE_VPRINTF 1/' \
|
||||
-e 's/#undef MALLOC_0_IS_NONNULL$$/#define MALLOC_0_IS_NONNULL 1/' \
|
||||
-e 's/#undef STACK_DIRECTION$$/#define STACK_DIRECTION -1/' \
|
||||
-e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \
|
||||
-e 's/#undef WORDS_LITTLEENDIAN$$/#define WORDS_LITTLEENDIAN 1/' \
|
||||
-e '/#undef ENABLE_NLS$$/d' \
|
||||
-e '/#undef INSTALLPREFIX$$/d' \
|
||||
< $< > $@
|
||||
|
||||
lib/config.h_vms : lib/config.h.in
|
||||
sed -e 's/#undef ENABLE_RELOCATABLE$$/#define ENABLE_RELOCATABLE 1/' \
|
||||
-e 's/#undef HAVE_ICONV$$/#define HAVE_ICONV 1/' \
|
||||
-e 's/#define ICONV_CONST const$$/#define ICONV_CONST/' \
|
||||
-e 's/#undef HAVE_LANGINFO_CODESET$$/#define HAVE_LANGINFO_CODESET 1/' \
|
||||
-e 's/#undef HAVE_MBRTOWC$$/#define HAVE_MBRTOWC 1/' \
|
||||
-e 's/#undef HAVE_SETLOCALE$$/#define HAVE_SETLOCALE 1/' \
|
||||
-e 's/#undef HAVE_STDDEF_H$$/#define HAVE_STDDEF_H 1/' \
|
||||
-e 's/#undef HAVE_STDLIB_H$$/#define HAVE_STDLIB_H 1/' \
|
||||
-e 's/#undef HAVE_STRING_H$$/#define HAVE_STRING_H 1/' \
|
||||
-e 's/#undef HAVE_WCRTOMB$$/#define HAVE_WCRTOMB 1/' \
|
||||
-e 's/#undef WORDS_LITTLEENDIAN$$/#define WORDS_LITTLEENDIAN 1/' \
|
||||
-e '/#undef INSTALLPREFIX$$/d' \
|
||||
< $< > $@
|
||||
|
||||
lib/config.h.msvc : lib/config.h.in
|
||||
sed -e 's/#undef ENABLE_RELOCATABLE$$/#define ENABLE_RELOCATABLE 1/' \
|
||||
-e 's/#undef HAVE_SETLOCALE$$/#define HAVE_SETLOCALE 1/' \
|
||||
-e 's/#undef HAVE_STDDEF_H$$/#define HAVE_STDDEF_H 1/' \
|
||||
-e 's/#undef HAVE_STDLIB_H$$/#define HAVE_STDLIB_H 1/' \
|
||||
-e 's/#undef HAVE_STRING_H$$/#define HAVE_STRING_H 1/' \
|
||||
-e 's/#undef WORDS_LITTLEENDIAN$$/#define WORDS_LITTLEENDIAN 1/' \
|
||||
-e '/#undef INSTALLPREFIX$$/d' \
|
||||
< $< > $@
|
||||
|
||||
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' \
|
||||
< $< > $@
|
||||
|
||||
include/iconv.h_vms : include/iconv.h.in
|
||||
sed -e 's/@ICONV_CONST@//g' -e 's/@HAVE_WCHAR_T@/1/g' \
|
||||
-e 's/ @DLL_VARIABLE@//g' \
|
||||
< $< > $@
|
||||
|
||||
include/iconv.h.msvc-static : include/iconv.h.in
|
||||
sed -e 's/@ICONV_CONST@/const/g' -e 's/@HAVE_WCHAR_T@/1/g' \
|
||||
-e 's/ @DLL_VARIABLE@//g' \
|
||||
< $< > $@
|
||||
|
||||
include/iconv.h.msvc-shared : include/iconv.h.in windows/dllexport.h
|
||||
sed -e 's/@ICONV_CONST@/const/g' -e 's/@HAVE_WCHAR_T@/1/g' \
|
||||
-e 's/ @DLL_VARIABLE@//g' \
|
||||
-e 's/extern \([^"]\)/extern LIBICONV_DLL_EXPORTED \1/' \
|
||||
-e '/_LIBICONV_VERSION/r windows/dllexport.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_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_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_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) $< > $@
|
||||
|
||||
|
||||
po/Makefile.msvc : po/LINGUAS
|
||||
ALL_LINGUAS=`sed -e '/^#/d' po/LINGUAS`; \
|
||||
GMOFILES=; for lang in $$ALL_LINGUAS; do GMOFILES="$$GMOFILES $$lang.gmo"; done; \
|
||||
$(SHELL) po/Makefile.msvc.sh libiconv "$$GMOFILES" > po/Makefile.msvc
|
||||
|
||||
|
||||
force :
|
144
src/libiconv/libiconv/Makefile.in
Normal file
144
src/libiconv/libiconv/Makefile.in
Normal file
@ -0,0 +1,144 @@
|
||||
# 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 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 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)$(prefix) ] ; then $(mkinstalldirs) $(DESTDIR)$(prefix) ; fi
|
||||
if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then $(mkinstalldirs) $(DESTDIR)$(exec_prefix) ; fi
|
||||
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)'
|
||||
|
||||
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 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)$(prefix) ] ; then $(mkinstalldirs) $(DESTDIR)$(prefix) ; fi
|
||||
if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then $(mkinstalldirs) $(DESTDIR)$(exec_prefix) ; fi
|
||||
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 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 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 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 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 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 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:
|
302
src/libiconv/libiconv/Makefile.msvc
Normal file
302
src/libiconv/libiconv/Makefile.msvc
Normal file
@ -0,0 +1,302 @@
|
||||
# -*- Makefile -*- for libiconv
|
||||
|
||||
#### Start of system configuration section. ####
|
||||
|
||||
# Flags that can be set on the nmake command line:
|
||||
# DLL=1 for compiling a .dll with a stub .lib (default is a static .lib)
|
||||
# Note that this works only with MFLAGS=-MD.
|
||||
# MFLAGS={-ML|-MT|-MD} for defining the compilation model
|
||||
# MFLAGS=-ML (the default) Single-threaded, statically linked - libc.lib
|
||||
# MFLAGS=-MT Multi-threaded, statically linked - libcmt.lib
|
||||
# MFLAGS=-MD Multi-threaded, dynamically linked - msvcrt.lib
|
||||
# DEBUG=1 for compiling with debugging information
|
||||
# NO_NLS=1 do not use Native Language Support
|
||||
# PREFIX=Some\Directory Base directory for installation
|
||||
# IIPREFIX=Some\\Directory Same thing with doubled backslashes
|
||||
# Note that nmake command line flags are automatically passed to subdirectory
|
||||
# Makefiles. Therefore we don't need to pass them explicitly to subdirectory
|
||||
# Makefiles, but the subdirectory Makefiles need to have the same defaults.
|
||||
!if !defined(DLL)
|
||||
DLL=0
|
||||
!endif
|
||||
!if !defined(DEBUG)
|
||||
DEBUG=0
|
||||
!endif
|
||||
!if !defined(MFLAGS)
|
||||
!if !$(DLL)
|
||||
MFLAGS=
|
||||
!else
|
||||
MFLAGS=-MD
|
||||
!endif
|
||||
!endif
|
||||
!if !defined(NO_NLS)
|
||||
NO_NLS=0
|
||||
!endif
|
||||
!if !defined(PREFIX)
|
||||
PREFIX = c:\usr
|
||||
!endif
|
||||
!if !defined(IIPREFIX)
|
||||
IIPREFIX = c:\\usr
|
||||
!endif
|
||||
|
||||
# Directories used by "make install":
|
||||
prefix = $(PREFIX)
|
||||
exec_prefix = $(prefix)
|
||||
bindir = $(exec_prefix)\bin
|
||||
libdir = $(exec_prefix)\lib
|
||||
includedir = $(prefix)\include
|
||||
datadir = $(prefix)\share
|
||||
localedir = $(datadir)\locale
|
||||
mandir = $(datadir)\man
|
||||
docdir = $(datadir)\doc\libiconv
|
||||
|
||||
# Programs used by "make":
|
||||
LN = copy
|
||||
RM = -del
|
||||
|
||||
# Programs used by "make install":
|
||||
INSTALL = copy
|
||||
INSTALL_PROGRAM = copy
|
||||
INSTALL_DATA = copy
|
||||
|
||||
#### End of system configuration section. ####
|
||||
|
||||
SHELL = /bin/sh
|
||||
|
||||
all : config.h force
|
||||
cd libcharset
|
||||
$(MAKE) -f Makefile.msvc all
|
||||
cd ..
|
||||
$(LN) libcharset\include\localcharset.h lib\localcharset.h
|
||||
!if !$(DLL)
|
||||
$(LN) include\iconv.h.msvc-static include\iconv.h
|
||||
!else
|
||||
$(LN) include\iconv.h.msvc-shared include\iconv.h
|
||||
!endif
|
||||
cd lib
|
||||
$(MAKE) -f Makefile.msvc all
|
||||
cd ..
|
||||
cd srclib
|
||||
$(MAKE) -f Makefile.msvc all
|
||||
cd ..
|
||||
cd src
|
||||
$(MAKE) -f Makefile.msvc all
|
||||
cd ..
|
||||
cd po
|
||||
$(MAKE) -f Makefile.msvc all
|
||||
cd ..
|
||||
cd man
|
||||
$(MAKE) -f Makefile.msvc all
|
||||
cd ..
|
||||
cd tests
|
||||
$(MAKE) -f Makefile.msvc all
|
||||
cd ..
|
||||
|
||||
config.h : config.h.msvc
|
||||
-$(RM) config.h
|
||||
$(LN) config.h.msvc config.h
|
||||
|
||||
install : force
|
||||
cd libcharset
|
||||
$(MAKE) -f Makefile.msvc install
|
||||
cd ..
|
||||
cd lib
|
||||
$(MAKE) -f Makefile.msvc install
|
||||
cd ..
|
||||
cd srclib
|
||||
$(MAKE) -f Makefile.msvc install
|
||||
cd ..
|
||||
cd src
|
||||
$(MAKE) -f Makefile.msvc install
|
||||
cd ..
|
||||
cd po
|
||||
$(MAKE) -f Makefile.msvc install
|
||||
cd ..
|
||||
cd man
|
||||
$(MAKE) -f Makefile.msvc install
|
||||
cd ..
|
||||
cd tests
|
||||
$(MAKE) -f Makefile.msvc install
|
||||
cd ..
|
||||
-mkdir $(prefix)
|
||||
-mkdir $(includedir)
|
||||
$(INSTALL_DATA) include\iconv.h $(includedir)\iconv.h
|
||||
|
||||
installdirs : force
|
||||
cd libcharset
|
||||
$(MAKE) -f Makefile.msvc installdirs
|
||||
cd ..
|
||||
cd lib
|
||||
$(MAKE) -f Makefile.msvc installdirs
|
||||
cd ..
|
||||
cd srclib
|
||||
$(MAKE) -f Makefile.msvc installdirs
|
||||
cd ..
|
||||
cd src
|
||||
$(MAKE) -f Makefile.msvc installdirs
|
||||
cd ..
|
||||
cd po
|
||||
$(MAKE) -f Makefile.msvc installdirs
|
||||
cd ..
|
||||
cd man
|
||||
$(MAKE) -f Makefile.msvc installdirs
|
||||
cd ..
|
||||
cd tests
|
||||
$(MAKE) -f Makefile.msvc installdirs
|
||||
cd ..
|
||||
-mkdir $(prefix)
|
||||
-mkdir $(includedir)
|
||||
|
||||
uninstall : force
|
||||
cd libcharset
|
||||
$(MAKE) -f Makefile.msvc uninstall
|
||||
cd ..
|
||||
cd lib
|
||||
$(MAKE) -f Makefile.msvc uninstall
|
||||
cd ..
|
||||
cd srclib
|
||||
$(MAKE) -f Makefile.msvc uninstall
|
||||
cd ..
|
||||
cd src
|
||||
$(MAKE) -f Makefile.msvc uninstall
|
||||
cd ..
|
||||
cd po
|
||||
$(MAKE) -f Makefile.msvc uninstall
|
||||
cd ..
|
||||
cd man
|
||||
$(MAKE) -f Makefile.msvc uninstall
|
||||
cd ..
|
||||
cd tests
|
||||
$(MAKE) -f Makefile.msvc uninstall
|
||||
cd ..
|
||||
$(RM) $(includedir)\iconv.h
|
||||
|
||||
check : all force
|
||||
cd libcharset
|
||||
$(MAKE) -f Makefile.msvc check
|
||||
cd ..
|
||||
cd lib
|
||||
$(MAKE) -f Makefile.msvc check
|
||||
cd ..
|
||||
cd srclib
|
||||
$(MAKE) -f Makefile.msvc check
|
||||
cd ..
|
||||
cd src
|
||||
$(MAKE) -f Makefile.msvc check
|
||||
cd ..
|
||||
cd po
|
||||
$(MAKE) -f Makefile.msvc check
|
||||
cd ..
|
||||
cd man
|
||||
$(MAKE) -f Makefile.msvc check
|
||||
cd ..
|
||||
cd tests
|
||||
$(MAKE) -f Makefile.msvc check
|
||||
cd ..
|
||||
|
||||
mostlyclean : force
|
||||
$(RM) config.h
|
||||
cd libcharset
|
||||
$(MAKE) -f Makefile.msvc mostlyclean
|
||||
cd ..
|
||||
$(RM) lib\localcharset.h
|
||||
$(RM) include\iconv.h
|
||||
cd lib
|
||||
$(MAKE) -f Makefile.msvc mostlyclean
|
||||
cd ..
|
||||
cd srclib
|
||||
$(MAKE) -f Makefile.msvc mostlyclean
|
||||
cd ..
|
||||
cd src
|
||||
$(MAKE) -f Makefile.msvc mostlyclean
|
||||
cd ..
|
||||
cd po
|
||||
$(MAKE) -f Makefile.msvc mostlyclean
|
||||
cd ..
|
||||
cd man
|
||||
$(MAKE) -f Makefile.msvc mostlyclean
|
||||
cd ..
|
||||
cd tests
|
||||
$(MAKE) -f Makefile.msvc mostlyclean
|
||||
cd ..
|
||||
|
||||
clean : force
|
||||
$(RM) config.h
|
||||
cd libcharset
|
||||
$(MAKE) -f Makefile.msvc clean
|
||||
cd ..
|
||||
$(RM) lib\localcharset.h
|
||||
$(RM) include\iconv.h
|
||||
cd lib
|
||||
$(MAKE) -f Makefile.msvc clean
|
||||
cd ..
|
||||
cd srclib
|
||||
$(MAKE) -f Makefile.msvc clean
|
||||
cd ..
|
||||
cd src
|
||||
$(MAKE) -f Makefile.msvc clean
|
||||
cd ..
|
||||
cd po
|
||||
$(MAKE) -f Makefile.msvc clean
|
||||
cd ..
|
||||
cd man
|
||||
$(MAKE) -f Makefile.msvc clean
|
||||
cd ..
|
||||
cd tests
|
||||
$(MAKE) -f Makefile.msvc clean
|
||||
cd ..
|
||||
|
||||
distclean : force
|
||||
$(RM) config.h
|
||||
cd libcharset
|
||||
$(MAKE) -f Makefile.msvc distclean
|
||||
cd ..
|
||||
$(RM) lib\localcharset.h
|
||||
$(RM) include\iconv.h
|
||||
cd lib
|
||||
$(MAKE) -f Makefile.msvc distclean
|
||||
cd ..
|
||||
cd srclib
|
||||
$(MAKE) -f Makefile.msvc distclean
|
||||
cd ..
|
||||
cd src
|
||||
$(MAKE) -f Makefile.msvc distclean
|
||||
cd ..
|
||||
cd po
|
||||
$(MAKE) -f Makefile.msvc distclean
|
||||
cd ..
|
||||
cd man
|
||||
$(MAKE) -f Makefile.msvc distclean
|
||||
cd ..
|
||||
cd tests
|
||||
$(MAKE) -f Makefile.msvc distclean
|
||||
cd ..
|
||||
|
||||
maintainer-clean : force
|
||||
$(RM) config.h
|
||||
cd libcharset
|
||||
$(MAKE) -f Makefile.msvc maintainer-clean
|
||||
cd ..
|
||||
$(RM) lib\localcharset.h
|
||||
$(RM) include\iconv.h
|
||||
cd lib
|
||||
$(MAKE) -f Makefile.msvc maintainer-clean
|
||||
cd ..
|
||||
cd srclib
|
||||
$(MAKE) -f Makefile.msvc maintainer-clean
|
||||
cd ..
|
||||
cd src
|
||||
$(MAKE) -f Makefile.msvc maintainer-clean
|
||||
cd ..
|
||||
cd po
|
||||
$(MAKE) -f Makefile.msvc maintainer-clean
|
||||
cd ..
|
||||
cd man
|
||||
$(MAKE) -f Makefile.msvc maintainer-clean
|
||||
cd ..
|
||||
cd tests
|
||||
$(MAKE) -f Makefile.msvc maintainer-clean
|
||||
cd ..
|
||||
|
||||
force :
|
||||
|
77
src/libiconv/libiconv/Makefile.os2
Normal file
77
src/libiconv/libiconv/Makefile.os2
Normal file
@ -0,0 +1,77 @@
|
||||
# -*- Makefile -*- for libiconv, for OS2/EMX
|
||||
#
|
||||
|
||||
#### Start of system configuration section. ####
|
||||
|
||||
# Directories used by "make install":
|
||||
prefix = @prefix@
|
||||
exec_prefix = $(prefix)
|
||||
datadir = $(prefix)/share
|
||||
libdir = $(exec_prefix)/lib
|
||||
shlibdir = $(exec_prefix)/dll
|
||||
includedir = $(prefix)/include
|
||||
mandir = $(datadir)/man
|
||||
|
||||
#### End of system configuration section. ####
|
||||
|
||||
all : force
|
||||
sed -e 's/@ICONV_CONST@/const/g' -e 's/@HAVE_WCHAR_T@/1/g' < include/iconv.h.in > include/iconv.h
|
||||
(cd lib && $(MAKE) -f Makefile.os2 all && cd ..)
|
||||
(cd src && $(MAKE) -f Makefile.os2 all && cd ..)
|
||||
(cd man && $(MAKE) -f Makefile.os2 all && cd ..)
|
||||
(cd tests && $(MAKE) -f Makefile.os2 all && cd ..)
|
||||
|
||||
# Installs the library and include files only. Typically called with only
|
||||
# $(libdir), $(shlibdir) and $(includedir) - don't use $(prefix) and
|
||||
# $(exec_prefix) here.
|
||||
install-lib : all force
|
||||
@echo install to $(libdir), $(shlibdir) and $(includedir)
|
||||
cp include/iconv.h $(includedir)/iconv.h
|
||||
(cd lib && $(MAKE) -f Makefile.os2 install-lib libdir='$(libdir)' shlibdir='$(shlibdir)' includedir='$(includedir)' && cd ..)
|
||||
|
||||
install : force
|
||||
@echo install to $(prefix)
|
||||
cp include/iconv.h $(includedir)/iconv.h
|
||||
(cd lib && $(MAKE) -f Makefile.os2 install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' shlibdir='$(shlibdir)' && cd ..)
|
||||
(cd src && $(MAKE) -f Makefile.os2 install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' shlibdir='$(shlibdir)' && cd ..)
|
||||
(cd man && $(MAKE) -f Makefile.os2 install prefix='$(prefix)' exec_prefix='$(exec_prefix)' datadir='$(datadir)' mandir='$(mandir)' && cd ..)
|
||||
|
||||
uninstall : force
|
||||
rm -i $(includedir)/iconv.h
|
||||
(cd lib && $(MAKE) -f Makefile.os2 uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' shlibdir='$(shlibdir)' && cd ..)
|
||||
(cd src && $(MAKE) -f Makefile.os2 uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' shlibdir='$(shlibdir)' && cd ..)
|
||||
(cd man && $(MAKE) -f Makefile.os2 uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' datadir='$(datadir)' mandir='$(mandir)' && cd ..)
|
||||
|
||||
check : all force
|
||||
(cd lib && $(MAKE) -f Makefile.os2 check && cd ..)
|
||||
(cd src && $(MAKE) -f Makefile.os2 check && cd ..)
|
||||
(cd man && $(MAKE) -f Makefile.os2 check && cd ..)
|
||||
(cd tests && $(MAKE) -f Makefile.os2 check && cd ..)
|
||||
|
||||
mostlyclean : force
|
||||
(cd lib && $(MAKE) -f Makefile.os2 mostlyclean && cd ..)
|
||||
(cd src && $(MAKE) -f Makefile.os2 mostlyclean && cd ..)
|
||||
(cd man && $(MAKE) -f Makefile.os2 mostlyclean && cd ..)
|
||||
(cd tests && $(MAKE) -f Makefile.os2 mostlyclean && cd ..)
|
||||
|
||||
clean : force
|
||||
(cd lib && $(MAKE) -f Makefile.os2 clean && cd ..)
|
||||
(cd src && $(MAKE) -f Makefile.os2 clean && cd ..)
|
||||
(cd man && $(MAKE) -r Makefile.os2 clean && cd ..)
|
||||
(cd tests && $(MAKE) -r Makefile.os2 clean && cd ..)
|
||||
|
||||
distclean : force
|
||||
(cd lib && $(MAKE) -f Makefile.os2 distclean && cd ..)
|
||||
(cd src && $(MAKE) -f Makefile.os2 distclean && cd ..)
|
||||
(cd man && $(MAKE) -f Makefile.os2 distclean && cd ..)
|
||||
(cd tests && $(MAKE) -f Makefile.os2 distclean && cd ..)
|
||||
rm -f include/iconv.h
|
||||
|
||||
maintainer-clean : force
|
||||
(cd lib && $(MAKE) -f Makefile.os2 maintainer-clean && cd ..)
|
||||
(cd src && $(MAKE) -f Makefile.os2 maintainer-clean && cd ..)
|
||||
(cd man && $(MAKE) -f Makefile.os2 maintainer-clean && cd ..)
|
||||
(cd tests && $(MAKE) -f Makefile.os2 maintainer-clean && cd ..)
|
||||
rm -f include/iconv.h
|
||||
|
||||
force :
|
256
src/libiconv/libiconv/Makefile.vms
Normal file
256
src/libiconv/libiconv/Makefile.vms
Normal file
@ -0,0 +1,256 @@
|
||||
# -*- Makefile -*- for libiconv on VMS using the MMS utility
|
||||
|
||||
#### Start of system configuration section. ####
|
||||
|
||||
# Directories used by "make install":
|
||||
prefix = SYS$DATA:[
|
||||
exec_prefix = $(prefix)
|
||||
bindir = $(exec_prefix).bin
|
||||
libdir = $(exec_prefix).lib
|
||||
includedir = $(prefix).include
|
||||
datadir = $(prefix).share
|
||||
localedir = $(datadir).locale
|
||||
mandir = $(datadir).man
|
||||
docdir = $(datadir).doc.libiconv
|
||||
|
||||
# Programs used by "make":
|
||||
LN = copy
|
||||
RM = delete
|
||||
|
||||
# Programs used by "make install":
|
||||
INSTALL = copy
|
||||
INSTALL_PROGRAM = copy
|
||||
INSTALL_DATA = copy
|
||||
|
||||
#### End of system configuration section. ####
|
||||
|
||||
all : config.h
|
||||
set default [.libcharset]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all
|
||||
set default [-]
|
||||
$(LN) [.libcharset.include]localcharset.h [.lib]localcharset.h
|
||||
$(LN) [.include]iconv.h_vms [.include]iconv.h
|
||||
set default [.lib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all
|
||||
set default [-]
|
||||
set default [.srclib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all
|
||||
set default [-]
|
||||
set default [.src]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all
|
||||
set default [-]
|
||||
set default [.po]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all
|
||||
set default [-]
|
||||
set default [.man]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all
|
||||
set default [-]
|
||||
set default [.tests]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms all
|
||||
set default [-]
|
||||
|
||||
config.h : config.h_vms
|
||||
$(LN) config.h_vms config.h
|
||||
|
||||
install : config.h
|
||||
set default [.libcharset]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install
|
||||
set default [-]
|
||||
set default [.lib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install
|
||||
set default [-]
|
||||
set default [.srclib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install
|
||||
set default [-]
|
||||
set default [.src]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install
|
||||
set default [-]
|
||||
set default [.po]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install
|
||||
set default [-]
|
||||
set default [.man]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install
|
||||
set default [-]
|
||||
set default [.tests]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms install
|
||||
set default [-]
|
||||
create /directory $(prefix)]
|
||||
create /directory $(includedir)]
|
||||
$(INSTALL_DATA) [.include]iconv.h $(includedir)]iconv.h
|
||||
|
||||
installdirs :
|
||||
set default [.libcharset]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs
|
||||
set default [-]
|
||||
set default [.lib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs
|
||||
set default [-]
|
||||
set default [.srclib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs
|
||||
set default [-]
|
||||
set default [.src]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs
|
||||
set default [-]
|
||||
set default [.po]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs
|
||||
set default [-]
|
||||
set default [.man]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs
|
||||
set default [-]
|
||||
set default [.tests]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms installdirs
|
||||
set default [-]
|
||||
create /directory $(prefix)]
|
||||
create /directory $(includedir)]
|
||||
|
||||
uninstall :
|
||||
set default [.libcharset]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall
|
||||
set default [-]
|
||||
set default [.lib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall
|
||||
set default [-]
|
||||
set default [.srclib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall
|
||||
set default [-]
|
||||
set default [.src]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall
|
||||
set default [-]
|
||||
set default [.po]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall
|
||||
set default [-]
|
||||
set default [.man]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall
|
||||
set default [-]
|
||||
set default [.tests]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms uninstall
|
||||
set default [-]
|
||||
$(RM) $(includedir)]iconv.h
|
||||
|
||||
check : all
|
||||
set default [.libcharset]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check
|
||||
set default [-]
|
||||
set default [.lib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check
|
||||
set default [-]
|
||||
set default [.srclib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check
|
||||
set default [-]
|
||||
set default [.src]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check
|
||||
set default [-]
|
||||
set default [.po]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check
|
||||
set default [-]
|
||||
set default [.man]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check
|
||||
set default [-]
|
||||
set default [.tests]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms check
|
||||
set default [-]
|
||||
|
||||
mostlyclean :
|
||||
$(RM) config.h
|
||||
set default [.libcharset]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean
|
||||
set default [-]
|
||||
$(RM) [.lib]localcharset.h
|
||||
$(RM) [.include]iconv.h
|
||||
set default [.lib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean
|
||||
set default [-]
|
||||
set default [.srclib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean
|
||||
set default [-]
|
||||
set default [.src]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean
|
||||
set default [-]
|
||||
set default [.po]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean
|
||||
set default [-]
|
||||
set default [.man]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean
|
||||
set default [-]
|
||||
set default [.tests]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms mostlyclean
|
||||
set default [-]
|
||||
|
||||
clean :
|
||||
$(RM) config.h
|
||||
set default [.libcharset]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean
|
||||
set default [-]
|
||||
$(RM) [.lib]localcharset.h
|
||||
$(RM) [.include]iconv.h
|
||||
set default [.lib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean
|
||||
set default [-]
|
||||
set default [.srclib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean
|
||||
set default [-]
|
||||
set default [.src]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean
|
||||
set default [-]
|
||||
set default [.po]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean
|
||||
set default [-]
|
||||
set default [.man]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean
|
||||
set default [-]
|
||||
set default [.tests]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms clean
|
||||
set default [-]
|
||||
|
||||
distclean :
|
||||
$(RM) config.h
|
||||
set default [.libcharset]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean
|
||||
set default [-]
|
||||
$(RM) [.lib]localcharset.h
|
||||
$(RM) [.include]iconv.h
|
||||
set default [.lib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean
|
||||
set default [-]
|
||||
set default [.srclib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean
|
||||
set default [-]
|
||||
set default [.src]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean
|
||||
set default [-]
|
||||
set default [.po]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean
|
||||
set default [-]
|
||||
set default [.man]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean
|
||||
set default [-]
|
||||
set default [.tests]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms distclean
|
||||
set default [-]
|
||||
|
||||
maintainer-clean :
|
||||
$(RM) config.h
|
||||
set default [.libcharset]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean
|
||||
set default [-]
|
||||
$(RM) [.lib]localcharset.h
|
||||
$(RM) [.include]iconv.h
|
||||
set default [.lib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean
|
||||
set default [-]
|
||||
set default [.srclib]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean
|
||||
set default [-]
|
||||
set default [.src]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean
|
||||
set default [-]
|
||||
set default [.po]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean
|
||||
set default [-]
|
||||
set default [.man]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean
|
||||
set default [-]
|
||||
set default [.tests]
|
||||
$(MMS) $(MMSQUALIFIERS) /description=Makefile.vms maintainer-clean
|
||||
set default [-]
|
||||
|
152
src/libiconv/libiconv/NEWS
Normal file
152
src/libiconv/libiconv/NEWS
Normal file
@ -0,0 +1,152 @@
|
||||
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.
|
||||
|
395
src/libiconv/libiconv/NOTES
Normal file
395
src/libiconv/libiconv/NOTES
Normal file
@ -0,0 +1,395 @@
|
||||
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.
|
||||
* 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.
|
||||
* 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 each of tests/Makefile.in,
|
||||
tests/Makefile.msvc and tests/Makefile.os2. 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.
|
||||
|
46
src/libiconv/libiconv/PORTS
Normal file
46
src/libiconv/libiconv/PORTS
Normal file
@ -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
|
||||
|
153
src/libiconv/libiconv/README
Normal file
153
src/libiconv/libiconv/README
Normal file
@ -0,0 +1,153 @@
|
||||
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},
|
||||
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: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
|
||||
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!
|
||||
|
||||
|
||||
Download:
|
||||
ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.11.tar.gz
|
||||
|
||||
Homepage:
|
||||
http://www.gnu.org/software/libiconv/
|
||||
|
||||
Bug reports to:
|
||||
<bug-gnu-libiconv@gnu.org>
|
||||
|
||||
|
||||
Bruno Haible <bruno@clisp.org>
|
3
src/libiconv/libiconv/README.djgpp
Normal file
3
src/libiconv/libiconv/README.djgpp
Normal file
@ -0,0 +1,3 @@
|
||||
Installation on DJGPP:
|
||||
|
||||
See the file djgpp/README.
|
46
src/libiconv/libiconv/README.os2
Normal file
46
src/libiconv/libiconv/README.os2
Normal file
@ -0,0 +1,46 @@
|
||||
Installation on OS/2:
|
||||
|
||||
- Port done by Akira Hatakeyama <akira@sra.co.jp>, see
|
||||
http://www.sra.co.jp/people/akira/os2/libiconv/index.html
|
||||
|
||||
- Requires emx+gcc, recommend emx-0.9d with fix03 or newer.
|
||||
|
||||
Also requires a few GNU utilities to be installed: GNU fileutils (cp, mv,
|
||||
rm, ...), GNU textutils (cat, cmp, uniq, ...), GNU sed, GNU make.
|
||||
|
||||
- Cannot build in a separate directory.
|
||||
|
||||
- Build instructions:
|
||||
|
||||
No configure script needs to be run. Just
|
||||
|
||||
make -f Makefile.os2 all
|
||||
|
||||
Checking it:
|
||||
|
||||
make -f Makefile.os2 check
|
||||
|
||||
- Installation:
|
||||
|
||||
make -f Makefile.os2 install prefix="X:/emx"
|
||||
|
||||
The prefix option specifies where you have EMX installed and wish the
|
||||
iconv library and headers to be installed.
|
||||
|
||||
This will install
|
||||
* an include file $(prefix)/include/iconv.h
|
||||
* a DLL $(prefix)/dll/iconv.dll
|
||||
* an import library for .o (use without "-Zomf") $(prefix)/lib/iconv.a
|
||||
* an import library for .obj (use with "-Zomf") $(prefix)/lib/iconv.lib
|
||||
* a few manual pages $(prefix)/man/man3/iconv*.3
|
||||
|
||||
- Use:
|
||||
|
||||
Your main program should include <iconv.h> when using the iconv* functions.
|
||||
|
||||
If you compile as .o (no "-Zomf"), link with iconv.a.
|
||||
If you compile as .obj (with "-Zomf"), link with iconv.lib.
|
||||
|
||||
The DLL was built with "-Zmt -Zcrtdll" options. So your main program must
|
||||
be built with "-Zmt -Zcrtdll" as well (or the shorthand "-Zmtd").
|
||||
|
119
src/libiconv/libiconv/README.woe32
Normal file
119
src/libiconv/libiconv/README.woe32
Normal file
@ -0,0 +1,119 @@
|
||||
Installation on Woe32 (WinNT/2000/XP, Win95/98/ME):
|
||||
|
||||
- Requires MS Visual C/C++ 4.0 or 5.0 or 6.0 or 7.0.
|
||||
|
||||
Note that binaries created with MSVC 7.0 should not be distributed: They
|
||||
depend on a closed-source library 'msvcr70.dll' which is not normally part
|
||||
of a Woe32 installation. You cannot distribute 'msvcr70.dll' with the
|
||||
binaries - this would be a violation of the GPL and of the Microsoft EULA.
|
||||
You can distribute the binaries without including 'msvcr70.dll', but this
|
||||
will cause problems for users that don't have this library on their system.
|
||||
Therefore it is not recommended. This problem does not occur with MSVC 6.0
|
||||
and earlier.
|
||||
|
||||
- Cannot build in a separate directory.
|
||||
|
||||
- Build instructions:
|
||||
|
||||
Make sure that the MSVC4.0 or MSVC5.0 or MSVC6.0 or MSVC7.0 utilities
|
||||
("cl" etc.) are found in PATH. In a typical MSVC6.0 installation, this
|
||||
can be achieved by running
|
||||
C:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat
|
||||
In a typical MSVC7.0 installation, it can be achieved by running
|
||||
C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\vsvars32.bat
|
||||
|
||||
Decide which compilation model you will use:
|
||||
MFLAGS=-ML (the default) Single-threaded, statically linked - libc.lib
|
||||
MFLAGS=-MT Multi-threaded, statically linked - libcmt.lib
|
||||
MFLAGS=-MD Multi-threaded, dynamically linked - msvcrt.lib
|
||||
|
||||
Step 1: Build and install the libiconv library and the iconv.exe program
|
||||
without internationalization. (This step is only needed the first time
|
||||
you install GNU libiconv.)
|
||||
|
||||
For shared library (DLL):
|
||||
|
||||
nmake -f Makefile.msvc NO_NLS=1 DLL=1 MFLAGS=-MD
|
||||
or
|
||||
nmake -f Makefile.msvc NO_NLS=1 DLL=1 MFLAGS=-MD check
|
||||
[This runs the testsuite.]
|
||||
|
||||
For static library:
|
||||
|
||||
nmake -f Makefile.msvc NO_NLS=1 MFLAGS=-MD
|
||||
or
|
||||
nmake -f Makefile.msvc NO_NLS=1 MFLAGS=-MD check
|
||||
[This runs the testsuite.]
|
||||
|
||||
If you want to build both the shared and static library, you have to
|
||||
unpack the libiconv sources twice in different directories. Don't mix
|
||||
the two formats; you cannot use the iconv.h generated for the static
|
||||
library together with the shared library or vice versa.
|
||||
|
||||
Install it:
|
||||
|
||||
nmake -f Makefile.msvc NO_NLS=1 DLL=1 MFLAGS=-MD install
|
||||
or
|
||||
nmake -f Makefile.msvc NO_NLS=1 MFLAGS=-MD install
|
||||
|
||||
Remove traces of this preliminary build:
|
||||
|
||||
nmake -f Makefile.msvc NO_NLS=1 DLL=1 MFLAGS=-MD distclean
|
||||
or
|
||||
nmake -f Makefile.msvc NO_NLS=1 MFLAGS=-MD distclean
|
||||
|
||||
Step 2: Build and install the GNU gettext package (version 0.12 or newer,
|
||||
libintl library and various programs) using the same MFLAGS. Then come
|
||||
back to here, to build GNU libiconv. (This step is only needed if you
|
||||
haven't GNU gettext already installed.)
|
||||
|
||||
Step 3: Build and install the libiconv library and the iconv.exe program
|
||||
with internationalization.
|
||||
|
||||
For shared library (DLL):
|
||||
|
||||
nmake -f Makefile.msvc DLL=1 MFLAGS=-MD
|
||||
or
|
||||
nmake -f Makefile.msvc DLL=1 MFLAGS=-MD check
|
||||
[This runs the testsuite.]
|
||||
|
||||
For static library:
|
||||
|
||||
nmake -f Makefile.msvc MFLAGS=-MD
|
||||
or
|
||||
nmake -f Makefile.msvc MFLAGS=-MD check [This runs the testsuite.]
|
||||
|
||||
If you want to build both the shared and static library, you have to
|
||||
unpack the libiconv sources twice in different directories. Don't mix
|
||||
the two formats; you cannot use the iconv.h generated for the static
|
||||
library together with the shared library or vice versa.
|
||||
|
||||
Install it:
|
||||
|
||||
nmake -f Makefile.msvc DLL=1 MFLAGS=-MD install
|
||||
or
|
||||
nmake -f Makefile.msvc MFLAGS=-MD install
|
||||
|
||||
- Installation:
|
||||
|
||||
Manual minimal installation:
|
||||
|
||||
Copy include/iconv.h to your header file repository.
|
||||
Copy lib/iconv.lib to your library repository.
|
||||
If you built for shared library, also copy lib/iconv.dll into one of
|
||||
the directories listed in your PATH, or into the directory containing
|
||||
the executable which shall make use of libiconv.
|
||||
|
||||
Complete and automatic installation:
|
||||
|
||||
nmake -f Makefile.msvc DLL=1 MFLAGS=-MD install PREFIX=InstallBaseDirectory
|
||||
or
|
||||
nmake -f Makefile.msvc MFLAGS=-MD install PREFIX=InstallBaseDirectory
|
||||
|
||||
By default, the compiled package is installed under c:\usr. You can
|
||||
specify a different directory by giving the installation base directory
|
||||
in a PREFIX=... option in the install step. (DON'T give the PREFIX
|
||||
already in the build step! This won't work.) You can also omit the
|
||||
PREFIX=... option, thus installing everything under c:\usr, and then
|
||||
move the installed package as a whole from c:\usr to a different
|
||||
location.
|
15
src/libiconv/libiconv/THANKS
Normal file
15
src/libiconv/libiconv/THANKS
Normal file
@ -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
|
||||
|
889
src/libiconv/libiconv/aclocal.m4
vendored
Normal file
889
src/libiconv/libiconv/aclocal.m4
vendored
Normal file
@ -0,0 +1,889 @@
|
||||
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 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.
|
||||
|
||||
# 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.
|
||||
|
||||
# Copyright (C) 2002, 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_AUTOMAKE_VERSION(VERSION)
|
||||
# ----------------------------
|
||||
# Automake X.Y traces this macro to ensure aclocal.m4 has been
|
||||
# generated from the m4 files accompanying Automake X.Y.
|
||||
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
|
||||
|
||||
# AM_SET_CURRENT_AUTOMAKE_VERSION
|
||||
# -------------------------------
|
||||
# Call AM_AUTOMAKE_VERSION so it can be traced.
|
||||
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
|
||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
||||
[AM_AUTOMAKE_VERSION([1.9.6])])
|
||||
|
||||
# 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
|
||||
# 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 7
|
||||
|
||||
# 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])
|
||||
AC_SUBST([$1_FALSE])
|
||||
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
|
||||
# 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 8
|
||||
|
||||
# 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], 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
|
||||
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
|
||||
|
||||
case $depmode in
|
||||
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
|
||||
;;
|
||||
none) break ;;
|
||||
esac
|
||||
# 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.
|
||||
if depmode=$depmode \
|
||||
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
||||
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
||||
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
||||
>/dev/null 2>conftest.err &&
|
||||
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
grep sub/conftest.${OBJEXT-o} 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])
|
||||
])
|
||||
|
||||
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 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 3
|
||||
|
||||
# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
# ------------------------------
|
||||
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[for mf in $CONFIG_FILES; 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.
|
||||
# So let's grep whole file.
|
||||
if grep '^#.*generated by automake' $mf > /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
|
||||
# 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 12
|
||||
|
||||
# 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.58])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
|
||||
# test to see if srcdir already configured
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
||||
test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
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
|
||||
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)
|
||||
AM_PROG_INSTALL_SH
|
||||
AM_PROG_INSTALL_STRIP
|
||||
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
|
||||
])
|
||||
])
|
||||
|
||||
|
||||
# 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_stamp_count=1
|
||||
for _am_header in $config_headers :; do
|
||||
case $_am_header in
|
||||
$1 | $1:* )
|
||||
break ;;
|
||||
* )
|
||||
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
||||
esac
|
||||
done
|
||||
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
|
||||
|
||||
# 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_SH
|
||||
# ------------------
|
||||
# Define $install_sh.
|
||||
AC_DEFUN([AM_PROG_INSTALL_SH],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
||||
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 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 3
|
||||
|
||||
# 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 done
|
||||
.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
|
||||
# We grep out `Entering directory' and `Leaving directory'
|
||||
# messages which can occur if `w' ends up in MAKEFLAGS.
|
||||
# In particular we don't look at `^make:' because GNU make might
|
||||
# be invoked under some other name (usually "gmake"), in which
|
||||
# case it prints its new name instead of `make'.
|
||||
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
||||
am__include=include
|
||||
am__quote=
|
||||
_am_result=GNU
|
||||
fi
|
||||
# Now try BSD make style include.
|
||||
if test "$am__include" = "#"; then
|
||||
echo '.include "confinc"' > confmf
|
||||
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
||||
am__include=.include
|
||||
am__quote="\""
|
||||
_am_result=BSD
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([am__include])
|
||||
AC_SUBST([am__quote])
|
||||
AC_MSG_RESULT([$_am_result])
|
||||
rm -f confinc confmf
|
||||
])
|
||||
|
||||
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1997, 1999, 2000, 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.
|
||||
|
||||
# serial 4
|
||||
|
||||
# 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
|
||||
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
# 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 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 whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
|
||||
#
|
||||
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
|
||||
# created by `make install' are always world readable, even if the
|
||||
# installer happens to have an overly restrictive umask (e.g. 077).
|
||||
# This was a mistake. There are at least two reasons why we must not
|
||||
# use `-m 0755':
|
||||
# - it causes special bits like SGID to be ignored,
|
||||
# - it may be too restrictive (some setups expect 775 directories).
|
||||
#
|
||||
# Do not use -m 0755 and let people choose whatever they expect by
|
||||
# setting umask.
|
||||
#
|
||||
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
|
||||
# Some implementations (such as Solaris 8's) are not thread-safe: if a
|
||||
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
|
||||
# concurrently, both version can detect that a/ is missing, but only
|
||||
# one can create it and the other will error out. Consequently we
|
||||
# restrict ourselves to GNU make (using the --version option ensures
|
||||
# this.)
|
||||
AC_DEFUN([AM_PROG_MKDIR_P],
|
||||
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
||||
# We used to keeping the `.' as first argument, in order to
|
||||
# allow $(mkdir_p) to be used without argument. As in
|
||||
# $(mkdir_p) $(somedir)
|
||||
# where $(somedir) is conditionally defined. However this is wrong
|
||||
# for two reasons:
|
||||
# 1. if the package is installed by a user who cannot write `.'
|
||||
# make install will fail,
|
||||
# 2. the above comment should most certainly read
|
||||
# $(mkdir_p) $(DESTDIR)$(somedir)
|
||||
# so it does not work when $(somedir) is undefined and
|
||||
# $(DESTDIR) is not.
|
||||
# To support the latter case, we have to write
|
||||
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
|
||||
# so the `.' trick is pointless.
|
||||
mkdir_p='mkdir -p --'
|
||||
else
|
||||
# On NextStep and OpenStep, the `mkdir' command does not
|
||||
# recognize any option. It will interpret all options as
|
||||
# directories to create, and then abort because `.' already
|
||||
# exists.
|
||||
for d in ./-p ./--version;
|
||||
do
|
||||
test -d $d && rmdir $d
|
||||
done
|
||||
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
|
||||
if test -f "$ac_aux_dir/mkinstalldirs"; then
|
||||
mkdir_p='$(mkinstalldirs)'
|
||||
else
|
||||
mkdir_p='$(install_sh) -d'
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([mkdir_p])])
|
||||
|
||||
# Helper functions for option handling. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2002, 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 3
|
||||
|
||||
# _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],
|
||||
[AC_FOREACH([_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
|
||||
# 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_SANITY_CHECK
|
||||
# ---------------
|
||||
AC_DEFUN([AM_SANITY_CHECK],
|
||||
[AC_MSG_CHECKING([whether build environment is sane])
|
||||
# Just in case
|
||||
sleep 1
|
||||
echo timestamp > conftest.file
|
||||
# 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="\${SHELL} \$(install_sh) -c -s"
|
||||
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
||||
|
||||
# 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([m4/alloca.m4])
|
||||
m4_include([m4/allocsa.m4])
|
||||
m4_include([m4/canonicalize.m4])
|
||||
m4_include([m4/codeset.m4])
|
||||
m4_include([m4/cp.m4])
|
||||
m4_include([m4/eealloc.m4])
|
||||
m4_include([m4/eilseq.m4])
|
||||
m4_include([m4/endian.m4])
|
||||
m4_include([m4/error.m4])
|
||||
m4_include([m4/extensions.m4])
|
||||
m4_include([m4/full-header-path.m4])
|
||||
m4_include([m4/gettext.m4])
|
||||
m4_include([m4/iconv.m4])
|
||||
m4_include([m4/lib-ld.m4])
|
||||
m4_include([m4/lib-link.m4])
|
||||
m4_include([m4/lib-prefix.m4])
|
||||
m4_include([m4/libtool.m4])
|
||||
m4_include([m4/ln.m4])
|
||||
m4_include([m4/longdouble.m4])
|
||||
m4_include([m4/longlong.m4])
|
||||
m4_include([m4/mbstate_t.m4])
|
||||
m4_include([m4/nls.m4])
|
||||
m4_include([m4/onceonly.m4])
|
||||
m4_include([m4/pathmax.m4])
|
||||
m4_include([m4/po.m4])
|
||||
m4_include([m4/progtest.m4])
|
||||
m4_include([m4/readlink.m4])
|
||||
m4_include([m4/relocatable.m4])
|
||||
m4_include([m4/setenv.m4])
|
||||
m4_include([m4/size_max.m4])
|
||||
m4_include([m4/ssize_t.m4])
|
||||
m4_include([m4/stdbool.m4])
|
||||
m4_include([m4/stdint.m4])
|
||||
m4_include([m4/strerror.m4])
|
||||
m4_include([m4/unistd_h.m4])
|
||||
m4_include([m4/unlocked-io.m4])
|
||||
m4_include([m4/visibility.m4])
|
||||
m4_include([m4/wchar_t.m4])
|
||||
m4_include([m4/xreadlink.m4])
|
1500
src/libiconv/libiconv/build-aux/config.guess
vendored
Normal file
1500
src/libiconv/libiconv/build-aux/config.guess
vendored
Normal file
File diff suppressed because it is too large
Load Diff
148
src/libiconv/libiconv/build-aux/config.libpath
Normal file
148
src/libiconv/libiconv/build-aux/config.libpath
Normal file
@ -0,0 +1,148 @@
|
||||
#! /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-2005 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 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.
|
||||
#
|
||||
# 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
|
||||
;;
|
||||
aix4* | aix5*)
|
||||
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
|
||||
;;
|
||||
bsdi4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
cygwin* | mingw* | pw32*)
|
||||
# FIXME: first we should search . and the directory the executable is in
|
||||
shlibpath_var=PATH
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
shlibpath_var=DYLD_LIBRARY_PATH
|
||||
;;
|
||||
freebsd1*)
|
||||
;;
|
||||
kfreebsd*-gnu)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
freebsd*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
gnu*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
shlibpath_var=SHLIB_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-gnu*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
knetbsd*-gnu)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
netbsd*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
newsos6)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
openbsd*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
os2*)
|
||||
shlibpath_var=LIBPATH
|
||||
;;
|
||||
osf3* | osf4* | osf5*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
sco3.2v5*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
solaris*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
sunos4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
dgux*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
sysv4*MP*)
|
||||
if test -d /usr/nec ;then
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
fi
|
||||
;;
|
||||
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
|
614
src/libiconv/libiconv/build-aux/config.rpath
Normal file
614
src/libiconv/libiconv/build-aux/config.rpath
Normal file
@ -0,0 +1,614 @@
|
||||
#! /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-2006 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 AC_LIBTOOL_PROG_COMPILER_PIC.
|
||||
|
||||
wl=
|
||||
if test "$GCC" = yes; then
|
||||
wl='-Wl,'
|
||||
else
|
||||
case "$host_os" in
|
||||
aix*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
darwin*)
|
||||
case $cc_basename in
|
||||
xlc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
mingw* | pw32* | os2*)
|
||||
;;
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
newsos6)
|
||||
;;
|
||||
linux*)
|
||||
case $cc_basename in
|
||||
icc* | ecc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
pgcc | pgf77 | pgf90)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
ccc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
como)
|
||||
wl='-lopt='
|
||||
;;
|
||||
*)
|
||||
case `$CC -V 2>&1 | sed 5q` in
|
||||
*Sun\ C*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
osf3* | osf4* | osf5*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
sco3.2v5*)
|
||||
;;
|
||||
solaris*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
sunos4*)
|
||||
wl='-Qoption ld '
|
||||
;;
|
||||
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
sysv4*MP*)
|
||||
;;
|
||||
unicos*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
uts4*)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS.
|
||||
|
||||
hardcode_libdir_flag_spec=
|
||||
hardcode_libdir_separator=
|
||||
hardcode_direct=no
|
||||
hardcode_minus_L=no
|
||||
|
||||
case "$host_os" in
|
||||
cygwin* | mingw* | pw32*)
|
||||
# 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
|
||||
aix3* | aix4* | aix5*)
|
||||
# On AIX/PPC, the GNU linker is very broken
|
||||
if test "$host_cpu" != ia64; then
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
amigaos*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
|
||||
# that the semantics of dynamic libraries on AmigaOS, at least up
|
||||
# to version 4, is to share data among multiple programs linked
|
||||
# with the same dynamic library. Since this doesn't match the
|
||||
# behavior of shared libraries on other platforms, we cannot use
|
||||
# them.
|
||||
ld_shlibs=no
|
||||
;;
|
||||
beos*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
cygwin* | mingw* | pw32*)
|
||||
# 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
|
||||
;;
|
||||
interix3*)
|
||||
hardcode_direct=no
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
;;
|
||||
linux*)
|
||||
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
|
||||
;;
|
||||
aix4* | aix5*)
|
||||
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].*|aix5*)
|
||||
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
|
||||
hardcode_direct=yes
|
||||
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*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
# see comment about different semantics on the GNU ld section
|
||||
ld_shlibs=no
|
||||
;;
|
||||
bsdi[45]*)
|
||||
;;
|
||||
cygwin* | mingw* | pw32*)
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec=' '
|
||||
libext=lib
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
hardcode_direct=no
|
||||
if test "$GCC" = yes ; then
|
||||
:
|
||||
else
|
||||
case $cc_basename in
|
||||
xlc*)
|
||||
;;
|
||||
*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
dgux*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
;;
|
||||
freebsd1*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
freebsd2.2*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
freebsd2*)
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
freebsd* | kfreebsd*-gnu | dragonfly*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
hpux9*)
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
hpux10*)
|
||||
if test "$with_gnu_ld" = no; then
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
fi
|
||||
;;
|
||||
hpux11*)
|
||||
if test "$with_gnu_ld" = no; then
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
case $host_cpu in
|
||||
hppa*64*|ia64*)
|
||||
hardcode_direct=no
|
||||
;;
|
||||
*)
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
netbsd*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
newsos6)
|
||||
hardcode_direct=yes
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
openbsd*)
|
||||
hardcode_direct=yes
|
||||
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
else
|
||||
case "$host_os" in
|
||||
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
;;
|
||||
*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
os2*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
osf3*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
osf4* | osf5*)
|
||||
if test "$GCC" = yes; then
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
else
|
||||
# Both cc and cxx compiler support -rpath directly
|
||||
hardcode_libdir_flag_spec='-rpath $libdir'
|
||||
fi
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
solaris*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
;;
|
||||
sunos4*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
sysv4)
|
||||
case $host_vendor in
|
||||
sni)
|
||||
hardcode_direct=yes # is this really true???
|
||||
;;
|
||||
siemens)
|
||||
hardcode_direct=no
|
||||
;;
|
||||
motorola)
|
||||
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
sysv4.3*)
|
||||
;;
|
||||
sysv4*MP*)
|
||||
if test -d /usr/nec; then
|
||||
ld_shlibs=yes
|
||||
fi
|
||||
;;
|
||||
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6*)
|
||||
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
|
||||
hardcode_libdir_separator=':'
|
||||
;;
|
||||
uts4*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
;;
|
||||
*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Check dynamic linker characteristics
|
||||
# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER.
|
||||
libname_spec='lib$name'
|
||||
case "$host_os" in
|
||||
aix3*)
|
||||
;;
|
||||
aix4* | aix5*)
|
||||
;;
|
||||
amigaos*)
|
||||
;;
|
||||
beos*)
|
||||
;;
|
||||
bsdi[45]*)
|
||||
;;
|
||||
cygwin* | mingw* | pw32*)
|
||||
shrext=.dll
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
shrext=.dylib
|
||||
;;
|
||||
dgux*)
|
||||
;;
|
||||
freebsd1*)
|
||||
;;
|
||||
kfreebsd*-gnu)
|
||||
;;
|
||||
freebsd* | dragonfly*)
|
||||
;;
|
||||
gnu*)
|
||||
;;
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
case $host_cpu in
|
||||
ia64*)
|
||||
shrext=.so
|
||||
;;
|
||||
hppa*64*)
|
||||
shrext=.sl
|
||||
;;
|
||||
*)
|
||||
shrext=.sl
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
interix3*)
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
case "$host_os" in
|
||||
irix5* | nonstopux*)
|
||||
libsuff= shlibsuff=
|
||||
;;
|
||||
*)
|
||||
case $LD in
|
||||
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
|
||||
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
|
||||
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
|
||||
*) libsuff= shlibsuff= ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
linux*)
|
||||
;;
|
||||
knetbsd*-gnu)
|
||||
;;
|
||||
netbsd*)
|
||||
;;
|
||||
newsos6)
|
||||
;;
|
||||
nto-qnx*)
|
||||
;;
|
||||
openbsd*)
|
||||
;;
|
||||
os2*)
|
||||
libname_spec='$name'
|
||||
shrext=.dll
|
||||
;;
|
||||
osf3* | osf4* | osf5*)
|
||||
;;
|
||||
solaris*)
|
||||
;;
|
||||
sunos4*)
|
||||
;;
|
||||
sysv4 | sysv4.3*)
|
||||
;;
|
||||
sysv4*MP*)
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
||||
;;
|
||||
uts4*)
|
||||
;;
|
||||
esac
|
||||
|
||||
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
|
||||
escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
|
||||
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
|
||||
LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
|
||||
|
||||
# How to pass a linker flag through the compiler.
|
||||
wl="$escaped_wl"
|
||||
|
||||
# Static library suffix (normally "a").
|
||||
libext="$libext"
|
||||
|
||||
# Shared library suffix (normally "so").
|
||||
shlibext="$shlibext"
|
||||
|
||||
# Flag to hardcode \$libdir into a binary during linking.
|
||||
# This must work even if \$libdir does not exist.
|
||||
hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
|
||||
|
||||
# Whether we need a single -rpath flag with a separated argument.
|
||||
hardcode_libdir_separator="$hardcode_libdir_separator"
|
||||
|
||||
# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
|
||||
# resulting binary.
|
||||
hardcode_direct="$hardcode_direct"
|
||||
|
||||
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
|
||||
# resulting binary.
|
||||
hardcode_minus_L="$hardcode_minus_L"
|
||||
|
||||
EOF
|
1608
src/libiconv/libiconv/build-aux/config.sub
vendored
Normal file
1608
src/libiconv/libiconv/build-aux/config.sub
vendored
Normal file
File diff suppressed because it is too large
Load Diff
130
src/libiconv/libiconv/build-aux/install-reloc
Normal file
130
src/libiconv/libiconv/build-aux/install-reloc
Normal file
@ -0,0 +1,130 @@
|
||||
#!/bin/sh
|
||||
# install-reloc - install a program including a relocating wrapper
|
||||
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
||||
# Written by Bruno Haible <bruno@clisp.org>, 2003.
|
||||
#
|
||||
# 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 2, 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.
|
||||
|
||||
# Usage:
|
||||
# install-reloc library_path_var library_path_value prefix compile_command srcdir config_h_dir exeext install_command... destprog
|
||||
# where
|
||||
# - library_path_var is the platform dependent runtime library path variable
|
||||
# - library_path_value is a colon separated list of directories that contain
|
||||
# the libraries at installation time (use this instead of -rpath)
|
||||
# - prefix is the base directory at installation time
|
||||
# - compile_command is a C compiler compilation and linking command
|
||||
# - srcdir is the directory where to find relocwrapper.c and its dependencies
|
||||
# - builddir is the directory where to find built dependencies (namely,
|
||||
# alloca.h and stdbool.h)
|
||||
# - config_h_dir is the directory where to find config.h
|
||||
# - exeext is platform dependent suffix of executables
|
||||
# - install-command is the install command line, excluding the final destprog
|
||||
# - destprog is the destination program name
|
||||
# install-reloc renames destprog to destprog.bin and installs a relocating
|
||||
# wrapper in the place of destprog.
|
||||
|
||||
progname=$0
|
||||
|
||||
if test $# -eq 2; then
|
||||
# Get arguments from environment variables.
|
||||
library_path_var=$RELOC_LIBRARY_PATH_VAR
|
||||
library_path_value=$RELOC_LIBRARY_PATH_VALUE
|
||||
prefix=$RELOC_PREFIX
|
||||
compile_command=$RELOC_COMPILE_COMMAND
|
||||
srcdir=$RELOC_SRCDIR
|
||||
builddir=$RELOC_BUILDDIR
|
||||
config_h_dir=$RELOC_CONFIG_H_DIR
|
||||
exeext=$RELOC_EXEEXT
|
||||
install_prog=$RELOC_INSTALL_PROG # including the "-c" option
|
||||
else
|
||||
if test $# -ge 9; then
|
||||
# Get fixed position arguments.
|
||||
library_path_var=$1
|
||||
library_path_value=$2
|
||||
prefix=$3
|
||||
compile_command=$4
|
||||
srcdir=$5
|
||||
builddir=$6
|
||||
config_h_dir=$7
|
||||
exeext=$8
|
||||
install_prog=$9 # maybe not including the "-c" option
|
||||
shift
|
||||
shift
|
||||
shift
|
||||
shift
|
||||
shift
|
||||
shift
|
||||
shift
|
||||
shift
|
||||
shift
|
||||
else
|
||||
echo "Usage: $0 library_path_var library_path_value prefix compile_command srcdir builddir config_h_dir exeext install_command... destprog" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# Get destprog, last argument.
|
||||
destprog=
|
||||
for arg
|
||||
do
|
||||
destprog=$arg
|
||||
done
|
||||
# Remove trailing $exeext, if present.
|
||||
if test -n "$exeext"; then
|
||||
sedexpr='s|'`echo "$exeext" | sed -e 's,\.,\\\.,g'`'$||'
|
||||
destprog=`echo "$destprog" | sed -e "$sedexpr"`
|
||||
fi
|
||||
|
||||
# Outputs a command and runs it.
|
||||
func_verbose ()
|
||||
{
|
||||
echo "$@"
|
||||
"$@"
|
||||
}
|
||||
|
||||
# Run install_command.
|
||||
func_verbose $install_prog "$@" || exit $?
|
||||
|
||||
# If the platform doesn't support LD_LIBRARY_PATH or similar, we cannot build
|
||||
# a wrapper.
|
||||
test -n "$library_path_var" || exit 0
|
||||
|
||||
libdirs=
|
||||
save_IFS="$IFS"; IFS=":"
|
||||
for dir in $library_path_value; do
|
||||
IFS="$save_IFS"
|
||||
if test -n "$dir"; then
|
||||
case "$libdirs" in
|
||||
*"\"$dir\""*) ;; # remove duplicate
|
||||
*) libdirs="$libdirs\"$dir\"," ;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
IFS="$save_IFS"
|
||||
# If there are no library directories to add at runtime, we don't need a
|
||||
# wrapper.
|
||||
test -n "$libdirs" || exit 0
|
||||
|
||||
# Compile wrapper.
|
||||
installdir=`echo "$destprog" | sed -e 's,/[^/]*$,,'`
|
||||
func_verbose $compile_command -I"$builddir" -I"$srcdir" -I"$config_h_dir" -DHAVE_CONFIG_H -DNO_XMALLOC -D"INSTALLPREFIX=\"$prefix\"" -D"INSTALLDIR=\"$installdir\"" -D"LIBPATHVAR=\"$library_path_var\"" -D"LIBDIRS=$libdirs" -D"EXEEXT=\"$exeext\"" "$srcdir"/relocwrapper.c "$srcdir"/progname.c "$srcdir"/progreloc.c "$srcdir"/xreadlink.c "$srcdir"/readlink.c "$srcdir"/canonicalize.c "$srcdir"/allocsa.c "$srcdir"/relocatable.c "$srcdir"/setenv.c "$srcdir"/strerror.c -o "$destprog.wrapper$exeext" || exit $?
|
||||
|
||||
# Rename $destprog.wrapper -> $destprog -> $destprog.bin.
|
||||
ln -f "$destprog$exeext" "$destprog.bin$exeext" \
|
||||
|| { rm -f "$destprog.bin$exeext" && cp -p "$destprog$exeext" "$destprog.bin$exeext"; } \
|
||||
|| exit 1
|
||||
mv "$destprog.wrapper$exeext" "$destprog$exeext" || exit 1
|
||||
|
||||
exit 0
|
323
src/libiconv/libiconv/build-aux/install-sh
Normal file
323
src/libiconv/libiconv/build-aux/install-sh
Normal file
@ -0,0 +1,323 @@
|
||||
#!/bin/sh
|
||||
# install - install a program, script, or datafile
|
||||
|
||||
scriptversion=2005-02-02.21
|
||||
|
||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||
# following copyright and license.
|
||||
#
|
||||
# Copyright (C) 1994 X Consortium
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to
|
||||
# deal in the Software without restriction, including without limitation the
|
||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
# sell copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# Except as contained in this notice, the name of the X Consortium shall not
|
||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
||||
# ings in this Software without prior written authorization from the X Consor-
|
||||
# tium.
|
||||
#
|
||||
#
|
||||
# FSF changes to this file are in the public domain.
|
||||
#
|
||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||
# `make' implicit rules from creating a file called install from it
|
||||
# when there is no Makefile.
|
||||
#
|
||||
# This script is compatible with the BSD install script, but was written
|
||||
# from scratch. It can only install one file at a time, a restriction
|
||||
# shared with many OS's install programs.
|
||||
|
||||
# set DOITPROG to echo to test this script
|
||||
|
||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||
doit="${DOITPROG-}"
|
||||
|
||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
||||
|
||||
mvprog="${MVPROG-mv}"
|
||||
cpprog="${CPPROG-cp}"
|
||||
chmodprog="${CHMODPROG-chmod}"
|
||||
chownprog="${CHOWNPROG-chown}"
|
||||
chgrpprog="${CHGRPPROG-chgrp}"
|
||||
stripprog="${STRIPPROG-strip}"
|
||||
rmprog="${RMPROG-rm}"
|
||||
mkdirprog="${MKDIRPROG-mkdir}"
|
||||
|
||||
chmodcmd="$chmodprog 0755"
|
||||
chowncmd=
|
||||
chgrpcmd=
|
||||
stripcmd=
|
||||
rmcmd="$rmprog -f"
|
||||
mvcmd="$mvprog"
|
||||
src=
|
||||
dst=
|
||||
dir_arg=
|
||||
dstarg=
|
||||
no_target_directory=
|
||||
|
||||
usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
||||
or: $0 [OPTION]... -d DIRECTORIES...
|
||||
|
||||
In the 1st form, copy SRCFILE to DSTFILE.
|
||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
||||
In the 4th, create DIRECTORIES.
|
||||
|
||||
Options:
|
||||
-c (ignored)
|
||||
-d create directories instead of installing files.
|
||||
-g GROUP $chgrpprog installed files to GROUP.
|
||||
-m MODE $chmodprog installed files to MODE.
|
||||
-o USER $chownprog installed files to USER.
|
||||
-s $stripprog installed files.
|
||||
-t DIRECTORY install into DIRECTORY.
|
||||
-T report an error if DSTFILE is a directory.
|
||||
--help display this help and exit.
|
||||
--version display version info and exit.
|
||||
|
||||
Environment variables override the default commands:
|
||||
CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
|
||||
"
|
||||
|
||||
while test -n "$1"; do
|
||||
case $1 in
|
||||
-c) shift
|
||||
continue;;
|
||||
|
||||
-d) dir_arg=true
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-g) chgrpcmd="$chgrpprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
--help) echo "$usage"; exit $?;;
|
||||
|
||||
-m) chmodcmd="$chmodprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-s) stripcmd=$stripprog
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-t) dstarg=$2
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-T) no_target_directory=true
|
||||
shift
|
||||
continue;;
|
||||
|
||||
--version) echo "$0 $scriptversion"; exit $?;;
|
||||
|
||||
*) # When -d is used, all remaining arguments are directories to create.
|
||||
# When -t is used, the destination is already specified.
|
||||
test -n "$dir_arg$dstarg" && break
|
||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
||||
for arg
|
||||
do
|
||||
if test -n "$dstarg"; then
|
||||
# $@ is not empty: it contains at least $arg.
|
||||
set fnord "$@" "$dstarg"
|
||||
shift # fnord
|
||||
fi
|
||||
shift # arg
|
||||
dstarg=$arg
|
||||
done
|
||||
break;;
|
||||
esac
|
||||
done
|
||||
|
||||
if test -z "$1"; then
|
||||
if test -z "$dir_arg"; then
|
||||
echo "$0: no input file specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
# It's OK to call `install-sh -d' without argument.
|
||||
# This can happen when creating conditional directories.
|
||||
exit 0
|
||||
fi
|
||||
|
||||
for src
|
||||
do
|
||||
# Protect names starting with `-'.
|
||||
case $src in
|
||||
-*) src=./$src ;;
|
||||
esac
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
dst=$src
|
||||
src=
|
||||
|
||||
if test -d "$dst"; then
|
||||
mkdircmd=:
|
||||
chmodcmd=
|
||||
else
|
||||
mkdircmd=$mkdirprog
|
||||
fi
|
||||
else
|
||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||
# might cause directories to be created, which would be especially bad
|
||||
# if $src (and thus $dsttmp) contains '*'.
|
||||
if test ! -f "$src" && test ! -d "$src"; then
|
||||
echo "$0: $src does not exist." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -z "$dstarg"; then
|
||||
echo "$0: no destination specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
dst=$dstarg
|
||||
# Protect names starting with `-'.
|
||||
case $dst in
|
||||
-*) dst=./$dst ;;
|
||||
esac
|
||||
|
||||
# If destination is a directory, append the input filename; won't work
|
||||
# if double slashes aren't ignored.
|
||||
if test -d "$dst"; then
|
||||
if test -n "$no_target_directory"; then
|
||||
echo "$0: $dstarg: Is a directory" >&2
|
||||
exit 1
|
||||
fi
|
||||
dst=$dst/`basename "$src"`
|
||||
fi
|
||||
fi
|
||||
|
||||
# This sed command emulates the dirname command.
|
||||
dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
|
||||
|
||||
# Make sure that the destination directory exists.
|
||||
|
||||
# Skip lots of stat calls in the usual case.
|
||||
if test ! -d "$dstdir"; then
|
||||
defaultIFS='
|
||||
'
|
||||
IFS="${IFS-$defaultIFS}"
|
||||
|
||||
oIFS=$IFS
|
||||
# Some sh's can't handle IFS=/ for some reason.
|
||||
IFS='%'
|
||||
set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
|
||||
shift
|
||||
IFS=$oIFS
|
||||
|
||||
pathcomp=
|
||||
|
||||
while test $# -ne 0 ; do
|
||||
pathcomp=$pathcomp$1
|
||||
shift
|
||||
if test ! -d "$pathcomp"; then
|
||||
$mkdirprog "$pathcomp"
|
||||
# mkdir can fail with a `File exist' error in case several
|
||||
# install-sh are creating the directory concurrently. This
|
||||
# is OK.
|
||||
test -d "$pathcomp" || exit
|
||||
fi
|
||||
pathcomp=$pathcomp/
|
||||
done
|
||||
fi
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
$doit $mkdircmd "$dst" \
|
||||
&& { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
|
||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
|
||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
|
||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
|
||||
|
||||
else
|
||||
dstfile=`basename "$dst"`
|
||||
|
||||
# Make a couple of temp file names in the proper directory.
|
||||
dsttmp=$dstdir/_inst.$$_
|
||||
rmtmp=$dstdir/_rm.$$_
|
||||
|
||||
# Trap to clean up those temp files at exit.
|
||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||
trap '(exit $?); exit' 1 2 13 15
|
||||
|
||||
# Copy the file name to the temp name.
|
||||
$doit $cpprog "$src" "$dsttmp" &&
|
||||
|
||||
# and set any options; do chmod last to preserve setuid bits.
|
||||
#
|
||||
# If any of these fail, we abort the whole thing. If we want to
|
||||
# ignore errors from any of these, just make sure not to ignore
|
||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
||||
#
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
|
||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
|
||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
|
||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
{ $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
|
||||
|| {
|
||||
# The rename failed, perhaps because mv can't rename something else
|
||||
# to itself, or perhaps because mv is so ancient that it does not
|
||||
# support -f.
|
||||
|
||||
# Now remove or move aside any old file at destination location.
|
||||
# We try this two ways since rm can't unlink itself on some
|
||||
# systems and the destination file might be busy for other
|
||||
# reasons. In this case, the final cleanup might fail but the new
|
||||
# file should still install successfully.
|
||||
{
|
||||
if test -f "$dstdir/$dstfile"; then
|
||||
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
|
||||
|| $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
|
||||
|| {
|
||||
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
||||
(exit 1); exit 1
|
||||
}
|
||||
else
|
||||
:
|
||||
fi
|
||||
} &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
||||
}
|
||||
}
|
||||
fi || { (exit 1); exit 1; }
|
||||
done
|
||||
|
||||
# The final little trick to "correctly" pass the exit status to the exit trap.
|
||||
{
|
||||
(exit 0); exit 0
|
||||
}
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
6867
src/libiconv/libiconv/build-aux/ltmain.sh
Normal file
6867
src/libiconv/libiconv/build-aux/ltmain.sh
Normal file
File diff suppressed because it is too large
Load Diff
356
src/libiconv/libiconv/build-aux/missing
Normal file
356
src/libiconv/libiconv/build-aux/missing
Normal file
@ -0,0 +1,356 @@
|
||||
#! /bin/sh
|
||||
# Common stub for a few missing GNU programs while installing.
|
||||
|
||||
scriptversion=2005-02-08.22
|
||||
|
||||
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 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 2, 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.
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
run=:
|
||||
|
||||
# In the cases where this matters, `missing' is being run in the
|
||||
# srcdir already.
|
||||
if test -f configure.ac; then
|
||||
configure_ac=configure.ac
|
||||
else
|
||||
configure_ac=configure.in
|
||||
fi
|
||||
|
||||
msg="missing on your system"
|
||||
|
||||
case "$1" in
|
||||
--run)
|
||||
# Try to run requested program, and just exit if it succeeds.
|
||||
run=
|
||||
shift
|
||||
"$@" && exit 0
|
||||
# Exit code 63 means version mismatch. This often happens
|
||||
# when the user try to use an ancient version of a tool on
|
||||
# a file that requires a minimum version. In this case we
|
||||
# we should proceed has if the program had been absent, or
|
||||
# if --run hadn't been passed.
|
||||
if test $? = 63; then
|
||||
run=:
|
||||
msg="probably too old"
|
||||
fi
|
||||
;;
|
||||
|
||||
-h|--h|--he|--hel|--help)
|
||||
echo "\
|
||||
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||
|
||||
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
|
||||
error status if there is no known handling for PROGRAM.
|
||||
|
||||
Options:
|
||||
-h, --help display this help and exit
|
||||
-v, --version output version information and exit
|
||||
--run try to run the given command, and emulate it if it fails
|
||||
|
||||
Supported PROGRAM values:
|
||||
aclocal touch file \`aclocal.m4'
|
||||
autoconf touch file \`configure'
|
||||
autoheader touch file \`config.h.in'
|
||||
automake touch all \`Makefile.in' files
|
||||
bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
flex create \`lex.yy.c', if possible, from existing .c
|
||||
help2man touch the output file
|
||||
lex create \`lex.yy.c', if possible, from existing .c
|
||||
makeinfo touch the output file
|
||||
tar try tar, gnutar, gtar, then tar without non-portable flags
|
||||
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
|
||||
Send bug reports to <bug-automake@gnu.org>."
|
||||
exit $?
|
||||
;;
|
||||
|
||||
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||
echo "missing $scriptversion (GNU Automake)"
|
||||
exit $?
|
||||
;;
|
||||
|
||||
-*)
|
||||
echo 1>&2 "$0: Unknown \`$1' option"
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
# Now exit if we have it, but it failed. Also exit now if we
|
||||
# don't have it and --version was passed (most likely to detect
|
||||
# the program).
|
||||
case "$1" in
|
||||
lex|yacc)
|
||||
# Not GNU programs, they don't have --version.
|
||||
;;
|
||||
|
||||
tar)
|
||||
if test -n "$run"; then
|
||||
echo 1>&2 "ERROR: \`tar' requires --run"
|
||||
exit 1
|
||||
elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
|
||||
# Could not run --version or --help. This is probably someone
|
||||
# running `$TOOL --version' or `$TOOL --help' to check whether
|
||||
# $TOOL exists and not knowing $TOOL uses missing.
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# If it does not exist, or fails to run (possibly an outdated version),
|
||||
# try to emulate it.
|
||||
case "$1" in
|
||||
aclocal*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
|
||||
to install the \`Automake' and \`Perl' packages. Grab them from
|
||||
any GNU archive site."
|
||||
touch aclocal.m4
|
||||
;;
|
||||
|
||||
autoconf)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`${configure_ac}'. You might want to install the
|
||||
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
|
||||
archive site."
|
||||
touch configure
|
||||
;;
|
||||
|
||||
autoheader)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`acconfig.h' or \`${configure_ac}'. You might want
|
||||
to install the \`Autoconf' and \`GNU m4' packages. Grab them
|
||||
from any GNU archive site."
|
||||
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
|
||||
test -z "$files" && files="config.h"
|
||||
touch_files=
|
||||
for f in $files; do
|
||||
case "$f" in
|
||||
*:*) touch_files="$touch_files "`echo "$f" |
|
||||
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
||||
*) touch_files="$touch_files $f.in";;
|
||||
esac
|
||||
done
|
||||
touch $touch_files
|
||||
;;
|
||||
|
||||
automake*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
|
||||
You might want to install the \`Automake' and \`Perl' packages.
|
||||
Grab them from any GNU archive site."
|
||||
find . -type f -name Makefile.am -print |
|
||||
sed 's/\.am$/.in/' |
|
||||
while read f; do touch "$f"; done
|
||||
;;
|
||||
|
||||
autom4te)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, but is $msg.
|
||||
You might have modified some files without having the
|
||||
proper tools for further handling them.
|
||||
You can get \`$1' as part of \`Autoconf' from any GNU
|
||||
archive site."
|
||||
|
||||
file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
|
||||
test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
|
||||
if test -f "$file"; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo "#! /bin/sh"
|
||||
echo "# Created by GNU Automake missing as a replacement of"
|
||||
echo "# $ $@"
|
||||
echo "exit 0"
|
||||
chmod +x $file
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
bison|yacc)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' $msg. You should only need it if
|
||||
you modified a \`.y' file. You may need the \`Bison' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Bison' from any GNU archive site."
|
||||
rm -f y.tab.c y.tab.h
|
||||
if [ $# -ne 1 ]; then
|
||||
eval LASTARG="\${$#}"
|
||||
case "$LASTARG" in
|
||||
*.y)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" y.tab.c
|
||||
fi
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" y.tab.h
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ ! -f y.tab.h ]; then
|
||||
echo >y.tab.h
|
||||
fi
|
||||
if [ ! -f y.tab.c ]; then
|
||||
echo 'main() { return 0; }' >y.tab.c
|
||||
fi
|
||||
;;
|
||||
|
||||
lex|flex)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a \`.l' file. You may need the \`Flex' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Flex' from any GNU archive site."
|
||||
rm -f lex.yy.c
|
||||
if [ $# -ne 1 ]; then
|
||||
eval LASTARG="\${$#}"
|
||||
case "$LASTARG" in
|
||||
*.l)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" lex.yy.c
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ ! -f lex.yy.c ]; then
|
||||
echo 'main() { return 0; }' >lex.yy.c
|
||||
fi
|
||||
;;
|
||||
|
||||
help2man)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a dependency of a manual page. You may need the
|
||||
\`Help2man' package in order for those modifications to take
|
||||
effect. You can get \`Help2man' from any GNU archive site."
|
||||
|
||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||
if test -z "$file"; then
|
||||
file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
|
||||
fi
|
||||
if [ -f "$file" ]; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo ".ab help2man is required to generate this page"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
makeinfo)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a \`.texi' or \`.texinfo' file, or any other file
|
||||
indirectly affecting the aspect of the manual. The spurious
|
||||
call might also be the consequence of using a buggy \`make' (AIX,
|
||||
DU, IRIX). You might want to install the \`Texinfo' package or
|
||||
the \`GNU make' package. Grab either from any GNU archive site."
|
||||
# The file to touch is that specified with -o ...
|
||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||
if test -z "$file"; then
|
||||
# ... or it is the one specified with @setfilename ...
|
||||
infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
||||
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
|
||||
# ... or it is derived from the source name (dir/f.texi becomes f.info)
|
||||
test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
|
||||
fi
|
||||
touch $file
|
||||
;;
|
||||
|
||||
tar)
|
||||
shift
|
||||
|
||||
# We have already tried tar in the generic part.
|
||||
# Look for gnutar/gtar before invocation to avoid ugly error
|
||||
# messages.
|
||||
if (gnutar --version > /dev/null 2>&1); then
|
||||
gnutar "$@" && exit 0
|
||||
fi
|
||||
if (gtar --version > /dev/null 2>&1); then
|
||||
gtar "$@" && exit 0
|
||||
fi
|
||||
firstarg="$1"
|
||||
if shift; then
|
||||
case "$firstarg" in
|
||||
*o*)
|
||||
firstarg=`echo "$firstarg" | sed s/o//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
case "$firstarg" in
|
||||
*h*)
|
||||
firstarg=`echo "$firstarg" | sed s/h//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
||||
You may want to install GNU tar or Free paxutils, or check the
|
||||
command line arguments."
|
||||
exit 1
|
||||
;;
|
||||
|
||||
*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, and is $msg.
|
||||
You might have modified some files without having the
|
||||
proper tools for further handling them. Check the \`README' file,
|
||||
it often tells you about the needed prerequisites for installing
|
||||
this package. You may also peek at any GNU archive site, in case
|
||||
some other package would contain this missing \`$1' program."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
150
src/libiconv/libiconv/build-aux/mkinstalldirs
Normal file
150
src/libiconv/libiconv/build-aux/mkinstalldirs
Normal file
@ -0,0 +1,150 @@
|
||||
#! /bin/sh
|
||||
# mkinstalldirs --- make directory hierarchy
|
||||
|
||||
scriptversion=2005-02-02.21
|
||||
|
||||
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
|
||||
# Created: 1993-05-16
|
||||
# Public domain.
|
||||
#
|
||||
# This file is maintained in Automake, please report
|
||||
# bugs to <bug-automake@gnu.org> or send patches to
|
||||
# <automake-patches@gnu.org>.
|
||||
|
||||
errstatus=0
|
||||
dirmode=""
|
||||
|
||||
usage="\
|
||||
Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
|
||||
|
||||
Create each directory DIR (with mode MODE, if specified), including all
|
||||
leading file name components.
|
||||
|
||||
Report bugs to <bug-automake@gnu.org>."
|
||||
|
||||
# process command line arguments
|
||||
while test $# -gt 0 ; do
|
||||
case $1 in
|
||||
-h | --help | --h*) # -h for help
|
||||
echo "$usage"
|
||||
exit $?
|
||||
;;
|
||||
-m) # -m PERM arg
|
||||
shift
|
||||
test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
|
||||
dirmode=$1
|
||||
shift
|
||||
;;
|
||||
--version)
|
||||
echo "$0 $scriptversion"
|
||||
exit $?
|
||||
;;
|
||||
--) # stop option processing
|
||||
shift
|
||||
break
|
||||
;;
|
||||
-*) # unknown option
|
||||
echo "$usage" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
*) # first non-opt arg
|
||||
break
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
for file
|
||||
do
|
||||
if test -d "$file"; then
|
||||
shift
|
||||
else
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
case $# in
|
||||
0) exit 0 ;;
|
||||
esac
|
||||
|
||||
# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and
|
||||
# mkdir -p a/c at the same time, both will detect that a is missing,
|
||||
# one will create a, then the other will try to create a and die with
|
||||
# a "File exists" error. This is a problem when calling mkinstalldirs
|
||||
# from a parallel make. We use --version in the probe to restrict
|
||||
# ourselves to GNU mkdir, which is thread-safe.
|
||||
case $dirmode in
|
||||
'')
|
||||
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
||||
echo "mkdir -p -- $*"
|
||||
exec mkdir -p -- "$@"
|
||||
else
|
||||
# On NextStep and OpenStep, the `mkdir' command does not
|
||||
# recognize any option. It will interpret all options as
|
||||
# directories to create, and then abort because `.' already
|
||||
# exists.
|
||||
test -d ./-p && rmdir ./-p
|
||||
test -d ./--version && rmdir ./--version
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 &&
|
||||
test ! -d ./--version; then
|
||||
echo "mkdir -m $dirmode -p -- $*"
|
||||
exec mkdir -m "$dirmode" -p -- "$@"
|
||||
else
|
||||
# Clean up after NextStep and OpenStep mkdir.
|
||||
for d in ./-m ./-p ./--version "./$dirmode";
|
||||
do
|
||||
test -d $d && rmdir $d
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
for file
|
||||
do
|
||||
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
|
||||
shift
|
||||
|
||||
pathcomp=
|
||||
for d
|
||||
do
|
||||
pathcomp="$pathcomp$d"
|
||||
case $pathcomp in
|
||||
-*) pathcomp=./$pathcomp ;;
|
||||
esac
|
||||
|
||||
if test ! -d "$pathcomp"; then
|
||||
echo "mkdir $pathcomp"
|
||||
|
||||
mkdir "$pathcomp" || lasterr=$?
|
||||
|
||||
if test ! -d "$pathcomp"; then
|
||||
errstatus=$lasterr
|
||||
else
|
||||
if test ! -z "$dirmode"; then
|
||||
echo "chmod $dirmode $pathcomp"
|
||||
lasterr=""
|
||||
chmod "$dirmode" "$pathcomp" || lasterr=$?
|
||||
|
||||
if test ! -z "$lasterr"; then
|
||||
errstatus=$lasterr
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
pathcomp="$pathcomp/"
|
||||
done
|
||||
done
|
||||
|
||||
exit $errstatus
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-end: "$"
|
||||
# End:
|
102
src/libiconv/libiconv/build-aux/reloc-ldflags
Normal file
102
src/libiconv/libiconv/build-aux/reloc-ldflags
Normal file
@ -0,0 +1,102 @@
|
||||
#! /bin/sh
|
||||
# Output a system dependent linker command for putting a relocatable library
|
||||
# search path into an executable.
|
||||
#
|
||||
# Copyright 2003 Free Software Foundation, Inc.
|
||||
# Written by Bruno Haible <bruno@clisp.org>, 2003.
|
||||
#
|
||||
# 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 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.
|
||||
#
|
||||
# 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 second argument is a colon separated list of directories that contain
|
||||
# the libraries at installation time.
|
||||
#
|
||||
# The third argument is the directory into which the executable is going to be
|
||||
# installed.
|
||||
|
||||
host="$1"
|
||||
host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
||||
host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
||||
host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
||||
|
||||
library_path_value=$2
|
||||
|
||||
installdir=$3
|
||||
|
||||
# Verify that installdir is absolute.
|
||||
case "$installdir" in
|
||||
/*) ;;
|
||||
*)
|
||||
echo "installdir is not absolute: $installdir" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$host_os" in
|
||||
linux*) # Supported since Linux 2.1 and glibc 2.1.
|
||||
rpath=
|
||||
save_IFS="$IFS"; IFS=":"
|
||||
for dir in $library_path_value; do
|
||||
IFS="$save_IFS"
|
||||
case "$dir" in
|
||||
/*)
|
||||
# Make dir relative to installdir. (Works only if dir is absolute.)
|
||||
idir="$installdir"
|
||||
while true; do
|
||||
dfirst=`echo "$dir" | sed -n -e 's,^//*\([^/]*\).*$,/\1,p'`
|
||||
ifirst=`echo "$idir" | sed -n -e 's,^//*\([^/]*\).*$,/\1,p'`
|
||||
if test -z "$dfirst" || test -z "$ifirst"; then
|
||||
break
|
||||
fi
|
||||
if test "$dfirst" != "$ifirst"; then
|
||||
break
|
||||
fi
|
||||
dir=`echo "$dir" | sed -e 's,^//*[^/]*,,'`
|
||||
idir=`echo "$idir" | sed -e 's,^//*[^/]*,,'`
|
||||
done
|
||||
dir="\$ORIGIN"`echo "$idir" | sed -e 's,//*[^/]*,/..,g'`"$dir"
|
||||
# Add dir to rpath.
|
||||
rpath="${rpath}${rpath:+ }$dir"
|
||||
;;
|
||||
*)
|
||||
if test -n "$dir"; then
|
||||
echo "libdir is not absolute: $dir" 1>&2
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
IFS="$save_IFS"
|
||||
# Output it.
|
||||
if test -n "$rpath"; then
|
||||
echo "-Wl,-rpath,$rpath"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "relocation via rpath not supported on this system: $host" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
726
src/libiconv/libiconv/config.h
Normal file
726
src/libiconv/libiconv/config.h
Normal file
@ -0,0 +1,726 @@
|
||||
/* config.h. Generated from config.h.in by configure. */
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to the number of bits in type 'int16_t'. */
|
||||
/* #undef BITSIZEOF_INT16_T */
|
||||
|
||||
/* Define to the number of bits in type 'int32_t'. */
|
||||
/* #undef BITSIZEOF_INT32_T */
|
||||
|
||||
/* Define to the number of bits in type 'int64_t'. */
|
||||
/* #undef BITSIZEOF_INT64_T */
|
||||
|
||||
/* Define to the number of bits in type 'int8_t'. */
|
||||
/* #undef BITSIZEOF_INT8_T */
|
||||
|
||||
/* Define to the number of bits in type 'intmax_t'. */
|
||||
/* #undef BITSIZEOF_INTMAX_T */
|
||||
|
||||
/* Define to the number of bits in type 'intptr_t'. */
|
||||
/* #undef BITSIZEOF_INTPTR_T */
|
||||
|
||||
/* Define to the number of bits in type 'int_fast16_t'. */
|
||||
/* #undef BITSIZEOF_INT_FAST16_T */
|
||||
|
||||
/* Define to the number of bits in type 'int_fast32_t'. */
|
||||
/* #undef BITSIZEOF_INT_FAST32_T */
|
||||
|
||||
/* Define to the number of bits in type 'int_fast64_t'. */
|
||||
/* #undef BITSIZEOF_INT_FAST64_T */
|
||||
|
||||
/* Define to the number of bits in type 'int_fast8_t'. */
|
||||
/* #undef BITSIZEOF_INT_FAST8_T */
|
||||
|
||||
/* Define to the number of bits in type 'int_least16_t'. */
|
||||
/* #undef BITSIZEOF_INT_LEAST16_T */
|
||||
|
||||
/* Define to the number of bits in type 'int_least32_t'. */
|
||||
/* #undef BITSIZEOF_INT_LEAST32_T */
|
||||
|
||||
/* Define to the number of bits in type 'int_least64_t'. */
|
||||
/* #undef BITSIZEOF_INT_LEAST64_T */
|
||||
|
||||
/* Define to the number of bits in type 'int_least8_t'. */
|
||||
/* #undef BITSIZEOF_INT_LEAST8_T */
|
||||
|
||||
/* Define to the number of bits in type 'long'. */
|
||||
/* #undef BITSIZEOF_LONG */
|
||||
|
||||
/* Define to the number of bits in type 'ptrdiff_t'. */
|
||||
/* #undef BITSIZEOF_PTRDIFF_T */
|
||||
|
||||
/* Define to the number of bits in type 'sig_atomic_t'. */
|
||||
/* #undef BITSIZEOF_SIG_ATOMIC_T */
|
||||
|
||||
/* Define to the number of bits in type 'size_t'. */
|
||||
/* #undef BITSIZEOF_SIZE_T */
|
||||
|
||||
/* Define to the number of bits in type 'uint16_t'. */
|
||||
/* #undef BITSIZEOF_UINT16_T */
|
||||
|
||||
/* Define to the number of bits in type 'uint32_t'. */
|
||||
/* #undef BITSIZEOF_UINT32_T */
|
||||
|
||||
/* Define to the number of bits in type 'uint64_t'. */
|
||||
/* #undef BITSIZEOF_UINT64_T */
|
||||
|
||||
/* Define to the number of bits in type 'uint8_t'. */
|
||||
/* #undef BITSIZEOF_UINT8_T */
|
||||
|
||||
/* Define to the number of bits in type 'uintmax_t'. */
|
||||
/* #undef BITSIZEOF_UINTMAX_T */
|
||||
|
||||
/* Define to the number of bits in type 'uintptr_t'. */
|
||||
/* #undef BITSIZEOF_UINTPTR_T */
|
||||
|
||||
/* Define to the number of bits in type 'uint_fast16_t'. */
|
||||
/* #undef BITSIZEOF_UINT_FAST16_T */
|
||||
|
||||
/* Define to the number of bits in type 'uint_fast32_t'. */
|
||||
/* #undef BITSIZEOF_UINT_FAST32_T */
|
||||
|
||||
/* Define to the number of bits in type 'uint_fast64_t'. */
|
||||
/* #undef BITSIZEOF_UINT_FAST64_T */
|
||||
|
||||
/* Define to the number of bits in type 'uint_fast8_t'. */
|
||||
/* #undef BITSIZEOF_UINT_FAST8_T */
|
||||
|
||||
/* Define to the number of bits in type 'uint_least16_t'. */
|
||||
/* #undef BITSIZEOF_UINT_LEAST16_T */
|
||||
|
||||
/* Define to the number of bits in type 'uint_least32_t'. */
|
||||
/* #undef BITSIZEOF_UINT_LEAST32_T */
|
||||
|
||||
/* Define to the number of bits in type 'uint_least64_t'. */
|
||||
/* #undef BITSIZEOF_UINT_LEAST64_T */
|
||||
|
||||
/* Define to the number of bits in type 'uint_least8_t'. */
|
||||
/* #undef BITSIZEOF_UINT_LEAST8_T */
|
||||
|
||||
/* Define to the number of bits in type 'unsigned_int'. */
|
||||
/* #undef BITSIZEOF_UNSIGNED_INT */
|
||||
|
||||
/* Define to the number of bits in type 'unsigned_long'. */
|
||||
/* #undef BITSIZEOF_UNSIGNED_LONG */
|
||||
|
||||
/* Define to the number of bits in type 'wchar_t'. */
|
||||
/* #undef BITSIZEOF_WCHAR_T */
|
||||
|
||||
/* Define to the number of bits in type 'wint_t'. */
|
||||
/* #undef BITSIZEOF_WINT_T */
|
||||
|
||||
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
||||
systems. This function is required for `alloca.c' support on those systems.
|
||||
*/
|
||||
/* #undef CRAY_STACKSEG_END */
|
||||
|
||||
/* Define to 1 if using `alloca.c'. */
|
||||
/* #undef C_ALLOCA */
|
||||
|
||||
/* Define as good substitute value for EILSEQ. */
|
||||
/* #undef EILSEQ */
|
||||
|
||||
/* Define to 1 to enable a few rarely used encodings. */
|
||||
#define ENABLE_EXTRA 1
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
/* #undef ENABLE_NLS */
|
||||
|
||||
/* Define to 1 if the package shall run at any location in the filesystem. */
|
||||
/* #undef ENABLE_RELOCATABLE */
|
||||
|
||||
/* Define this to the full path to <inttypes.h>. */
|
||||
#define FULL_PATH_INTTYPES_H </usr/include/inttypes.h>
|
||||
|
||||
/* Define this to the full path to <stdint.h>. */
|
||||
#define FULL_PATH_STDINT_H </usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h>
|
||||
|
||||
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||
#define HAVE_ALLOCA 1
|
||||
|
||||
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
||||
*/
|
||||
#define HAVE_ALLOCA_H 1
|
||||
|
||||
/* Define to 1 if you have the `canonicalize_file_name' function. */
|
||||
/* #undef HAVE_CANONICALIZE_FILE_NAME */
|
||||
|
||||
/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
|
||||
CoreFoundation framework. */
|
||||
#define HAVE_CFLOCALECOPYCURRENT 1
|
||||
|
||||
/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
|
||||
the CoreFoundation framework. */
|
||||
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
|
||||
|
||||
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
||||
*/
|
||||
/* #undef HAVE_DCGETTEXT */
|
||||
|
||||
/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_CLEARERR_UNLOCKED 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_FEOF_UNLOCKED 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FERROR_UNLOCKED 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FFLUSH_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FGETS_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FPUTC_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FPUTS_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FREAD_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_FWRITE_UNLOCKED 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_GETCHAR_UNLOCKED 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_GETC_UNLOCKED 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#define HAVE_DECL_PUTCHAR_UNLOCKED 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_PUTC_UNLOCKED 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
|
||||
don't. */
|
||||
#define HAVE_DECL_STRERROR_R 1
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#define HAVE_DLFCN_H 1
|
||||
|
||||
/* Define if you have the declaration of environ. */
|
||||
/* #undef HAVE_ENVIRON_DECL */
|
||||
|
||||
/* Define if you have the declaration of errno. */
|
||||
/* #undef HAVE_ERRNO_DECL */
|
||||
|
||||
/* Define to 1 if you have the `getcwd' function. */
|
||||
#define HAVE_GETCWD 1
|
||||
|
||||
/* Define to 1 if you have the `getc_unlocked' function. */
|
||||
#define HAVE_GETC_UNLOCKED 1
|
||||
|
||||
/* Define if the GNU gettext() function is already present or preinstalled. */
|
||||
/* #undef HAVE_GETTEXT */
|
||||
|
||||
/* Define if you have the iconv() function. */
|
||||
#define HAVE_ICONV 1
|
||||
|
||||
/* Define to 1 if the type 'int16_t' is already defined. */
|
||||
#define HAVE_INT16_T 1
|
||||
|
||||
/* Define to 1 if the type 'int32_t' is already defined. */
|
||||
#define HAVE_INT32_T 1
|
||||
|
||||
/* Define to 1 if the type 'int64_t' is already defined. */
|
||||
#define HAVE_INT64_T 1
|
||||
|
||||
/* Define to 1 if the type 'int64_t' is already definedin <stdint.h>. */
|
||||
#define HAVE_INT64_T_IN_STDINT_H 1
|
||||
|
||||
/* Define to 1 if the type 'int8_t' is already defined. */
|
||||
#define HAVE_INT8_T 1
|
||||
|
||||
/* Define to 1 if the type 'intmax_t' is already defined. */
|
||||
#define HAVE_INTMAX_T 1
|
||||
|
||||
/* Define to 1 if the type 'intptr_t' is already defined. */
|
||||
#define HAVE_INTPTR_T 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if the type 'int_fast16_t' is already defined. */
|
||||
#define HAVE_INT_FAST16_T 1
|
||||
|
||||
/* Define to 1 if the type 'int_fast32_t' is already defined. */
|
||||
#define HAVE_INT_FAST32_T 1
|
||||
|
||||
/* Define to 1 if the type 'int_fast64_t' is already defined. */
|
||||
#define HAVE_INT_FAST64_T 1
|
||||
|
||||
/* Define to 1 if the type 'int_fast64_t' is already definedin <stdint.h>. */
|
||||
#define HAVE_INT_FAST64_T_IN_STDINT_H 1
|
||||
|
||||
/* Define to 1 if the type 'int_fast8_t' is already defined. */
|
||||
#define HAVE_INT_FAST8_T 1
|
||||
|
||||
/* Define to 1 if the type 'int_least16_t' is already defined. */
|
||||
#define HAVE_INT_LEAST16_T 1
|
||||
|
||||
/* Define to 1 if the type 'int_least32_t' is already defined. */
|
||||
#define HAVE_INT_LEAST32_T 1
|
||||
|
||||
/* Define to 1 if the type 'int_least64_t' is already defined. */
|
||||
#define HAVE_INT_LEAST64_T 1
|
||||
|
||||
/* Define to 1 if the type 'int_least64_t' is already definedin <stdint.h>. */
|
||||
#define HAVE_INT_LEAST64_T_IN_STDINT_H 1
|
||||
|
||||
/* Define to 1 if the type 'int_least8_t' is already defined. */
|
||||
#define HAVE_INT_LEAST8_T 1
|
||||
|
||||
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
||||
#define HAVE_LANGINFO_CODESET 1
|
||||
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#define HAVE_LOCALE_H 1
|
||||
|
||||
/* Define if you have the 'long double' type. */
|
||||
#define HAVE_LONG_DOUBLE 1
|
||||
|
||||
/* Define if you have the 'long long' type. */
|
||||
#define HAVE_LONG_LONG 1
|
||||
|
||||
/* Define to 1 if you have the <mach-o/dyld.h> header file. */
|
||||
/* #undef HAVE_MACH_O_DYLD_H */
|
||||
|
||||
/* Define to 1 if you have the `mbrtowc' function. */
|
||||
#define HAVE_MBRTOWC 1
|
||||
|
||||
/* Define to 1 if you have the `mbsinit' function. */
|
||||
#define HAVE_MBSINIT 1
|
||||
|
||||
/* Define to 1 if <wchar.h> declares mbstate_t. */
|
||||
#define HAVE_MBSTATE_T 1
|
||||
|
||||
/* Define to 1 if you have the `memmove' function. */
|
||||
#define HAVE_MEMMOVE 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if the system has the type `ptrdiff_t'. */
|
||||
/* #undef HAVE_PTRDIFF_T */
|
||||
|
||||
/* Define to 1 if you have the `readlink' function. */
|
||||
#define HAVE_READLINK 1
|
||||
|
||||
/* Define to 1 if you have the <search.h> header file. */
|
||||
/* #undef HAVE_SEARCH_H */
|
||||
|
||||
/* Define to 1 if you have the `setenv' function. */
|
||||
#define HAVE_SETENV 1
|
||||
|
||||
/* Define to 1 if you have the `setlocale' function. */
|
||||
#define HAVE_SETLOCALE 1
|
||||
|
||||
/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
|
||||
/* #undef HAVE_SIGNED_SIG_ATOMIC_T */
|
||||
|
||||
/* Define to 1 if 'wchar_t' is a signed integer type. */
|
||||
/* #undef HAVE_SIGNED_WCHAR_T */
|
||||
|
||||
/* Define to 1 if 'wint_t' is a signed integer type. */
|
||||
/* #undef HAVE_SIGNED_WINT_T */
|
||||
|
||||
/* Define to 1 if the system has the type `sig_atomic_t'. */
|
||||
/* #undef HAVE_SIG_ATOMIC_T */
|
||||
|
||||
/* Define to 1 if stdbool.h conforms to C99. */
|
||||
#define HAVE_STDBOOL_H 1
|
||||
|
||||
/* Define to 1 if you have the <stddef.h> header file. */
|
||||
#define HAVE_STDDEF_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#define HAVE_STRERROR 1
|
||||
|
||||
/* Define to 1 if you have the `strerror_r' function. */
|
||||
#define HAVE_STRERROR_R 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/bitypes.h> header file. */
|
||||
/* #undef HAVE_SYS_BITYPES_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/inttypes.h> header file. */
|
||||
/* #undef HAVE_SYS_INTTYPES_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#define HAVE_SYS_PARAM_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the `tsearch' function. */
|
||||
/* #undef HAVE_TSEARCH */
|
||||
|
||||
/* Define to 1 if the type 'uint16_t' is already defined. */
|
||||
#define HAVE_UINT16_T 1
|
||||
|
||||
/* Define to 1 if the type 'uint32_t' is already defined. */
|
||||
#define HAVE_UINT32_T 1
|
||||
|
||||
/* Define to 1 if the type 'uint64_t' is already defined. */
|
||||
#define HAVE_UINT64_T 1
|
||||
|
||||
/* Define to 1 if the type 'uint64_t' is already definedin <stdint.h>. */
|
||||
#define HAVE_UINT64_T_IN_STDINT_H 1
|
||||
|
||||
/* Define to 1 if the type 'uint8_t' is already defined. */
|
||||
#define HAVE_UINT8_T 1
|
||||
|
||||
/* Define to 1 if the type 'uintmax_t' is already defined. */
|
||||
#define HAVE_UINTMAX_T 1
|
||||
|
||||
/* Define to 1 if the type 'uintptr_t' is already defined. */
|
||||
#define HAVE_UINTPTR_T 1
|
||||
|
||||
/* Define to 1 if the type 'uint_fast16_t' is already defined. */
|
||||
#define HAVE_UINT_FAST16_T 1
|
||||
|
||||
/* Define to 1 if the type 'uint_fast32_t' is already defined. */
|
||||
#define HAVE_UINT_FAST32_T 1
|
||||
|
||||
/* Define to 1 if the type 'uint_fast64_t' is already defined. */
|
||||
#define HAVE_UINT_FAST64_T 1
|
||||
|
||||
/* Define to 1 if the type 'uint_fast64_t' is already definedin <stdint.h>. */
|
||||
#define HAVE_UINT_FAST64_T_IN_STDINT_H 1
|
||||
|
||||
/* Define to 1 if the type 'uint_fast8_t' is already defined. */
|
||||
#define HAVE_UINT_FAST8_T 1
|
||||
|
||||
/* Define to 1 if the type 'uint_least16_t' is already defined. */
|
||||
#define HAVE_UINT_LEAST16_T 1
|
||||
|
||||
/* Define to 1 if the type 'uint_least32_t' is already defined. */
|
||||
#define HAVE_UINT_LEAST32_T 1
|
||||
|
||||
/* Define to 1 if the type 'uint_least64_t' is already defined. */
|
||||
#define HAVE_UINT_LEAST64_T 1
|
||||
|
||||
/* Define to 1 if the type 'uint_least64_t' is already definedin <stdint.h>.
|
||||
*/
|
||||
#define HAVE_UINT_LEAST64_T_IN_STDINT_H 1
|
||||
|
||||
/* Define to 1 if the type 'uint_least8_t' is already defined. */
|
||||
#define HAVE_UINT_LEAST8_T 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to 1 if you have the `unsetenv' function. */
|
||||
#define HAVE_UNSETENV 1
|
||||
|
||||
/* Define to 1 or 0, depending whether the compiler supports simple visibility
|
||||
declarations. */
|
||||
#define HAVE_VISIBILITY 1
|
||||
|
||||
/* Define to 1 if you have the <wchar.h> header file. */
|
||||
#define HAVE_WCHAR_H 1
|
||||
|
||||
/* Define if you have the 'wchar_t' type. */
|
||||
#define HAVE_WCHAR_T 1
|
||||
|
||||
/* Define to 1 if you have the `wcrtomb' function. */
|
||||
#define HAVE_WCRTOMB 1
|
||||
|
||||
/* Define to 1 if the system has the type `wint_t'. */
|
||||
/* #undef HAVE_WINT_T */
|
||||
|
||||
/* Define to 1 if the system has the type `_Bool'. */
|
||||
#define HAVE__BOOL 1
|
||||
|
||||
/* Define to 1 if you have the `_NSGetExecutablePath' function. */
|
||||
/* #undef HAVE__NSGETEXECUTABLEPATH */
|
||||
|
||||
/* Define as const if the declaration of iconv() needs const. */
|
||||
#define ICONV_CONST
|
||||
|
||||
/* Define to the value of ${prefix}, as a string. */
|
||||
#define INSTALLPREFIX "/usr"
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT16_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT16_MIN */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT32_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT32_MIN */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the int64_t type. */
|
||||
/* #undef INT64_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the int64_t type. */
|
||||
/* #undef INT64_MIN */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT8_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT8_MIN */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INTMAX_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INTMAX_MIN */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INTPTR_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INTPTR_MIN */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT_FAST16_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT_FAST16_MIN */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT_FAST32_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT_FAST32_MIN */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT_FAST64_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT_FAST64_MIN */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT_FAST8_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT_FAST8_MIN */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT_LEAST16_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT_LEAST16_MIN */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT_LEAST32_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT_LEAST32_MIN */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the int_least64_t type. */
|
||||
/* #undef INT_LEAST64_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the int_least64_t type. */
|
||||
/* #undef INT_LEAST64_MIN */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT_LEAST8_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef INT_LEAST8_MIN */
|
||||
|
||||
/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
|
||||
#define MALLOC_0_IS_NONNULL 1
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "libiconv"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT ""
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME ""
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING ""
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION ""
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef PTRDIFF_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef PTRDIFF_MIN */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef SIG_ATOMIC_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef SIG_ATOMIC_MIN */
|
||||
|
||||
/* Define as the maximum value of type 'size_t', if the system doesn't define
|
||||
it. */
|
||||
/* #undef SIZE_MAX */
|
||||
|
||||
/* If using the C implementation of alloca, define if you know the
|
||||
direction of stack growth for your system; otherwise it will be
|
||||
automatically deduced at runtime.
|
||||
STACK_DIRECTION > 0 => grows toward higher addresses
|
||||
STACK_DIRECTION < 0 => grows toward lower addresses
|
||||
STACK_DIRECTION = 0 => direction of growth unknown */
|
||||
/* #undef STACK_DIRECTION */
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Define to 1 if strerror_r returns char *. */
|
||||
/* #undef STRERROR_R_CHAR_P */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef UINT16_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef UINT32_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the uint64_t type. */
|
||||
/* #undef UINT64_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef UINT8_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef UINTMAX_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef UINTPTR_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef UINT_FAST16_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef UINT_FAST32_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef UINT_FAST64_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef UINT_FAST8_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef UINT_LEAST16_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef UINT_LEAST32_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the uint_least64_t type. */
|
||||
/* #undef UINT_LEAST64_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef UINT_LEAST8_MAX */
|
||||
|
||||
/* Define to 1 if you want getc etc. to use unlocked I/O if available.
|
||||
Unlocked I/O can improve performance in unithreaded apps, but it is not
|
||||
safe for multithreaded apps. */
|
||||
#define USE_UNLOCKED_IO 1
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "1.11"
|
||||
|
||||
/* Define if unsetenv() returns void, not int. */
|
||||
/* #undef VOID_UNSETENV */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef WINT_MAX */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
/* #undef WINT_MIN */
|
||||
|
||||
/* Define if the machine's byte ordering is little endian. */
|
||||
#ifdef __LITTLE_ENDIAN__
|
||||
#define WORDS_LITTLEENDIAN 1
|
||||
#else /* !__LITTLE_ENDIAN__ */
|
||||
#undef WORDS_LITTLEENDIAN
|
||||
#endif /* __LITTLE_ENDIAN__ */
|
||||
|
||||
/* Define to 1 if on AIX 3.
|
||||
System headers sometimes define this.
|
||||
We just want to avoid a redefinition error message. */
|
||||
#ifndef _ALL_SOURCE
|
||||
/* # undef _ALL_SOURCE */
|
||||
#endif
|
||||
|
||||
/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
/* #undef _MINIX */
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
/* #undef _POSIX_1_SOURCE */
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
|
||||
/* Enable extensions on Solaris. */
|
||||
#ifndef __EXTENSIONS__
|
||||
# define __EXTENSIONS__ 1
|
||||
#endif
|
||||
|
||||
/* Define to a type if <wchar.h> does not define. */
|
||||
/* #undef mbstate_t */
|
||||
|
||||
/* Define to a replacement function name for realpath(). */
|
||||
#define realpath rpl_realpath
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
/* #undef size_t */
|
||||
|
||||
/* Define as a signed type of the same size as size_t. */
|
||||
/* #undef ssize_t */
|
||||
|
||||
|
||||
/* On Windows, variables that may be in a DLL must be marked specially. */
|
||||
#if defined _MSC_VER && defined _DLL
|
||||
# define DLL_VARIABLE __declspec (dllimport)
|
||||
#else
|
||||
# define DLL_VARIABLE
|
||||
#endif
|
||||
/* Workaround Leopard/SnowLeopard issues with GCC_PREPROCESSOR_DEFINITIONS */
|
||||
#define LIBDIR "/usr/lib"
|
||||
#define INSTALLDIR "/usr/lib"
|
719
src/libiconv/libiconv/config.h.in
Normal file
719
src/libiconv/libiconv/config.h.in
Normal file
@ -0,0 +1,719 @@
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to the number of bits in type 'int16_t'. */
|
||||
#undef BITSIZEOF_INT16_T
|
||||
|
||||
/* Define to the number of bits in type 'int32_t'. */
|
||||
#undef BITSIZEOF_INT32_T
|
||||
|
||||
/* Define to the number of bits in type 'int64_t'. */
|
||||
#undef BITSIZEOF_INT64_T
|
||||
|
||||
/* Define to the number of bits in type 'int8_t'. */
|
||||
#undef BITSIZEOF_INT8_T
|
||||
|
||||
/* Define to the number of bits in type 'intmax_t'. */
|
||||
#undef BITSIZEOF_INTMAX_T
|
||||
|
||||
/* Define to the number of bits in type 'intptr_t'. */
|
||||
#undef BITSIZEOF_INTPTR_T
|
||||
|
||||
/* Define to the number of bits in type 'int_fast16_t'. */
|
||||
#undef BITSIZEOF_INT_FAST16_T
|
||||
|
||||
/* Define to the number of bits in type 'int_fast32_t'. */
|
||||
#undef BITSIZEOF_INT_FAST32_T
|
||||
|
||||
/* Define to the number of bits in type 'int_fast64_t'. */
|
||||
#undef BITSIZEOF_INT_FAST64_T
|
||||
|
||||
/* Define to the number of bits in type 'int_fast8_t'. */
|
||||
#undef BITSIZEOF_INT_FAST8_T
|
||||
|
||||
/* Define to the number of bits in type 'int_least16_t'. */
|
||||
#undef BITSIZEOF_INT_LEAST16_T
|
||||
|
||||
/* Define to the number of bits in type 'int_least32_t'. */
|
||||
#undef BITSIZEOF_INT_LEAST32_T
|
||||
|
||||
/* Define to the number of bits in type 'int_least64_t'. */
|
||||
#undef BITSIZEOF_INT_LEAST64_T
|
||||
|
||||
/* Define to the number of bits in type 'int_least8_t'. */
|
||||
#undef BITSIZEOF_INT_LEAST8_T
|
||||
|
||||
/* Define to the number of bits in type 'long'. */
|
||||
#undef BITSIZEOF_LONG
|
||||
|
||||
/* Define to the number of bits in type 'ptrdiff_t'. */
|
||||
#undef BITSIZEOF_PTRDIFF_T
|
||||
|
||||
/* Define to the number of bits in type 'sig_atomic_t'. */
|
||||
#undef BITSIZEOF_SIG_ATOMIC_T
|
||||
|
||||
/* Define to the number of bits in type 'size_t'. */
|
||||
#undef BITSIZEOF_SIZE_T
|
||||
|
||||
/* Define to the number of bits in type 'uint16_t'. */
|
||||
#undef BITSIZEOF_UINT16_T
|
||||
|
||||
/* Define to the number of bits in type 'uint32_t'. */
|
||||
#undef BITSIZEOF_UINT32_T
|
||||
|
||||
/* Define to the number of bits in type 'uint64_t'. */
|
||||
#undef BITSIZEOF_UINT64_T
|
||||
|
||||
/* Define to the number of bits in type 'uint8_t'. */
|
||||
#undef BITSIZEOF_UINT8_T
|
||||
|
||||
/* Define to the number of bits in type 'uintmax_t'. */
|
||||
#undef BITSIZEOF_UINTMAX_T
|
||||
|
||||
/* Define to the number of bits in type 'uintptr_t'. */
|
||||
#undef BITSIZEOF_UINTPTR_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_fast16_t'. */
|
||||
#undef BITSIZEOF_UINT_FAST16_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_fast32_t'. */
|
||||
#undef BITSIZEOF_UINT_FAST32_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_fast64_t'. */
|
||||
#undef BITSIZEOF_UINT_FAST64_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_fast8_t'. */
|
||||
#undef BITSIZEOF_UINT_FAST8_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_least16_t'. */
|
||||
#undef BITSIZEOF_UINT_LEAST16_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_least32_t'. */
|
||||
#undef BITSIZEOF_UINT_LEAST32_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_least64_t'. */
|
||||
#undef BITSIZEOF_UINT_LEAST64_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_least8_t'. */
|
||||
#undef BITSIZEOF_UINT_LEAST8_T
|
||||
|
||||
/* Define to the number of bits in type 'unsigned_int'. */
|
||||
#undef BITSIZEOF_UNSIGNED_INT
|
||||
|
||||
/* Define to the number of bits in type 'unsigned_long'. */
|
||||
#undef BITSIZEOF_UNSIGNED_LONG
|
||||
|
||||
/* Define to the number of bits in type 'wchar_t'. */
|
||||
#undef BITSIZEOF_WCHAR_T
|
||||
|
||||
/* Define to the number of bits in type 'wint_t'. */
|
||||
#undef BITSIZEOF_WINT_T
|
||||
|
||||
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
||||
systems. This function is required for `alloca.c' support on those systems.
|
||||
*/
|
||||
#undef CRAY_STACKSEG_END
|
||||
|
||||
/* Define to 1 if using `alloca.c'. */
|
||||
#undef C_ALLOCA
|
||||
|
||||
/* Define as good substitute value for EILSEQ. */
|
||||
#undef EILSEQ
|
||||
|
||||
/* Define to 1 to enable a few rarely used encodings. */
|
||||
#undef ENABLE_EXTRA
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#undef ENABLE_NLS
|
||||
|
||||
/* Define to 1 if the package shall run at any location in the filesystem. */
|
||||
#undef ENABLE_RELOCATABLE
|
||||
|
||||
/* Define this to the full path to <inttypes.h>. */
|
||||
#undef FULL_PATH_INTTYPES_H
|
||||
|
||||
/* Define this to the full path to <stdint.h>. */
|
||||
#undef FULL_PATH_STDINT_H
|
||||
|
||||
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||
#undef HAVE_ALLOCA
|
||||
|
||||
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
||||
*/
|
||||
#undef HAVE_ALLOCA_H
|
||||
|
||||
/* Define to 1 if you have the `canonicalize_file_name' function. */
|
||||
#undef HAVE_CANONICALIZE_FILE_NAME
|
||||
|
||||
/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
|
||||
CoreFoundation framework. */
|
||||
#undef HAVE_CFLOCALECOPYCURRENT
|
||||
|
||||
/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
|
||||
the CoreFoundation framework. */
|
||||
#undef HAVE_CFPREFERENCESCOPYAPPVALUE
|
||||
|
||||
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
||||
*/
|
||||
#undef HAVE_DCGETTEXT
|
||||
|
||||
/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_CLEARERR_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_FEOF_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FERROR_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FFLUSH_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FGETS_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FPUTC_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FPUTS_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FREAD_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FWRITE_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_GETCHAR_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_GETC_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_PUTCHAR_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_PUTC_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_STRERROR_R
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define if you have the declaration of environ. */
|
||||
#undef HAVE_ENVIRON_DECL
|
||||
|
||||
/* Define if you have the declaration of errno. */
|
||||
#undef HAVE_ERRNO_DECL
|
||||
|
||||
/* Define to 1 if you have the `getcwd' function. */
|
||||
#undef HAVE_GETCWD
|
||||
|
||||
/* Define to 1 if you have the `getc_unlocked' function. */
|
||||
#undef HAVE_GETC_UNLOCKED
|
||||
|
||||
/* Define if the GNU gettext() function is already present or preinstalled. */
|
||||
#undef HAVE_GETTEXT
|
||||
|
||||
/* Define if you have the iconv() function. */
|
||||
#undef HAVE_ICONV
|
||||
|
||||
/* Define to 1 if the type 'int16_t' is already defined. */
|
||||
#undef HAVE_INT16_T
|
||||
|
||||
/* Define to 1 if the type 'int32_t' is already defined. */
|
||||
#undef HAVE_INT32_T
|
||||
|
||||
/* Define to 1 if the type 'int64_t' is already defined. */
|
||||
#undef HAVE_INT64_T
|
||||
|
||||
/* Define to 1 if the type 'int64_t' is already definedin <stdint.h>. */
|
||||
#undef HAVE_INT64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'int8_t' is already defined. */
|
||||
#undef HAVE_INT8_T
|
||||
|
||||
/* Define to 1 if the type 'intmax_t' is already defined. */
|
||||
#undef HAVE_INTMAX_T
|
||||
|
||||
/* Define to 1 if the type 'intptr_t' is already defined. */
|
||||
#undef HAVE_INTPTR_T
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if the type 'int_fast16_t' is already defined. */
|
||||
#undef HAVE_INT_FAST16_T
|
||||
|
||||
/* Define to 1 if the type 'int_fast32_t' is already defined. */
|
||||
#undef HAVE_INT_FAST32_T
|
||||
|
||||
/* Define to 1 if the type 'int_fast64_t' is already defined. */
|
||||
#undef HAVE_INT_FAST64_T
|
||||
|
||||
/* Define to 1 if the type 'int_fast64_t' is already definedin <stdint.h>. */
|
||||
#undef HAVE_INT_FAST64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'int_fast8_t' is already defined. */
|
||||
#undef HAVE_INT_FAST8_T
|
||||
|
||||
/* Define to 1 if the type 'int_least16_t' is already defined. */
|
||||
#undef HAVE_INT_LEAST16_T
|
||||
|
||||
/* Define to 1 if the type 'int_least32_t' is already defined. */
|
||||
#undef HAVE_INT_LEAST32_T
|
||||
|
||||
/* Define to 1 if the type 'int_least64_t' is already defined. */
|
||||
#undef HAVE_INT_LEAST64_T
|
||||
|
||||
/* Define to 1 if the type 'int_least64_t' is already definedin <stdint.h>. */
|
||||
#undef HAVE_INT_LEAST64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'int_least8_t' is already defined. */
|
||||
#undef HAVE_INT_LEAST8_T
|
||||
|
||||
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
||||
#undef HAVE_LANGINFO_CODESET
|
||||
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#undef HAVE_LOCALE_H
|
||||
|
||||
/* Define if you have the 'long double' type. */
|
||||
#undef HAVE_LONG_DOUBLE
|
||||
|
||||
/* Define if you have the 'long long' type. */
|
||||
#undef HAVE_LONG_LONG
|
||||
|
||||
/* Define to 1 if you have the <mach-o/dyld.h> header file. */
|
||||
#undef HAVE_MACH_O_DYLD_H
|
||||
|
||||
/* Define to 1 if you have the `mbrtowc' function. */
|
||||
#undef HAVE_MBRTOWC
|
||||
|
||||
/* Define to 1 if you have the `mbsinit' function. */
|
||||
#undef HAVE_MBSINIT
|
||||
|
||||
/* Define to 1 if <wchar.h> declares mbstate_t. */
|
||||
#undef HAVE_MBSTATE_T
|
||||
|
||||
/* Define to 1 if you have the `memmove' function. */
|
||||
#undef HAVE_MEMMOVE
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if the system has the type `ptrdiff_t'. */
|
||||
#undef HAVE_PTRDIFF_T
|
||||
|
||||
/* Define to 1 if you have the `readlink' function. */
|
||||
#undef HAVE_READLINK
|
||||
|
||||
/* Define to 1 if you have the <search.h> header file. */
|
||||
#undef HAVE_SEARCH_H
|
||||
|
||||
/* Define to 1 if you have the `setenv' function. */
|
||||
#undef HAVE_SETENV
|
||||
|
||||
/* Define to 1 if you have the `setlocale' function. */
|
||||
#undef HAVE_SETLOCALE
|
||||
|
||||
/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
|
||||
#undef HAVE_SIGNED_SIG_ATOMIC_T
|
||||
|
||||
/* Define to 1 if 'wchar_t' is a signed integer type. */
|
||||
#undef HAVE_SIGNED_WCHAR_T
|
||||
|
||||
/* Define to 1 if 'wint_t' is a signed integer type. */
|
||||
#undef HAVE_SIGNED_WINT_T
|
||||
|
||||
/* Define to 1 if the system has the type `sig_atomic_t'. */
|
||||
#undef HAVE_SIG_ATOMIC_T
|
||||
|
||||
/* Define to 1 if stdbool.h conforms to C99. */
|
||||
#undef HAVE_STDBOOL_H
|
||||
|
||||
/* Define to 1 if you have the <stddef.h> header file. */
|
||||
#undef HAVE_STDDEF_H
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#undef HAVE_STRERROR
|
||||
|
||||
/* Define to 1 if you have the `strerror_r' function. */
|
||||
#undef HAVE_STRERROR_R
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the <sys/bitypes.h> header file. */
|
||||
#undef HAVE_SYS_BITYPES_H
|
||||
|
||||
/* Define to 1 if you have the <sys/inttypes.h> header file. */
|
||||
#undef HAVE_SYS_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#undef HAVE_SYS_PARAM_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the `tsearch' function. */
|
||||
#undef HAVE_TSEARCH
|
||||
|
||||
/* Define to 1 if the type 'uint16_t' is already defined. */
|
||||
#undef HAVE_UINT16_T
|
||||
|
||||
/* Define to 1 if the type 'uint32_t' is already defined. */
|
||||
#undef HAVE_UINT32_T
|
||||
|
||||
/* Define to 1 if the type 'uint64_t' is already defined. */
|
||||
#undef HAVE_UINT64_T
|
||||
|
||||
/* Define to 1 if the type 'uint64_t' is already definedin <stdint.h>. */
|
||||
#undef HAVE_UINT64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'uint8_t' is already defined. */
|
||||
#undef HAVE_UINT8_T
|
||||
|
||||
/* Define to 1 if the type 'uintmax_t' is already defined. */
|
||||
#undef HAVE_UINTMAX_T
|
||||
|
||||
/* Define to 1 if the type 'uintptr_t' is already defined. */
|
||||
#undef HAVE_UINTPTR_T
|
||||
|
||||
/* Define to 1 if the type 'uint_fast16_t' is already defined. */
|
||||
#undef HAVE_UINT_FAST16_T
|
||||
|
||||
/* Define to 1 if the type 'uint_fast32_t' is already defined. */
|
||||
#undef HAVE_UINT_FAST32_T
|
||||
|
||||
/* Define to 1 if the type 'uint_fast64_t' is already defined. */
|
||||
#undef HAVE_UINT_FAST64_T
|
||||
|
||||
/* Define to 1 if the type 'uint_fast64_t' is already definedin <stdint.h>. */
|
||||
#undef HAVE_UINT_FAST64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'uint_fast8_t' is already defined. */
|
||||
#undef HAVE_UINT_FAST8_T
|
||||
|
||||
/* Define to 1 if the type 'uint_least16_t' is already defined. */
|
||||
#undef HAVE_UINT_LEAST16_T
|
||||
|
||||
/* Define to 1 if the type 'uint_least32_t' is already defined. */
|
||||
#undef HAVE_UINT_LEAST32_T
|
||||
|
||||
/* Define to 1 if the type 'uint_least64_t' is already defined. */
|
||||
#undef HAVE_UINT_LEAST64_T
|
||||
|
||||
/* Define to 1 if the type 'uint_least64_t' is already definedin <stdint.h>.
|
||||
*/
|
||||
#undef HAVE_UINT_LEAST64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'uint_least8_t' is already defined. */
|
||||
#undef HAVE_UINT_LEAST8_T
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if you have the `unsetenv' function. */
|
||||
#undef HAVE_UNSETENV
|
||||
|
||||
/* Define to 1 or 0, depending whether the compiler supports simple visibility
|
||||
declarations. */
|
||||
#undef HAVE_VISIBILITY
|
||||
|
||||
/* Define to 1 if you have the <wchar.h> header file. */
|
||||
#undef HAVE_WCHAR_H
|
||||
|
||||
/* Define if you have the 'wchar_t' type. */
|
||||
#undef HAVE_WCHAR_T
|
||||
|
||||
/* Define to 1 if you have the `wcrtomb' function. */
|
||||
#undef HAVE_WCRTOMB
|
||||
|
||||
/* Define to 1 if the system has the type `wint_t'. */
|
||||
#undef HAVE_WINT_T
|
||||
|
||||
/* Define to 1 if the system has the type `_Bool'. */
|
||||
#undef HAVE__BOOL
|
||||
|
||||
/* Define to 1 if you have the `_NSGetExecutablePath' function. */
|
||||
#undef HAVE__NSGETEXECUTABLEPATH
|
||||
|
||||
/* Define as const if the declaration of iconv() needs const. */
|
||||
#undef ICONV_CONST
|
||||
|
||||
/* Define to the value of ${prefix}, as a string. */
|
||||
#undef INSTALLPREFIX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT16_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT32_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the int64_t type. */
|
||||
#undef INT64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the int64_t type. */
|
||||
#undef INT64_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT8_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT8_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INTMAX_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INTMAX_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INTPTR_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INTPTR_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST16_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST32_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST64_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST8_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST8_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST16_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST32_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the int_least64_t type. */
|
||||
#undef INT_LEAST64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the int_least64_t type. */
|
||||
#undef INT_LEAST64_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST8_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST8_MIN
|
||||
|
||||
/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
|
||||
#undef MALLOC_0_IS_NONNULL
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef PTRDIFF_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef PTRDIFF_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef SIG_ATOMIC_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef SIG_ATOMIC_MIN
|
||||
|
||||
/* Define as the maximum value of type 'size_t', if the system doesn't define
|
||||
it. */
|
||||
#undef SIZE_MAX
|
||||
|
||||
/* If using the C implementation of alloca, define if you know the
|
||||
direction of stack growth for your system; otherwise it will be
|
||||
automatically deduced at runtime.
|
||||
STACK_DIRECTION > 0 => grows toward higher addresses
|
||||
STACK_DIRECTION < 0 => grows toward lower addresses
|
||||
STACK_DIRECTION = 0 => direction of growth unknown */
|
||||
#undef STACK_DIRECTION
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Define to 1 if strerror_r returns char *. */
|
||||
#undef STRERROR_R_CHAR_P
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the uint64_t type. */
|
||||
#undef UINT64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT8_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINTMAX_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINTPTR_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_FAST16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_FAST32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_FAST64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_FAST8_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_LEAST16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_LEAST32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the uint_least64_t type. */
|
||||
#undef UINT_LEAST64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_LEAST8_MAX
|
||||
|
||||
/* Define to 1 if you want getc etc. to use unlocked I/O if available.
|
||||
Unlocked I/O can improve performance in unithreaded apps, but it is not
|
||||
safe for multithreaded apps. */
|
||||
#undef USE_UNLOCKED_IO
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Define if unsetenv() returns void, not int. */
|
||||
#undef VOID_UNSETENV
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef WINT_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef WINT_MIN
|
||||
|
||||
/* Define if the machine's byte ordering is little endian. */
|
||||
#undef WORDS_LITTLEENDIAN
|
||||
|
||||
/* Define to 1 if on AIX 3.
|
||||
System headers sometimes define this.
|
||||
We just want to avoid a redefinition error message. */
|
||||
#ifndef _ALL_SOURCE
|
||||
# undef _ALL_SOURCE
|
||||
#endif
|
||||
|
||||
/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
# undef _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
#undef _MINIX
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
#undef _POSIX_1_SOURCE
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
#undef _POSIX_SOURCE
|
||||
|
||||
/* Enable extensions on Solaris. */
|
||||
#ifndef __EXTENSIONS__
|
||||
# undef __EXTENSIONS__
|
||||
#endif
|
||||
|
||||
/* Define to a type if <wchar.h> does not define. */
|
||||
#undef mbstate_t
|
||||
|
||||
/* Define to a replacement function name for realpath(). */
|
||||
#undef realpath
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
#undef size_t
|
||||
|
||||
/* Define as a signed type of the same size as size_t. */
|
||||
#undef ssize_t
|
||||
|
||||
|
||||
/* On Windows, variables that may be in a DLL must be marked specially. */
|
||||
#if defined _MSC_VER && defined _DLL
|
||||
# define DLL_VARIABLE __declspec (dllimport)
|
||||
#else
|
||||
# define DLL_VARIABLE
|
||||
#endif
|
||||
|
717
src/libiconv/libiconv/config.h.msvc
Normal file
717
src/libiconv/libiconv/config.h.msvc
Normal file
@ -0,0 +1,717 @@
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to the number of bits in type 'int16_t'. */
|
||||
#undef BITSIZEOF_INT16_T
|
||||
|
||||
/* Define to the number of bits in type 'int32_t'. */
|
||||
#undef BITSIZEOF_INT32_T
|
||||
|
||||
/* Define to the number of bits in type 'int64_t'. */
|
||||
#undef BITSIZEOF_INT64_T
|
||||
|
||||
/* Define to the number of bits in type 'int8_t'. */
|
||||
#undef BITSIZEOF_INT8_T
|
||||
|
||||
/* Define to the number of bits in type 'intmax_t'. */
|
||||
#undef BITSIZEOF_INTMAX_T
|
||||
|
||||
/* Define to the number of bits in type 'intptr_t'. */
|
||||
#undef BITSIZEOF_INTPTR_T
|
||||
|
||||
/* Define to the number of bits in type 'int_fast16_t'. */
|
||||
#undef BITSIZEOF_INT_FAST16_T
|
||||
|
||||
/* Define to the number of bits in type 'int_fast32_t'. */
|
||||
#undef BITSIZEOF_INT_FAST32_T
|
||||
|
||||
/* Define to the number of bits in type 'int_fast64_t'. */
|
||||
#undef BITSIZEOF_INT_FAST64_T
|
||||
|
||||
/* Define to the number of bits in type 'int_fast8_t'. */
|
||||
#undef BITSIZEOF_INT_FAST8_T
|
||||
|
||||
/* Define to the number of bits in type 'int_least16_t'. */
|
||||
#undef BITSIZEOF_INT_LEAST16_T
|
||||
|
||||
/* Define to the number of bits in type 'int_least32_t'. */
|
||||
#undef BITSIZEOF_INT_LEAST32_T
|
||||
|
||||
/* Define to the number of bits in type 'int_least64_t'. */
|
||||
#undef BITSIZEOF_INT_LEAST64_T
|
||||
|
||||
/* Define to the number of bits in type 'int_least8_t'. */
|
||||
#undef BITSIZEOF_INT_LEAST8_T
|
||||
|
||||
/* Define to the number of bits in type 'long'. */
|
||||
#undef BITSIZEOF_LONG
|
||||
|
||||
/* Define to the number of bits in type 'ptrdiff_t'. */
|
||||
#undef BITSIZEOF_PTRDIFF_T
|
||||
|
||||
/* Define to the number of bits in type 'sig_atomic_t'. */
|
||||
#undef BITSIZEOF_SIG_ATOMIC_T
|
||||
|
||||
/* Define to the number of bits in type 'size_t'. */
|
||||
#undef BITSIZEOF_SIZE_T
|
||||
|
||||
/* Define to the number of bits in type 'uint16_t'. */
|
||||
#undef BITSIZEOF_UINT16_T
|
||||
|
||||
/* Define to the number of bits in type 'uint32_t'. */
|
||||
#undef BITSIZEOF_UINT32_T
|
||||
|
||||
/* Define to the number of bits in type 'uint64_t'. */
|
||||
#undef BITSIZEOF_UINT64_T
|
||||
|
||||
/* Define to the number of bits in type 'uint8_t'. */
|
||||
#undef BITSIZEOF_UINT8_T
|
||||
|
||||
/* Define to the number of bits in type 'uintmax_t'. */
|
||||
#undef BITSIZEOF_UINTMAX_T
|
||||
|
||||
/* Define to the number of bits in type 'uintptr_t'. */
|
||||
#undef BITSIZEOF_UINTPTR_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_fast16_t'. */
|
||||
#undef BITSIZEOF_UINT_FAST16_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_fast32_t'. */
|
||||
#undef BITSIZEOF_UINT_FAST32_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_fast64_t'. */
|
||||
#undef BITSIZEOF_UINT_FAST64_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_fast8_t'. */
|
||||
#undef BITSIZEOF_UINT_FAST8_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_least16_t'. */
|
||||
#undef BITSIZEOF_UINT_LEAST16_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_least32_t'. */
|
||||
#undef BITSIZEOF_UINT_LEAST32_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_least64_t'. */
|
||||
#undef BITSIZEOF_UINT_LEAST64_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_least8_t'. */
|
||||
#undef BITSIZEOF_UINT_LEAST8_T
|
||||
|
||||
/* Define to the number of bits in type 'unsigned_int'. */
|
||||
#undef BITSIZEOF_UNSIGNED_INT
|
||||
|
||||
/* Define to the number of bits in type 'unsigned_long'. */
|
||||
#undef BITSIZEOF_UNSIGNED_LONG
|
||||
|
||||
/* Define to the number of bits in type 'wchar_t'. */
|
||||
#undef BITSIZEOF_WCHAR_T
|
||||
|
||||
/* Define to the number of bits in type 'wint_t'. */
|
||||
#undef BITSIZEOF_WINT_T
|
||||
|
||||
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
||||
systems. This function is required for `alloca.c' support on those systems.
|
||||
*/
|
||||
#undef CRAY_STACKSEG_END
|
||||
|
||||
/* Define to 1 if using `alloca.c'. */
|
||||
#undef C_ALLOCA
|
||||
|
||||
/* Define as good substitute value for EILSEQ. */
|
||||
#undef EILSEQ
|
||||
|
||||
/* Define to 1 to enable a few rarely used encodings. */
|
||||
#undef ENABLE_EXTRA
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
|
||||
/* Define to 1 if the package shall run at any location in the filesystem. */
|
||||
#define ENABLE_RELOCATABLE 1
|
||||
|
||||
/* Define this to the full path to <inttypes.h>. */
|
||||
#undef FULL_PATH_INTTYPES_H
|
||||
|
||||
/* Define this to the full path to <stdint.h>. */
|
||||
#undef FULL_PATH_STDINT_H
|
||||
|
||||
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||
#define HAVE_ALLOCA 1
|
||||
|
||||
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
||||
*/
|
||||
#undef HAVE_ALLOCA_H
|
||||
|
||||
/* Define to 1 if you have the `canonicalize_file_name' function. */
|
||||
#undef HAVE_CANONICALIZE_FILE_NAME
|
||||
|
||||
/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
|
||||
CoreFoundation framework. */
|
||||
#undef HAVE_CFLOCALECOPYCURRENT
|
||||
|
||||
/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
|
||||
the CoreFoundation framework. */
|
||||
#undef HAVE_CFPREFERENCESCOPYAPPVALUE
|
||||
|
||||
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
||||
*/
|
||||
#undef HAVE_DCGETTEXT
|
||||
|
||||
/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_CLEARERR_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_FEOF_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FERROR_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FFLUSH_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FGETS_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FPUTC_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FPUTS_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FREAD_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FWRITE_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_GETCHAR_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_GETC_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_PUTCHAR_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_PUTC_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_STRERROR_R
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define if you have the declaration of environ. */
|
||||
#define HAVE_ENVIRON_DECL 1
|
||||
|
||||
/* Define if you have the declaration of errno. */
|
||||
#define HAVE_ERRNO_DECL 1
|
||||
|
||||
/* Define to 1 if you have the `getcwd' function. */
|
||||
#define HAVE_GETCWD 1
|
||||
|
||||
/* Define to 1 if you have the `getc_unlocked' function. */
|
||||
#undef HAVE_GETC_UNLOCKED
|
||||
|
||||
/* Define if the GNU gettext() function is already present or preinstalled. */
|
||||
#undef HAVE_GETTEXT
|
||||
|
||||
/* Define if you have the iconv() function. */
|
||||
#undef HAVE_ICONV
|
||||
|
||||
/* Define to 1 if the type 'int16_t' is already defined. */
|
||||
#undef HAVE_INT16_T
|
||||
|
||||
/* Define to 1 if the type 'int32_t' is already defined. */
|
||||
#undef HAVE_INT32_T
|
||||
|
||||
/* Define to 1 if the type 'int64_t' is already defined. */
|
||||
#undef HAVE_INT64_T
|
||||
|
||||
/* Define to 1 if the type 'int64_t' is already definedin <stdint.h>. */
|
||||
#undef HAVE_INT64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'int8_t' is already defined. */
|
||||
#undef HAVE_INT8_T
|
||||
|
||||
/* Define to 1 if the type 'intmax_t' is already defined. */
|
||||
#undef HAVE_INTMAX_T
|
||||
|
||||
/* Define to 1 if the type 'intptr_t' is already defined. */
|
||||
#undef HAVE_INTPTR_T
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if the type 'int_fast16_t' is already defined. */
|
||||
#undef HAVE_INT_FAST16_T
|
||||
|
||||
/* Define to 1 if the type 'int_fast32_t' is already defined. */
|
||||
#undef HAVE_INT_FAST32_T
|
||||
|
||||
/* Define to 1 if the type 'int_fast64_t' is already defined. */
|
||||
#undef HAVE_INT_FAST64_T
|
||||
|
||||
/* Define to 1 if the type 'int_fast64_t' is already definedin <stdint.h>. */
|
||||
#undef HAVE_INT_FAST64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'int_fast8_t' is already defined. */
|
||||
#undef HAVE_INT_FAST8_T
|
||||
|
||||
/* Define to 1 if the type 'int_least16_t' is already defined. */
|
||||
#undef HAVE_INT_LEAST16_T
|
||||
|
||||
/* Define to 1 if the type 'int_least32_t' is already defined. */
|
||||
#undef HAVE_INT_LEAST32_T
|
||||
|
||||
/* Define to 1 if the type 'int_least64_t' is already defined. */
|
||||
#undef HAVE_INT_LEAST64_T
|
||||
|
||||
/* Define to 1 if the type 'int_least64_t' is already definedin <stdint.h>. */
|
||||
#undef HAVE_INT_LEAST64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'int_least8_t' is already defined. */
|
||||
#undef HAVE_INT_LEAST8_T
|
||||
|
||||
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
||||
#undef HAVE_LANGINFO_CODESET
|
||||
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#define HAVE_LOCALE_H 1
|
||||
|
||||
/* Define if you have the 'long double' type. */
|
||||
#undef HAVE_LONG_DOUBLE
|
||||
|
||||
/* Define if you have the 'long long' type. */
|
||||
#undef HAVE_LONG_LONG
|
||||
|
||||
/* Define to 1 if you have the <mach-o/dyld.h> header file. */
|
||||
#undef HAVE_MACH_O_DYLD_H
|
||||
|
||||
/* Define to 1 if you have the `mbrtowc' function. */
|
||||
#undef HAVE_MBRTOWC
|
||||
|
||||
/* Define to 1 if you have the `mbsinit' function. */
|
||||
#undef HAVE_MBSINIT
|
||||
|
||||
/* Define to 1 if <wchar.h> declares mbstate_t. */
|
||||
#undef HAVE_MBSTATE_T
|
||||
|
||||
/* Define to 1 if you have the `memmove' function. */
|
||||
#define HAVE_MEMMOVE 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if the system has the type `ptrdiff_t'. */
|
||||
#undef HAVE_PTRDIFF_T
|
||||
|
||||
/* Define to 1 if you have the `readlink' function. */
|
||||
#undef HAVE_READLINK
|
||||
|
||||
/* Define to 1 if you have the <search.h> header file. */
|
||||
#define HAVE_SEARCH_H 1
|
||||
|
||||
/* Define to 1 if you have the `setenv' function. */
|
||||
#undef HAVE_SETENV
|
||||
|
||||
/* Define to 1 if you have the `setlocale' function. */
|
||||
#define HAVE_SETLOCALE 1
|
||||
|
||||
/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
|
||||
#undef HAVE_SIGNED_SIG_ATOMIC_T
|
||||
|
||||
/* Define to 1 if 'wchar_t' is a signed integer type. */
|
||||
#undef HAVE_SIGNED_WCHAR_T
|
||||
|
||||
/* Define to 1 if 'wint_t' is a signed integer type. */
|
||||
#undef HAVE_SIGNED_WINT_T
|
||||
|
||||
/* Define to 1 if the system has the type `sig_atomic_t'. */
|
||||
#undef HAVE_SIG_ATOMIC_T
|
||||
|
||||
/* Define to 1 if stdbool.h conforms to C99. */
|
||||
#undef HAVE_STDBOOL_H
|
||||
|
||||
/* Define to 1 if you have the <stddef.h> header file. */
|
||||
#define HAVE_STDDEF_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#define HAVE_STRERROR 1
|
||||
|
||||
/* Define to 1 if you have the `strerror_r' function. */
|
||||
#undef HAVE_STRERROR_R
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/bitypes.h> header file. */
|
||||
#undef HAVE_SYS_BITYPES_H
|
||||
|
||||
/* Define to 1 if you have the <sys/inttypes.h> header file. */
|
||||
#undef HAVE_SYS_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#undef HAVE_SYS_PARAM_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the `tsearch' function. */
|
||||
#undef HAVE_TSEARCH
|
||||
|
||||
/* Define to 1 if the type 'uint16_t' is already defined. */
|
||||
#undef HAVE_UINT16_T
|
||||
|
||||
/* Define to 1 if the type 'uint32_t' is already defined. */
|
||||
#undef HAVE_UINT32_T
|
||||
|
||||
/* Define to 1 if the type 'uint64_t' is already defined. */
|
||||
#undef HAVE_UINT64_T
|
||||
|
||||
/* Define to 1 if the type 'uint64_t' is already definedin <stdint.h>. */
|
||||
#undef HAVE_UINT64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'uint8_t' is already defined. */
|
||||
#undef HAVE_UINT8_T
|
||||
|
||||
/* Define to 1 if the type 'uintmax_t' is already defined. */
|
||||
#undef HAVE_UINTMAX_T
|
||||
|
||||
/* Define to 1 if the type 'uintptr_t' is already defined. */
|
||||
#undef HAVE_UINTPTR_T
|
||||
|
||||
/* Define to 1 if the type 'uint_fast16_t' is already defined. */
|
||||
#undef HAVE_UINT_FAST16_T
|
||||
|
||||
/* Define to 1 if the type 'uint_fast32_t' is already defined. */
|
||||
#undef HAVE_UINT_FAST32_T
|
||||
|
||||
/* Define to 1 if the type 'uint_fast64_t' is already defined. */
|
||||
#undef HAVE_UINT_FAST64_T
|
||||
|
||||
/* Define to 1 if the type 'uint_fast64_t' is already definedin <stdint.h>. */
|
||||
#undef HAVE_UINT_FAST64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'uint_fast8_t' is already defined. */
|
||||
#undef HAVE_UINT_FAST8_T
|
||||
|
||||
/* Define to 1 if the type 'uint_least16_t' is already defined. */
|
||||
#undef HAVE_UINT_LEAST16_T
|
||||
|
||||
/* Define to 1 if the type 'uint_least32_t' is already defined. */
|
||||
#undef HAVE_UINT_LEAST32_T
|
||||
|
||||
/* Define to 1 if the type 'uint_least64_t' is already defined. */
|
||||
#undef HAVE_UINT_LEAST64_T
|
||||
|
||||
/* Define to 1 if the type 'uint_least64_t' is already definedin <stdint.h>.
|
||||
*/
|
||||
#undef HAVE_UINT_LEAST64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'uint_least8_t' is already defined. */
|
||||
#undef HAVE_UINT_LEAST8_T
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if you have the `unsetenv' function. */
|
||||
#undef HAVE_UNSETENV
|
||||
|
||||
/* Define to 1 or 0, depending whether the compiler supports simple visibility
|
||||
declarations. */
|
||||
#undef HAVE_VISIBILITY
|
||||
|
||||
/* Define to 1 if you have the <wchar.h> header file. */
|
||||
#undef HAVE_WCHAR_H
|
||||
|
||||
/* Define if you have the 'wchar_t' type. */
|
||||
#undef HAVE_WCHAR_T
|
||||
|
||||
/* Define to 1 if you have the `wcrtomb' function. */
|
||||
#undef HAVE_WCRTOMB
|
||||
|
||||
/* Define to 1 if the system has the type `wint_t'. */
|
||||
#undef HAVE_WINT_T
|
||||
|
||||
/* Define to 1 if the system has the type `_Bool'. */
|
||||
#undef HAVE__BOOL
|
||||
|
||||
/* Define to 1 if you have the `_NSGetExecutablePath' function. */
|
||||
#undef HAVE__NSGETEXECUTABLEPATH
|
||||
|
||||
/* Define as const if the declaration of iconv() needs const. */
|
||||
#undef ICONV_CONST
|
||||
|
||||
/* Define to the value of ${prefix}, as a string. */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT16_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT32_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the int64_t type. */
|
||||
#undef INT64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the int64_t type. */
|
||||
#undef INT64_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT8_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT8_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INTMAX_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INTMAX_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INTPTR_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INTPTR_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST16_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST32_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST64_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST8_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST8_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST16_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST32_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the int_least64_t type. */
|
||||
#undef INT_LEAST64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the int_least64_t type. */
|
||||
#undef INT_LEAST64_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST8_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST8_MIN
|
||||
|
||||
/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
|
||||
#define MALLOC_0_IS_NONNULL 1
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef PTRDIFF_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef PTRDIFF_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef SIG_ATOMIC_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef SIG_ATOMIC_MIN
|
||||
|
||||
/* Define as the maximum value of type 'size_t', if the system doesn't define
|
||||
it. */
|
||||
#undef SIZE_MAX
|
||||
|
||||
/* If using the C implementation of alloca, define if you know the
|
||||
direction of stack growth for your system; otherwise it will be
|
||||
automatically deduced at runtime.
|
||||
STACK_DIRECTION > 0 => grows toward higher addresses
|
||||
STACK_DIRECTION < 0 => grows toward lower addresses
|
||||
STACK_DIRECTION = 0 => direction of growth unknown */
|
||||
#define STACK_DIRECTION -1
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Define to 1 if strerror_r returns char *. */
|
||||
#undef STRERROR_R_CHAR_P
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the uint64_t type. */
|
||||
#undef UINT64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT8_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINTMAX_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINTPTR_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_FAST16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_FAST32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_FAST64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_FAST8_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_LEAST16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_LEAST32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the uint_least64_t type. */
|
||||
#undef UINT_LEAST64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_LEAST8_MAX
|
||||
|
||||
/* Define to 1 if you want getc etc. to use unlocked I/O if available.
|
||||
Unlocked I/O can improve performance in unithreaded apps, but it is not
|
||||
safe for multithreaded apps. */
|
||||
#undef USE_UNLOCKED_IO
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Define if unsetenv() returns void, not int. */
|
||||
#undef VOID_UNSETENV
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef WINT_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef WINT_MIN
|
||||
|
||||
/* Define if the machine's byte ordering is little endian. */
|
||||
#define WORDS_LITTLEENDIAN 1
|
||||
|
||||
/* Define to 1 if on AIX 3.
|
||||
System headers sometimes define this.
|
||||
We just want to avoid a redefinition error message. */
|
||||
#ifndef _ALL_SOURCE
|
||||
# undef _ALL_SOURCE
|
||||
#endif
|
||||
|
||||
/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
# undef _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
#undef _MINIX
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
#undef _POSIX_1_SOURCE
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
#undef _POSIX_SOURCE
|
||||
|
||||
/* Enable extensions on Solaris. */
|
||||
#ifndef __EXTENSIONS__
|
||||
# undef __EXTENSIONS__
|
||||
#endif
|
||||
|
||||
/* Define to a type if <wchar.h> does not define. */
|
||||
#undef mbstate_t
|
||||
|
||||
/* Define to a replacement function name for realpath(). */
|
||||
#undef realpath
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
#undef size_t
|
||||
|
||||
/* Define as a signed type of the same size as size_t. */
|
||||
#undef ssize_t
|
||||
|
||||
|
||||
/* On Windows, variables that may be in a DLL must be marked specially. */
|
||||
#if defined _MSC_VER && defined _DLL
|
||||
# define DLL_VARIABLE __declspec (dllimport)
|
||||
#else
|
||||
# define DLL_VARIABLE
|
||||
#endif
|
||||
|
718
src/libiconv/libiconv/config.h_vms
Normal file
718
src/libiconv/libiconv/config.h_vms
Normal file
@ -0,0 +1,718 @@
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to the number of bits in type 'int16_t'. */
|
||||
#undef BITSIZEOF_INT16_T
|
||||
|
||||
/* Define to the number of bits in type 'int32_t'. */
|
||||
#undef BITSIZEOF_INT32_T
|
||||
|
||||
/* Define to the number of bits in type 'int64_t'. */
|
||||
#undef BITSIZEOF_INT64_T
|
||||
|
||||
/* Define to the number of bits in type 'int8_t'. */
|
||||
#undef BITSIZEOF_INT8_T
|
||||
|
||||
/* Define to the number of bits in type 'intmax_t'. */
|
||||
#undef BITSIZEOF_INTMAX_T
|
||||
|
||||
/* Define to the number of bits in type 'intptr_t'. */
|
||||
#undef BITSIZEOF_INTPTR_T
|
||||
|
||||
/* Define to the number of bits in type 'int_fast16_t'. */
|
||||
#undef BITSIZEOF_INT_FAST16_T
|
||||
|
||||
/* Define to the number of bits in type 'int_fast32_t'. */
|
||||
#undef BITSIZEOF_INT_FAST32_T
|
||||
|
||||
/* Define to the number of bits in type 'int_fast64_t'. */
|
||||
#undef BITSIZEOF_INT_FAST64_T
|
||||
|
||||
/* Define to the number of bits in type 'int_fast8_t'. */
|
||||
#undef BITSIZEOF_INT_FAST8_T
|
||||
|
||||
/* Define to the number of bits in type 'int_least16_t'. */
|
||||
#undef BITSIZEOF_INT_LEAST16_T
|
||||
|
||||
/* Define to the number of bits in type 'int_least32_t'. */
|
||||
#undef BITSIZEOF_INT_LEAST32_T
|
||||
|
||||
/* Define to the number of bits in type 'int_least64_t'. */
|
||||
#undef BITSIZEOF_INT_LEAST64_T
|
||||
|
||||
/* Define to the number of bits in type 'int_least8_t'. */
|
||||
#undef BITSIZEOF_INT_LEAST8_T
|
||||
|
||||
/* Define to the number of bits in type 'long'. */
|
||||
#undef BITSIZEOF_LONG
|
||||
|
||||
/* Define to the number of bits in type 'ptrdiff_t'. */
|
||||
#undef BITSIZEOF_PTRDIFF_T
|
||||
|
||||
/* Define to the number of bits in type 'sig_atomic_t'. */
|
||||
#undef BITSIZEOF_SIG_ATOMIC_T
|
||||
|
||||
/* Define to the number of bits in type 'size_t'. */
|
||||
#undef BITSIZEOF_SIZE_T
|
||||
|
||||
/* Define to the number of bits in type 'uint16_t'. */
|
||||
#undef BITSIZEOF_UINT16_T
|
||||
|
||||
/* Define to the number of bits in type 'uint32_t'. */
|
||||
#undef BITSIZEOF_UINT32_T
|
||||
|
||||
/* Define to the number of bits in type 'uint64_t'. */
|
||||
#undef BITSIZEOF_UINT64_T
|
||||
|
||||
/* Define to the number of bits in type 'uint8_t'. */
|
||||
#undef BITSIZEOF_UINT8_T
|
||||
|
||||
/* Define to the number of bits in type 'uintmax_t'. */
|
||||
#undef BITSIZEOF_UINTMAX_T
|
||||
|
||||
/* Define to the number of bits in type 'uintptr_t'. */
|
||||
#undef BITSIZEOF_UINTPTR_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_fast16_t'. */
|
||||
#undef BITSIZEOF_UINT_FAST16_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_fast32_t'. */
|
||||
#undef BITSIZEOF_UINT_FAST32_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_fast64_t'. */
|
||||
#undef BITSIZEOF_UINT_FAST64_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_fast8_t'. */
|
||||
#undef BITSIZEOF_UINT_FAST8_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_least16_t'. */
|
||||
#undef BITSIZEOF_UINT_LEAST16_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_least32_t'. */
|
||||
#undef BITSIZEOF_UINT_LEAST32_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_least64_t'. */
|
||||
#undef BITSIZEOF_UINT_LEAST64_T
|
||||
|
||||
/* Define to the number of bits in type 'uint_least8_t'. */
|
||||
#undef BITSIZEOF_UINT_LEAST8_T
|
||||
|
||||
/* Define to the number of bits in type 'unsigned_int'. */
|
||||
#undef BITSIZEOF_UNSIGNED_INT
|
||||
|
||||
/* Define to the number of bits in type 'unsigned_long'. */
|
||||
#undef BITSIZEOF_UNSIGNED_LONG
|
||||
|
||||
/* Define to the number of bits in type 'wchar_t'. */
|
||||
#undef BITSIZEOF_WCHAR_T
|
||||
|
||||
/* Define to the number of bits in type 'wint_t'. */
|
||||
#undef BITSIZEOF_WINT_T
|
||||
|
||||
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
||||
systems. This function is required for `alloca.c' support on those systems.
|
||||
*/
|
||||
#undef CRAY_STACKSEG_END
|
||||
|
||||
/* Define to 1 if using `alloca.c'. */
|
||||
#undef C_ALLOCA
|
||||
|
||||
/* Define as good substitute value for EILSEQ. */
|
||||
#undef EILSEQ
|
||||
|
||||
/* Define to 1 to enable a few rarely used encodings. */
|
||||
#undef ENABLE_EXTRA
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#define ENABLE_NLS 1
|
||||
|
||||
/* Define to 1 if the package shall run at any location in the filesystem. */
|
||||
#define ENABLE_RELOCATABLE 1
|
||||
|
||||
/* Define this to the full path to <inttypes.h>. */
|
||||
#undef FULL_PATH_INTTYPES_H
|
||||
|
||||
/* Define this to the full path to <stdint.h>. */
|
||||
#undef FULL_PATH_STDINT_H
|
||||
|
||||
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||
#define HAVE_ALLOCA 1
|
||||
|
||||
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
||||
*/
|
||||
#undef HAVE_ALLOCA_H
|
||||
|
||||
/* Define to 1 if you have the `canonicalize_file_name' function. */
|
||||
#undef HAVE_CANONICALIZE_FILE_NAME
|
||||
|
||||
/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
|
||||
CoreFoundation framework. */
|
||||
#undef HAVE_CFLOCALECOPYCURRENT
|
||||
|
||||
/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
|
||||
the CoreFoundation framework. */
|
||||
#undef HAVE_CFPREFERENCESCOPYAPPVALUE
|
||||
|
||||
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
||||
*/
|
||||
#undef HAVE_DCGETTEXT
|
||||
|
||||
/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_CLEARERR_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_FEOF_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FERROR_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FFLUSH_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FGETS_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FPUTC_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FPUTS_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FREAD_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_FWRITE_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_GETCHAR_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_GETC_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_PUTCHAR_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_PUTC_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_STRERROR_R
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#define HAVE_DLFCN_H 1
|
||||
|
||||
/* Define if you have the declaration of environ. */
|
||||
#undef HAVE_ENVIRON_DECL
|
||||
|
||||
/* Define if you have the declaration of errno. */
|
||||
#define HAVE_ERRNO_DECL 1
|
||||
|
||||
/* Define to 1 if you have the `getcwd' function. */
|
||||
#define HAVE_GETCWD 1
|
||||
|
||||
/* Define to 1 if you have the `getc_unlocked' function. */
|
||||
#undef HAVE_GETC_UNLOCKED
|
||||
|
||||
/* Define if the GNU gettext() function is already present or preinstalled. */
|
||||
#undef HAVE_GETTEXT
|
||||
|
||||
/* Define if you have the iconv() function. */
|
||||
#define HAVE_ICONV 1
|
||||
|
||||
/* Define to 1 if the type 'int16_t' is already defined. */
|
||||
#undef HAVE_INT16_T
|
||||
|
||||
/* Define to 1 if the type 'int32_t' is already defined. */
|
||||
#undef HAVE_INT32_T
|
||||
|
||||
/* Define to 1 if the type 'int64_t' is already defined. */
|
||||
#undef HAVE_INT64_T
|
||||
|
||||
/* Define to 1 if the type 'int64_t' is already definedin <stdint.h>. */
|
||||
#undef HAVE_INT64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'int8_t' is already defined. */
|
||||
#undef HAVE_INT8_T
|
||||
|
||||
/* Define to 1 if the type 'intmax_t' is already defined. */
|
||||
#undef HAVE_INTMAX_T
|
||||
|
||||
/* Define to 1 if the type 'intptr_t' is already defined. */
|
||||
#undef HAVE_INTPTR_T
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if the type 'int_fast16_t' is already defined. */
|
||||
#undef HAVE_INT_FAST16_T
|
||||
|
||||
/* Define to 1 if the type 'int_fast32_t' is already defined. */
|
||||
#undef HAVE_INT_FAST32_T
|
||||
|
||||
/* Define to 1 if the type 'int_fast64_t' is already defined. */
|
||||
#undef HAVE_INT_FAST64_T
|
||||
|
||||
/* Define to 1 if the type 'int_fast64_t' is already definedin <stdint.h>. */
|
||||
#undef HAVE_INT_FAST64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'int_fast8_t' is already defined. */
|
||||
#undef HAVE_INT_FAST8_T
|
||||
|
||||
/* Define to 1 if the type 'int_least16_t' is already defined. */
|
||||
#undef HAVE_INT_LEAST16_T
|
||||
|
||||
/* Define to 1 if the type 'int_least32_t' is already defined. */
|
||||
#undef HAVE_INT_LEAST32_T
|
||||
|
||||
/* Define to 1 if the type 'int_least64_t' is already defined. */
|
||||
#undef HAVE_INT_LEAST64_T
|
||||
|
||||
/* Define to 1 if the type 'int_least64_t' is already definedin <stdint.h>. */
|
||||
#undef HAVE_INT_LEAST64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'int_least8_t' is already defined. */
|
||||
#undef HAVE_INT_LEAST8_T
|
||||
|
||||
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
||||
#define HAVE_LANGINFO_CODESET 1
|
||||
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#define HAVE_LOCALE_H 1
|
||||
|
||||
/* Define if you have the 'long double' type. */
|
||||
#undef HAVE_LONG_DOUBLE
|
||||
|
||||
/* Define if you have the 'long long' type. */
|
||||
#undef HAVE_LONG_LONG
|
||||
|
||||
/* Define to 1 if you have the <mach-o/dyld.h> header file. */
|
||||
#undef HAVE_MACH_O_DYLD_H
|
||||
|
||||
/* Define to 1 if you have the `mbrtowc' function. */
|
||||
#define HAVE_MBRTOWC 1
|
||||
|
||||
/* Define to 1 if you have the `mbsinit' function. */
|
||||
#define HAVE_MBSINIT 1
|
||||
|
||||
/* Define to 1 if <wchar.h> declares mbstate_t. */
|
||||
#undef HAVE_MBSTATE_T
|
||||
|
||||
/* Define to 1 if you have the `memmove' function. */
|
||||
#define HAVE_MEMMOVE 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if the system has the type `ptrdiff_t'. */
|
||||
#undef HAVE_PTRDIFF_T
|
||||
|
||||
/* Define to 1 if you have the `readlink' function. */
|
||||
#undef HAVE_READLINK
|
||||
|
||||
/* Define to 1 if you have the <search.h> header file. */
|
||||
#undef HAVE_SEARCH_H
|
||||
|
||||
/* Define to 1 if you have the `setenv' function. */
|
||||
#define HAVE_SETENV 1
|
||||
|
||||
/* Define to 1 if you have the `setlocale' function. */
|
||||
#define HAVE_SETLOCALE 1
|
||||
|
||||
/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
|
||||
#undef HAVE_SIGNED_SIG_ATOMIC_T
|
||||
|
||||
/* Define to 1 if 'wchar_t' is a signed integer type. */
|
||||
#undef HAVE_SIGNED_WCHAR_T
|
||||
|
||||
/* Define to 1 if 'wint_t' is a signed integer type. */
|
||||
#undef HAVE_SIGNED_WINT_T
|
||||
|
||||
/* Define to 1 if the system has the type `sig_atomic_t'. */
|
||||
#undef HAVE_SIG_ATOMIC_T
|
||||
|
||||
/* Define to 1 if stdbool.h conforms to C99. */
|
||||
#define HAVE_STDBOOL_H 1
|
||||
|
||||
/* Define to 1 if you have the <stddef.h> header file. */
|
||||
#define HAVE_STDDEF_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#define HAVE_STRERROR 1
|
||||
|
||||
/* Define to 1 if you have the `strerror_r' function. */
|
||||
#undef HAVE_STRERROR_R
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/bitypes.h> header file. */
|
||||
#undef HAVE_SYS_BITYPES_H
|
||||
|
||||
/* Define to 1 if you have the <sys/inttypes.h> header file. */
|
||||
#undef HAVE_SYS_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#define HAVE_SYS_PARAM_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the `tsearch' function. */
|
||||
#undef HAVE_TSEARCH
|
||||
|
||||
/* Define to 1 if the type 'uint16_t' is already defined. */
|
||||
#undef HAVE_UINT16_T
|
||||
|
||||
/* Define to 1 if the type 'uint32_t' is already defined. */
|
||||
#undef HAVE_UINT32_T
|
||||
|
||||
/* Define to 1 if the type 'uint64_t' is already defined. */
|
||||
#undef HAVE_UINT64_T
|
||||
|
||||
/* Define to 1 if the type 'uint64_t' is already definedin <stdint.h>. */
|
||||
#undef HAVE_UINT64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'uint8_t' is already defined. */
|
||||
#undef HAVE_UINT8_T
|
||||
|
||||
/* Define to 1 if the type 'uintmax_t' is already defined. */
|
||||
#undef HAVE_UINTMAX_T
|
||||
|
||||
/* Define to 1 if the type 'uintptr_t' is already defined. */
|
||||
#undef HAVE_UINTPTR_T
|
||||
|
||||
/* Define to 1 if the type 'uint_fast16_t' is already defined. */
|
||||
#undef HAVE_UINT_FAST16_T
|
||||
|
||||
/* Define to 1 if the type 'uint_fast32_t' is already defined. */
|
||||
#undef HAVE_UINT_FAST32_T
|
||||
|
||||
/* Define to 1 if the type 'uint_fast64_t' is already defined. */
|
||||
#undef HAVE_UINT_FAST64_T
|
||||
|
||||
/* Define to 1 if the type 'uint_fast64_t' is already definedin <stdint.h>. */
|
||||
#undef HAVE_UINT_FAST64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'uint_fast8_t' is already defined. */
|
||||
#undef HAVE_UINT_FAST8_T
|
||||
|
||||
/* Define to 1 if the type 'uint_least16_t' is already defined. */
|
||||
#undef HAVE_UINT_LEAST16_T
|
||||
|
||||
/* Define to 1 if the type 'uint_least32_t' is already defined. */
|
||||
#undef HAVE_UINT_LEAST32_T
|
||||
|
||||
/* Define to 1 if the type 'uint_least64_t' is already defined. */
|
||||
#undef HAVE_UINT_LEAST64_T
|
||||
|
||||
/* Define to 1 if the type 'uint_least64_t' is already definedin <stdint.h>.
|
||||
*/
|
||||
#undef HAVE_UINT_LEAST64_T_IN_STDINT_H
|
||||
|
||||
/* Define to 1 if the type 'uint_least8_t' is already defined. */
|
||||
#undef HAVE_UINT_LEAST8_T
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to 1 if you have the `unsetenv' function. */
|
||||
#define HAVE_UNSETENV 1
|
||||
|
||||
/* Define to 1 or 0, depending whether the compiler supports simple visibility
|
||||
declarations. */
|
||||
#undef HAVE_VISIBILITY
|
||||
|
||||
/* Define to 1 if you have the <wchar.h> header file. */
|
||||
#define HAVE_WCHAR_H 1
|
||||
|
||||
/* Define if you have the 'wchar_t' type. */
|
||||
#undef HAVE_WCHAR_T
|
||||
|
||||
/* Define to 1 if you have the `wcrtomb' function. */
|
||||
#define HAVE_WCRTOMB 1
|
||||
|
||||
/* Define to 1 if the system has the type `wint_t'. */
|
||||
#undef HAVE_WINT_T
|
||||
|
||||
/* Define to 1 if the system has the type `_Bool'. */
|
||||
#undef HAVE__BOOL
|
||||
|
||||
/* Define to 1 if you have the `_NSGetExecutablePath' function. */
|
||||
#undef HAVE__NSGETEXECUTABLEPATH
|
||||
|
||||
/* Define as const if the declaration of iconv() needs const. */
|
||||
#define ICONV_CONST
|
||||
|
||||
/* Define to the value of ${prefix}, as a string. */
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT16_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT32_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the int64_t type. */
|
||||
#undef INT64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the int64_t type. */
|
||||
#undef INT64_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT8_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT8_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INTMAX_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INTMAX_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INTPTR_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INTPTR_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST16_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST32_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST64_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST8_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_FAST8_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST16_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST32_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the int_least64_t type. */
|
||||
#undef INT_LEAST64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the int_least64_t type. */
|
||||
#undef INT_LEAST64_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST8_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef INT_LEAST8_MIN
|
||||
|
||||
/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
|
||||
#define MALLOC_0_IS_NONNULL 0
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef PTRDIFF_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef PTRDIFF_MIN
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef SIG_ATOMIC_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef SIG_ATOMIC_MIN
|
||||
|
||||
/* Define as the maximum value of type 'size_t', if the system doesn't define
|
||||
it. */
|
||||
#undef SIZE_MAX
|
||||
|
||||
/* If using the C implementation of alloca, define if you know the
|
||||
direction of stack growth for your system; otherwise it will be
|
||||
automatically deduced at runtime.
|
||||
STACK_DIRECTION > 0 => grows toward higher addresses
|
||||
STACK_DIRECTION < 0 => grows toward lower addresses
|
||||
STACK_DIRECTION = 0 => direction of growth unknown */
|
||||
#undef STACK_DIRECTION
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Define to 1 if strerror_r returns char *. */
|
||||
#undef STRERROR_R_CHAR_P
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the uint64_t type. */
|
||||
#undef UINT64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT8_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINTMAX_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINTPTR_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_FAST16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_FAST32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_FAST64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_FAST8_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_LEAST16_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_LEAST32_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it but has the uint_least64_t type. */
|
||||
#undef UINT_LEAST64_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef UINT_LEAST8_MAX
|
||||
|
||||
/* Define to 1 if you want getc etc. to use unlocked I/O if available.
|
||||
Unlocked I/O can improve performance in unithreaded apps, but it is not
|
||||
safe for multithreaded apps. */
|
||||
#undef USE_UNLOCKED_IO
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Define if unsetenv() returns void, not int. */
|
||||
#undef VOID_UNSETENV
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef WINT_MAX
|
||||
|
||||
/* Define if <stdint.h> doesn't define it. */
|
||||
#undef WINT_MIN
|
||||
|
||||
/* Define if the machine's byte ordering is little endian. */
|
||||
#define WORDS_LITTLEENDIAN 1
|
||||
|
||||
/* Define to 1 if on AIX 3.
|
||||
System headers sometimes define this.
|
||||
We just want to avoid a redefinition error message. */
|
||||
#ifndef _ALL_SOURCE
|
||||
# undef _ALL_SOURCE
|
||||
#endif
|
||||
|
||||
/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
# undef _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
#undef _MINIX
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
#undef _POSIX_1_SOURCE
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
#undef _POSIX_SOURCE
|
||||
|
||||
/* Enable extensions on Solaris. */
|
||||
#ifndef __EXTENSIONS__
|
||||
# undef __EXTENSIONS__
|
||||
#endif
|
||||
|
||||
/* Define to a type if <wchar.h> does not define. */
|
||||
#undef mbstate_t
|
||||
|
||||
/* Define to a replacement function name for realpath(). */
|
||||
#define realpath rpl_realpath
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
#undef size_t
|
||||
|
||||
/* Define as a signed type of the same size as size_t. */
|
||||
#undef ssize_t
|
||||
|
||||
|
||||
/* On Windows, variables that may be in a DLL must be marked specially. */
|
||||
#if defined _MSC_VER && defined _DLL
|
||||
# define DLL_VARIABLE __declspec (dllimport)
|
||||
#else
|
||||
# define DLL_VARIABLE
|
||||
#endif
|
||||
|
40555
src/libiconv/libiconv/configure
vendored
Normal file
40555
src/libiconv/libiconv/configure
vendored
Normal file
File diff suppressed because it is too large
Load Diff
205
src/libiconv/libiconv/configure.ac
Normal file
205
src/libiconv/libiconv/configure.ac
Normal file
@ -0,0 +1,205 @@
|
||||
dnl Copyright (C) 1999-2006 Free Software Foundation, Inc.
|
||||
dnl This file is part of the GNU LIBICONV Library.
|
||||
dnl
|
||||
dnl The GNU LIBICONV Library is free software; you can redistribute it
|
||||
dnl and/or modify it under the terms of the GNU Library General Public
|
||||
dnl License as published by the Free Software Foundation; either version 2
|
||||
dnl of the License, or (at your option) any later version.
|
||||
dnl
|
||||
dnl The GNU LIBICONV Library is distributed in the hope that it will be
|
||||
dnl useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
dnl Library General Public License for more details.
|
||||
dnl
|
||||
dnl You should have received a copy of the GNU Library General Public
|
||||
dnl License along with the GNU LIBICONV Library; see the file COPYING.LIB.
|
||||
dnl If not, write to the Free Software Foundation, Inc., 51 Franklin Street,
|
||||
dnl Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
AC_PREREQ(2.52)
|
||||
AC_INIT
|
||||
AC_CONFIG_SRCDIR(lib/iconv.c)
|
||||
AC_CONFIG_AUX_DIR(build-aux)
|
||||
AM_INIT_AUTOMAKE(libiconv, 1.11)
|
||||
AC_CONFIG_HEADERS(config.h lib/config.h)
|
||||
AC_PROG_MAKE_SET
|
||||
|
||||
dnl checks for basic programs
|
||||
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
AC_PROG_GCC_TRADITIONAL
|
||||
AC_PROG_INSTALL
|
||||
|
||||
dnl check for host type
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
dnl hack
|
||||
|
||||
dnl Hack to work around limitations of automake and error.m4 regarding LIBOBJS.
|
||||
dnl "srclib/Makefile.am:32: automatically discovered file `error.h' should not be explicitly mentioned"
|
||||
AC_DEFUN([my_SRCLIB_OBJ],[SRCLIBOBJS="$SRCLIBOBJS $1.$ac_objext"])
|
||||
AC_DEFUN([my_SRCLIB_REPLACE_FUNCS], [AC_CHECK_FUNCS([$1], , [my_SRCLIB_OBJ($ac_func)])])
|
||||
m4_pushdef([AC_LIBOBJ], m4_defn([my_SRCLIB_OBJ]))
|
||||
m4_pushdef([AC_REPLACE_FUNCS], m4_defn([my_SRCLIB_REPLACE_FUNCS]))
|
||||
|
||||
dnl checks for UNIX variants that set DEFS
|
||||
|
||||
AC_GNU_SOURCE
|
||||
gl_USE_SYSTEM_EXTENSIONS
|
||||
AC_ISC_POSIX
|
||||
|
||||
dnl checks for installer options
|
||||
|
||||
AC_RELOCATABLE
|
||||
|
||||
AC_ARG_ENABLE([extra-encodings],
|
||||
[AC_HELP_STRING([--enable-extra-encodings],
|
||||
[add support for a few rarely used encodings])],
|
||||
[AC_DEFINE([ENABLE_EXTRA], 1,
|
||||
[Define to 1 to enable a few rarely used encodings.])
|
||||
USE_EXTRA_ENCODINGS=yes],
|
||||
[USE_EXTRA_ENCODINGS=no])
|
||||
AC_SUBST([USE_EXTRA_ENCODINGS])
|
||||
|
||||
dnl checks for programs
|
||||
|
||||
AC_PROG_RANLIB
|
||||
CL_PROG_CP
|
||||
CL_PROG_LN
|
||||
AC_PROG_LN_S
|
||||
|
||||
dnl checks for compiler output filename suffixes
|
||||
|
||||
AC_OBJEXT
|
||||
AC_EXEEXT
|
||||
|
||||
dnl check for build configuration
|
||||
|
||||
AC_DISABLE_STATIC
|
||||
AC_LIBTOOL_WIN32_DLL
|
||||
AC_PROG_LIBTOOL
|
||||
gl_VISIBILITY
|
||||
AM_ICONV
|
||||
AM_GNU_GETTEXT([external], [need-ngettext])
|
||||
|
||||
dnl checks for header files
|
||||
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS([locale.h stddef.h stdlib.h string.h])
|
||||
gl_HEADER_UNISTD
|
||||
|
||||
dnl checks for typedefs
|
||||
|
||||
AC_TYPE_MBSTATE_T
|
||||
gl_STDINT_H
|
||||
gt_TYPE_WCHAR_T
|
||||
|
||||
dnl checks for functions and declarations
|
||||
|
||||
if test "$am_cv_func_iconv" = yes -a -z "$am_cv_proto_iconv_arg1"; then
|
||||
ICONV_CONST=""
|
||||
else
|
||||
ICONV_CONST="const"
|
||||
fi
|
||||
AC_SUBST(ICONV_CONST)
|
||||
|
||||
if test $gt_cv_c_wchar_t = yes; then
|
||||
HAVE_WCHAR_T=1
|
||||
else
|
||||
HAVE_WCHAR_T=0
|
||||
fi
|
||||
AC_SUBST(HAVE_WCHAR_T)
|
||||
|
||||
AC_CHECK_FUNCS([getc_unlocked mbrtowc wcrtomb mbsinit setlocale])
|
||||
AC_REPLACE_FUNCS([memmove])
|
||||
|
||||
AM_LANGINFO_CODESET
|
||||
|
||||
AC_EILSEQ
|
||||
|
||||
CL_WORDS_LITTLEENDIAN
|
||||
|
||||
gl_FUNC_ALLOCA
|
||||
gl_ALLOCSA
|
||||
gl_CANONICALIZE
|
||||
gl_FUNC_GLIBC_UNLOCKED_IO
|
||||
gl_ERROR
|
||||
gl_PATHMAX
|
||||
gt_FUNC_SETENV
|
||||
AM_STDBOOL_H
|
||||
gl_FUNC_STRERROR
|
||||
gl_FUNC_READLINK
|
||||
gl_XREADLINK
|
||||
|
||||
dnl hack
|
||||
|
||||
dnl End of hack to work around limitations of automake and error.m4.
|
||||
m4_popdef([AC_REPLACE_FUNCS])
|
||||
m4_popdef([AC_LIBOBJ])
|
||||
AC_SUBST([SRCLIBOBJS])
|
||||
|
||||
dnl check whether OS supports plug libraries
|
||||
|
||||
OS=""
|
||||
case "$host_os" in
|
||||
linux*) OS="linux" ;;
|
||||
solaris*) OS="solaris" ;;
|
||||
osf*) OS="osf" ;;
|
||||
esac
|
||||
if test -n "$OS"; then
|
||||
AC_SUBST(OS)
|
||||
AC_SUBST(GCC)
|
||||
PLUGLIB="preloadable_libiconv.so"
|
||||
else
|
||||
PLUGLIB=""
|
||||
fi
|
||||
AC_SUBST(PLUGLIB)
|
||||
|
||||
dnl Compilation on mingw and Cygwin needs special Makefile rules, because
|
||||
dnl 1. when we install a shared library, we must arrange to export
|
||||
dnl auxiliary pointer variables for every exported variable,
|
||||
dnl 2. when we install a shared library and a static library simultaneously,
|
||||
dnl the include file specifies __declspec(dllimport) and therefore we
|
||||
dnl must arrange to define the auxiliary pointer variables for the
|
||||
dnl exported variables _also_ in the static library.
|
||||
if test "$enable_shared" = yes; then
|
||||
case "$host_os" in
|
||||
mingw* | cygwin*) is_woe32dll=yes ;;
|
||||
*) is_woe32dll=no ;;
|
||||
esac
|
||||
else
|
||||
is_woe32dll=no
|
||||
fi
|
||||
WOE32DLL=$is_woe32dll
|
||||
AC_SUBST([WOE32DLL])
|
||||
if test $is_woe32dll = yes; then
|
||||
DLL_VARIABLE='__declspec (dllimport)'
|
||||
else
|
||||
DLL_VARIABLE=
|
||||
fi
|
||||
AC_SUBST([DLL_VARIABLE])
|
||||
|
||||
AH_BOTTOM([
|
||||
/* On Windows, variables that may be in a DLL must be marked specially. */
|
||||
#if defined _MSC_VER && defined _DLL
|
||||
# define DLL_VARIABLE __declspec (dllimport)
|
||||
#else
|
||||
# define DLL_VARIABLE
|
||||
#endif
|
||||
])
|
||||
|
||||
AC_CONFIG_SUBDIRS(libcharset)
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_CONFIG_FILES([lib/Makefile])
|
||||
AC_CONFIG_FILES([srclib/Makefile])
|
||||
AC_CONFIG_FILES([src/Makefile])
|
||||
AC_CONFIG_FILES([po/Makefile.in])
|
||||
AC_CONFIG_FILES([man/Makefile])
|
||||
if test -d "${srcdir}/tests"; then
|
||||
AC_CONFIG_FILES([tests/Makefile])
|
||||
fi
|
||||
AC_CONFIG_FILES([include/iconv.h:include/iconv.h.build.in])
|
||||
AC_CONFIG_FILES([include/iconv.h.inst:include/iconv.h.in])
|
||||
AC_OUTPUT
|
30
src/libiconv/libiconv/djgpp/Makefile.maint
Normal file
30
src/libiconv/libiconv/djgpp/Makefile.maint
Normal file
@ -0,0 +1,30 @@
|
||||
# Maintainer's Makefile -*-Makefile-*-
|
||||
|
||||
top_srcdir = ..
|
||||
srcdir = .
|
||||
|
||||
SHELL = /bin/sh
|
||||
|
||||
all: README fnchange.lst
|
||||
|
||||
fnchange.lst: fnchange.in $(top_srcdir)/configure.ac
|
||||
PACKAGE=`grep "^AM_INIT_AUTOMAKE(" $(top_srcdir)/configure.ac | sed -e 's/^.*(\([A-Za-z]*\),.*$$/\1/'`; \
|
||||
VERSION=`grep "^AM_INIT_AUTOMAKE(" $(top_srcdir)/configure.ac | sed -e 's/^.*,[ ]\([0-9.]*\).*$$/\1/'`; \
|
||||
sed \
|
||||
-e '/^#/d' \
|
||||
-e "s/@V@/$${PACKAGE}-$${VERSION}/g" \
|
||||
$(srcdir)/fnchange.in > t-$@
|
||||
mv t-$@ $@
|
||||
|
||||
README: README.in $(top_srcdir)/configure.ac
|
||||
PACKAGE=`grep "^AM_INIT_AUTOMAKE(" $(top_srcdir)/configure.ac | sed -e 's/^.*(\([A-Za-z]*\),.*$$/\1/'`; \
|
||||
VERSION=`grep "^AM_INIT_AUTOMAKE(" $(top_srcdir)/configure.ac | sed -e 's/^.*,[ ]\([0-9.]*\).*$$/\1/'`; \
|
||||
packageversion=`echo "$${VERSION}" | sed 's/\.//g'`; \
|
||||
treeversion=`echo "$${VERSION}" | sed 's/\.//g'`; \
|
||||
sed \
|
||||
-e "s/@V@/$${PACKAGE}-$${VERSION}/g" \
|
||||
-e "s/@VER@/$${VERSION}/g" \
|
||||
-e "s/@packageversion@/$$packageversion/g" \
|
||||
-e "s/@treeversion@/$$treeversion/g" \
|
||||
$(srcdir)/README.in > t-$@
|
||||
mv t-$@ $@
|
122
src/libiconv/libiconv/djgpp/README
Normal file
122
src/libiconv/libiconv/djgpp/README
Normal file
@ -0,0 +1,122 @@
|
||||
This is a port of GNU Libiconv 1.11 to MSDOS/DJGPP.
|
||||
|
||||
1.: DJGPP specific changes.
|
||||
=======================
|
||||
There are no DJGPP specific changes. This package should
|
||||
configure and compile out-of-the-box.
|
||||
Please read the documentation to become familiar with this
|
||||
product.
|
||||
|
||||
|
||||
2.: Installing the binary package.
|
||||
==============================
|
||||
|
||||
2.1.: Copy the binary distribution into the top DJGPP installation
|
||||
directory and unzip the binary distribution running *ONE* of
|
||||
the following commands:
|
||||
unzip32 licv111b.zip or
|
||||
djtarx licv111b.zip or
|
||||
pkunzip -d licv111b.zip
|
||||
|
||||
|
||||
|
||||
3.: Building the binaries from sources.
|
||||
===================================
|
||||
|
||||
3.1.: To build the binaries you will need the following binary packages:
|
||||
djdev203.zip, bsh204b.zip, gcc2952b.zip,
|
||||
bnu210b.zip, mak3791b.zip, fil316b.zip,
|
||||
shl112b.zip, txt20b.zip, txi40b.zip,
|
||||
grep24b.zip and sed302b.zip
|
||||
|
||||
|
||||
All this packages can be found in the v2gnu directory of any
|
||||
Simtel.NET mirror.
|
||||
You will need bsh204b.zip and *NOT* a prior version or the build will fail.
|
||||
The same applies to djdev203.zip. You *MUST* use the updated versions of
|
||||
fil316b.zip (date: 2000-05-30) and shl112b.zip (date: 2000-08-11). This
|
||||
updated versions have been recompiled with djdev203.zip and know about
|
||||
the "/dev/env" functionality introduced with djdev203.zip. All the other
|
||||
packages are the ones I have used to build the binaries from this sources.
|
||||
Previuos and/or later versions of this packages may do the job as well but
|
||||
I have not tested this.
|
||||
|
||||
3.2.: Create a temporary directory and copy the source package: licv111s.zip
|
||||
into the temporary directory. If you download the source distribution
|
||||
from one of the DJGPP archives, just unzip it preserving the directory
|
||||
structure, runnig ONE of the following commands:
|
||||
unzip32 licv111s.zip or
|
||||
djtarx licv111s.zip or
|
||||
pkunzip -d licv111s.zip
|
||||
|
||||
Source distributions downloaded from one of the GNU FTP sites need
|
||||
some more work to unpack. First, you MUST use the `djtar' program to
|
||||
unzip the package. That's because some file names in the official
|
||||
distributions need to be changed to avoid problems on the various
|
||||
platforms supported by DJGPP. `djtar' can rename files on the fly
|
||||
given a file with name mappings. The distribution includes a file
|
||||
`djgpp/fnchange.lst' with the necessary mappings. So you need first
|
||||
to retrieve that file, and then invoke `djtar' to unpack the
|
||||
distribution. Here's how:
|
||||
|
||||
djtar -x -p -o libiconv-1.7/djgpp/fnchange.lst libiconv-1.7.tar.gz > lst
|
||||
djtar -x -n lst libiconv-1.7.tar.gz
|
||||
|
||||
(The name of the distribution archive and the top-level directory will
|
||||
be different for versions other than 1.7.)
|
||||
|
||||
3.3.: The package is preconfigured for djdev203. To build the products you
|
||||
should run the following command:
|
||||
make
|
||||
|
||||
After the compilation has finished, you can check the products
|
||||
running the command:
|
||||
make check
|
||||
|
||||
To install the products run the command:
|
||||
make install
|
||||
|
||||
This will install the products (iconv.exe iconv.h localcharset.h libconv.a
|
||||
libcharset.a iconv.1 iconv.3 iconv_open.3 iconv_close.3) into your DJGPP
|
||||
installation tree. As usual, prefix is defined as "/dev/env/DJDIR".
|
||||
If you prefer to install into same other directory run the command:
|
||||
make install prefix=z:/some/other/dir
|
||||
|
||||
Of course, you should replace "z:/some/other/dir" by an appropriate path
|
||||
that will meet your requeriments.
|
||||
|
||||
3.4.: If you need/want to reconfigure the package you will have to run the
|
||||
following commands:
|
||||
make distclean
|
||||
djgpp\config
|
||||
|
||||
Please note that you *MUST* use the "distclean" option or the config.cache
|
||||
file will *NOT* be deleted. In this case you are *NOT* reconfiguring
|
||||
because the configuration informations is read from the cache file instead
|
||||
of being newly computed.
|
||||
To build the programs in a directory other than where the sources are,
|
||||
you must add the parameter that specifies the source directory,
|
||||
e.g:
|
||||
x:\src\gnu\libiconv.111\djgpp\config x:/src/gnu/libiconv.111
|
||||
|
||||
Lets assume you want to build the binaries in a directory placed on a
|
||||
different drive (z:\build in this case) from where the sources are,
|
||||
then you will run the following commands:
|
||||
z:
|
||||
md \build
|
||||
cd \build
|
||||
x:\src\gnu\libiconv.111\djgpp\config x:/src/gnu/libiconv.111
|
||||
|
||||
You *MUST* use forward slashes to specify the source directory.
|
||||
After having configured the package run the folowing commands to create
|
||||
the binaries and docs and install them:
|
||||
make
|
||||
make check
|
||||
make install
|
||||
|
||||
Send suggestions and bug reports concerning the DJGPP port to
|
||||
comp.os.msdos.djgpp or djgpp@delorie.com. Libiconv specific bugs
|
||||
must be reported to Bruno Haible <haible@clisp.cons.org>.
|
||||
|
||||
|
||||
Guerrero, Juan Manuel <st001906@hrz1.hrz.tu-darmstadt.de>
|
120
src/libiconv/libiconv/djgpp/README.in
Normal file
120
src/libiconv/libiconv/djgpp/README.in
Normal file
@ -0,0 +1,120 @@
|
||||
This is a port of GNU Libiconv @VER@ to MSDOS/DJGPP.
|
||||
|
||||
1.: DJGPP specific changes.
|
||||
=======================
|
||||
There are no DJGPP specific changes. This package should
|
||||
configure and compile out-of-the-box.
|
||||
Please read the documentation to become familiar with this
|
||||
product.
|
||||
|
||||
|
||||
2.: Installing the binary package.
|
||||
==============================
|
||||
|
||||
2.1.: Copy the binary distribution into the top DJGPP installation
|
||||
directory and unzip the binary distribution running *ONE* of
|
||||
the following commands:
|
||||
unzip32 licv@packageversion@b.zip or
|
||||
djtarx licv@packageversion@b.zip or
|
||||
pkunzip -d licv@packageversion@b.zip
|
||||
|
||||
|
||||
|
||||
3.: Building the binaries from sources.
|
||||
===================================
|
||||
|
||||
3.1.: To build the binaries you will need the following binary packages:
|
||||
djdev203.zip (patchlevel 2),
|
||||
bshNNNb.zip, gccNNNb.zip, bnuNNNb.zip, makNNNb.zip, filNNNb.zip,
|
||||
shlNNNb.zip, txtNNNb.zip, txiNNNb.zip, grepNNNb.zip, sedNNNb.zip,
|
||||
and difNNN.zip
|
||||
|
||||
NNN represents the latest version number of the binary packages. All
|
||||
this packages can be found in the current/v2gnu/ directory of any
|
||||
ftp.delorie.com mirror.
|
||||
|
||||
3.2.: Create a temporary directory and copy the source package: licv@packageversion@s.zip
|
||||
into the temporary directory. If you download the source distribution
|
||||
from one of the DJGPP archives, just unzip it preserving the directory
|
||||
structure, runnig ONE of the following commands:
|
||||
unzip32 licv@packageversion@s.zip or
|
||||
djtarx licv@packageversion@s.zip or
|
||||
pkunzip -d licv@packageversion@s.zip
|
||||
|
||||
Source distributions downloaded from one of the GNU FTP sites need
|
||||
some more work to unpack. First, you MUST use the `djtar' program
|
||||
to unzip the package. That's because some file names in the official
|
||||
distributions need to be changed to avoid problems on the various
|
||||
platforms supported by DJGPP. `djtar' can rename files on the fly
|
||||
given a file with name mappings. The distribution includes a file
|
||||
`djgpp/fnchange.lst' with the necessary mappings. So you need first
|
||||
to retrieve that file, and then invoke `djtar' to unpack the
|
||||
distribution. Here's how:
|
||||
|
||||
djtar -x -p -o @V@/djgpp/fnchange.lst @V@.tar.gz > lst
|
||||
djtar -x -n lst @V@.tar.gz
|
||||
|
||||
(The name of the distribution archive and the top-level directory will
|
||||
be different for versions other than @VER@.)
|
||||
|
||||
3.3.: If you have downloaded the source package from one of the GNU FTP sites
|
||||
you will have to configure the package running the command:
|
||||
djgpp\config.bat
|
||||
|
||||
3.4.: If you have downloaded the source package from one of the delorie FTP
|
||||
sites the package is already preconfigured for djdev203 or later. In
|
||||
any case, to build the products you must run the following command:
|
||||
make
|
||||
|
||||
After the compilation has finished, you can check the products
|
||||
running the command:
|
||||
make check
|
||||
|
||||
To install the products run the command:
|
||||
make install
|
||||
|
||||
This will install the products (iconv.exe iconv.h localcharset.h libconv.a
|
||||
libcharset.a iconv.1 iconv.3 iconv_open.3 iconv_close.3) into your DJGPP
|
||||
installation tree. As usual, prefix is defined as "/dev/env/DJDIR".
|
||||
If you prefer to install into same other directory run the command:
|
||||
make install prefix=z:/some/other/dir
|
||||
|
||||
Of course, you should replace "z:/some/other/dir" by an appropriate path
|
||||
that will meet your requeriments.
|
||||
|
||||
3.5.: If for some reason you want to reconfigure the package cd into the top
|
||||
srcdir (libiconv.@treeversion@) and run the following commands:
|
||||
del djgpp\config.cache
|
||||
make distclean
|
||||
djgpp\config
|
||||
|
||||
Please note that you *MUST* delete the config.cache file in the djgpp
|
||||
subdir or you will not really reconfigure the sources because the
|
||||
configuration informations will be read from the cache file instead
|
||||
of being newly computed.
|
||||
To build the programs in a directory other than where the sources are,
|
||||
you must add the parameter that specifies the source directory,
|
||||
e.g:
|
||||
x:\src\gnu\libiconv.@treeversion@\djgpp\config x:/src/gnu/libiconv.@treeversion@
|
||||
|
||||
Lets assume you want to build the binaries in a directory placed on a
|
||||
different drive (z:\build in this case) from where the sources are,
|
||||
then you will run the following commands:
|
||||
z:
|
||||
md \build
|
||||
cd \build
|
||||
x:\src\gnu\libiconv.@treeversion@\djgpp\config x:/src/gnu/libiconv.@treeversion@
|
||||
|
||||
You *MUST* use forward slashes to specify the source directory.
|
||||
After having configured the package run the folowing commands to create
|
||||
the binaries and docs and install them:
|
||||
make
|
||||
make check
|
||||
make install
|
||||
|
||||
Send suggestions and bug reports concerning the DJGPP port to
|
||||
comp.os.msdos.djgpp or djgpp@delorie.com. Libiconv specific bugs
|
||||
must be reported to <bug-gnu-libiconv@gnu.org>.
|
||||
|
||||
|
||||
Guerrero, Juan Manuel <juan.guerrero@gmx.de>
|
435
src/libiconv/libiconv/djgpp/config.bat
Normal file
435
src/libiconv/libiconv/djgpp/config.bat
Normal file
@ -0,0 +1,435 @@
|
||||
@echo off
|
||||
Rem Configure libiconv for DJGPP.
|
||||
|
||||
Rem WARNING WARNING WARNING: This file needs to have DOS CRLF end-of-line
|
||||
Rem format, or else stock DOS/Windows shells will refuse to run it.
|
||||
|
||||
echo Configuring GNU libiconv for DJGPP v2.x...
|
||||
Rem The SmallEnv tests protect against fixed and too small size
|
||||
Rem of the environment in stock DOS shell.
|
||||
|
||||
Rem Find out if NLS is wanted or not,
|
||||
Rem if dependency-tracking is wanted or not,
|
||||
Rem if caching is wanted or not
|
||||
Rem and where the sources are.
|
||||
Rem We always default to NLS support,
|
||||
Rem no dependency tracking
|
||||
Rem and to in place configuration.
|
||||
set ARGS=
|
||||
set NLS=disabled
|
||||
if not "%NLS%" == "disabled" goto SmallEnv
|
||||
set CACHING=enabled
|
||||
if not "%CACHING%" == "enabled" goto SmallEnv
|
||||
set DEPENDENCY_TRACKING=disabled
|
||||
if not "%DEPENDENCY_TRACKING%" == "disabled" goto SmallEnv
|
||||
set LIBICONV_PREFIX=disabled
|
||||
if not "%LIBICONV_PREFIX%" == "disabled" goto SmallEnv
|
||||
set LIBINTL_PREFIX=disabled
|
||||
if not "%LIBINTL_PREFIX%" == "disabled" goto SmallEnv
|
||||
set HTML=enabled
|
||||
if not "%HTML%" == "enabled" goto SmallEnv
|
||||
set XSRC=.
|
||||
if not "%XSRC%" == "." goto SmallEnv
|
||||
|
||||
Rem Loop over all arguments.
|
||||
Rem Special arguments are: NLS, XSRC, CACHE, STATIC_LIBS, LIBICONV_PREFIX, LIBINTL_PREFIX and DEPS.
|
||||
Rem All other arguments are stored into ARGS.
|
||||
:ArgLoop
|
||||
if "%1" == "nls" goto NextArgument
|
||||
if "%1" == "NLS" goto NextArgument
|
||||
if "%1" == "no-nls" goto NoNLS
|
||||
if "%1" == "no-NLS" goto NoNLS
|
||||
if "%1" == "NO-NLS" goto NoNLS
|
||||
goto CachingOption
|
||||
:NoNLS
|
||||
if "%1" == "no-nls" set NLS=disabled
|
||||
if "%1" == "no-NLS" set NLS=disabled
|
||||
if "%1" == "NO-NLS" set NLS=disabled
|
||||
if not "%NLS%" == "disabled" goto SmallEnv
|
||||
goto NextArgument
|
||||
:CachingOption
|
||||
if "%1" == "cache" goto NextArgument
|
||||
if "%1" == "CACHE" goto NextArgument
|
||||
if "%1" == "no-cache" goto NoCaching
|
||||
if "%1" == "no-CACHE" goto NoCaching
|
||||
if "%1" == "NO-CACHE" goto NoCaching
|
||||
goto DependencyOption
|
||||
:NoCaching
|
||||
if "%1" == "no-cache" set CACHING=disabled
|
||||
if "%1" == "no-CACHE" set CACHING=disabled
|
||||
if "%1" == "NO-CACHE" set CACHING=disabled
|
||||
if not "%CACHING%" == "disabled" goto SmallEnv
|
||||
goto NextArgument
|
||||
:DependencyOption
|
||||
if "%1" == "no-dep" goto NextArgument
|
||||
if "%1" == "no-DEP" goto NextArgument
|
||||
if "%1" == "NO-DEP" goto NextArgument
|
||||
if "%1" == "dep" goto DependecyTraking
|
||||
if "%1" == "DEP" goto DependecyTraking
|
||||
goto LibiconvPrefixOption
|
||||
:DependecyTraking
|
||||
if "%1" == "dep" set DEPENDENCY_TRACKING=enabled
|
||||
if "%1" == "DEP" set DEPENDENCY_TRACKING=enabled
|
||||
if not "%DEPENDENCY_TRACKING%" == "enabled" goto SmallEnv
|
||||
goto NextArgument
|
||||
:LibiconvPrefixOption
|
||||
if "%1" == "no-libiconvprefix" goto NextArgument
|
||||
if "%1" == "no-LIBICONVPREFIX" goto NextArgument
|
||||
if "%1" == "NO-LIBICONVPREFIX" goto NextArgument
|
||||
if "%1" == "libiconvprefix" goto WithLibiconvPrefix
|
||||
if "%1" == "LIBICONVPREFIX" goto WithLibiconvPrefix
|
||||
goto LibintlPrefixOption
|
||||
:WithLibiconvPrefix
|
||||
if "%1" == "libiconvprefix" set LIBICONV_PREFIX=enabled
|
||||
if "%1" == "LIBICONVPREFIX" set LIBICONV_PREFIX=enabled
|
||||
if not "%LIBICONV_PREFIX%" == "enabled" goto SmallEnv
|
||||
goto NextArgument
|
||||
:LibintlPrefixOption
|
||||
if "%1" == "no-libiconvprefix" goto NextArgument
|
||||
if "%1" == "no-LIBICONVPREFIX" goto NextArgument
|
||||
if "%1" == "NO-LIBICONVPREFIX" goto NextArgument
|
||||
if "%1" == "libintlprefix" goto _WithLibintlPrefix
|
||||
if "%1" == "LIBINTLPREFIX" goto _WithLibintlPrefix
|
||||
goto HTMLOption
|
||||
:_WithLibintlPrefix
|
||||
if "%1" == "libintlprefix" set LIBINTL_PREFIX=enabled
|
||||
if "%1" == "LIBINTLPREFIX" set LIBINTL_PREFIX=enabled
|
||||
if not "%LIBINTL_PREFIX%" == "enabled" goto SmallEnv
|
||||
:HTMLOption
|
||||
if "%1" == "withhtml" goto NextArgument
|
||||
if "%1" == "withHTML" goto NextArgument
|
||||
if "%1" == "WITHHTML" goto NextArgument
|
||||
if "%1" == "withouthtml" goto _WithoutHTML
|
||||
if "%1" == "withoutHTML" goto _WithoutHTML
|
||||
if "%1" == "WITHOUTHTML" goto _WithoutHTML
|
||||
goto SrcDirOption
|
||||
:_WithoutHTML
|
||||
if "%1" == "withouthtml" set HTML=disabled
|
||||
if "%1" == "withoutHTML" set HTML=disabled
|
||||
if "%1" == "WITHOUTHTML" set HTML=disabled
|
||||
if not "%HTML%" == "disabled" goto SmallEnv
|
||||
goto NextArgument
|
||||
:SrcDirOption
|
||||
echo %1 | grep -q "/"
|
||||
if errorlevel 1 goto CollectArgument
|
||||
set XSRC=%1
|
||||
if not "%XSRC%" == "%1" goto SmallEnv
|
||||
goto NextArgument
|
||||
:CollectArgument
|
||||
set _ARGS=%ARGS% %1
|
||||
if not "%_ARGS%" == "%ARGS% %1" if not "%_ARGS%" == "%ARGS%%1" goto SmallEnv
|
||||
echo %_ARGS% | grep -q "[^ ]"
|
||||
if not errorlevel 0 set ARGS=%_ARGS%
|
||||
set _ARGS=
|
||||
:NextArgument
|
||||
shift
|
||||
if not "%1" == "" goto ArgLoop
|
||||
|
||||
Rem Create an arguments file for the configure script.
|
||||
echo --srcdir=%XSRC% > arguments
|
||||
if "%CACHING%" == "enabled" echo --cache-file=%XSRC%/djgpp/config.cache >> arguments
|
||||
if "%DEPENDENCY_TRACKING%" == "enabled" echo --enable-dependency-tracking >> arguments
|
||||
if "%DEPENDENCY_TRACKING%" == "disabled" echo --disable-dependency-tracking >> arguments
|
||||
if "%LIBICONV_PREFIX%" == "enabled" echo --with-libiconv-prefix >> arguments
|
||||
if "%LIBICONV_PREFIX%" == "disabled" echo --without-libiconv-prefix >> arguments
|
||||
if "%LIBINTL_PREFIX%" == "enabled" echo --with-libintl-prefix >> arguments
|
||||
if "%LIBINTL_PREFIX%" == "disabled" echo --without-libintl-prefix >> arguments
|
||||
if "%HTML%" == "enabled" echo --enable-html >> arguments
|
||||
if "%HTML%" == "disabled" echo --disable-html >> arguments
|
||||
if not "%ARGS%" == "" echo %ARGS% >> arguments
|
||||
set ARGS=
|
||||
set CACHING=
|
||||
set DEPENDENCY_TRACKING=
|
||||
set LIBICONV_PREFIX=
|
||||
set LIBINTL_PREFIX=
|
||||
set HTML=
|
||||
|
||||
Rem Find out where the sources are
|
||||
if "%XSRC%" == "." goto InPlace
|
||||
|
||||
:NotInPlace
|
||||
redir -e /dev/null update %XSRC%/configure.orig ./configure
|
||||
test -f ./configure
|
||||
if errorlevel 1 update %XSRC%/configure ./configure
|
||||
test -d ./libcharset
|
||||
if errorlevel 1 md libcharset
|
||||
redir -e /dev/null update %XSRC%/libcharset/configure.orig ./libcharset/configure
|
||||
test -f ./libcharset/configure
|
||||
if errorlevel 1 update %XSRC%/libcharset/configure ./libcharset/configure
|
||||
|
||||
:InPlace
|
||||
Rem Update configuration files
|
||||
echo Updating configuration scripts...
|
||||
test -f ./configure.orig
|
||||
if errorlevel 1 update ./configure ./configure.orig
|
||||
sed -f %XSRC%/djgpp/config.sed ./configure.orig > configure
|
||||
if errorlevel 1 goto SedError
|
||||
test -f ./libcharset/configure.orig
|
||||
if errorlevel 1 update ./libcharset/configure ./libcharset/configure.orig
|
||||
sed -f %XSRC%/djgpp/config.sed ./libcharset/configure.orig > configure.tmp
|
||||
if errorlevel 1 goto SedError
|
||||
Rem The following is needed because the toplevel configure script calls the
|
||||
Rem %XSRC%/libcharset/configure script instead of ./libcharset/configure.
|
||||
test -f %XSRC%/libcharset/configure.orig
|
||||
if errorlevel 1 update %XSRC%/libcharset/configure %XSRC%/libcharset/configure.orig
|
||||
update configure.tmp %XSRC%/libcharset/configure
|
||||
rm ./configure.tmp
|
||||
|
||||
Rem Make sure they have a config.site file
|
||||
set CONFIG_SITE=%XSRC%/djgpp/config.site
|
||||
if not "%CONFIG_SITE%" == "%XSRC%/djgpp/config.site" goto SmallEnv
|
||||
|
||||
Rem Make sure crucial file names are not munged by unpacking
|
||||
test -f %XSRC%/config.h.in
|
||||
if not errorlevel 1 redir -e /dev/null mv -f %XSRC%/config.h.in %XSRC%/config.h-in
|
||||
test -f %XSRC%/config.h-in
|
||||
if errorlevel 1 redir -e /dev/null mv -f %XSRC%/config.h %XSRC%/config.h-in
|
||||
test -f %XSRC%/config.h-in
|
||||
if errorlevel 1 redir -e /dev/null mv -f %XSRC%/configh.in %XSRC%/config.h-in
|
||||
test -f %XSRC%/config.h-in
|
||||
if errorlevel 1 redir -e /dev/null mv -f %XSRC%/config_h.in %XSRC%/config.h-in
|
||||
test -f %XSRC%/include/iconv.h.in
|
||||
if not errorlevel 1 redir -e /dev/null mv -f %XSRC%/include/iconv.h.in %XSRC%/include/iconv.h-in
|
||||
test -f %XSRC%/include/iconv.h-in
|
||||
if errorlevel 1 redir -e /dev/null mv -f %XSRC%/include/iconv.h %XSRC%/include/iconv.h-in
|
||||
test -f %XSRC%/include/iconv.h-in
|
||||
if errorlevel 1 redir -e /dev/null mv -f %XSRC%/include/iconvh.in %XSRC%/include/iconv.h-in
|
||||
test -f %XSRC%/include/iconv.h-in
|
||||
if errorlevel 1 redir -e /dev/null mv -f %XSRC%/include/iconv_h.in %XSRC%/include/iconv.h-in
|
||||
test -f %XSRC%/libcharset/config.h.in
|
||||
if not errorlevel 1 redir -e /dev/null mv -f %XSRC%/libcharset/config.h.in %XSRC%/libcharset/config.h-in
|
||||
test -f %XSRC%/libcharset/config.h-in
|
||||
if errorlevel 1 redir -e /dev/null mv -f %XSRC%/libcharset/config.h %XSRC%/libcharset/config.h-in
|
||||
test -f %XSRC%/libcharset/config.h-in
|
||||
if errorlevel 1 redir -e /dev/null mv -f %XSRC%/libcharset/configh.in %XSRC%/libcharset/config.h-in
|
||||
test -f %XSRC%/libcharset/config.h-in
|
||||
if errorlevel 1 redir -e /dev/null mv -f %XSRC%/libcharset/config_h.in %XSRC%/libcharset/config.h-in
|
||||
test -f %XSRC%/libcharset/include/libcharset.h.in
|
||||
if not errorlevel 1 redir -e /dev/null mv -f %XSRC%/libcharset/include/libcharset.h.in %XSRC%/libcharset/include/libcharset.h-in
|
||||
test -f %XSRC%/libcharset/include/libcharset.h-in
|
||||
if errorlevel 1 redir -e /dev/null mv -f %XSRC%/libcharset/include/libcharset.h %XSRC%/libcharset/include/libcharset.h-in
|
||||
test -f %XSRC%/libcharset/include/libcharset.h-in
|
||||
if errorlevel 1 redir -e /dev/null mv -f %XSRC%/libcharset/include/libcharseth.in %XSRC%/libcharset/include/libcharset.h-in
|
||||
test -f %XSRC%/libcharset/include/libcharset.h-in
|
||||
if errorlevel 1 redir -e /dev/null mv -f %XSRC%/libcharset/include/libcharset_h.in %XSRC%/libcharset/include/libcharset.h-in
|
||||
test -f %XSRC%/libcharset/include/localcharset.h.in
|
||||
if not errorlevel 1 redir -e /dev/null mv -f %XSRC%/libcharset/include/localcharset.h.in %XSRC%/libcharset/include/localcharset.h-in
|
||||
test -f %XSRC%/libcharset/include/localcharset.h-in
|
||||
if errorlevel 1 redir -e /dev/null mv -f %XSRC%/libcharset/include/localcharset.h %XSRC%/libcharset/include/localcharset.h-in
|
||||
test -f %XSRC%/libcharset/include/localcharset.h-in
|
||||
if errorlevel 1 redir -e /dev/null mv -f %XSRC%/libcharset/include/localcharseth.in %XSRC%/libcharset/include/localcharset.h-in
|
||||
test -f %XSRC%/libcharset/include/localcharset.h-in
|
||||
if errorlevel 1 redir -e /dev/null mv -f %XSRC%/libcharset/include/localcharset_h.in %XSRC%/libcharset/include/localcharset.h-in
|
||||
|
||||
Rem DJGPP needs ICONV_CONST set to const.
|
||||
sed "s/^#undef ICONV_CONST/#define ICONV_CONST const/" %XSRC%/config.h-in > config.tmp
|
||||
mv -f config.tmp %XSRC%/config.h-in
|
||||
|
||||
Rem All fixes needed to get the package configured, compiled and tested.
|
||||
Rem 1: Change the stateless-check script so it knowns about the
|
||||
Rem new filenames.
|
||||
Rem 2: Ditto for Makefile.in
|
||||
Rem 3: Ditto for source files.
|
||||
|
||||
test -f %XSRC%/stamp-djgppfixes
|
||||
if not errorlevel 1 goto TestsuitFixed
|
||||
Rem Fix the Makefile.ins.
|
||||
test -f %XSRC%/lib/Makefile.orig
|
||||
if errorlevel 1 update %XSRC%/lib/Makefile.in %XSRC%/lib/Makefile.orig
|
||||
sed -f %XSRC%/djgpp/makefile.sed %XSRC%/lib/Makefile.in > Makefile.tmp
|
||||
if errorlevel 1 goto SedError
|
||||
update Makefile.tmp %XSRC%/lib/Makefile.in
|
||||
rm Makefile.tmp
|
||||
test -f %XSRC%/tests/Makefile.orig
|
||||
if errorlevel 1 update %XSRC%/tests/Makefile.in %XSRC%/tests/Makefile.orig
|
||||
sed -f %XSRC%/djgpp/makefile.sed %XSRC%/tests/Makefile.in > Makefile.tmp
|
||||
if errorlevel 1 goto SedError
|
||||
update Makefile.tmp %XSRC%/tests/Makefile.in
|
||||
rm Makefile.tmp
|
||||
|
||||
Rem Fix the source files.
|
||||
test -f %XSRC%/lib/aliases/aliases2.orig
|
||||
if errorlevel 1 update %XSRC%/lib/aliases/aliases2.h %XSRC%/lib/aliases/aliases2.orig
|
||||
sed -f %XSRC%/djgpp/sources.sed %XSRC%/lib/aliases/aliases2.h > aliases2.tmp
|
||||
if errorlevel 1 goto SedError
|
||||
update aliases2.tmp %XSRC%/lib/aliases/aliases2.h
|
||||
rm aliases2.tmp
|
||||
test -f %XSRC%/lib/iconv.orig
|
||||
if errorlevel 1 update %XSRC%/lib/iconv.c %XSRC%/lib/iconv.orig
|
||||
sed -f %XSRC%/djgpp/sources.sed %XSRC%/lib/iconv.c > iconv.tmp
|
||||
if errorlevel 1 goto SedError
|
||||
update iconv.tmp %XSRC%/lib/iconv.c
|
||||
rm iconv.tmp
|
||||
test -f %XSRC%/lib/converters.orig
|
||||
if errorlevel 1 update %XSRC%/lib/converters.h %XSRC%/lib/converters.orig
|
||||
sed -f %XSRC%/djgpp/sources.sed %XSRC%/lib/converters.h > converters.tmp
|
||||
if errorlevel 1 goto SedError
|
||||
update converters.tmp %XSRC%/lib/converters.h
|
||||
rm converters.tmp
|
||||
test -f %XSRC%/lib/cns/11643.orig
|
||||
if errorlevel 1 update %XSRC%/lib/cns/11643.h %XSRC%/lib/cns/11643.orig
|
||||
sed -f %XSRC%/djgpp/sources.sed %XSRC%/lib/cns/11643.h > 11643.tmp
|
||||
if errorlevel 1 goto SedError
|
||||
update 11643.tmp %XSRC%/lib/cns/11643.h
|
||||
rm 11643.tmp
|
||||
test -f %XSRC%/lib/cns/11643_4.orig
|
||||
if errorlevel 1 update %XSRC%/lib/cns/11643_4.h %XSRC%/lib/cns/11643_4.orig
|
||||
sed -f %XSRC%/djgpp/sources.sed %XSRC%/lib/cns/11643_4.h > 11643_4.tmp
|
||||
if errorlevel 1 goto SedError
|
||||
update 11643_4.tmp %XSRC%/lib/cns/11643_4.h
|
||||
rm 11643_4.tmp
|
||||
test -f %XSRC%/lib/iso/ir165.orig
|
||||
if errorlevel 1 update %XSRC%/lib/iso/ir165.h %XSRC%/lib/iso/ir165.orig
|
||||
sed -f %XSRC%/djgpp/sources.sed %XSRC%/lib/iso/ir165.h > ir165.tmp
|
||||
if errorlevel 1 goto SedError
|
||||
update ir165.tmp %XSRC%/lib/iso/ir165.h
|
||||
rm ir165.tmp
|
||||
|
||||
Rem Fix the test scripts.
|
||||
if "%XSRC%" == "." goto NoDirChange
|
||||
cd | sed "s|:.*$|:|" > cd_BuildDir.bat
|
||||
cd | sed "s|^.:|cd |" >> cd_BuildDir.bat
|
||||
mv -f cd_BuildDir.bat %XSRC%/cd_BuildDir.bat
|
||||
echo %XSRC% | sed -e "s|^/dev/||" -e "s|/|:|" -e "s|:.*$|:|g" > cd_SrcDir.bat
|
||||
echo %XSRC% | sed -e "s|^/dev/||" -e "s|/|:/|" -e "s|^.*:|cd |" -e "s|^\.\.|cd &|" -e "s|/|\\|g" >> cd_SrcDir.bat
|
||||
call cd_SrcDir.bat
|
||||
call djgpp\edtest.bat
|
||||
call cd_BuildDir.bat
|
||||
rm -f cd_SrcDir.bat cd_BuildDir.bat %XSRC%/cd_BuildDir.bat
|
||||
goto TestsuitFixed
|
||||
:NoDirChange
|
||||
call djgpp\edtest.bat
|
||||
:TestsuitFixed
|
||||
touch %XSRC%/stamp-djgppfixes
|
||||
|
||||
Rem This is required because DOS/Windows are case-insensitive
|
||||
Rem to file names, and "make install" will do nothing if Make
|
||||
Rem finds a file called `install'.
|
||||
if exist INSTALL mv -f INSTALL INSTALL.txt
|
||||
|
||||
Rem Set SHELL to a sane default or some configure tests stop working
|
||||
Rem if the package is configured across partitions.
|
||||
if not "%SHELL%" == "" goto HomeName
|
||||
set SHELL=/bin/sh
|
||||
if not "%SHELL%" == "/bin/sh" goto SmallEnv
|
||||
echo No SHELL found in the environment, using default value
|
||||
|
||||
:HomeName
|
||||
Rem Set HOME to a sane default so configure stops complaining.
|
||||
if not "%HOME%" == "" goto HostName
|
||||
set HOME=%XSRC%/djgpp
|
||||
if not "%HOME%" == "%XSRC%/djgpp" goto SmallEnv
|
||||
echo No HOME found in the environment, using default value
|
||||
|
||||
:HostName
|
||||
Rem Set HOSTNAME so it shows in config.status
|
||||
if not "%HOSTNAME%" == "" goto hostdone
|
||||
if "%windir%" == "" goto msdos
|
||||
set OS=MS-Windows
|
||||
if not "%OS%" == "MS-Windows" goto SmallEnv
|
||||
goto haveos
|
||||
:msdos
|
||||
set OS=MS-DOS
|
||||
if not "%OS%" == "MS-DOS" goto SmallEnv
|
||||
:haveos
|
||||
if not "%USERNAME%" == "" goto haveuname
|
||||
if not "%USER%" == "" goto haveuser
|
||||
echo No USERNAME and no USER found in the environment, using default values
|
||||
set HOSTNAME=Unknown PC
|
||||
if not "%HOSTNAME%" == "Unknown PC" goto SmallEnv
|
||||
goto userdone
|
||||
:haveuser
|
||||
set HOSTNAME=%USER%'s PC
|
||||
if not "%HOSTNAME%" == "%USER%'s PC" goto SmallEnv
|
||||
goto userdone
|
||||
:haveuname
|
||||
set HOSTNAME=%USERNAME%'s PC
|
||||
if not "%HOSTNAME%" == "%USERNAME%'s PC" goto SmallEnv
|
||||
:userdone
|
||||
set _HOSTNAME=%HOSTNAME%, %OS%
|
||||
if not "%_HOSTNAME%" == "%HOSTNAME%, %OS%" goto SmallEnv
|
||||
set HOSTNAME=%_HOSTNAME%
|
||||
:hostdone
|
||||
set _HOSTNAME=
|
||||
set OS=
|
||||
|
||||
Rem install-sh is required by the configure script but clashes with the
|
||||
Rem various Makefile install-foo targets, so we MUST have it before the
|
||||
Rem script runs and rename it afterwards
|
||||
test -f %XSRC%/install-sh
|
||||
if not errorlevel 1 goto NoRen0
|
||||
test -f %XSRC%/install-sh.sh
|
||||
if not errorlevel 1 mv -f %XSRC%/install-sh.sh %XSRC%/install-sh
|
||||
:NoRen0
|
||||
|
||||
if "%NLS%" == "disabled" goto WithoutNLS
|
||||
|
||||
:WithNLS
|
||||
test -d %XSRC%/po
|
||||
if errorlevel 1 goto WithoutNLS
|
||||
|
||||
Rem Check for the needed libraries and binaries.
|
||||
test -x /dev/env/DJDIR/bin/msgfmt.exe
|
||||
if not errorlevel 0 goto MissingNLSTools
|
||||
test -x /dev/env/DJDIR/bin/xgettext.exe
|
||||
if not errorlevel 0 goto MissingNLSTools
|
||||
test -f /dev/env/DJDIR/include/libcharset.h
|
||||
if not errorlevel 0 goto MissingNLSTools
|
||||
test -f /dev/env/DJDIR/lib/libcharset.a
|
||||
if not errorlevel 0 goto MissingNLSTools
|
||||
test -f /dev/env/DJDIR/include/iconv.h
|
||||
if not errorlevel 0 goto MissingNLSTools
|
||||
test -f /dev/env/DJDIR/lib/libiconv.a
|
||||
if not errorlevel 0 goto MissingNLSTools
|
||||
test -f /dev/env/DJDIR/include/libintl.h
|
||||
if not errorlevel 0 goto MissingNLSTools
|
||||
test -f /dev/env/DJDIR/lib/libintl.a
|
||||
if not errorlevel 0 goto MissingNLSTools
|
||||
|
||||
Rem Recreate the files in the %XSRC%/po subdir with our ported tools.
|
||||
redir -e /dev/null rm %XSRC%/po/*.gmo
|
||||
redir -e /dev/null rm %XSRC%/po/libiconv.pot
|
||||
redir -e /dev/null rm %XSRC%/po/cat-id-tbl.c
|
||||
redir -e /dev/null rm %XSRC%/po/stamp-cat-id
|
||||
|
||||
Rem Update the arguments file for the configure script.
|
||||
Rem We prefer without-included-gettext because libintl.a from gettext package
|
||||
Rem is the only one that is garanteed to have been ported to DJGPP.
|
||||
echo --enable-nls --without-included-gettext >> arguments
|
||||
goto ConfigurePackage
|
||||
|
||||
:MissingNLSTools
|
||||
echo Needed libs/tools for NLS not found. Configuring without NLS.
|
||||
:WithoutNLS
|
||||
Rem Update the arguments file for the configure script.
|
||||
echo --disable-nls >> arguments
|
||||
|
||||
:ConfigurePackage
|
||||
echo Running the ./configure script...
|
||||
sh ./configure @arguments
|
||||
if errorlevel 1 goto CfgError
|
||||
rm arguments
|
||||
echo Done.
|
||||
goto End
|
||||
|
||||
:SedError
|
||||
echo ./configure script editing failed!
|
||||
goto End
|
||||
|
||||
:CfgError
|
||||
echo ./configure script exited abnormally!
|
||||
goto End
|
||||
|
||||
:SmallEnv
|
||||
echo Your environment size is too small. Enlarge it and run me again.
|
||||
echo Configuration NOT done!
|
||||
|
||||
:End
|
||||
test -f %XSRC%/install-sh.sh
|
||||
if not errorlevel 1 goto NoRen1
|
||||
test -f %XSRC%/install-sh
|
||||
if not errorlevel 1 mv -f %XSRC%/install-sh %XSRC%/install-sh.sh
|
||||
:NoRen1
|
||||
set CONFIG_SITE=
|
||||
set HOSTNAME=
|
||||
set XSRC=
|
154
src/libiconv/libiconv/djgpp/config.sed
Normal file
154
src/libiconv/libiconv/djgpp/config.sed
Normal file
@ -0,0 +1,154 @@
|
||||
# Additional editing of Makefiles
|
||||
/(echo[ ]*':t/ a\
|
||||
# DJGPP specific Makefile changes.\
|
||||
/^aliaspath * *=/s,:,";",g;t t\
|
||||
/TEXINPUTS=/s,:,";",g;t t\
|
||||
/PATH=/s,:,";",g;t t\
|
||||
s,\\.deps,_deps,g;t t\
|
||||
s,\\.libs,_libs,g;t t\
|
||||
s,\\.new\\.,_new.,g;t t\
|
||||
s,\\.old\\.,_old.,g;t t\
|
||||
s,\\.tab\\.,_tab.,g;t t\
|
||||
/^lispdir * *=/ c\\\
|
||||
lispdir = \$(prefix)/gnu/emacs/site-lisp\
|
||||
/^docdir * *=/ c\\\
|
||||
docdir = \$(prefix)/gnudocs/libiconv.110\
|
||||
/(datadir)\\/doc/d\
|
||||
s,config\\.h\\.in,config.h-in,g;t t\
|
||||
s,\\.\\([1-9]\\)\\.html,_\\1.html,g;t t\
|
||||
s,/doc,/gnudocs,g;t t\
|
||||
s,iconv\\.h\\.in,iconv.h-in,g;t t\
|
||||
s,libcharset\\.h\\.in,libcharset.h-in,g;t t\
|
||||
s,localcharset\\.h\\.in,localcharset.h-in,g;t t\
|
||||
s,Makefile\\.in\\.in,Makefile.in-in,g;t t\
|
||||
s,Makefile\\.am\\.in,Makefile.am-in,g;t t\
|
||||
/^install-info-am:/,/^$/ s,file-\\[0-9\\]\\[0-9\\],& \\$\\$file[0-9] \\$\\$file[0-9][0-9],\
|
||||
/^\\.y\\.c:/,/^$/ {\
|
||||
/\\\$(YACC)/ {\
|
||||
s,[ ]*&&.*$,,\
|
||||
a\\\
|
||||
-mv -f y_tab.c \$*.c\\\
|
||||
-@test -f y.tab.c && mv -f y.tab.c \$*.c\\\
|
||||
-@test -f y.tab.h && mv -f y.tab.h y_tab.h\
|
||||
}\
|
||||
}
|
||||
|
||||
# Rename config.h.in into config.h-in
|
||||
/^[ ]*ac_config_headers=/,/^_ACEOF/ {
|
||||
s|config\.h|&:config.h-in|g
|
||||
}
|
||||
/CONFIG_HEADERS=/ s|config\.h\.in|&:config.h-in|2
|
||||
|
||||
|
||||
# Rename iconv.h.in into iconv.h-in
|
||||
/^[ ]*ac_config_files=/,/^EOF/ {
|
||||
s|include/iconv\.h|&:include/iconv.h-in|
|
||||
s|po/Makefile\.in|&:po/Makefile.in-in|
|
||||
}
|
||||
/CONFIG_FILES=/ {
|
||||
s|include/iconv\.h|&:include/iconv\.h-in|2
|
||||
s|po/Makefile\.in|&:po/Makefile.in-in|2
|
||||
}
|
||||
|
||||
# We always use _deps and _libs instead of .deps and .libs, because
|
||||
# the latter is an invalid name on 8+3 MS-DOS filesystem. This makes
|
||||
# the generated Makefiles good for every DJGPP installation, not only
|
||||
# the one where the package was configured (which could happen to be
|
||||
# a Windows box, where leading dots in file names are allowed).
|
||||
s,\.deps,_deps,g
|
||||
s,\.libs,_libs,g
|
||||
/^rmdir[ ]*\.tst/ i\
|
||||
am__leading_dot=_
|
||||
|
||||
# Replace (command) > /dev/null with `command > /dev/null`, since
|
||||
# parenthesized commands always return zero status in the ported Bash,
|
||||
# even if the named command doesn't exist
|
||||
/if ([^|;`]*null/{
|
||||
s,(,`,
|
||||
s,),,
|
||||
/null[ ]*2>&1/ s,2>&1,&`,
|
||||
/null.*null/ s,null.*null,&`,
|
||||
/null.*null/ !{
|
||||
/null[ ]*2>&1/ !s,null,&`,
|
||||
}
|
||||
}
|
||||
|
||||
# DOS-style absolute file names should be supported as well
|
||||
/\*) srcdir=/s,/\*,[\\\\/]* | [A-z]:[\\\\/]*,
|
||||
/\$]\*) INSTALL=/s,\[/\$\]\*,[\\\\/$]* | [A-z]:[\\\\/]*,
|
||||
/\$]\*) ac_rel_source=/s,\[/\$\]\*,[\\\\/$]* | [A-z]:[\\\\/]*,
|
||||
|
||||
# Switch the order of the two Sed commands, since DOS path names
|
||||
# could include a colon
|
||||
/ac_file_inputs=/s,\( -e "s%\^%\$ac_given_srcdir/%"\)\( -e "s%:% $ac_given_srcdir/%g"\),\2\1,
|
||||
|
||||
# Prevent the spliting of conftest.subs.
|
||||
# The sed script: conftest.subs is split into 48 or 90 lines long files.
|
||||
# This will produce sed scripts called conftest.s1, conftest.s2, etc.
|
||||
# that will not work if conftest.subs contains a multi line sed command
|
||||
# at line #90. In this case the first part of the sed command will be the
|
||||
# last line of conftest.s1 and the rest of the command will be the first lines
|
||||
# of conftest.s2. So both script will not work properly.
|
||||
# This matches the configure script produced by Autoconf 2.57
|
||||
/ac_max_sed_lines=[0-9]/ s,=.*$,=`sed -n "$=" $tmp/subs.sed`,
|
||||
|
||||
# The following two items are changes needed for configuring
|
||||
# and compiling across partitions.
|
||||
# 1) The given srcdir value is always translated from the
|
||||
# "x:" syntax into "/dev/x" syntax while we run configure.
|
||||
/^[ ]*-srcdir=\*.*$/ a\
|
||||
ac_optarg=`echo "$ac_optarg" | sed "s,^\\([A-Za-z]\\):,/dev/\\1,"`
|
||||
/set X `ls -Lt \$srcdir/ i\
|
||||
if `echo $srcdir | grep "^/dev/" - > /dev/null`; then\
|
||||
srcdir=`echo "$srcdir" | sed -e "s%^/dev/%%" -e "s%/%:/%"`\
|
||||
fi
|
||||
|
||||
# 2) We need links across partitions,
|
||||
# so we will use "cp -pf" instead of "ln".
|
||||
/# Make a symlink if possible; otherwise try a hard link./,/EOF/ {
|
||||
s,;.*then, 2>/dev/null || cp -pf \$srcdir/\$ac_source \$ac_dest&,
|
||||
}
|
||||
|
||||
# Autoconf 2.52e generated configure scripts
|
||||
# write absolute paths into Makefiles making
|
||||
# them useless for DJGPP installations for which
|
||||
# the package has not been configured for.
|
||||
/MISSING=/,/^$/ {
|
||||
/^fi$/ a\
|
||||
am_missing_run=`echo "$am_missing_run" | sed 's%/dev.*/libiconv-[0-9]\\{1,1\\}[-.0-9]*%${top_srcdir}%'`
|
||||
}
|
||||
/^install_sh=/a\
|
||||
install_sh=`echo "$install_sh" | sed 's%/dev.*/libiconv-[0-9]\\{1,1\\}[-.0-9]*%${top_srcdir}%'`
|
||||
|
||||
# The following makes sure we are not going to remove a directory
|
||||
# which is the cwd on its drive (DOS doesn't allow to remove such
|
||||
# a directory). The trick is to chdir to the root directory on
|
||||
# temp directory's drive before removing $tmp.
|
||||
/^[ ]*trap[ ]*'exit_status=\$\?;[ ]*rm[ ]*-rf/ s%rm -rf%cd $tmp; cd /; &%
|
||||
|
||||
# AC_CONFIG_LINKS fails if the source and destination are on
|
||||
# different file systems and symlinks don't work.
|
||||
/^ ln \$srcdir/s%||%|| cp -pf $srcdir/$ac_source $ac_dest ||%
|
||||
|
||||
# Add DJGPP version information.
|
||||
/^[ ]*VERSION=/ s/\([0-9]\.[0-9]*[-.0-9]*\)/"\1 (DJGPP port 2006-03-21 (r1))"/
|
||||
|
||||
# We need makeinfo to make the html formated docs.
|
||||
/\$am_missing_run[ ]*makeinfo/ s,\$am_missing_run,,
|
||||
|
||||
# The path to the FORTRAN compiler and libraries
|
||||
# shall contain no absolute path reference so it
|
||||
# will be good for all djgpp installations.
|
||||
/^FLIBS="\$ac_cv_flibs"/ i\
|
||||
ac_djgpp_path=`echo "$DJDIR" | sed 's%\\\\\\%/%g' | tr $as_cr_LETTERS $as_cr_letters`\
|
||||
ac_cv_flibs=`echo "$ac_cv_flibs" | sed "s%-L$ac_djgpp_path%-L/dev/env/DJDIR%g"`
|
||||
|
||||
# Let libtool use _libs all the time.
|
||||
/objdir=/s,\.libs,_libs,
|
||||
|
||||
# DJGPP needs ICONV_CONST defined as "const"
|
||||
/if .*am_cv_proto_iconv_arg1/ i\
|
||||
am_cv_proto_iconv_arg1="const"
|
||||
|
||||
# DJGPP installs the man pages into ${prefix}/man and not into ${datadir}/man
|
||||
/^test .*{datadir}\/man/ d
|
59
src/libiconv/libiconv/djgpp/config.site
Normal file
59
src/libiconv/libiconv/djgpp/config.site
Normal file
@ -0,0 +1,59 @@
|
||||
#! /bin/sh
|
||||
|
||||
# This is the config.site file for configuring GNU packages
|
||||
# which are to be built with DJGPP tools.
|
||||
|
||||
# Include the djgpp subdirectory in PATH, so that getconf is found
|
||||
PATH="$srcdir/djgpp:$PATH"
|
||||
|
||||
# These two variables are required, otherwise looking for
|
||||
# programs along the PATH will not work.
|
||||
PATH_SEPARATOR=:
|
||||
PATH_EXPAND=y
|
||||
|
||||
# This is required in for "test -f foo" to find foo.exe
|
||||
export TEST_FINDS_EXE=y
|
||||
|
||||
# The root of the DJGPP tree serves as the default prefix
|
||||
# for all paths that are hardcoded in the binaries.
|
||||
# When installing the installation prefix must be supplied.
|
||||
test "x$prefix" = xNONE && prefix='/dev/env/DJDIR'
|
||||
|
||||
# This is required for config.status script to be run, since
|
||||
# ./configure runs it by invoking ${CONFIG_SHELL-/bin/sh}
|
||||
CONFIG_SHELL=${CONFIG_SHELL='sh'}
|
||||
|
||||
# These are set here so the generated Makefile's will be good
|
||||
# for every DJGPP installation, not only the one where the
|
||||
# package was configured.
|
||||
# $INSTALL must be an absolute path name, otherwise config.status
|
||||
# will try to prepend ./ and ../ to it when it goes into subdirs.
|
||||
INSTALL=${INSTALL='/dev/env/DJDIR/bin/ginstall -c'}
|
||||
RANLIB=${RANLIB='/dev/env/DJDIR/bin/ranlib'}
|
||||
GMSGFMT=${GMSGFMT='/dev/env/DJDIR/bin/msgfmt'}
|
||||
MSGFMT=${MSGFMT='/dev/env/DJDIR/bin/msgfmt'}
|
||||
XGETTEXT=${XGETTEXT='/dev/env/DJDIR/bin/xgettext'}
|
||||
|
||||
# A sane default for emacs.
|
||||
ac_cv_path_EMACS=${EMACS='/dev/env/DJDIR/gnu/emacs/bin/emacs'}
|
||||
|
||||
# A sane default for grep.
|
||||
ac_cv_path_GREP=${GREP='grep'}
|
||||
ac_cv_path_EGREP=${EGREP='egrep'}
|
||||
ac_cv_path_FGREP=${FGREP='fgrep'}
|
||||
|
||||
# These are set here so the generated libtool will be good
|
||||
# for every DJGPP installation, not only the one where the
|
||||
# package was configured.
|
||||
NM=${NM='/dev/env/DJDIR/bin/nm'}
|
||||
LD=${LD='/dev/env/DJDIR/bin/ld'}
|
||||
STRIP=${STRIP='/dev/env/DJDIR/bin/strip'}
|
||||
lt_cv_path_SED=${SED='/dev/env/DJDIR/bin/sed'}
|
||||
|
||||
# Force the test for 'ln -s' to report no.
|
||||
ac_cv_prog_LN_S='cp -p'
|
||||
cl_cv_prog_LN_S='cp -p'
|
||||
cl_cv_prog_LN='cp -p'
|
||||
|
||||
# DJGPP needs ICONV_CONST set to const
|
||||
am_cv_proto_iconv_arg1="const"
|
35
src/libiconv/libiconv/djgpp/edtest.bat
Normal file
35
src/libiconv/libiconv/djgpp/edtest.bat
Normal file
@ -0,0 +1,35 @@
|
||||
@echo off
|
||||
if "%XSRC%" == "" set XSRC=.
|
||||
test -f %XSRC%/tests/stateful-check.orig
|
||||
if errorlevel 1 update %XSRC%/tests/stateful-check %XSRC%/tests/stateful-check.orig
|
||||
sed -f %XSRC%/djgpp/stateful-check.sed %XSRC%/tests/stateful-check.orig > stateful-check
|
||||
if errorlevel 1 goto SedError
|
||||
update ./stateful-check %XSRC%/tests/stateful-check
|
||||
rm -f ./stateful-check
|
||||
|
||||
test -f %XSRC%/tests/stateless-check.orig
|
||||
if errorlevel 1 update %XSRC%/tests/stateless-check %XSRC%/tests/stateless-check.orig
|
||||
sed -f %XSRC%/djgpp/stateless-check.sed %XSRC%/tests/stateless-check.orig > stateless-check
|
||||
if errorlevel 1 goto SedError
|
||||
update ./stateless-check %XSRC%/tests/stateless-check
|
||||
rm -f ./stateless-check
|
||||
|
||||
test -f %XSRC%/tests/failuretranslit-check.orig
|
||||
if errorlevel 1 update %XSRC%/tests/failuretranslit-check %XSRC%/tests/failuretranslit-check.orig
|
||||
sed -f %XSRC%/djgpp/translit-check.sed %XSRC%/tests/failuretranslit-check.orig > failuretranslit-check
|
||||
if errorlevel 1 goto SedError
|
||||
update ./failuretranslit-check %XSRC%/tests/failuretranslit-check
|
||||
rm -f ./failuretranslit-check
|
||||
|
||||
test -f %XSRC%/tests/translit-check.orig
|
||||
if errorlevel 1 update %XSRC%/tests/translit-check %XSRC%/tests/translit-check.orig
|
||||
sed -f %XSRC%/djgpp/translit-check.sed %XSRC%/tests/translit-check.orig > translit-check
|
||||
if errorlevel 1 goto SedError
|
||||
update ./translit-check %XSRC%/tests/translit-check
|
||||
rm -f ./translit-check
|
||||
goto End
|
||||
|
||||
:SedError
|
||||
echo test script editing failed!
|
||||
|
||||
:End
|
184
src/libiconv/libiconv/djgpp/fnchange.in
Normal file
184
src/libiconv/libiconv/djgpp/fnchange.in
Normal file
@ -0,0 +1,184 @@
|
||||
@V@/config.h.in @V@/config.h-in
|
||||
@V@/config.h.msvc @V@/config.h-msvc
|
||||
@V@/build-aux/install-reloc @V@/build-aux/install.reloc
|
||||
@V@/build-aux/install-sh @V@/build-aux/install.sh
|
||||
@V@/m4/strerror_r.m4 @V@/m4/strerr_r.m4
|
||||
@V@/include/iconv.h.in @V@/include/iconv.h-in
|
||||
@V@/include/iconv.h.msvc-static @V@/include/iconv_h.static-msvc
|
||||
@V@/include/iconv.h.msvc-shared @V@/include/iconv_h.shared-msvc
|
||||
@V@/man/iconv.1.html @V@/man/iconv_1.html
|
||||
@V@/man/iconv.3.html @V@/man/iconv_3.html
|
||||
@V@/man/iconv_close.3.html @V@/man/iconv_close_3.html
|
||||
@V@/man/iconv_open.3.html @V@/man/iconv_open_3.html
|
||||
@V@/libcharset/config.h.in @V@/libcharset/config.h-in
|
||||
@V@/libcharset/config.h.msvc @V@/libcharset/config.h-msvc
|
||||
@V@/libcharset/include/libcharset.h.in @V@/libcharset/include/libcharset.h-in
|
||||
@V@/libcharset/include/libcharset.h.msvc-shared @V@/libcharset/include/libcharset.h-msvc-shared
|
||||
@V@/libcharset/include/localcharset.h.in @V@/libcharset/include/localcharset.h-in
|
||||
@V@/libcharset/include/localcharset.h.msvc-shared @V@/libcharset/include/localcharset.h-msvc-shared
|
||||
@V@/libcharset/tools/aix-3.2.5 @V@/libcharset/tools/aix-3.2-5
|
||||
@V@/libcharset/tools/aix-4.1.5 @V@/libcharset/tools/aix-4.1-5
|
||||
@V@/libcharset/tools/aix-4.2.0 @V@/libcharset/tools/aix-4.2-0
|
||||
@V@/libcharset/tools/aix-4.3.2 @V@/libcharset/tools/aix-4.3-2
|
||||
@V@/libcharset/tools/glibc-2.1.3 @V@/libcharset/tools/glibc-2.1-3
|
||||
@V@/libcharset/tools/glibc-2.1.90 @V@/libcharset/tools/glibc-2.1-90
|
||||
@V@/libcharset/tools/locale_charmap @V@/libcharset/tools/locale_charmap
|
||||
@V@/libcharset/tools/locale_charset.c @V@/libcharset/tools/charset_locale.c
|
||||
@V@/libcharset/tools/locale_codeset.c @V@/libcharset/tools/codeset_locale.c
|
||||
@V@/libcharset/tools/solaris-2.5.1 @V@/libcharset/tools/solaris-2.5-1
|
||||
@V@/libcharset/tools/sunos-4.1.4 @V@/libcharset/tools/sunos-4.1-4
|
||||
@V@/libcharset/tools/all-charsets-X11 @V@/libcharset/tools/all-charsets.X11
|
||||
@V@/libcharset/tools/glibc-2.2-XF86-3.3.6 @V@/libcharset/tools/glibc22XF86-3.3-6
|
||||
@V@/libcharset/tools/glibc-2.2-XF86-4.0.1f @V@/libcharset/tools/glibc22XF86-4.0-1f
|
||||
@V@/libcharset/tools/locale_x11encoding.c @V@/libcharset/tools/x11encoding_locale.c
|
||||
@V@/lib/aliases.gperf @V@/lib/aliases/aliases.gperf
|
||||
@V@/lib/aliases.h @V@/lib/aliases/aliases.h
|
||||
@V@/lib/aliases2.h @V@/lib/aliases/aliases2.h
|
||||
@V@/lib/aliases_aix.h @V@/lib/aliases/aix.h
|
||||
@V@/lib/aliases_dos.h @V@/lib/aliases/dos.h
|
||||
@V@/lib/aliases_extra.h @V@/lib/aliases/extra.h
|
||||
@V@/lib/aliases_osf1.h @V@/lib/aliases/osf1.h
|
||||
@V@/lib/cns11643.h @V@/lib/cns/11643.h
|
||||
@V@/lib/cns11643_1.h @V@/lib/cns/11643_1.h
|
||||
@V@/lib/cns11643_2.h @V@/lib/cns/11643_2.h
|
||||
@V@/lib/cns11643_3.h @V@/lib/cns/11643_3.h
|
||||
@V@/lib/cns11643_4.h @V@/lib/cns/11643_4.h
|
||||
@V@/lib/cns11643_4a.h @V@/lib/cns/11643_4a.h
|
||||
@V@/lib/cns11643_4b.h @V@/lib/cns/11643_4b.h
|
||||
@V@/lib/cns11643_5.h @V@/lib/cns/11643_5.h
|
||||
@V@/lib/cns11643_6.h @V@/lib/cns/11643_6.h
|
||||
@V@/lib/cns11643_7.h @V@/lib/cns/11643_7.h
|
||||
@V@/lib/cns11643_15.h @V@/lib/cns/11643_15.h
|
||||
@V@/lib/cns11643_inv.h @V@/lib/cns/11643_inv.h
|
||||
@V@/lib/config.h.in @V@/lib/config.h-in
|
||||
@V@/lib/config.h.msvc @V@/lib/config.h-msvc
|
||||
@V@/lib/canonical.h @V@/lib/canonical/canonical.h
|
||||
@V@/lib/canonical.h @V@/lib/canonical/canonical.h
|
||||
@V@/lib/canonical.h @V@/lib/canonical/canonical.h
|
||||
@V@/lib/canonical.h @V@/lib/canonical/canonical.h
|
||||
@V@/lib/canonical_aix.h @V@/lib/canonical/aix.h
|
||||
@V@/lib/canonical_dos.h @V@/lib/canonical/dos.h
|
||||
@V@/lib/canonical_extra.h @V@/lib/canonical/extra.h
|
||||
@V@/lib/canonical_osf1.h @V@/lib/canonical/osf1.h
|
||||
@V@/lib/canonical_local.h @V@/lib/canonical/local.h
|
||||
@V@/lib/encodings.def @V@/lib/encodings/encodings.def
|
||||
@V@/lib/encodings_aix.def @V@/lib/encodings/aix.def
|
||||
@V@/lib/encodings_dos.def @V@/lib/encodings/dos.def
|
||||
@V@/lib/encodings_extra.def @V@/lib/encodings/extra.def
|
||||
@V@/lib/encodings_local.def @V@/lib/encodings/local.def
|
||||
@V@/lib/encodings_osf1.def @V@/lib/encodings/osf1.def
|
||||
@V@/lib/genaliases2.c @V@/lib/2genaliases.c
|
||||
@V@/lib/georgian_academy.h @V@/lib/georgian/academy.h
|
||||
@V@/lib/georgian_ps.h @V@/lib/georgian/ps.h
|
||||
@V@/lib/iso2022_cn.h @V@/lib/iso/2022_cn.h
|
||||
@V@/lib/iso2022_cnext.h @V@/lib/iso/2022_cnext.h
|
||||
@V@/lib/iso2022_jp.h @V@/lib/iso/2022_jp.h
|
||||
@V@/lib/iso2022_jp1.h @V@/lib/iso/2022_jp1.h
|
||||
@V@/lib/iso2022_jp2.h @V@/lib/iso/2022_jp2.h
|
||||
@V@/lib/iso2022_jp3.h @V@/lib/iso/2022_jp3.h
|
||||
@V@/lib/iso2022_kr.h @V@/lib/iso/2022_kr.h
|
||||
@V@/lib/iso646_cn.h @V@/lib/iso/646_cn.h
|
||||
@V@/lib/iso646_jp.h @V@/lib/iso/646_jp.h
|
||||
@V@/lib/iso8859_1.h @V@/lib/iso/8859_1.h
|
||||
@V@/lib/iso8859_10.h @V@/lib/iso/8859_10.h
|
||||
@V@/lib/iso8859_11.h @V@/lib/iso/8859_11.h
|
||||
@V@/lib/iso8859_13.h @V@/lib/iso/8859_13.h
|
||||
@V@/lib/iso8859_14.h @V@/lib/iso/8859_14.h
|
||||
@V@/lib/iso8859_15.h @V@/lib/iso/8859_15.h
|
||||
@V@/lib/iso8859_16.h @V@/lib/iso/8859_16.h
|
||||
@V@/lib/iso8859_2.h @V@/lib/iso/8859_2.h
|
||||
@V@/lib/iso8859_3.h @V@/lib/iso/8859_3.h
|
||||
@V@/lib/iso8859_4.h @V@/lib/iso/8859_4.h
|
||||
@V@/lib/iso8859_5.h @V@/lib/iso/8859_5.h
|
||||
@V@/lib/iso8859_6.h @V@/lib/iso/8859_6.h
|
||||
@V@/lib/iso8859_7.h @V@/lib/iso/8859_7.h
|
||||
@V@/lib/iso8859_8.h @V@/lib/iso/8859_8.h
|
||||
@V@/lib/iso8859_9.h @V@/lib/iso/8859_9.h
|
||||
@V@/lib/isoir165.h @V@/lib/iso/ir165.h
|
||||
@V@/lib/isoir165ext.h @V@/lib/iso/ir165ext.h
|
||||
@V@/lib/mac_arabic.h @V@/lib/mac/arabic.h
|
||||
@V@/lib/mac_centraleurope.h @V@/lib/mac/centraleurope.h
|
||||
@V@/lib/mac_croatian.h @V@/lib/mac/croatian.h
|
||||
@V@/lib/mac_cyrillic.h @V@/lib/mac/cyrillic.h
|
||||
@V@/lib/mac_greek.h @V@/lib/mac/greek.h
|
||||
@V@/lib/mac_hebrew.h @V@/lib/mac/hebrew.h
|
||||
@V@/lib/mac_iceland.h @V@/lib/mac/iceland.h
|
||||
@V@/lib/mac_roman.h @V@/lib/mac/roman.h
|
||||
@V@/lib/mac_romania.h @V@/lib/mac/romania.h
|
||||
@V@/lib/mac_thai.h @V@/lib/mac/thai.h
|
||||
@V@/lib/mac_turkish.h @V@/lib/mac/turkish.h
|
||||
@V@/lib/mac_ukraine.h @V@/lib/mac/ukraine.h
|
||||
@V@/po/Makefile.in.in @V@/po/Makefile.in-in
|
||||
@V@/po/Makefile.msvc.sh @V@/po/Makefile-msvc.sh
|
||||
@V@/tests/ARMSCII-8.IRREVERSIBLE.TXT @V@/tests/ARMSCII-8.IRREVERSIBLE-TXT
|
||||
@V@/tests/CP932.IRREVERSIBLE.TXT @V@/tests/CP932.IRREVERSIBLE-TXT
|
||||
@V@/tests/CP950.IRREVERSIBLE.TXT @V@/tests/CP950.IRREVERSIBLE-TXT
|
||||
@V@/tests/CP1161.IRREVERSIBLE.TXT @V@/tests/CP1161.IRREVERSIBLE-TXT
|
||||
@V@/tests/CP1163.IRREVERSIBLE.TXT @V@/tests/CP1163.IRREVERSIBLE-TXT
|
||||
@V@/tests/DEC-HANYU.IRREVERSIBLE.TXT @V@/tests/DEC-HANYU.IRREVERSIBLE-TXT
|
||||
@V@/tests/EUC-JP.IRREVERSIBLE.TXT @V@/tests/EUC-JP.IRREVERSIBLE-TXT
|
||||
@V@/tests/EUC-TW.IRREVERSIBLE.TXT @V@/tests/EUC-TW.IRREVERSIBLE-TXT
|
||||
@V@/tests/Georgian-PS.TXT @V@/tests/Georgian/PS.TXT
|
||||
@V@/tests/Georgian-Academy.TXT @V@/tests/Georgian/Academy.TXT
|
||||
@V@/tests/ISO-2022-CN-EXT-snippet @V@/tests/ISO/2022CN-EXT-snippet
|
||||
@V@/tests/ISO-2022-CN-EXT-snippet.UTF-8 @V@/tests/ISO/2022CN-EXT-snippet.UTF-8
|
||||
@V@/tests/ISO-2022-CN-snippet @V@/tests/ISO/2022CN-snippet
|
||||
@V@/tests/ISO-2022-CN-snippet.UTF-8 @V@/tests/ISO/2022CN-snippet.UTF-8
|
||||
@V@/tests/ISO-2022-JP-1-snippet @V@/tests/ISO/2022JP-1-snippet
|
||||
@V@/tests/ISO-2022-JP-1-snippet.UTF-8 @V@/tests/ISO/2022JP-1-snippet.UTF-8
|
||||
@V@/tests/ISO-2022-JP-2-snippet @V@/tests/ISO/2022JP-2-snippet
|
||||
@V@/tests/ISO-2022-JP-2-snippet.UTF-8 @V@/tests/ISO/2022JP-2-snippet.UTF-8
|
||||
@V@/tests/ISO-2022-JP-3-snippet @V@/tests/ISO/2022JP-3-snippet
|
||||
@V@/tests/ISO-2022-JP-3-snippet.UTF-8 @V@/tests/ISO/2022JP-3-snippet.UTF-8
|
||||
@V@/tests/ISO-2022-JP-snippet @V@/tests/ISO/2022JP-snippet
|
||||
@V@/tests/ISO-2022-JP-snippet.UTF-8 @V@/tests/ISO/2022JP-snippet.UTF-8
|
||||
@V@/tests/ISO-2022-KR-snippet @V@/tests/ISO/2022KR-snippet
|
||||
@V@/tests/ISO-2022-KR-snippet.UTF-8 @V@/tests/ISO/2022KR-snippet.UTF-8
|
||||
@V@/tests/ISO-8859-1.TXT @V@/tests/ISO/8859-1.TXT
|
||||
@V@/tests/ISO-8859-10.TXT @V@/tests/ISO/8859-10.TXT
|
||||
@V@/tests/ISO-8859-11.TXT @V@/tests/ISO/8859-11.TXT
|
||||
@V@/tests/ISO-8859-13.TXT @V@/tests/ISO/8859-13.TXT
|
||||
@V@/tests/ISO-8859-14.TXT @V@/tests/ISO/8859-14.TXT
|
||||
@V@/tests/ISO-8859-15.TXT @V@/tests/ISO/8859-15.TXT
|
||||
@V@/tests/ISO-8859-16.TXT @V@/tests/ISO/8859-16.TXT
|
||||
@V@/tests/ISO-8859-2.TXT @V@/tests/ISO/8859-2.TXT
|
||||
@V@/tests/ISO-8859-3.TXT @V@/tests/ISO/8859-3.TXT
|
||||
@V@/tests/ISO-8859-4.TXT @V@/tests/ISO/8859-4.TXT
|
||||
@V@/tests/ISO-8859-5.TXT @V@/tests/ISO/8859-5.TXT
|
||||
@V@/tests/ISO-8859-6.TXT @V@/tests/ISO/8859-6.TXT
|
||||
@V@/tests/ISO-8859-7.TXT @V@/tests/ISO/8859-7.TXT
|
||||
@V@/tests/ISO-8859-8.TXT @V@/tests/ISO/8859-8.TXT
|
||||
@V@/tests/ISO-8859-9.TXT @V@/tests/ISO/8859-9.TXT
|
||||
@V@/tests/ISO-IR-165.IRREVERSIBLE.TXT @V@/tests/ISO/IR-165.IRREVERSIBLE-TXT
|
||||
@V@/tests/ISO-IR-165.TXT @V@/tests/ISO/IR-165.TXT
|
||||
@V@/tests/MacArabic.TXT @V@/tests/Mac/Arabic.TXT
|
||||
@V@/tests/MacCentralEurope.TXT @V@/tests/Mac/CentralEurope.TXT
|
||||
@V@/tests/MacCroatian.TXT @V@/tests/Mac/Croatian.TXT
|
||||
@V@/tests/MacCyrillic.TXT @V@/tests/Mac/Cyrillic.TXT
|
||||
@V@/tests/MacGreek.TXT @V@/tests/Mac/Greek.TXT
|
||||
@V@/tests/MacHebrew.TXT @V@/tests/Mac/Hebrew.TXT
|
||||
@V@/tests/MacIceland.TXT @V@/tests/Mac/Iceland.TXT
|
||||
@V@/tests/MacRoman.TXT @V@/tests/Mac/Roman.TXT
|
||||
@V@/tests/MacRomania.TXT @V@/tests/Mac/Romania.TXT
|
||||
@V@/tests/MacThai.TXT @V@/tests/Mac/Thai.TXT
|
||||
@V@/tests/MacTurkish.TXT @V@/tests/Mac/Turkish.TXT
|
||||
@V@/tests/MacUkraine.TXT @V@/tests/Mac/Ukraine.TXT
|
||||
@V@/tests/check-stateful @V@/tests/stateful-check
|
||||
@V@/tests/check-stateful.bat @V@/tests/stateful-check.bat
|
||||
@V@/tests/check-stateful.cmd @V@/tests/stateful-check.cmd
|
||||
@V@/tests/check-stateless @V@/tests/stateless-check
|
||||
@V@/tests/check-stateless.bat @V@/tests/stateless-check.bat
|
||||
@V@/tests/check-stateless.cmd @V@/tests/stateless-check.cmd
|
||||
@V@/tests/check-translit @V@/tests/translit-check
|
||||
@V@/tests/check-translit.bat @V@/tests/translit-check.bat
|
||||
@V@/tests/check-translit.cmd @V@/tests/translit-check.cmd
|
||||
@V@/tests/check-translitfailure @V@/tests/failuretranslit-check
|
||||
@V@/tests/BIG5-HKSCS.IRREVERSIBLE.TXT @V@/tests/BIG5-HKSCS.IRREVERSIBLE-TXT
|
||||
@V@/tests/CP1258.IRREVERSIBLE.TXT @V@/tests/CP1258.IRREVERSIBLE-TXT
|
||||
@V@/tests/TCVN.IRREVERSIBLE.TXT @V@/tests/TCVN.IRREVERSIBLE-TXT
|
||||
@V@/tests/CP1255.IRREVERSIBLE.TXT @V@/tests/CP1255.IRREVERSIBLE-TXT
|
||||
@V@/tests/TranslitFail1.ISO-8859-1 @V@/tests/_Translit/Fail1.ISO-8859-1
|
||||
@V@/tests/Translit1.ISO-8859-1 @V@/tests/_Translit/1.ISO-8859-1
|
||||
@V@/tests/Translit1.ASCII @V@/tests/_Translit/1.ASCII
|
||||
@V@/tests/SHIFT_JIS.TXT @V@/tests/SHIFT/JIS.TXT
|
||||
@V@/tests/SHIFT_JISX0213.TXT @V@/tests/SHIFT/JISX0213.TXT
|
220
src/libiconv/libiconv/djgpp/fnchange.lst
Normal file
220
src/libiconv/libiconv/djgpp/fnchange.lst
Normal file
@ -0,0 +1,220 @@
|
||||
libiconv-1.11/include/iconv.h.msvc-static libiconv-1.11/include/iconv_h.static-msvc
|
||||
libiconv-1.11/include/iconv.h.msvc-shared libiconv-1.11/include/iconv_h.shared-msvc
|
||||
libiconv-1.11/tests/Georgian-PS.TXT libiconv-1.11/tests/Georgian/PS.TXT
|
||||
libiconv-1.11/tests/ARMSCII-8.IRREVERSIBLE.TXT libiconv-1.11/tests/ARMSCII-8.IRREVERSIBLE-TXT
|
||||
libiconv-1.11/tests/CP932.IRREVERSIBLE.TXT libiconv-1.11/tests/CP932.IRREVERSIBLE-TXT
|
||||
libiconv-1.11/tests/CP950.IRREVERSIBLE.TXT libiconv-1.11/tests/CP950.IRREVERSIBLE-TXT
|
||||
libiconv-1.11/tests/EUC-TW.IRREVERSIBLE.TXT libiconv-1.11/tests/EUC-TW.IRREVERSIBLE-TXT
|
||||
libiconv-1.11/tests/ISO-2022-CN-EXT-snippet libiconv-1.11/tests/ISO/2022CN-EXT-snippet
|
||||
libiconv-1.11/tests/Georgian-Academy.TXT libiconv-1.11/tests/Georgian/Academy.TXT
|
||||
libiconv-1.11/tests/ISO-2022-CN-EXT-snippet.UTF-8 libiconv-1.11/tests/ISO/2022CN-EXT-snippet.UTF-8
|
||||
libiconv-1.11/tests/ISO-2022-CN-snippet libiconv-1.11/tests/ISO/2022CN-snippet
|
||||
libiconv-1.11/tests/ISO-2022-CN-snippet.UTF-8 libiconv-1.11/tests/ISO/2022CN-snippet.UTF-8
|
||||
libiconv-1.11/tests/ISO-2022-JP-1-snippet libiconv-1.11/tests/ISO/2022JP-1-snippet
|
||||
libiconv-1.11/tests/ISO-2022-JP-1-snippet.UTF-8 libiconv-1.11/tests/ISO/2022JP-1-snippet.UTF-8
|
||||
libiconv-1.11/tests/ISO-2022-JP-2-snippet libiconv-1.11/tests/ISO/2022JP-2-snippet
|
||||
libiconv-1.11/tests/ISO-2022-JP-2-snippet.UTF-8 libiconv-1.11/tests/ISO/2022JP-2-snippet.UTF-8
|
||||
libiconv-1.11/tests/ISO-2022-JP-snippet libiconv-1.11/tests/ISO/2022JP-snippet
|
||||
libiconv-1.11/tests/ISO-2022-JP-snippet.UTF-8 libiconv-1.11/tests/ISO/2022JP-snippet.UTF-8
|
||||
libiconv-1.11/tests/ISO-2022-KR-snippet libiconv-1.11/tests/ISO/2022KR-snippet
|
||||
libiconv-1.11/tests/ISO-2022-KR-snippet.UTF-8 libiconv-1.11/tests/ISO/2022KR-snippet.UTF-8
|
||||
libiconv-1.11/tests/ISO-8859-1.TXT libiconv-1.11/tests/ISO/8859-1.TXT
|
||||
libiconv-1.11/tests/ISO-8859-10.TXT libiconv-1.11/tests/ISO/8859-10.TXT
|
||||
libiconv-1.11/tests/ISO-8859-13.TXT libiconv-1.11/tests/ISO/8859-13.TXT
|
||||
libiconv-1.11/tests/ISO-8859-14.TXT libiconv-1.11/tests/ISO/8859-14.TXT
|
||||
libiconv-1.11/tests/ISO-8859-15.TXT libiconv-1.11/tests/ISO/8859-15.TXT
|
||||
libiconv-1.11/tests/ISO-8859-16.TXT libiconv-1.11/tests/ISO/8859-16.TXT
|
||||
libiconv-1.11/tests/ISO-8859-2.TXT libiconv-1.11/tests/ISO/8859-2.TXT
|
||||
libiconv-1.11/tests/ISO-8859-3.TXT libiconv-1.11/tests/ISO/8859-3.TXT
|
||||
libiconv-1.11/tests/ISO-8859-4.TXT libiconv-1.11/tests/ISO/8859-4.TXT
|
||||
libiconv-1.11/tests/ISO-8859-5.TXT libiconv-1.11/tests/ISO/8859-5.TXT
|
||||
libiconv-1.11/tests/ISO-8859-6.TXT libiconv-1.11/tests/ISO/8859-6.TXT
|
||||
libiconv-1.11/tests/ISO-8859-7.TXT libiconv-1.11/tests/ISO/8859-7.TXT
|
||||
libiconv-1.11/tests/ISO-8859-8.TXT libiconv-1.11/tests/ISO/8859-8.TXT
|
||||
libiconv-1.11/tests/ISO-8859-9.TXT libiconv-1.11/tests/ISO/8859-9.TXT
|
||||
libiconv-1.11/tests/ISO-IR-165.IRREVERSIBLE.TXT libiconv-1.11/tests/ISO/IR-165.IRREVERSIBLE-TXT
|
||||
libiconv-1.11/tests/ISO-IR-165.TXT libiconv-1.11/tests/ISO/IR-165.TXT
|
||||
libiconv-1.11/tests/ISO646-CN.TXT libiconv-1.11/tests/ISO646-CN.TXT
|
||||
libiconv-1.11/tests/ISO646-JP.TXT libiconv-1.11/tests/ISO646-JP.TXT
|
||||
libiconv-1.11/tests/MacArabic.TXT libiconv-1.11/tests/Mac/Arabic.TXT
|
||||
libiconv-1.11/tests/MacCentralEurope.TXT libiconv-1.11/tests/Mac/CentralEurope.TXT
|
||||
libiconv-1.11/tests/MacCroatian.TXT libiconv-1.11/tests/Mac/Croatian.TXT
|
||||
libiconv-1.11/tests/MacCyrillic.TXT libiconv-1.11/tests/Mac/Cyrillic.TXT
|
||||
libiconv-1.11/tests/MacGreek.TXT libiconv-1.11/tests/Mac/Greek.TXT
|
||||
libiconv-1.11/tests/MacHebrew.TXT libiconv-1.11/tests/Mac/Hebrew.TXT
|
||||
libiconv-1.11/tests/MacIceland.TXT libiconv-1.11/tests/Mac/Iceland.TXT
|
||||
libiconv-1.11/tests/MacRoman.TXT libiconv-1.11/tests/Mac/Roman.TXT
|
||||
libiconv-1.11/tests/MacRomania.TXT libiconv-1.11/tests/Mac/Romania.TXT
|
||||
libiconv-1.11/tests/MacThai.TXT libiconv-1.11/tests/Mac/Thai.TXT
|
||||
libiconv-1.11/tests/MacTurkish.TXT libiconv-1.11/tests/Mac/Turkish.TXT
|
||||
libiconv-1.11/tests/MacUkraine.TXT libiconv-1.11/tests/Mac/Ukraine.TXT
|
||||
libiconv-1.11/tests/Makefile.in libiconv-1.11/tests/Makefile.in
|
||||
libiconv-1.11/tests/MuleLao-1.TXT libiconv-1.11/tests/MuleLao-1.TXT
|
||||
libiconv-1.11/tests/NEXTSTEP.TXT libiconv-1.11/tests/NEXTSTEP.TXT
|
||||
libiconv-1.11/tests/Quotes.ASCII libiconv-1.11/tests/Quotes.ASCII
|
||||
libiconv-1.11/tests/Quotes.ISO-8859-1 libiconv-1.11/tests/Quotes.ISO-8859-1
|
||||
libiconv-1.11/tests/Quotes.UTF-8 libiconv-1.11/tests/Quotes.UTF-8
|
||||
libiconv-1.11/tests/SHIFT-JIS.TXT libiconv-1.11/tests/SHIFT-JIS.TXT
|
||||
libiconv-1.11/tests/TCVN.TXT libiconv-1.11/tests/TCVN.TXT
|
||||
libiconv-1.11/tests/TIS-620.TXT libiconv-1.11/tests/TIS-620.TXT
|
||||
libiconv-1.11/tests/UTF-7-snippet libiconv-1.11/tests/UTF-7-snippet
|
||||
libiconv-1.11/tests/UTF-7-snippet.UTF-8 libiconv-1.11/tests/UTF-7-snippet.UTF-8
|
||||
libiconv-1.11/tests/VISCII.TXT libiconv-1.11/tests/VISCII.TXT
|
||||
libiconv-1.11/tests/check-stateful libiconv-1.11/tests/stateful-check
|
||||
libiconv-1.11/tests/check-stateless libiconv-1.11/tests/stateless-check
|
||||
libiconv-1.11/tests/check-translit libiconv-1.11/tests/translit-check
|
||||
libiconv-1.11/tests/check-translit.bat libiconv-1.11/tests/translit-check.bat
|
||||
libiconv-1.11/tests/check-stateless.bat libiconv-1.11/tests/stateless-check.bat
|
||||
libiconv-1.11/tests/check-stateful.bat libiconv-1.11/tests/stateful-check.bat
|
||||
libiconv-1.11/tests/check-stateful.cmd libiconv-1.11/tests/stateful-check.cmd
|
||||
libiconv-1.11/tests/check-stateless.cmd libiconv-1.11/tests/stateless-check.cmd
|
||||
libiconv-1.11/tests/check-translit.cmd libiconv-1.11/tests/translit-check.cmd
|
||||
libiconv-1.11/tests/BIG5-HKSCS.IRREVERSIBLE.TXT libiconv-1.11/tests/BIG5-HKSCS.IRREVERSIBLE-TXT
|
||||
libiconv-1.11/libcharset/tools/README libiconv-1.11/libcharset/tools/README
|
||||
libiconv-1.11/libcharset/tools/aix-3.2.5 libiconv-1.11/libcharset/tools/aix-3.2.5
|
||||
libiconv-1.11/libcharset/tools/aix-4.1.5 libiconv-1.11/libcharset/tools/aix-4.1.5
|
||||
libiconv-1.11/libcharset/tools/aix-4.2.0 libiconv-1.11/libcharset/tools/aix-4.2.0
|
||||
libiconv-1.11/libcharset/tools/aix-4.3.2 libiconv-1.11/libcharset/tools/aix-4.3.2
|
||||
libiconv-1.11/libcharset/tools/all-charsets libiconv-1.11/libcharset/tools/all-charsets
|
||||
libiconv-1.11/libcharset/tools/all-locales libiconv-1.11/libcharset/tools/all-locales
|
||||
libiconv-1.11/libcharset/tools/freebsd-3.3 libiconv-1.11/libcharset/tools/freebsd-3.3
|
||||
libiconv-1.11/libcharset/tools/glibc-2.1.3 libiconv-1.11/libcharset/tools/glibc-2.1.3
|
||||
libiconv-1.11/libcharset/tools/glibc-2.1.90 libiconv-1.11/libcharset/tools/glibc-2.1.90
|
||||
libiconv-1.11/libcharset/tools/hpux-10.01 libiconv-1.11/libcharset/tools/hpux-10.01
|
||||
libiconv-1.11/libcharset/tools/hpux-10.20 libiconv-1.11/libcharset/tools/hpux-10.20
|
||||
libiconv-1.11/libcharset/tools/hpux-11.00 libiconv-1.11/libcharset/tools/hpux-11.00
|
||||
libiconv-1.11/libcharset/tools/irix-6.5 libiconv-1.11/libcharset/tools/irix-6.5
|
||||
libiconv-1.11/libcharset/tools/locale_charmap libiconv-1.11/libcharset/tools/locale_charmap
|
||||
libiconv-1.11/libcharset/tools/locale_charset.c libiconv-1.11/libcharset/tools/locale_charset.c
|
||||
libiconv-1.11/libcharset/tools/locale_codeset.c libiconv-1.11/libcharset/tools/localecodeset.c
|
||||
libiconv-1.11/libcharset/tools/osf1-4.0a libiconv-1.11/libcharset/tools/osf1-4.0a
|
||||
libiconv-1.11/libcharset/tools/osf1-4.0d libiconv-1.11/libcharset/tools/osf1-4.0d
|
||||
libiconv-1.11/libcharset/tools/osf1-5.1 libiconv-1.11/libcharset/tools/osf1-5.1
|
||||
libiconv-1.11/libcharset/tools/solaris-2.4 libiconv-1.11/libcharset/tools/solaris-2.4
|
||||
libiconv-1.11/libcharset/tools/solaris-2.5.1 libiconv-1.11/libcharset/tools/solaris-2.5.1
|
||||
libiconv-1.11/libcharset/tools/solaris-2.6 libiconv-1.11/libcharset/tools/solaris-2.6
|
||||
libiconv-1.11/libcharset/tools/solaris-2.6-cjk libiconv-1.11/libcharset/tools/solaris-2.6-cjk
|
||||
libiconv-1.11/libcharset/tools/solaris-2.7 libiconv-1.11/libcharset/tools/solaris-2.7
|
||||
libiconv-1.11/libcharset/tools/sunos-4.1.4 libiconv-1.11/libcharset/tools/sunos-4.1.4
|
||||
libiconv-1.11/libcharset/tools/win32 libiconv-1.11/libcharset/tools/win32
|
||||
libiconv-1.11/libcharset/tools/glibc-2.2 libiconv-1.11/libcharset/tools/glibc-2.2
|
||||
libiconv-1.11/libcharset/tools/all-charsets-X11 libiconv-1.11/libcharset/tools/all-charsets.X11
|
||||
libiconv-1.11/libcharset/tools/glibc-2.2-XF86-3.3.6 libiconv-1.11/libcharset/tools/glibc-2.2-XF86-3.3.6
|
||||
libiconv-1.11/libcharset/tools/glibc-2.2-XF86-4.0.1f libiconv-1.11/libcharset/tools/glibc-2.2XF86-4.0.1f
|
||||
libiconv-1.11/libcharset/tools/locale_x11encoding.c libiconv-1.11/libcharset/tools/locale_x11encoding.c
|
||||
libiconv-1.11/libcharset/tools/beos-5 libiconv-1.11/libcharset/tools/beos-5
|
||||
libiconv-1.11/libcharset/m4/ChangeLog libiconv-1.11/libcharset/m4/ChangeLog
|
||||
libiconv-1.11/libcharset/m4/codeset.m4 libiconv-1.11/libcharset/m4/codeset.m4
|
||||
libiconv-1.11/libcharset/m4/glibc21.m4 libiconv-1.11/libcharset/m4/glibc21.m4
|
||||
libiconv-1.11/libcharset/m4/libtool.m4 libiconv-1.11/libcharset/m4/libtool.m4
|
||||
libiconv-1.11/libcharset/lib/config.charset libiconv-1.11/libcharset/lib/config.charset
|
||||
libiconv-1.11/libcharset/lib/localcharset.c libiconv-1.11/libcharset/lib/localcharset.c
|
||||
libiconv-1.11/libcharset/lib/ref-add.sin libiconv-1.11/libcharset/lib/ref-add.sin
|
||||
libiconv-1.11/libcharset/lib/ref-del.sin libiconv-1.11/libcharset/lib/ref-del.sin
|
||||
libiconv-1.11/libcharset/lib/ChangeLog libiconv-1.11/libcharset/lib/ChangeLog
|
||||
libiconv-1.11/libcharset/lib/Makefile.in libiconv-1.11/libcharset/lib/Makefile.in
|
||||
libiconv-1.11/libcharset/lib/Makefile.msvc libiconv-1.11/libcharset/lib/Makefile.msvc
|
||||
libiconv-1.11/libcharset/AUTHORS libiconv-1.11/libcharset/AUTHORS
|
||||
libiconv-1.11/libcharset/COPYING.LIB libiconv-1.11/libcharset/COPYING.LIB
|
||||
libiconv-1.11/libcharset/INSTALL.generic libiconv-1.11/libcharset/INSTALL.generic
|
||||
libiconv-1.11/libcharset/README libiconv-1.11/libcharset/README
|
||||
libiconv-1.11/libcharset/Makefile.devel libiconv-1.11/libcharset/Makefile.devel
|
||||
libiconv-1.11/libcharset/Makefile.in libiconv-1.11/libcharset/Makefile.in
|
||||
libiconv-1.11/libcharset/configure.ac libiconv-1.11/libcharset/configure.ac
|
||||
libiconv-1.11/libcharset/configure libiconv-1.11/libcharset/configure
|
||||
libiconv-1.11/libcharset/INTEGRATE libiconv-1.11/libcharset/INTEGRATE
|
||||
libiconv-1.11/libcharset/include/localcharset.h.in libiconv-1.11/libcharset/include/localcharset.h.in
|
||||
libiconv-1.11/libcharset/include/localcharset.h.msvc-shared libiconv-1.11/libcharset/include/localcharset_h.shared-msvc
|
||||
libiconv-1.11/libcharset/autoconf/config.guess libiconv-1.11/libcharset/autoconf/config.guess
|
||||
libiconv-1.11/libcharset/autoconf/config.sub libiconv-1.11/libcharset/autoconf/config.sub
|
||||
libiconv-1.11/libcharset/autoconf/ltmain.sh libiconv-1.11/libcharset/autoconf/ltmain.sh
|
||||
libiconv-1.11/libcharset/autoconf/install-sh libiconv-1.11/libcharset/autoconf/install-sh
|
||||
libiconv-1.11/libcharset/autoconf/aclocal.m4 libiconv-1.11/libcharset/autoconf/aclocal.m4
|
||||
libiconv-1.11/libcharset/autoconf/mkinstalldirs libiconv-1.11/libcharset/autoconf/mkinstalldirs
|
||||
libiconv-1.11/libcharset/config.h.in libiconv-1.11/libcharset/config.h.in
|
||||
libiconv-1.11/libcharset/windows/dllexport.h libiconv-1.11/libcharset/windows/dllexport.h
|
||||
libiconv-1.11/libcharset/ChangeLog libiconv-1.11/libcharset/ChangeLog
|
||||
libiconv-1.11/libcharset/Makefile.msvc libiconv-1.11/libcharset/Makefile.msvc
|
||||
libiconv-1.11/libcharset/README.win32 libiconv-1.11/libcharset/README.win32
|
||||
libiconv-1.11/libcharset/config.h.msvc libiconv-1.11/libcharset/config.h.msvc
|
||||
libiconv-1.11/lib/aliases.gperf libiconv-1.11/lib/aliases/aliases.gperf
|
||||
libiconv-1.11/lib/aliases.h libiconv-1.11/lib/aliases/aliases.h
|
||||
libiconv-1.11/lib/aliases_aix.h libiconv-1.11/lib/aliases/aix.h
|
||||
libiconv-1.11/lib/aliases_dos.h libiconv-1.11/lib/aliases/dos.h
|
||||
libiconv-1.11/lib/aliases_osf1.h libiconv-1.11/lib/aliases/osf1.h
|
||||
libiconv-1.11/lib/cns11643.h libiconv-1.11/lib/cns/11643.h
|
||||
libiconv-1.11/lib/cns11643_1.h libiconv-1.11/lib/cns/11643_1.h
|
||||
libiconv-1.11/lib/cns11643_2.h libiconv-1.11/lib/cns/11643_2.h
|
||||
libiconv-1.11/lib/cns11643_3.h libiconv-1.11/lib/cns/11643_3.h
|
||||
libiconv-1.11/lib/cns11643_inv.h libiconv-1.11/lib/cns/11643_inv.h
|
||||
libiconv-1.11/lib/encodings.def libiconv-1.11/lib/encodings/encodings.def
|
||||
libiconv-1.11/lib/encodings_aix.def libiconv-1.11/lib/encodings/aix.def
|
||||
libiconv-1.11/lib/encodings_dos.def libiconv-1.11/lib/encodings/dos.def
|
||||
libiconv-1.11/lib/encodings_osf1.def libiconv-1.11/lib/encodings/osf1.def
|
||||
libiconv-1.11/lib/encodings_local.def libiconv-1.11/lib/encodings/local.def
|
||||
libiconv-1.11/lib/genaliases2.c libiconv-1.11/lib/2genaliases.c
|
||||
libiconv-1.11/lib/georgian_academy.h libiconv-1.11/lib/georgian/academy.h
|
||||
libiconv-1.11/lib/georgian_ps.h libiconv-1.11/lib/georgian/ps.h
|
||||
libiconv-1.11/lib/iso2022_cn.h libiconv-1.11/lib/iso/2022_cn.h
|
||||
libiconv-1.11/lib/iso2022_cnext.h libiconv-1.11/lib/iso/2022_cnext.h
|
||||
libiconv-1.11/lib/iso2022_jp.h libiconv-1.11/lib/iso/2022_jp.h
|
||||
libiconv-1.11/lib/iso2022_jp1.h libiconv-1.11/lib/iso/2022_jp1.h
|
||||
libiconv-1.11/lib/iso2022_jp2.h libiconv-1.11/lib/iso/2022_jp2.h
|
||||
libiconv-1.11/lib/iso2022_kr.h libiconv-1.11/lib/iso/2022_kr.h
|
||||
libiconv-1.11/lib/iso646_cn.h libiconv-1.11/lib/iso/646_cn.h
|
||||
libiconv-1.11/lib/iso646_jp.h libiconv-1.11/lib/iso/646_jp.h
|
||||
libiconv-1.11/lib/iso8859_1.h libiconv-1.11/lib/iso/8859_1.h
|
||||
libiconv-1.11/lib/iso8859_10.h libiconv-1.11/lib/iso/8859_10.h
|
||||
libiconv-1.11/lib/iso8859_13.h libiconv-1.11/lib/iso/8859_13.h
|
||||
libiconv-1.11/lib/iso8859_14.h libiconv-1.11/lib/iso/8859_14.h
|
||||
libiconv-1.11/lib/iso8859_15.h libiconv-1.11/lib/iso/8859_15.h
|
||||
libiconv-1.11/lib/iso8859_16.h libiconv-1.11/lib/iso/8859_16.h
|
||||
libiconv-1.11/lib/iso8859_2.h libiconv-1.11/lib/iso/8859_2.h
|
||||
libiconv-1.11/lib/iso8859_3.h libiconv-1.11/lib/iso/8859_3.h
|
||||
libiconv-1.11/lib/iso8859_4.h libiconv-1.11/lib/iso/8859_4.h
|
||||
libiconv-1.11/lib/iso8859_5.h libiconv-1.11/lib/iso/8859_5.h
|
||||
libiconv-1.11/lib/iso8859_6.h libiconv-1.11/lib/iso/8859_6.h
|
||||
libiconv-1.11/lib/iso8859_7.h libiconv-1.11/lib/iso/8859_7.h
|
||||
libiconv-1.11/lib/iso8859_8.h libiconv-1.11/lib/iso/8859_8.h
|
||||
libiconv-1.11/lib/iso8859_9.h libiconv-1.11/lib/iso/8859_9.h
|
||||
libiconv-1.11/lib/isoir165.h libiconv-1.11/lib/iso/ir165.h
|
||||
libiconv-1.11/lib/isoir165ext.h libiconv-1.11/lib/iso/ir165ext.h
|
||||
libiconv-1.11/lib/mac_arabic.h libiconv-1.11/lib/mac/arabic.h
|
||||
libiconv-1.11/lib/mac_centraleurope.h libiconv-1.11/lib/mac/centraleurope.h
|
||||
libiconv-1.11/lib/mac_croatian.h libiconv-1.11/lib/mac/croatian.h
|
||||
libiconv-1.11/lib/mac_cyrillic.h libiconv-1.11/lib/mac/cyrillic.h
|
||||
libiconv-1.11/lib/mac_greek.h libiconv-1.11/lib/mac/greek.h
|
||||
libiconv-1.11/lib/mac_hebrew.h libiconv-1.11/lib/mac/hebrew.h
|
||||
libiconv-1.11/lib/mac_iceland.h libiconv-1.11/lib/mac/iceland.h
|
||||
libiconv-1.11/lib/mac_roman.h libiconv-1.11/lib/mac/roman.h
|
||||
libiconv-1.11/lib/mac_romania.h libiconv-1.11/lib/mac/romania.h
|
||||
libiconv-1.11/lib/mac_thai.h libiconv-1.11/lib/mac/thai.h
|
||||
libiconv-1.11/lib/mac_turkish.h libiconv-1.11/lib/mac/turkish.h
|
||||
libiconv-1.11/lib/mac_ukraine.h libiconv-1.11/lib/mac/ukraine.h
|
||||
libiconv-1.11/lib/mulelao.h libiconv-1.11/lib/mulelao.h
|
||||
libiconv-1.11/lib/nextstep.h libiconv-1.11/lib/nextstep.h
|
||||
libiconv-1.11/lib/sjis.h libiconv-1.11/lib/sjis.h
|
||||
libiconv-1.11/lib/tcvn.h libiconv-1.11/lib/tcvn.h
|
||||
libiconv-1.11/lib/tis620.h libiconv-1.11/lib/tis620.h
|
||||
libiconv-1.11/lib/translit.def libiconv-1.11/lib/translit.def
|
||||
libiconv-1.11/lib/translit.h libiconv-1.11/lib/translit.h
|
||||
libiconv-1.11/lib/ucs2.h libiconv-1.11/lib/ucs2.h
|
||||
libiconv-1.11/lib/ucs2be.h libiconv-1.11/lib/ucs2be.h
|
||||
libiconv-1.11/lib/ucs2internal.h libiconv-1.11/lib/ucs2internal.h
|
||||
libiconv-1.11/lib/ucs2le.h libiconv-1.11/lib/ucs2le.h
|
||||
libiconv-1.11/lib/ucs2swapped.h libiconv-1.11/lib/ucs2swapped.h
|
||||
libiconv-1.11/lib/ucs4.h libiconv-1.11/lib/ucs4.h
|
||||
libiconv-1.11/lib/ucs4be.h libiconv-1.11/lib/ucs4be.h
|
||||
libiconv-1.11/lib/ucs4internal.h libiconv-1.11/lib/ucs4internal.h
|
||||
libiconv-1.11/lib/ucs4le.h libiconv-1.11/lib/ucs4le.h
|
||||
libiconv-1.11/lib/ucs4swapped.h libiconv-1.11/lib/ucs4swapped.h
|
||||
libiconv-1.11/lib/uhc_1.h libiconv-1.11/lib/uhc_1.h
|
||||
libiconv-1.11/lib/uhc_2.h libiconv-1.11/lib/uhc_2.h
|
||||
libiconv-1.11/lib/utf16.h libiconv-1.11/lib/utf16.h
|
||||
libiconv-1.11/lib/utf16be.h libiconv-1.11/lib/utf16be.h
|
||||
libiconv-1.11/lib/utf16le.h libiconv-1.11/lib/utf16le.h
|
||||
libiconv-1.11/lib/utf7.h libiconv-1.11/lib/utf7.h
|
||||
libiconv-1.11/lib/utf8.h libiconv-1.11/lib/utf8.h
|
||||
libiconv-1.11/lib/viscii.h libiconv-1.11/lib/viscii.h
|
||||
libiconv-1.11/lib/encodings_dos.def libiconv-1.11/lib/encodings/dos.def
|
||||
libiconv-1.11/lib/aliases_dos.h libiconv-1.11/lib/aliases/dos.h
|
21
src/libiconv/libiconv/djgpp/makefile.sed
Normal file
21
src/libiconv/libiconv/djgpp/makefile.sed
Normal file
@ -0,0 +1,21 @@
|
||||
# Fixes for lib/Makefile.in
|
||||
s|encodings\.def|encodings/&|g
|
||||
s|encodings_aix\.def|encodings/aix.def|g
|
||||
s|encodings_dos\.def|encodings/dos\.def|g
|
||||
s|encodings_extra\.def|encodings/extra\.def|g
|
||||
s|encodings_osf1\.def|encodings/osf1\.def|g
|
||||
s|encodings_local\.def|encodings/local\.def|g
|
||||
s|aliases\.h|aliases/&|g
|
||||
s|aliases2\.h|aliases/aliases2.h|g
|
||||
s|aliases_aix\.h|aliases/aix.h|g
|
||||
s|aliases_dos\.h|aliases/dos\.h|g
|
||||
s|aliases_extra\.h|aliases/extra\.h|g
|
||||
s|aliases_osf1\.h|aliases/osf1\.h|g
|
||||
s|aliases_local\.h|aliases/local\.h|g
|
||||
|
||||
|
||||
# Fixes for tests/Makefile.in
|
||||
s|\$(srcdir)/check-translitfailure|$(SHELL) $(srcdir)/failuretranslit-check|
|
||||
s|\$(srcdir)/check-stateless|$(SHELL) $(srcdir)/stateless-check|
|
||||
s|\$(srcdir)/check-stateful|$(SHELL) $(srcdir)/stateful-check|
|
||||
s|\$(srcdir)/check-translit|$(SHELL) $(srcdir)/translit-check|
|
31
src/libiconv/libiconv/djgpp/sources.sed
Normal file
31
src/libiconv/libiconv/djgpp/sources.sed
Normal file
@ -0,0 +1,31 @@
|
||||
# Fixes for lib/iconv.c.
|
||||
# All encodings files recide in encdings dir now.
|
||||
/^#[ ]*include/ s|"canonical\.h|"canonical/canonical.h|
|
||||
/^#[ ]*include/ s|"canonical_aix\.h|"canonical/aix.h|
|
||||
/^#[ ]*include/ s|"canonical_dos\.h|"canonical/dos.h|
|
||||
/^#[ ]*include/ s|"canonical_osf1\.h|"canonical/osf1.h|
|
||||
/^#[ ]*include/ s|"canonical_local\.h|"canonical/local.h|
|
||||
/^#[ ]*include/ s|"canonical_extra\.h|"canonical/extra.h|
|
||||
/^#[ ]*include/ s|"encodings\.def|"encodings/encodings.def|
|
||||
/^#[ ]*include/ s|"encodings_aix\.def|"encodings/aix.def|
|
||||
/^#[ ]*include/ s|"encodings_dos\.def|"encodings/dos.def|
|
||||
/^#[ ]*include/ s|"encodings_osf1\.def|"encodings/osf1.def|
|
||||
/^#[ ]*include/ s|"encodings_local\.def|"encodings/local.def|
|
||||
/^#[ ]*include/ s|"encodings_extra\.def|"encodings/extra.def|
|
||||
/^#[ ]*include/ s|"aliases\.h|"aliases/aliases.h|
|
||||
/^#[ ]*include/ s|"aliases2\.h|"aliases/aliases2.h|
|
||||
|
||||
# Fixes for lib/iconv.c and lib/aliases/aliases2.h
|
||||
# All encodings files recide in encdings dir now.
|
||||
/^#[ ]*include/ s|"aliases_aix\.h|"aliases/aix.h|
|
||||
/^#[ ]*include/ s|"aliases_dos\.h|"aliases/dos.h|
|
||||
/^#[ ]*include/ s|"aliases_osf1\.h|"aliases/osf1.h|
|
||||
/^#[ ]*include/ s|"aliases_local\.h|"aliases/local.h|
|
||||
/^#[ ]*include/ s|"aliases_extra\.h|"aliases/extra.h|
|
||||
|
||||
# Fixes for lib/converters.h, cns11643??.h and iso?????.h files.
|
||||
# All cns, iso, georgian and mac files recide in their respective dirs now.
|
||||
/^#[ ]*include/ s|"cns|&/|
|
||||
/^#[ ]*include/ s|"iso|&/|
|
||||
/^#[ ]*include/ s|"georgian_|"georgian/|
|
||||
/^#[ ]*include/ s|"mac_|"mac/|
|
11
src/libiconv/libiconv/djgpp/stateful-check.sed
Normal file
11
src/libiconv/libiconv/djgpp/stateful-check.sed
Normal file
@ -0,0 +1,11 @@
|
||||
# Sed script for tests/stateful-check editing.
|
||||
|
||||
/set -e/ a\
|
||||
# For systems with severe filename restrictions allow for\
|
||||
# an alternate filename.\
|
||||
UNAME=${UNAME-`uname 2>/dev/null`}\
|
||||
case X$UNAME in\
|
||||
*-DOS) filename=`echo "$charset" | sed "s|ISO-|ISO/|;s|2022-|2022|"` ;;\
|
||||
*) filename="$charset" ;;\
|
||||
esac
|
||||
s/\$charset"-snippet/$filename"-snippet/g
|
20
src/libiconv/libiconv/djgpp/stateless-check.sed
Normal file
20
src/libiconv/libiconv/djgpp/stateless-check.sed
Normal file
@ -0,0 +1,20 @@
|
||||
# Sed script for tests/stateless-check editing.
|
||||
/set -e/ a\
|
||||
# For systems with severe filename restrictions\
|
||||
# allow for an alternate filename.\
|
||||
UNAME=${UNAME-`uname 2>/dev/null`}\
|
||||
case X$UNAME in\
|
||||
*-DOS) filename=`echo "$charset" | sed "s|ISO-|ISO/|; \\\
|
||||
s|Mac|Mac/|; \\\
|
||||
s|Georgian-|Georgian/|"`\
|
||||
tmp_filename=`echo "$filename" | sed "s|/|/tmp-|"`\
|
||||
tmp_orig_filename=`echo "$filename" | sed "s|/|/tmp-orig-|"` ;;\
|
||||
*) filename="$charset"\
|
||||
tmp_filename="$charset"\
|
||||
tmp_orig_filename="$charset" ;;\
|
||||
esac
|
||||
s|/"\$charset"|/"$filename"|g
|
||||
s|tmp-"\$charset"|"${srcdir}"/"$tmp_filename"|g
|
||||
s|tmp-orig"\$charset"|"${srcdir}"/"$tmp_orig_filename"|g
|
||||
s|\.INVERSE\.|.INVERSE-|g
|
||||
s|\.IRREVERSIBLE\.|.IRREVERSIBLE-|g
|
11
src/libiconv/libiconv/djgpp/translit-check.sed
Normal file
11
src/libiconv/libiconv/djgpp/translit-check.sed
Normal file
@ -0,0 +1,11 @@
|
||||
# Sed script for tests/translit-check editing.
|
||||
|
||||
/\.\./ i\
|
||||
# For systems with severe filename restrictions allow for\
|
||||
# an alternate filename.\
|
||||
UNAME=${UNAME-`uname 2>/dev/null`}\
|
||||
case X$UNAME in\
|
||||
*-DOS) file=`echo "$file" | sed "s|TranslitFail1|_Translit/Fail1|; \\\
|
||||
s|Translit1|_Translit/1|"`;;\
|
||||
*) file="$file" ;;\
|
||||
esac
|
64
src/libiconv/libiconv/extras/ChangeLog
Normal file
64
src/libiconv/libiconv/extras/ChangeLog
Normal file
@ -0,0 +1,64 @@
|
||||
2003-05-10 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* iconv_string.c (iconv_string): Don't return -1 just because the
|
||||
string is longer than 4 KB.
|
||||
|
||||
2002-02-13 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* iconv.m4: Remove file. Obsoleted by m4/iconv.m4.
|
||||
|
||||
2000-06-16 Bruno Haible <haible@clisp.cons.org>
|
||||
|
||||
* iconv.m4: Change prefix to AM.
|
||||
|
||||
2001-05-23 Bruno Haible <haible@clisp.cons.org>
|
||||
|
||||
* iconv.m4 (jm_ICONV): Accept --with-libiconv-prefix option.
|
||||
|
||||
2001-03-23 Bruno Haible <haible@clisp.cons.org>
|
||||
|
||||
* iconv.m4 (jm_ICONV): Tweak printing of prototype.
|
||||
|
||||
2001-03-20 Bruno Haible <haible@clisp.cons.org>
|
||||
|
||||
* iconv.m4 (jm_ICONV): Recommend GNU libiconv.
|
||||
|
||||
2001-01-03 Bruno Haible <haible@clisp.cons.org>
|
||||
|
||||
* iconv.m4 (jm_ICONV): Also check whether the iconv declaration
|
||||
has const.
|
||||
|
||||
2000-02-02 Bruno Haible <haible@clisp.cons.org>
|
||||
|
||||
* iconv.m4: New file.
|
||||
|
||||
2001-01-29 Bruno Haible <haible@clisp.cons.org>
|
||||
|
||||
* locale_charset.c: Remove file. Obsoleted by libcharset.
|
||||
|
||||
2000-10-22 Bruno Haible <haible@clisp.cons.org>
|
||||
|
||||
* locale_charset.c (get_locale_charset): Accept french and spanish
|
||||
names in both ISO-8859-1 and UTF-8.
|
||||
|
||||
2000-08-24 Jim Blackson <blackson@ontrack-japan.com>
|
||||
|
||||
* iconv_string.c (iconv_string): Fix return value for autodetect.
|
||||
|
||||
2000-01-24 Bruno Haible <haible@clisp.cons.org>
|
||||
|
||||
* iconv_string.c (iconv_string): Stop recognizing JOHAB.
|
||||
Fix typo for EUC-JP.
|
||||
|
||||
1999-12-18 Bruno Haible <haible@clisp.cons.org>
|
||||
|
||||
* locale_charset.c (get_locale_charset): Recognize more language codes:
|
||||
"af" (afrikaans), "ca" (catalan), "eu" (basque), "fo" (faeroese),
|
||||
"ga" (irish), "gd" (scottish), "gl" (galician), "sq" (albanian),
|
||||
"eo" (esperanto), "mt" (maltese), "be" (byelorussian),
|
||||
"et" (estonian), "lt" (lithuanian), "lv" (latvian), "uk" (ukrainian).
|
||||
Recognize more aliases: "english", "slovenian", "macedonian",
|
||||
"serbian", "arabic".
|
||||
Change default: KOI8-R for "ru" (russian) instead of ISO-8859-5,
|
||||
ISO-8859-5 for "sr" instead of ISO-8859-2.
|
||||
|
154
src/libiconv/libiconv/extras/iconv_string.c
Normal file
154
src/libiconv/libiconv/extras/iconv_string.c
Normal file
@ -0,0 +1,154 @@
|
||||
/* Copyright (C) 1999-2001, 2003 Bruno Haible.
|
||||
This file is not part of the GNU LIBICONV Library.
|
||||
This file is put into the public domain. */
|
||||
|
||||
#include "iconv_string.h"
|
||||
#include <iconv.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define tmpbufsize 4096
|
||||
|
||||
int iconv_string (const char* tocode, const char* fromcode,
|
||||
const char* start, const char* end,
|
||||
char** resultp, size_t* lengthp)
|
||||
{
|
||||
iconv_t cd = iconv_open(tocode,fromcode);
|
||||
size_t length;
|
||||
char* result;
|
||||
if (cd == (iconv_t)(-1)) {
|
||||
if (errno != EINVAL)
|
||||
return -1;
|
||||
/* Unsupported fromcode or tocode. Check whether the caller requested
|
||||
autodetection. */
|
||||
if (!strcmp(fromcode,"autodetect_utf8")) {
|
||||
int ret;
|
||||
/* Try UTF-8 first. There are very few ISO-8859-1 inputs that would
|
||||
be valid UTF-8, but many UTF-8 inputs are valid ISO-8859-1. */
|
||||
ret = iconv_string(tocode,"UTF-8",start,end,resultp,lengthp);
|
||||
if (!(ret < 0 && errno == EILSEQ))
|
||||
return ret;
|
||||
ret = iconv_string(tocode,"ISO-8859-1",start,end,resultp,lengthp);
|
||||
return ret;
|
||||
}
|
||||
if (!strcmp(fromcode,"autodetect_jp")) {
|
||||
int ret;
|
||||
/* Try 7-bit encoding first. If the input contains bytes >= 0x80,
|
||||
it will fail. */
|
||||
ret = iconv_string(tocode,"ISO-2022-JP-2",start,end,resultp,lengthp);
|
||||
if (!(ret < 0 && errno == EILSEQ))
|
||||
return ret;
|
||||
/* Try EUC-JP next. Short SHIFT_JIS inputs may come out wrong. This
|
||||
is unavoidable. People will condemn SHIFT_JIS.
|
||||
If we tried SHIFT_JIS first, then some short EUC-JP inputs would
|
||||
come out wrong, and people would condemn EUC-JP and Unix, which
|
||||
would not be good. */
|
||||
ret = iconv_string(tocode,"EUC-JP",start,end,resultp,lengthp);
|
||||
if (!(ret < 0 && errno == EILSEQ))
|
||||
return ret;
|
||||
/* Finally try SHIFT_JIS. */
|
||||
ret = iconv_string(tocode,"SHIFT_JIS",start,end,resultp,lengthp);
|
||||
return ret;
|
||||
}
|
||||
if (!strcmp(fromcode,"autodetect_kr")) {
|
||||
int ret;
|
||||
/* Try 7-bit encoding first. If the input contains bytes >= 0x80,
|
||||
it will fail. */
|
||||
ret = iconv_string(tocode,"ISO-2022-KR",start,end,resultp,lengthp);
|
||||
if (!(ret < 0 && errno == EILSEQ))
|
||||
return ret;
|
||||
/* Finally try EUC-KR. */
|
||||
ret = iconv_string(tocode,"EUC-KR",start,end,resultp,lengthp);
|
||||
return ret;
|
||||
}
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
}
|
||||
/* Determine the length we need. */
|
||||
{
|
||||
size_t count = 0;
|
||||
char tmpbuf[tmpbufsize];
|
||||
const char* inptr = start;
|
||||
size_t insize = end-start;
|
||||
while (insize > 0) {
|
||||
char* outptr = tmpbuf;
|
||||
size_t outsize = tmpbufsize;
|
||||
size_t res = iconv(cd,&inptr,&insize,&outptr,&outsize);
|
||||
if (res == (size_t)(-1) && errno != E2BIG) {
|
||||
if (errno == EINVAL)
|
||||
break;
|
||||
else {
|
||||
int saved_errno = errno;
|
||||
iconv_close(cd);
|
||||
errno = saved_errno;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
count += outptr-tmpbuf;
|
||||
}
|
||||
{
|
||||
char* outptr = tmpbuf;
|
||||
size_t outsize = tmpbufsize;
|
||||
size_t res = iconv(cd,NULL,NULL,&outptr,&outsize);
|
||||
if (res == (size_t)(-1)) {
|
||||
int saved_errno = errno;
|
||||
iconv_close(cd);
|
||||
errno = saved_errno;
|
||||
return -1;
|
||||
}
|
||||
count += outptr-tmpbuf;
|
||||
}
|
||||
length = count;
|
||||
}
|
||||
if (lengthp != NULL)
|
||||
*lengthp = length;
|
||||
if (resultp == NULL) {
|
||||
iconv_close(cd);
|
||||
return 0;
|
||||
}
|
||||
result = (*resultp == NULL ? malloc(length) : realloc(*resultp,length));
|
||||
*resultp = result;
|
||||
if (length == 0) {
|
||||
iconv_close(cd);
|
||||
return 0;
|
||||
}
|
||||
if (result == NULL) {
|
||||
iconv_close(cd);
|
||||
errno = ENOMEM;
|
||||
return -1;
|
||||
}
|
||||
iconv(cd,NULL,NULL,NULL,NULL); /* return to the initial state */
|
||||
/* Do the conversion for real. */
|
||||
{
|
||||
const char* inptr = start;
|
||||
size_t insize = end-start;
|
||||
char* outptr = result;
|
||||
size_t outsize = length;
|
||||
while (insize > 0) {
|
||||
size_t res = iconv(cd,&inptr,&insize,&outptr,&outsize);
|
||||
if (res == (size_t)(-1)) {
|
||||
if (errno == EINVAL)
|
||||
break;
|
||||
else {
|
||||
int saved_errno = errno;
|
||||
iconv_close(cd);
|
||||
errno = saved_errno;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
size_t res = iconv(cd,NULL,NULL,&outptr,&outsize);
|
||||
if (res == (size_t)(-1)) {
|
||||
int saved_errno = errno;
|
||||
iconv_close(cd);
|
||||
errno = saved_errno;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
if (outsize != 0) abort();
|
||||
}
|
||||
iconv_close(cd);
|
||||
return 0;
|
||||
}
|
47
src/libiconv/libiconv/extras/iconv_string.h
Normal file
47
src/libiconv/libiconv/extras/iconv_string.h
Normal file
@ -0,0 +1,47 @@
|
||||
/* Copyright (C) 1999-2001 Bruno Haible.
|
||||
This file is not part of the GNU LIBICONV Library.
|
||||
This file is put into the public domain. */
|
||||
|
||||
/*
|
||||
* This C function converts an entire string from one encoding to another,
|
||||
* using iconv. Easier to use than iconv() itself, and supports autodetect
|
||||
* encodings on input.
|
||||
*
|
||||
* int iconv_string (const char* tocode, const char* fromcode,
|
||||
* const char* start, const char* end,
|
||||
* char** resultp, size_t* lengthp)
|
||||
*
|
||||
* Converts a memory region given in encoding FROMCODE to a new memory
|
||||
* region in encoding TOCODE. FROMCODE and TOCODE are as for iconv_open(3),
|
||||
* except that FROMCODE may be one of the values
|
||||
* "autodetect_utf8" supports ISO-8859-1 and UTF-8
|
||||
* "autodetect_jp" supports EUC-JP, ISO-2022-JP-2 and SHIFT_JIS
|
||||
* "autodetect_kr" supports EUC-KR and ISO-2022-KR
|
||||
* The input is in the memory region between start (inclusive) and end
|
||||
* (exclusive). If resultp is not NULL, the output string is stored in
|
||||
* *resultp; malloc/realloc is used to allocate the result.
|
||||
*
|
||||
* This function does not treat zero characters specially.
|
||||
*
|
||||
* Return value: 0 if successful, otherwise -1 and errno set. Particular
|
||||
* errno values: EILSEQ and ENOMEM.
|
||||
*
|
||||
* Example:
|
||||
* const char* s = ...;
|
||||
* char* result = NULL;
|
||||
* if (iconv_string("UCS-4-INTERNAL", "autodetect_utf8",
|
||||
* s, s+strlen(s)+1, &result, NULL) < 0)
|
||||
* perror("iconv_string");
|
||||
*
|
||||
*/
|
||||
#include <stddef.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern int iconv_string (const char* tocode, const char* fromcode, const char* start, const char* end, char** resultp, size_t* lengthp);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
6
src/libiconv/libiconv/include/export.h
Normal file
6
src/libiconv/libiconv/include/export.h
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
#if @HAVE_VISIBILITY@ && BUILDING_LIBICONV
|
||||
#define __LIBICONV_DLL_EXPORTED __attribute__((__visibility__("default")))
|
||||
#else
|
||||
#define __LIBICONV_DLL_EXPORTED
|
||||
#endif
|
@ -27,12 +27,12 @@
|
||||
|
||||
#define _LIBICONV_VERSION 0x010B /* version number: (major<<8) + minor */
|
||||
|
||||
#if 1 && BUILDING_LIBICONV
|
||||
#define LIBICONV_DLL_EXPORTED __attribute__((__visibility__("default")))
|
||||
#if BUILDING_LIBICONV
|
||||
#define __LIBICONV_DLL_EXPORTED __attribute__((__visibility__("default")))
|
||||
#else
|
||||
#define LIBICONV_DLL_EXPORTED
|
||||
#define __LIBICONV_DLL_EXPORTED
|
||||
#endif
|
||||
extern LIBICONV_DLL_EXPORTED int _libiconv_version; /* Likewise */
|
||||
extern __LIBICONV_DLL_EXPORTED int _libiconv_version; /* Likewise */
|
||||
|
||||
/* We would like to #include any system header file which could define
|
||||
iconv_t, 1. in order to eliminate the risk that the user gets compilation
|
||||
@ -65,17 +65,17 @@ extern "C" {
|
||||
|
||||
/* Allocates descriptor for code conversion from encoding `fromcode' to
|
||||
encoding `tocode'. */
|
||||
extern LIBICONV_DLL_EXPORTED iconv_t iconv_open (const char* tocode, const char* fromcode);
|
||||
extern __LIBICONV_DLL_EXPORTED iconv_t iconv_open (const char* __tocode, const char* __fromcode);
|
||||
|
||||
/* Converts, using conversion descriptor `cd', at most `*inbytesleft' bytes
|
||||
starting at `*inbuf', writing at most `*outbytesleft' bytes starting at
|
||||
`*outbuf'.
|
||||
Decrements `*inbytesleft' and increments `*inbuf' by the same amount.
|
||||
Decrements `*outbytesleft' and increments `*outbuf' by the same amount. */
|
||||
extern LIBICONV_DLL_EXPORTED size_t iconv (iconv_t cd, char* * __restrict inbuf, size_t * __restrict inbytesleft, char* * __restrict outbuf, size_t * __restrict outbytesleft);
|
||||
extern __LIBICONV_DLL_EXPORTED size_t iconv (iconv_t __cd, char* * __restrict __inbuf, size_t * __restrict __inbytesleft, char* * __restrict __outbuf, size_t * __restrict __outbytesleft);
|
||||
|
||||
/* Frees resources allocated for conversion descriptor `cd'. */
|
||||
extern LIBICONV_DLL_EXPORTED int iconv_close (iconv_t cd);
|
||||
extern __LIBICONV_DLL_EXPORTED int iconv_close (iconv_t _cd);
|
||||
|
||||
#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
|
||||
|
||||
@ -84,7 +84,7 @@ extern LIBICONV_DLL_EXPORTED int iconv_close (iconv_t cd);
|
||||
#include <sys/_types/_wchar_t.h>
|
||||
|
||||
/* Control of attributes. */
|
||||
extern LIBICONV_DLL_EXPORTED int iconvctl (iconv_t cd, int request, void* argument);
|
||||
extern __LIBICONV_DLL_EXPORTED int iconvctl (iconv_t cd, int request, void* argument);
|
||||
|
||||
/* Hook performed after every successful conversion of a Unicode character. */
|
||||
typedef void (*iconv_unicode_char_hook) (unsigned int uc, void* data);
|
||||
@ -163,14 +163,14 @@ struct iconv_fallbacks {
|
||||
#define ICONV_SET_FALLBACKS 6 /* const struct iconv_fallbacks *argument */
|
||||
|
||||
/* Listing of locale independent encodings. */
|
||||
extern LIBICONV_DLL_EXPORTED void iconvlist (int (*do_one) (unsigned int namescount,
|
||||
extern __LIBICONV_DLL_EXPORTED void iconvlist (int (*do_one) (unsigned int namescount,
|
||||
const char * const * names,
|
||||
void* data),
|
||||
void* data);
|
||||
|
||||
/* Canonicalize an encoding name.
|
||||
The result is either a canonical encoding name, or name itself. */
|
||||
extern LIBICONV_DLL_EXPORTED const char * iconv_canonicalize (const char * name);
|
||||
extern __LIBICONV_DLL_EXPORTED const char * iconv_canonicalize (const char * name);
|
||||
|
||||
/* Support for relocatable packages. */
|
||||
|
||||
@ -179,7 +179,7 @@ extern LIBICONV_DLL_EXPORTED const char * iconv_canonicalize (const char * name)
|
||||
by the corresponding pathname with the current prefix instead. Both
|
||||
prefixes should be directory names without trailing slash (i.e. use ""
|
||||
instead of "/"). */
|
||||
extern LIBICONV_DLL_EXPORTED void libiconv_set_relocation_prefix (const char *orig_prefix,
|
||||
extern __LIBICONV_DLL_EXPORTED void libiconv_set_relocation_prefix (const char *orig_prefix,
|
||||
const char *curr_prefix);
|
||||
|
||||
#endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */
|
201
src/libiconv/libiconv/include/iconv.h.build.in
Normal file
201
src/libiconv/libiconv/include/iconv.h.build.in
Normal file
@ -0,0 +1,201 @@
|
||||
/* Copyright (C) 1999-2003, 2005-2006 Free Software Foundation, Inc.
|
||||
This file is part of the GNU LIBICONV Library.
|
||||
|
||||
The GNU LIBICONV 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.
|
||||
|
||||
The GNU LIBICONV 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 the GNU LIBICONV Library; see the file COPYING.LIB.
|
||||
If not, write to the Free Software Foundation, Inc., 51 Franklin Street,
|
||||
Fifth Floor, Boston, MA 02110-1301, USA. */
|
||||
|
||||
/* When installed, this file is called "iconv.h". */
|
||||
|
||||
#ifndef _LIBICONV_H
|
||||
#define _LIBICONV_H
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <_types.h>
|
||||
#ifndef _SIZE_T
|
||||
#define _SIZE_T
|
||||
typedef __darwin_size_t size_t;
|
||||
#endif
|
||||
|
||||
#define _LIBICONV_VERSION 0x010B /* version number: (major<<8) + minor */
|
||||
|
||||
#if @HAVE_VISIBILITY@ && BUILDING_LIBICONV
|
||||
#define LIBICONV_DLL_EXPORTED __attribute__((__visibility__("default")))
|
||||
#else
|
||||
#define LIBICONV_DLL_EXPORTED
|
||||
#endif
|
||||
extern LIBICONV_DLL_EXPORTED @DLL_VARIABLE@ int _libiconv_version; /* Likewise */
|
||||
|
||||
/* We would like to #include any system header file which could define
|
||||
iconv_t, 1. in order to eliminate the risk that the user gets compilation
|
||||
errors because some other system header file includes /usr/include/iconv.h
|
||||
which defines iconv_t or declares iconv after this file, 2. when compiling
|
||||
for LIBICONV_PLUG, we need the proper iconv_t type in order to produce
|
||||
binary compatible code.
|
||||
But gcc's #include_next is not portable. Thus, once libiconv's iconv.h
|
||||
has been installed in /usr/local/include, there is no way any more to
|
||||
include the original /usr/include/iconv.h. We simply have to get away
|
||||
without it.
|
||||
Ad 1. The risk that a system header file does
|
||||
#include "iconv.h" or #include_next "iconv.h"
|
||||
is small. They all do #include <iconv.h>.
|
||||
Ad 2. The iconv_t type is a pointer type in all cases I have seen. (It
|
||||
has to be a scalar type because (iconv_t)(-1) is a possible return value
|
||||
from iconv_open().) */
|
||||
|
||||
/* Define iconv_t ourselves. */
|
||||
#ifndef _ICONV_T
|
||||
#define _ICONV_T
|
||||
typedef void* iconv_t;
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/* Allocates descriptor for code conversion from encoding `fromcode' to
|
||||
encoding `tocode'. */
|
||||
extern LIBICONV_DLL_EXPORTED iconv_t iconv_open (const char* tocode, const char* fromcode);
|
||||
|
||||
/* Converts, using conversion descriptor `cd', at most `*inbytesleft' bytes
|
||||
starting at `*inbuf', writing at most `*outbytesleft' bytes starting at
|
||||
`*outbuf'.
|
||||
Decrements `*inbytesleft' and increments `*inbuf' by the same amount.
|
||||
Decrements `*outbytesleft' and increments `*outbuf' by the same amount. */
|
||||
extern LIBICONV_DLL_EXPORTED size_t iconv (iconv_t cd, char* * __restrict inbuf, size_t * __restrict inbytesleft, char* * __restrict outbuf, size_t * __restrict outbytesleft);
|
||||
|
||||
/* Frees resources allocated for conversion descriptor `cd'. */
|
||||
extern LIBICONV_DLL_EXPORTED int iconv_close (iconv_t cd);
|
||||
|
||||
#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
|
||||
|
||||
/* Nonstandard extensions. */
|
||||
|
||||
#ifndef __cplusplus
|
||||
#ifndef _WCHAR_T
|
||||
#define _WCHAR_T
|
||||
typedef __darwin_wchar_t wchar_t;
|
||||
#endif /* _WCHAR_T */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
/* Control of attributes. */
|
||||
extern LIBICONV_DLL_EXPORTED int iconvctl (iconv_t cd, int request, void* argument);
|
||||
|
||||
/* Hook performed after every successful conversion of a Unicode character. */
|
||||
typedef void (*iconv_unicode_char_hook) (unsigned int uc, void* data);
|
||||
/* Hook performed after every successful conversion of a wide character. */
|
||||
typedef void (*iconv_wide_char_hook) (wchar_t wc, void* data);
|
||||
/* Set of hooks. */
|
||||
struct iconv_hooks {
|
||||
iconv_unicode_char_hook uc_hook;
|
||||
iconv_wide_char_hook wc_hook;
|
||||
void* data;
|
||||
};
|
||||
|
||||
/* Fallback function. Invoked when a small number of bytes could not be
|
||||
converted to a Unicode character. This function should process all
|
||||
bytes from inbuf and may produce replacement Unicode characters by calling
|
||||
the write_replacement callback repeatedly. */
|
||||
typedef void (*iconv_unicode_mb_to_uc_fallback)
|
||||
(const char* inbuf, size_t inbufsize,
|
||||
void (*write_replacement) (const unsigned int *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
/* Fallback function. Invoked when a Unicode character could not be converted
|
||||
to the target encoding. This function should process the character and
|
||||
may produce replacement bytes (in the target encoding) by calling the
|
||||
write_replacement callback repeatedly. */
|
||||
typedef void (*iconv_unicode_uc_to_mb_fallback)
|
||||
(unsigned int code,
|
||||
void (*write_replacement) (const char *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
#if @HAVE_WCHAR_T@
|
||||
/* Fallback function. Invoked when a number of bytes could not be converted to
|
||||
a wide character. This function should process all bytes from inbuf and may
|
||||
produce replacement wide characters by calling the write_replacement
|
||||
callback repeatedly. */
|
||||
typedef void (*iconv_wchar_mb_to_wc_fallback)
|
||||
(const char* inbuf, size_t inbufsize,
|
||||
void (*write_replacement) (const wchar_t *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
/* Fallback function. Invoked when a wide character could not be converted to
|
||||
the target encoding. This function should process the character and may
|
||||
produce replacement bytes (in the target encoding) by calling the
|
||||
write_replacement callback repeatedly. */
|
||||
typedef void (*iconv_wchar_wc_to_mb_fallback)
|
||||
(wchar_t code,
|
||||
void (*write_replacement) (const char *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
#else
|
||||
/* If the wchar_t type does not exist, these two fallback functions are never
|
||||
invoked. Their argument list therefore does not matter. */
|
||||
typedef void (*iconv_wchar_mb_to_wc_fallback) ();
|
||||
typedef void (*iconv_wchar_wc_to_mb_fallback) ();
|
||||
#endif
|
||||
/* Set of fallbacks. */
|
||||
struct iconv_fallbacks {
|
||||
iconv_unicode_mb_to_uc_fallback mb_to_uc_fallback;
|
||||
iconv_unicode_uc_to_mb_fallback uc_to_mb_fallback;
|
||||
iconv_wchar_mb_to_wc_fallback mb_to_wc_fallback;
|
||||
iconv_wchar_wc_to_mb_fallback wc_to_mb_fallback;
|
||||
void* data;
|
||||
};
|
||||
|
||||
/* Requests for iconvctl. */
|
||||
#define ICONV_TRIVIALP 0 /* int *argument */
|
||||
#define ICONV_GET_TRANSLITERATE 1 /* int *argument */
|
||||
#define ICONV_SET_TRANSLITERATE 2 /* const int *argument */
|
||||
#define ICONV_GET_DISCARD_ILSEQ 3 /* int *argument */
|
||||
#define ICONV_SET_DISCARD_ILSEQ 4 /* const int *argument */
|
||||
#define ICONV_SET_HOOKS 5 /* const struct iconv_hooks *argument */
|
||||
#define ICONV_SET_FALLBACKS 6 /* const struct iconv_fallbacks *argument */
|
||||
|
||||
/* Listing of locale independent encodings. */
|
||||
extern LIBICONV_DLL_EXPORTED void iconvlist (int (*do_one) (unsigned int namescount,
|
||||
const char * const * names,
|
||||
void* data),
|
||||
void* data);
|
||||
|
||||
/* Canonicalize an encoding name.
|
||||
The result is either a canonical encoding name, or name itself. */
|
||||
extern LIBICONV_DLL_EXPORTED const char * iconv_canonicalize (const char * name);
|
||||
|
||||
/* Support for relocatable packages. */
|
||||
|
||||
/* Sets the original and the current installation prefix of the package.
|
||||
Relocation simply replaces a pathname starting with the original prefix
|
||||
by the corresponding pathname with the current prefix instead. Both
|
||||
prefixes should be directory names without trailing slash (i.e. use ""
|
||||
instead of "/"). */
|
||||
extern LIBICONV_DLL_EXPORTED void libiconv_set_relocation_prefix (const char *orig_prefix,
|
||||
const char *curr_prefix);
|
||||
|
||||
#endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* _LIBICONV_H */
|
197
src/libiconv/libiconv/include/iconv.h.in
Normal file
197
src/libiconv/libiconv/include/iconv.h.in
Normal file
@ -0,0 +1,197 @@
|
||||
/* Copyright (C) 1999-2003, 2005-2006 Free Software Foundation, Inc.
|
||||
This file is part of the GNU LIBICONV Library.
|
||||
|
||||
The GNU LIBICONV 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.
|
||||
|
||||
The GNU LIBICONV 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 the GNU LIBICONV Library; see the file COPYING.LIB.
|
||||
If not, write to the Free Software Foundation, Inc., 51 Franklin Street,
|
||||
Fifth Floor, Boston, MA 02110-1301, USA. */
|
||||
|
||||
/* When installed, this file is called "iconv.h". */
|
||||
|
||||
#ifndef _LIBICONV_H
|
||||
#define _LIBICONV_H
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <_types.h>
|
||||
#ifndef _SIZE_T
|
||||
#define _SIZE_T
|
||||
typedef __darwin_size_t size_t;
|
||||
#endif
|
||||
|
||||
#define _LIBICONV_VERSION 0x010B /* version number: (major<<8) + minor */
|
||||
extern @DLL_VARIABLE@ int _libiconv_version; /* Likewise */
|
||||
|
||||
/* We would like to #include any system header file which could define
|
||||
iconv_t, 1. in order to eliminate the risk that the user gets compilation
|
||||
errors because some other system header file includes /usr/include/iconv.h
|
||||
which defines iconv_t or declares iconv after this file, 2. when compiling
|
||||
for LIBICONV_PLUG, we need the proper iconv_t type in order to produce
|
||||
binary compatible code.
|
||||
But gcc's #include_next is not portable. Thus, once libiconv's iconv.h
|
||||
has been installed in /usr/local/include, there is no way any more to
|
||||
include the original /usr/include/iconv.h. We simply have to get away
|
||||
without it.
|
||||
Ad 1. The risk that a system header file does
|
||||
#include "iconv.h" or #include_next "iconv.h"
|
||||
is small. They all do #include <iconv.h>.
|
||||
Ad 2. The iconv_t type is a pointer type in all cases I have seen. (It
|
||||
has to be a scalar type because (iconv_t)(-1) is a possible return value
|
||||
from iconv_open().) */
|
||||
|
||||
/* Define iconv_t ourselves. */
|
||||
#ifndef _ICONV_T
|
||||
#define _ICONV_T
|
||||
typedef void* iconv_t;
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/* Allocates descriptor for code conversion from encoding `fromcode' to
|
||||
encoding `tocode'. */
|
||||
iconv_t iconv_open (const char* /*tocode*/, const char* /*fromcode*/);
|
||||
|
||||
/* Converts, using conversion descriptor `cd', at most `*inbytesleft' bytes
|
||||
starting at `*inbuf', writing at most `*outbytesleft' bytes starting at
|
||||
`*outbuf'.
|
||||
Decrements `*inbytesleft' and increments `*inbuf' by the same amount.
|
||||
Decrements `*outbytesleft' and increments `*outbuf' by the same amount. */
|
||||
size_t iconv (iconv_t /*cd*/,
|
||||
char ** __restrict /*inbuf*/, size_t * __restrict /*inbytesleft*/,
|
||||
char ** __restrict /*outbuf*/, size_t * __restrict /*outbytesleft*/);
|
||||
|
||||
/* Frees resources allocated for conversion descriptor `cd'. */
|
||||
int iconv_close (iconv_t /*cd*/);
|
||||
|
||||
#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
|
||||
|
||||
/* Nonstandard extensions. */
|
||||
|
||||
#ifndef __cplusplus
|
||||
#ifndef _WCHAR_T
|
||||
#define _WCHAR_T
|
||||
typedef __darwin_wchar_t wchar_t;
|
||||
#endif /* _WCHAR_T */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
/* Control of attributes. */
|
||||
int iconvctl (iconv_t /*cd*/, int /*request*/, void* /*argument*/);
|
||||
|
||||
/* Hook performed after every successful conversion of a Unicode character. */
|
||||
typedef void (*iconv_unicode_char_hook) (unsigned int uc, void* data);
|
||||
/* Hook performed after every successful conversion of a wide character. */
|
||||
typedef void (*iconv_wide_char_hook) (wchar_t wc, void* data);
|
||||
/* Set of hooks. */
|
||||
struct iconv_hooks {
|
||||
iconv_unicode_char_hook uc_hook;
|
||||
iconv_wide_char_hook wc_hook;
|
||||
void* data;
|
||||
};
|
||||
|
||||
/* Fallback function. Invoked when a small number of bytes could not be
|
||||
converted to a Unicode character. This function should process all
|
||||
bytes from inbuf and may produce replacement Unicode characters by calling
|
||||
the write_replacement callback repeatedly. */
|
||||
typedef void (*iconv_unicode_mb_to_uc_fallback)
|
||||
(const char* inbuf, size_t inbufsize,
|
||||
void (*write_replacement) (const unsigned int *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
/* Fallback function. Invoked when a Unicode character could not be converted
|
||||
to the target encoding. This function should process the character and
|
||||
may produce replacement bytes (in the target encoding) by calling the
|
||||
write_replacement callback repeatedly. */
|
||||
typedef void (*iconv_unicode_uc_to_mb_fallback)
|
||||
(unsigned int code,
|
||||
void (*write_replacement) (const char *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
#if @HAVE_WCHAR_T@
|
||||
/* Fallback function. Invoked when a number of bytes could not be converted to
|
||||
a wide character. This function should process all bytes from inbuf and may
|
||||
produce replacement wide characters by calling the write_replacement
|
||||
callback repeatedly. */
|
||||
typedef void (*iconv_wchar_mb_to_wc_fallback)
|
||||
(const char* inbuf, size_t inbufsize,
|
||||
void (*write_replacement) (const wchar_t *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
/* Fallback function. Invoked when a wide character could not be converted to
|
||||
the target encoding. This function should process the character and may
|
||||
produce replacement bytes (in the target encoding) by calling the
|
||||
write_replacement callback repeatedly. */
|
||||
typedef void (*iconv_wchar_wc_to_mb_fallback)
|
||||
(wchar_t code,
|
||||
void (*write_replacement) (const char *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
#else
|
||||
/* If the wchar_t type does not exist, these two fallback functions are never
|
||||
invoked. Their argument list therefore does not matter. */
|
||||
typedef void (*iconv_wchar_mb_to_wc_fallback) ();
|
||||
typedef void (*iconv_wchar_wc_to_mb_fallback) ();
|
||||
#endif
|
||||
/* Set of fallbacks. */
|
||||
struct iconv_fallbacks {
|
||||
iconv_unicode_mb_to_uc_fallback mb_to_uc_fallback;
|
||||
iconv_unicode_uc_to_mb_fallback uc_to_mb_fallback;
|
||||
iconv_wchar_mb_to_wc_fallback mb_to_wc_fallback;
|
||||
iconv_wchar_wc_to_mb_fallback wc_to_mb_fallback;
|
||||
void* data;
|
||||
};
|
||||
|
||||
/* Requests for iconvctl. */
|
||||
#define ICONV_TRIVIALP 0 /* int *argument */
|
||||
#define ICONV_GET_TRANSLITERATE 1 /* int *argument */
|
||||
#define ICONV_SET_TRANSLITERATE 2 /* const int *argument */
|
||||
#define ICONV_GET_DISCARD_ILSEQ 3 /* int *argument */
|
||||
#define ICONV_SET_DISCARD_ILSEQ 4 /* const int *argument */
|
||||
#define ICONV_SET_HOOKS 5 /* const struct iconv_hooks *argument */
|
||||
#define ICONV_SET_FALLBACKS 6 /* const struct iconv_fallbacks *argument */
|
||||
|
||||
/* Listing of locale independent encodings. */
|
||||
void iconvlist (int (* /*do_one*/) (unsigned int /*namescount*/,
|
||||
const char * const * /*names*/,
|
||||
void* /*data*/),
|
||||
void* /*data*/);
|
||||
|
||||
/* Canonicalize an encoding name.
|
||||
The result is either a canonical encoding name, or name itself. */
|
||||
extern const char * iconv_canonicalize (const char * name);
|
||||
|
||||
/* Support for relocatable packages. */
|
||||
|
||||
/* Sets the original and the current installation prefix of the package.
|
||||
Relocation simply replaces a pathname starting with the original prefix
|
||||
by the corresponding pathname with the current prefix instead. Both
|
||||
prefixes should be directory names without trailing slash (i.e. use ""
|
||||
instead of "/"). */
|
||||
void libiconv_set_relocation_prefix (const char * /*orig_prefix*/,
|
||||
const char * /*curr_prefix*/);
|
||||
|
||||
#endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* _LIBICONV_H */
|
211
src/libiconv/libiconv/include/iconv.h.msvc-shared
Normal file
211
src/libiconv/libiconv/include/iconv.h.msvc-shared
Normal file
@ -0,0 +1,211 @@
|
||||
/* Copyright (C) 1999-2003, 2005-2006 Free Software Foundation, Inc.
|
||||
This file is part of the GNU LIBICONV Library.
|
||||
|
||||
The GNU LIBICONV 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.
|
||||
|
||||
The GNU LIBICONV 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 the GNU LIBICONV Library; see the file COPYING.LIB.
|
||||
If not, write to the Free Software Foundation, Inc., 51 Franklin Street,
|
||||
Fifth Floor, Boston, MA 02110-1301, USA. */
|
||||
|
||||
/* When installed, this file is called "iconv.h". */
|
||||
|
||||
#ifndef _LIBICONV_H
|
||||
#define _LIBICONV_H
|
||||
|
||||
#define _LIBICONV_VERSION 0x010B /* version number: (major<<8) + minor */
|
||||
|
||||
#ifdef BUILDING_LIBICONV
|
||||
#define LIBICONV_DLL_EXPORTED __declspec(dllexport)
|
||||
#else
|
||||
#define LIBICONV_DLL_EXPORTED __declspec(dllimport)
|
||||
#endif
|
||||
extern LIBICONV_DLL_EXPORTED int _libiconv_version; /* Likewise */
|
||||
|
||||
/* We would like to #include any system header file which could define
|
||||
iconv_t, 1. in order to eliminate the risk that the user gets compilation
|
||||
errors because some other system header file includes /usr/include/iconv.h
|
||||
which defines iconv_t or declares iconv after this file, 2. when compiling
|
||||
for LIBICONV_PLUG, we need the proper iconv_t type in order to produce
|
||||
binary compatible code.
|
||||
But gcc's #include_next is not portable. Thus, once libiconv's iconv.h
|
||||
has been installed in /usr/local/include, there is no way any more to
|
||||
include the original /usr/include/iconv.h. We simply have to get away
|
||||
without it.
|
||||
Ad 1. The risk that a system header file does
|
||||
#include "iconv.h" or #include_next "iconv.h"
|
||||
is small. They all do #include <iconv.h>.
|
||||
Ad 2. The iconv_t type is a pointer type in all cases I have seen. (It
|
||||
has to be a scalar type because (iconv_t)(-1) is a possible return value
|
||||
from iconv_open().) */
|
||||
|
||||
/* Define iconv_t ourselves. */
|
||||
#undef iconv_t
|
||||
#define iconv_t libiconv_t
|
||||
typedef void* iconv_t;
|
||||
|
||||
/* Get size_t declaration.
|
||||
Get wchar_t declaration if it exists. */
|
||||
#include <stddef.h>
|
||||
|
||||
/* Get errno declaration and values. */
|
||||
#include <errno.h>
|
||||
/* Some systems, like SunOS 4, don't have EILSEQ. Some systems, like BSD/OS,
|
||||
have EILSEQ in a different header. On these systems, define EILSEQ
|
||||
ourselves. */
|
||||
#ifndef EILSEQ
|
||||
#define EILSEQ @EILSEQ@
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/* Allocates descriptor for code conversion from encoding `fromcode' to
|
||||
encoding `tocode'. */
|
||||
#ifndef LIBICONV_PLUG
|
||||
#define iconv_open libiconv_open
|
||||
#endif
|
||||
extern LIBICONV_DLL_EXPORTED iconv_t iconv_open (const char* tocode, const char* fromcode);
|
||||
|
||||
/* Converts, using conversion descriptor `cd', at most `*inbytesleft' bytes
|
||||
starting at `*inbuf', writing at most `*outbytesleft' bytes starting at
|
||||
`*outbuf'.
|
||||
Decrements `*inbytesleft' and increments `*inbuf' by the same amount.
|
||||
Decrements `*outbytesleft' and increments `*outbuf' by the same amount. */
|
||||
#ifndef LIBICONV_PLUG
|
||||
#define iconv libiconv
|
||||
#endif
|
||||
extern LIBICONV_DLL_EXPORTED size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
|
||||
|
||||
/* Frees resources allocated for conversion descriptor `cd'. */
|
||||
#ifndef LIBICONV_PLUG
|
||||
#define iconv_close libiconv_close
|
||||
#endif
|
||||
extern LIBICONV_DLL_EXPORTED int iconv_close (iconv_t cd);
|
||||
|
||||
|
||||
#ifndef LIBICONV_PLUG
|
||||
|
||||
/* Nonstandard extensions. */
|
||||
|
||||
/* Control of attributes. */
|
||||
#define iconvctl libiconvctl
|
||||
extern LIBICONV_DLL_EXPORTED int iconvctl (iconv_t cd, int request, void* argument);
|
||||
|
||||
/* Hook performed after every successful conversion of a Unicode character. */
|
||||
typedef void (*iconv_unicode_char_hook) (unsigned int uc, void* data);
|
||||
/* Hook performed after every successful conversion of a wide character. */
|
||||
typedef void (*iconv_wide_char_hook) (wchar_t wc, void* data);
|
||||
/* Set of hooks. */
|
||||
struct iconv_hooks {
|
||||
iconv_unicode_char_hook uc_hook;
|
||||
iconv_wide_char_hook wc_hook;
|
||||
void* data;
|
||||
};
|
||||
|
||||
/* Fallback function. Invoked when a small number of bytes could not be
|
||||
converted to a Unicode character. This function should process all
|
||||
bytes from inbuf and may produce replacement Unicode characters by calling
|
||||
the write_replacement callback repeatedly. */
|
||||
typedef void (*iconv_unicode_mb_to_uc_fallback)
|
||||
(const char* inbuf, size_t inbufsize,
|
||||
void (*write_replacement) (const unsigned int *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
/* Fallback function. Invoked when a Unicode character could not be converted
|
||||
to the target encoding. This function should process the character and
|
||||
may produce replacement bytes (in the target encoding) by calling the
|
||||
write_replacement callback repeatedly. */
|
||||
typedef void (*iconv_unicode_uc_to_mb_fallback)
|
||||
(unsigned int code,
|
||||
void (*write_replacement) (const char *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
#if 1
|
||||
/* Fallback function. Invoked when a number of bytes could not be converted to
|
||||
a wide character. This function should process all bytes from inbuf and may
|
||||
produce replacement wide characters by calling the write_replacement
|
||||
callback repeatedly. */
|
||||
typedef void (*iconv_wchar_mb_to_wc_fallback)
|
||||
(const char* inbuf, size_t inbufsize,
|
||||
void (*write_replacement) (const wchar_t *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
/* Fallback function. Invoked when a wide character could not be converted to
|
||||
the target encoding. This function should process the character and may
|
||||
produce replacement bytes (in the target encoding) by calling the
|
||||
write_replacement callback repeatedly. */
|
||||
typedef void (*iconv_wchar_wc_to_mb_fallback)
|
||||
(wchar_t code,
|
||||
void (*write_replacement) (const char *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
#else
|
||||
/* If the wchar_t type does not exist, these two fallback functions are never
|
||||
invoked. Their argument list therefore does not matter. */
|
||||
typedef void (*iconv_wchar_mb_to_wc_fallback) ();
|
||||
typedef void (*iconv_wchar_wc_to_mb_fallback) ();
|
||||
#endif
|
||||
/* Set of fallbacks. */
|
||||
struct iconv_fallbacks {
|
||||
iconv_unicode_mb_to_uc_fallback mb_to_uc_fallback;
|
||||
iconv_unicode_uc_to_mb_fallback uc_to_mb_fallback;
|
||||
iconv_wchar_mb_to_wc_fallback mb_to_wc_fallback;
|
||||
iconv_wchar_wc_to_mb_fallback wc_to_mb_fallback;
|
||||
void* data;
|
||||
};
|
||||
|
||||
/* Requests for iconvctl. */
|
||||
#define ICONV_TRIVIALP 0 /* int *argument */
|
||||
#define ICONV_GET_TRANSLITERATE 1 /* int *argument */
|
||||
#define ICONV_SET_TRANSLITERATE 2 /* const int *argument */
|
||||
#define ICONV_GET_DISCARD_ILSEQ 3 /* int *argument */
|
||||
#define ICONV_SET_DISCARD_ILSEQ 4 /* const int *argument */
|
||||
#define ICONV_SET_HOOKS 5 /* const struct iconv_hooks *argument */
|
||||
#define ICONV_SET_FALLBACKS 6 /* const struct iconv_fallbacks *argument */
|
||||
|
||||
/* Listing of locale independent encodings. */
|
||||
#define iconvlist libiconvlist
|
||||
extern LIBICONV_DLL_EXPORTED void iconvlist (int (*do_one) (unsigned int namescount,
|
||||
const char * const * names,
|
||||
void* data),
|
||||
void* data);
|
||||
|
||||
/* Canonicalize an encoding name.
|
||||
The result is either a canonical encoding name, or name itself. */
|
||||
extern LIBICONV_DLL_EXPORTED const char * iconv_canonicalize (const char * name);
|
||||
|
||||
/* Support for relocatable packages. */
|
||||
|
||||
/* Sets the original and the current installation prefix of the package.
|
||||
Relocation simply replaces a pathname starting with the original prefix
|
||||
by the corresponding pathname with the current prefix instead. Both
|
||||
prefixes should be directory names without trailing slash (i.e. use ""
|
||||
instead of "/"). */
|
||||
extern LIBICONV_DLL_EXPORTED void libiconv_set_relocation_prefix (const char *orig_prefix,
|
||||
const char *curr_prefix);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* _LIBICONV_H */
|
205
src/libiconv/libiconv/include/iconv.h.msvc-static
Normal file
205
src/libiconv/libiconv/include/iconv.h.msvc-static
Normal file
@ -0,0 +1,205 @@
|
||||
/* Copyright (C) 1999-2003, 2005-2006 Free Software Foundation, Inc.
|
||||
This file is part of the GNU LIBICONV Library.
|
||||
|
||||
The GNU LIBICONV 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.
|
||||
|
||||
The GNU LIBICONV 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 the GNU LIBICONV Library; see the file COPYING.LIB.
|
||||
If not, write to the Free Software Foundation, Inc., 51 Franklin Street,
|
||||
Fifth Floor, Boston, MA 02110-1301, USA. */
|
||||
|
||||
/* When installed, this file is called "iconv.h". */
|
||||
|
||||
#ifndef _LIBICONV_H
|
||||
#define _LIBICONV_H
|
||||
|
||||
#define _LIBICONV_VERSION 0x010B /* version number: (major<<8) + minor */
|
||||
extern int _libiconv_version; /* Likewise */
|
||||
|
||||
/* We would like to #include any system header file which could define
|
||||
iconv_t, 1. in order to eliminate the risk that the user gets compilation
|
||||
errors because some other system header file includes /usr/include/iconv.h
|
||||
which defines iconv_t or declares iconv after this file, 2. when compiling
|
||||
for LIBICONV_PLUG, we need the proper iconv_t type in order to produce
|
||||
binary compatible code.
|
||||
But gcc's #include_next is not portable. Thus, once libiconv's iconv.h
|
||||
has been installed in /usr/local/include, there is no way any more to
|
||||
include the original /usr/include/iconv.h. We simply have to get away
|
||||
without it.
|
||||
Ad 1. The risk that a system header file does
|
||||
#include "iconv.h" or #include_next "iconv.h"
|
||||
is small. They all do #include <iconv.h>.
|
||||
Ad 2. The iconv_t type is a pointer type in all cases I have seen. (It
|
||||
has to be a scalar type because (iconv_t)(-1) is a possible return value
|
||||
from iconv_open().) */
|
||||
|
||||
/* Define iconv_t ourselves. */
|
||||
#undef iconv_t
|
||||
#define iconv_t libiconv_t
|
||||
typedef void* iconv_t;
|
||||
|
||||
/* Get size_t declaration.
|
||||
Get wchar_t declaration if it exists. */
|
||||
#include <stddef.h>
|
||||
|
||||
/* Get errno declaration and values. */
|
||||
#include <errno.h>
|
||||
/* Some systems, like SunOS 4, don't have EILSEQ. Some systems, like BSD/OS,
|
||||
have EILSEQ in a different header. On these systems, define EILSEQ
|
||||
ourselves. */
|
||||
#ifndef EILSEQ
|
||||
#define EILSEQ @EILSEQ@
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/* Allocates descriptor for code conversion from encoding `fromcode' to
|
||||
encoding `tocode'. */
|
||||
#ifndef LIBICONV_PLUG
|
||||
#define iconv_open libiconv_open
|
||||
#endif
|
||||
extern iconv_t iconv_open (const char* tocode, const char* fromcode);
|
||||
|
||||
/* Converts, using conversion descriptor `cd', at most `*inbytesleft' bytes
|
||||
starting at `*inbuf', writing at most `*outbytesleft' bytes starting at
|
||||
`*outbuf'.
|
||||
Decrements `*inbytesleft' and increments `*inbuf' by the same amount.
|
||||
Decrements `*outbytesleft' and increments `*outbuf' by the same amount. */
|
||||
#ifndef LIBICONV_PLUG
|
||||
#define iconv libiconv
|
||||
#endif
|
||||
extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
|
||||
|
||||
/* Frees resources allocated for conversion descriptor `cd'. */
|
||||
#ifndef LIBICONV_PLUG
|
||||
#define iconv_close libiconv_close
|
||||
#endif
|
||||
extern int iconv_close (iconv_t cd);
|
||||
|
||||
|
||||
#ifndef LIBICONV_PLUG
|
||||
|
||||
/* Nonstandard extensions. */
|
||||
|
||||
/* Control of attributes. */
|
||||
#define iconvctl libiconvctl
|
||||
extern int iconvctl (iconv_t cd, int request, void* argument);
|
||||
|
||||
/* Hook performed after every successful conversion of a Unicode character. */
|
||||
typedef void (*iconv_unicode_char_hook) (unsigned int uc, void* data);
|
||||
/* Hook performed after every successful conversion of a wide character. */
|
||||
typedef void (*iconv_wide_char_hook) (wchar_t wc, void* data);
|
||||
/* Set of hooks. */
|
||||
struct iconv_hooks {
|
||||
iconv_unicode_char_hook uc_hook;
|
||||
iconv_wide_char_hook wc_hook;
|
||||
void* data;
|
||||
};
|
||||
|
||||
/* Fallback function. Invoked when a small number of bytes could not be
|
||||
converted to a Unicode character. This function should process all
|
||||
bytes from inbuf and may produce replacement Unicode characters by calling
|
||||
the write_replacement callback repeatedly. */
|
||||
typedef void (*iconv_unicode_mb_to_uc_fallback)
|
||||
(const char* inbuf, size_t inbufsize,
|
||||
void (*write_replacement) (const unsigned int *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
/* Fallback function. Invoked when a Unicode character could not be converted
|
||||
to the target encoding. This function should process the character and
|
||||
may produce replacement bytes (in the target encoding) by calling the
|
||||
write_replacement callback repeatedly. */
|
||||
typedef void (*iconv_unicode_uc_to_mb_fallback)
|
||||
(unsigned int code,
|
||||
void (*write_replacement) (const char *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
#if 1
|
||||
/* Fallback function. Invoked when a number of bytes could not be converted to
|
||||
a wide character. This function should process all bytes from inbuf and may
|
||||
produce replacement wide characters by calling the write_replacement
|
||||
callback repeatedly. */
|
||||
typedef void (*iconv_wchar_mb_to_wc_fallback)
|
||||
(const char* inbuf, size_t inbufsize,
|
||||
void (*write_replacement) (const wchar_t *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
/* Fallback function. Invoked when a wide character could not be converted to
|
||||
the target encoding. This function should process the character and may
|
||||
produce replacement bytes (in the target encoding) by calling the
|
||||
write_replacement callback repeatedly. */
|
||||
typedef void (*iconv_wchar_wc_to_mb_fallback)
|
||||
(wchar_t code,
|
||||
void (*write_replacement) (const char *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
#else
|
||||
/* If the wchar_t type does not exist, these two fallback functions are never
|
||||
invoked. Their argument list therefore does not matter. */
|
||||
typedef void (*iconv_wchar_mb_to_wc_fallback) ();
|
||||
typedef void (*iconv_wchar_wc_to_mb_fallback) ();
|
||||
#endif
|
||||
/* Set of fallbacks. */
|
||||
struct iconv_fallbacks {
|
||||
iconv_unicode_mb_to_uc_fallback mb_to_uc_fallback;
|
||||
iconv_unicode_uc_to_mb_fallback uc_to_mb_fallback;
|
||||
iconv_wchar_mb_to_wc_fallback mb_to_wc_fallback;
|
||||
iconv_wchar_wc_to_mb_fallback wc_to_mb_fallback;
|
||||
void* data;
|
||||
};
|
||||
|
||||
/* Requests for iconvctl. */
|
||||
#define ICONV_TRIVIALP 0 /* int *argument */
|
||||
#define ICONV_GET_TRANSLITERATE 1 /* int *argument */
|
||||
#define ICONV_SET_TRANSLITERATE 2 /* const int *argument */
|
||||
#define ICONV_GET_DISCARD_ILSEQ 3 /* int *argument */
|
||||
#define ICONV_SET_DISCARD_ILSEQ 4 /* const int *argument */
|
||||
#define ICONV_SET_HOOKS 5 /* const struct iconv_hooks *argument */
|
||||
#define ICONV_SET_FALLBACKS 6 /* const struct iconv_fallbacks *argument */
|
||||
|
||||
/* Listing of locale independent encodings. */
|
||||
#define iconvlist libiconvlist
|
||||
extern void iconvlist (int (*do_one) (unsigned int namescount,
|
||||
const char * const * names,
|
||||
void* data),
|
||||
void* data);
|
||||
|
||||
/* Canonicalize an encoding name.
|
||||
The result is either a canonical encoding name, or name itself. */
|
||||
extern const char * iconv_canonicalize (const char * name);
|
||||
|
||||
/* Support for relocatable packages. */
|
||||
|
||||
/* Sets the original and the current installation prefix of the package.
|
||||
Relocation simply replaces a pathname starting with the original prefix
|
||||
by the corresponding pathname with the current prefix instead. Both
|
||||
prefixes should be directory names without trailing slash (i.e. use ""
|
||||
instead of "/"). */
|
||||
extern void libiconv_set_relocation_prefix (const char *orig_prefix,
|
||||
const char *curr_prefix);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* _LIBICONV_H */
|
205
src/libiconv/libiconv/include/iconv.h_vms
Normal file
205
src/libiconv/libiconv/include/iconv.h_vms
Normal file
@ -0,0 +1,205 @@
|
||||
/* Copyright (C) 1999-2003, 2005-2006 Free Software Foundation, Inc.
|
||||
This file is part of the GNU LIBICONV Library.
|
||||
|
||||
The GNU LIBICONV 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.
|
||||
|
||||
The GNU LIBICONV 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 the GNU LIBICONV Library; see the file COPYING.LIB.
|
||||
If not, write to the Free Software Foundation, Inc., 51 Franklin Street,
|
||||
Fifth Floor, Boston, MA 02110-1301, USA. */
|
||||
|
||||
/* When installed, this file is called "iconv.h". */
|
||||
|
||||
#ifndef _LIBICONV_H
|
||||
#define _LIBICONV_H
|
||||
|
||||
#define _LIBICONV_VERSION 0x010B /* version number: (major<<8) + minor */
|
||||
extern int _libiconv_version; /* Likewise */
|
||||
|
||||
/* We would like to #include any system header file which could define
|
||||
iconv_t, 1. in order to eliminate the risk that the user gets compilation
|
||||
errors because some other system header file includes /usr/include/iconv.h
|
||||
which defines iconv_t or declares iconv after this file, 2. when compiling
|
||||
for LIBICONV_PLUG, we need the proper iconv_t type in order to produce
|
||||
binary compatible code.
|
||||
But gcc's #include_next is not portable. Thus, once libiconv's iconv.h
|
||||
has been installed in /usr/local/include, there is no way any more to
|
||||
include the original /usr/include/iconv.h. We simply have to get away
|
||||
without it.
|
||||
Ad 1. The risk that a system header file does
|
||||
#include "iconv.h" or #include_next "iconv.h"
|
||||
is small. They all do #include <iconv.h>.
|
||||
Ad 2. The iconv_t type is a pointer type in all cases I have seen. (It
|
||||
has to be a scalar type because (iconv_t)(-1) is a possible return value
|
||||
from iconv_open().) */
|
||||
|
||||
/* Define iconv_t ourselves. */
|
||||
#undef iconv_t
|
||||
#define iconv_t libiconv_t
|
||||
typedef void* iconv_t;
|
||||
|
||||
/* Get size_t declaration.
|
||||
Get wchar_t declaration if it exists. */
|
||||
#include <stddef.h>
|
||||
|
||||
/* Get errno declaration and values. */
|
||||
#include <errno.h>
|
||||
/* Some systems, like SunOS 4, don't have EILSEQ. Some systems, like BSD/OS,
|
||||
have EILSEQ in a different header. On these systems, define EILSEQ
|
||||
ourselves. */
|
||||
#ifndef EILSEQ
|
||||
#define EILSEQ @EILSEQ@
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/* Allocates descriptor for code conversion from encoding `fromcode' to
|
||||
encoding `tocode'. */
|
||||
#ifndef LIBICONV_PLUG
|
||||
#define iconv_open libiconv_open
|
||||
#endif
|
||||
extern iconv_t iconv_open (const char* tocode, const char* fromcode);
|
||||
|
||||
/* Converts, using conversion descriptor `cd', at most `*inbytesleft' bytes
|
||||
starting at `*inbuf', writing at most `*outbytesleft' bytes starting at
|
||||
`*outbuf'.
|
||||
Decrements `*inbytesleft' and increments `*inbuf' by the same amount.
|
||||
Decrements `*outbytesleft' and increments `*outbuf' by the same amount. */
|
||||
#ifndef LIBICONV_PLUG
|
||||
#define iconv libiconv
|
||||
#endif
|
||||
extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
|
||||
|
||||
/* Frees resources allocated for conversion descriptor `cd'. */
|
||||
#ifndef LIBICONV_PLUG
|
||||
#define iconv_close libiconv_close
|
||||
#endif
|
||||
extern int iconv_close (iconv_t cd);
|
||||
|
||||
|
||||
#ifndef LIBICONV_PLUG
|
||||
|
||||
/* Nonstandard extensions. */
|
||||
|
||||
/* Control of attributes. */
|
||||
#define iconvctl libiconvctl
|
||||
extern int iconvctl (iconv_t cd, int request, void* argument);
|
||||
|
||||
/* Hook performed after every successful conversion of a Unicode character. */
|
||||
typedef void (*iconv_unicode_char_hook) (unsigned int uc, void* data);
|
||||
/* Hook performed after every successful conversion of a wide character. */
|
||||
typedef void (*iconv_wide_char_hook) (wchar_t wc, void* data);
|
||||
/* Set of hooks. */
|
||||
struct iconv_hooks {
|
||||
iconv_unicode_char_hook uc_hook;
|
||||
iconv_wide_char_hook wc_hook;
|
||||
void* data;
|
||||
};
|
||||
|
||||
/* Fallback function. Invoked when a small number of bytes could not be
|
||||
converted to a Unicode character. This function should process all
|
||||
bytes from inbuf and may produce replacement Unicode characters by calling
|
||||
the write_replacement callback repeatedly. */
|
||||
typedef void (*iconv_unicode_mb_to_uc_fallback)
|
||||
(const char* inbuf, size_t inbufsize,
|
||||
void (*write_replacement) (const unsigned int *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
/* Fallback function. Invoked when a Unicode character could not be converted
|
||||
to the target encoding. This function should process the character and
|
||||
may produce replacement bytes (in the target encoding) by calling the
|
||||
write_replacement callback repeatedly. */
|
||||
typedef void (*iconv_unicode_uc_to_mb_fallback)
|
||||
(unsigned int code,
|
||||
void (*write_replacement) (const char *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
#if 1
|
||||
/* Fallback function. Invoked when a number of bytes could not be converted to
|
||||
a wide character. This function should process all bytes from inbuf and may
|
||||
produce replacement wide characters by calling the write_replacement
|
||||
callback repeatedly. */
|
||||
typedef void (*iconv_wchar_mb_to_wc_fallback)
|
||||
(const char* inbuf, size_t inbufsize,
|
||||
void (*write_replacement) (const wchar_t *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
/* Fallback function. Invoked when a wide character could not be converted to
|
||||
the target encoding. This function should process the character and may
|
||||
produce replacement bytes (in the target encoding) by calling the
|
||||
write_replacement callback repeatedly. */
|
||||
typedef void (*iconv_wchar_wc_to_mb_fallback)
|
||||
(wchar_t code,
|
||||
void (*write_replacement) (const char *buf, size_t buflen,
|
||||
void* callback_arg),
|
||||
void* callback_arg,
|
||||
void* data);
|
||||
#else
|
||||
/* If the wchar_t type does not exist, these two fallback functions are never
|
||||
invoked. Their argument list therefore does not matter. */
|
||||
typedef void (*iconv_wchar_mb_to_wc_fallback) ();
|
||||
typedef void (*iconv_wchar_wc_to_mb_fallback) ();
|
||||
#endif
|
||||
/* Set of fallbacks. */
|
||||
struct iconv_fallbacks {
|
||||
iconv_unicode_mb_to_uc_fallback mb_to_uc_fallback;
|
||||
iconv_unicode_uc_to_mb_fallback uc_to_mb_fallback;
|
||||
iconv_wchar_mb_to_wc_fallback mb_to_wc_fallback;
|
||||
iconv_wchar_wc_to_mb_fallback wc_to_mb_fallback;
|
||||
void* data;
|
||||
};
|
||||
|
||||
/* Requests for iconvctl. */
|
||||
#define ICONV_TRIVIALP 0 /* int *argument */
|
||||
#define ICONV_GET_TRANSLITERATE 1 /* int *argument */
|
||||
#define ICONV_SET_TRANSLITERATE 2 /* const int *argument */
|
||||
#define ICONV_GET_DISCARD_ILSEQ 3 /* int *argument */
|
||||
#define ICONV_SET_DISCARD_ILSEQ 4 /* const int *argument */
|
||||
#define ICONV_SET_HOOKS 5 /* const struct iconv_hooks *argument */
|
||||
#define ICONV_SET_FALLBACKS 6 /* const struct iconv_fallbacks *argument */
|
||||
|
||||
/* Listing of locale independent encodings. */
|
||||
#define iconvlist libiconvlist
|
||||
extern void iconvlist (int (*do_one) (unsigned int namescount,
|
||||
const char * const * names,
|
||||
void* data),
|
||||
void* data);
|
||||
|
||||
/* Canonicalize an encoding name.
|
||||
The result is either a canonical encoding name, or name itself. */
|
||||
extern const char * iconv_canonicalize (const char * name);
|
||||
|
||||
/* Support for relocatable packages. */
|
||||
|
||||
/* Sets the original and the current installation prefix of the package.
|
||||
Relocation simply replaces a pathname starting with the original prefix
|
||||
by the corresponding pathname with the current prefix instead. Both
|
||||
prefixes should be directory names without trailing slash (i.e. use ""
|
||||
instead of "/"). */
|
||||
extern void libiconv_set_relocation_prefix (const char *orig_prefix,
|
||||
const char *curr_prefix);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* _LIBICONV_H */
|
25
src/libiconv/libiconv/include/iconv_tiger.h
Normal file
25
src/libiconv/libiconv/include/iconv_tiger.h
Normal file
@ -0,0 +1,25 @@
|
||||
#include <iconv.h>
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#include <TargetConditionals.h>
|
||||
|
||||
#if TARGET_OS_OSX && (defined(__ppc__) || defined(__i386__))
|
||||
|
||||
#define __LIBICONV_DLL_EXPORTED_OBSOLETE __LIBICONV_DLL_EXPORTED __attribute__((availability(macosx, obsoleted=10.5)))
|
||||
|
||||
/* backward compatibility */
|
||||
|
||||
extern __LIBICONV_DLL_EXPORTED_OBSOLETE iconv_t libiconv_open (const char* __tocode, const char* __fromcode);
|
||||
|
||||
extern __LIBICONV_DLL_EXPORTED_OBSOLETE size_t libiconv (iconv_t _cd, char* * __restrict __inbuf, size_t * __restrict __inbytesleft, char* * __restrict __outbuf, size_t * __restrict __outbytesleft);
|
||||
|
||||
extern __LIBICONV_DLL_EXPORTED_OBSOLETE int libiconv_close (iconv_t __cd);
|
||||
|
||||
extern __LIBICONV_DLL_EXPORTED_OBSOLETE int libiconvctl (iconv_t __cd, int request, void* argument);
|
||||
|
||||
extern __LIBICONV_DLL_EXPORTED_OBSOLETE void libiconvlist (int (*do_one) (unsigned int namescount,
|
||||
const char * const * names,
|
||||
void* data),
|
||||
void* data);
|
||||
#endif
|
||||
#endif
|
145
src/libiconv/libiconv/lib/Makefile.in
Normal file
145
src/libiconv/libiconv/lib/Makefile.in
Normal file
@ -0,0 +1,145 @@
|
||||
# Makefile for libiconv/lib
|
||||
|
||||
#### 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@
|
||||
libdir = @libdir@
|
||||
|
||||
# Programs used by "make":
|
||||
CC = @CC@
|
||||
CFLAGS = @CFLAGS@ @CFLAG_VISIBILITY@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@ $(LDFLAGS_@WOE32DLL@)
|
||||
LDFLAGS_yes = -Wl,--export-all-symbols
|
||||
LDFLAGS_no =
|
||||
INCLUDES = -I. -I$(srcdir) -I../include -I$(srcdir)/../include -I.. -I$(srcdir)/..
|
||||
# -DBUILDING_LIBICONV: Change expansion of LIBICONV_DLL_EXPORTED macro.
|
||||
# -DBUILDING_DLL: Change expansion of RELOCATABLE_DLL_EXPORTED macro.
|
||||
DEFS = -DLIBDIR=\"$(libdir)\" -DBUILDING_LIBICONV -DBUILDING_DLL \
|
||||
-DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(libdir)\" -DNO_XMALLOC \
|
||||
-Dset_relocation_prefix=libiconv_set_relocation_prefix \
|
||||
-Drelocate=libiconv_relocate @DEFS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIBTOOL_COMPILE = $(LIBTOOL) --mode=compile
|
||||
LIBTOOL_LINK = $(LIBTOOL) --mode=link
|
||||
LIBTOOL_INSTALL = $(LIBTOOL) --mode=install
|
||||
LIBTOOL_UNINSTALL = $(LIBTOOL) --mode=uninstall
|
||||
CP = cp
|
||||
MV = mv
|
||||
LN = @LN@
|
||||
LN_S = @LN_S@
|
||||
RM = rm -f
|
||||
|
||||
# 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
|
||||
|
||||
# Before making a release, change this according to the libtool documentation,
|
||||
# section "Library interface versions".
|
||||
LIBICONV_VERSION_INFO = 6:0:4
|
||||
|
||||
# Needed by $(LIBTOOL).
|
||||
top_builddir = ..
|
||||
|
||||
SOURCES = $(srcdir)/iconv.c $(srcdir)/../libcharset/lib/localcharset.c $(srcdir)/relocatable.c
|
||||
|
||||
OBJECTS = iconv.lo localcharset.lo relocatable.lo $(OBJECTS_@WOE32DLL@)
|
||||
OBJECTS_yes = iconv-exports.lo
|
||||
OBJECTS_no =
|
||||
|
||||
all : @PLUGLIB@ libiconv.la
|
||||
|
||||
libiconv.la : $(OBJECTS)
|
||||
$(LIBTOOL_LINK) $(CC) $(LDFLAGS) -o libiconv.la -rpath $(libdir) -version-info $(LIBICONV_VERSION_INFO) -no-undefined $(OBJECTS)
|
||||
|
||||
preloadable_libiconv.so : preloadable_libiconv_@OS@.so
|
||||
$(RM) preloadable_libiconv.so
|
||||
$(LN_S) preloadable_libiconv_@OS@.so preloadable_libiconv.so
|
||||
|
||||
preloadable_libiconv_linux.so : $(SOURCES)
|
||||
if test -n "@GCC@"; then \
|
||||
$(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -shared -o preloadable_libiconv_linux.so; \
|
||||
else \
|
||||
$(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -KPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -shared -o preloadable_libiconv_linux.so; \
|
||||
fi
|
||||
|
||||
preloadable_libiconv_solaris.so : $(SOURCES)
|
||||
if test -n "@GCC@"; then \
|
||||
$(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -shared -o preloadable_libiconv_solaris.so; \
|
||||
else \
|
||||
$(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -KPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -G -o preloadable_libiconv_solaris.so; \
|
||||
fi
|
||||
|
||||
preloadable_libiconv_osf.so : $(SOURCES)
|
||||
if test -n "@GCC@"; then \
|
||||
$(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -shared -o preloadable_libiconv_osf.so; \
|
||||
else \
|
||||
mkdir objects; \
|
||||
for f in $(SOURCES); do \
|
||||
$(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -DPIC -DLIBICONV_PLUG -c $$f -o objects/`basename $$f | sed -e 's,\.c$$,.o,'`; \
|
||||
done; \
|
||||
/bin/ld -shared -expect_unresolved \* -o preloadable_libiconv_osf.so objects/*.o; \
|
||||
rm -rf objects; \
|
||||
fi
|
||||
|
||||
iconv.lo : $(srcdir)/iconv.c $(srcdir)/converters.h $(srcdir)/encodings.def $(srcdir)/encodings_aix.def $(srcdir)/encodings_osf1.def $(srcdir)/encodings_dos.def $(srcdir)/encodings_local.def $(srcdir)/aliases.h $(srcdir)/aliases_aix.h $(srcdir)/aliases_osf1.h $(srcdir)/aliases_dos.h $(srcdir)/flags.h
|
||||
$(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -c $(srcdir)/iconv.c
|
||||
|
||||
localcharset.lo : $(srcdir)/../libcharset/lib/localcharset.c $(srcdir)/relocatable.h
|
||||
$(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -c $(srcdir)/../libcharset/lib/localcharset.c
|
||||
|
||||
relocatable.lo : $(srcdir)/relocatable.c $(srcdir)/relocatable.h
|
||||
$(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -c $(srcdir)/relocatable.c
|
||||
|
||||
iconv-exports.lo : $(srcdir)/../woe32dll/iconv-exports.c
|
||||
$(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -c $(srcdir)/../woe32dll/iconv-exports.c
|
||||
|
||||
# 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
|
||||
if [ ! -d $(libdir) ] ; then $(mkinstalldirs) $(libdir) ; fi
|
||||
$(LIBTOOL_INSTALL) $(INSTALL_DATA) libiconv.la $(libdir)/libiconv.la
|
||||
|
||||
install : all force
|
||||
if [ ! -d $(DESTDIR)$(prefix) ] ; then $(mkinstalldirs) $(DESTDIR)$(prefix) ; fi
|
||||
if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then $(mkinstalldirs) $(DESTDIR)$(exec_prefix) ; fi
|
||||
if [ ! -d $(DESTDIR)$(libdir) ] ; then $(mkinstalldirs) $(DESTDIR)$(libdir) ; fi
|
||||
$(LIBTOOL_INSTALL) $(INSTALL_DATA) libiconv.la $(DESTDIR)$(libdir)/libiconv.la
|
||||
if test -n "@PLUGLIB@"; then $(INSTALL_DATA) @PLUGLIB@ $(DESTDIR)$(libdir)/@PLUGLIB@.new && mv $(DESTDIR)$(libdir)/@PLUGLIB@.new $(DESTDIR)$(libdir)/@PLUGLIB@ ; fi
|
||||
|
||||
installdirs : force
|
||||
if [ ! -d $(DESTDIR)$(prefix) ] ; then $(mkinstalldirs) $(DESTDIR)$(prefix) ; fi
|
||||
if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then $(mkinstalldirs) $(DESTDIR)$(exec_prefix) ; fi
|
||||
if [ ! -d $(DESTDIR)$(libdir) ] ; then $(mkinstalldirs) $(DESTDIR)$(libdir) ; fi
|
||||
|
||||
uninstall : force
|
||||
$(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(libdir)/libiconv.la
|
||||
if test -n "@PLUGLIB@"; then $(RM) $(DESTDIR)$(libdir)/@PLUGLIB@ ; fi
|
||||
|
||||
check : all
|
||||
|
||||
mostlyclean : clean
|
||||
|
||||
clean : force
|
||||
$(RM) *.o *.lo *.a *.la preloadable_libiconv* core *.stackdump so_locations
|
||||
$(RM) -r .libs _libs
|
||||
|
||||
distclean : clean
|
||||
$(RM) Makefile config.h libtool
|
||||
|
||||
maintainer-clean : distclean
|
||||
|
||||
force :
|
||||
|
171
src/libiconv/libiconv/lib/Makefile.msvc
Normal file
171
src/libiconv/libiconv/lib/Makefile.msvc
Normal file
@ -0,0 +1,171 @@
|
||||
# -*- Makefile -*- for libiconv/lib
|
||||
|
||||
#### Start of system configuration section. ####
|
||||
|
||||
# Flags that can be set on the nmake command line:
|
||||
# DLL=1 for compiling a .dll with a stub .lib (default is a static .lib)
|
||||
# Note that this works only with MFLAGS=-MD.
|
||||
# MFLAGS={-ML|-MT|-MD} for defining the compilation model
|
||||
# MFLAGS=-ML (the default) Single-threaded, statically linked - libc.lib
|
||||
# MFLAGS=-MT Multi-threaded, statically linked - libcmt.lib
|
||||
# MFLAGS=-MD Multi-threaded, dynamically linked - msvcrt.lib
|
||||
# DEBUG=1 for compiling with debugging information
|
||||
# PREFIX=Some\Directory Base directory for installation
|
||||
# IIPREFIX=Some\\Directory Same thing with doubled backslashes
|
||||
!if !defined(DLL)
|
||||
DLL=0
|
||||
!endif
|
||||
!if !defined(DEBUG)
|
||||
DEBUG=0
|
||||
!endif
|
||||
!if !defined(MFLAGS)
|
||||
!if !$(DLL)
|
||||
MFLAGS=
|
||||
!else
|
||||
MFLAGS=-MD
|
||||
!endif
|
||||
!endif
|
||||
!if !defined(PREFIX)
|
||||
PREFIX = c:\usr
|
||||
!endif
|
||||
!if !defined(IIPREFIX)
|
||||
IIPREFIX = c:\\usr
|
||||
!endif
|
||||
|
||||
# Directories used by "make":
|
||||
srcdir = .
|
||||
|
||||
# Directories used by "make install":
|
||||
prefix = $(PREFIX)
|
||||
exec_prefix = $(prefix)
|
||||
bindir = $(exec_prefix)\bin
|
||||
libdir = $(exec_prefix)\lib
|
||||
IIprefix = $(IIPREFIX)
|
||||
IIexec_prefix = $(IIprefix)
|
||||
IIbindir = $(IIexec_prefix)\\bin
|
||||
IIlibdir = $(IIexec_prefix)\\lib
|
||||
|
||||
# Programs used by "make":
|
||||
|
||||
CC = cl
|
||||
|
||||
# Set to -W3 if you want to see maximum amount of warnings, including stupid
|
||||
# ones. Set to -W1 to avoid warnings about signed/unsigned combinations.
|
||||
WARN_CFLAGS = -W1
|
||||
|
||||
!if !$(DLL)
|
||||
PICFLAGS =
|
||||
!else
|
||||
# "-GD" (msvc5) optimizes for DLL.
|
||||
# mscv4 doesn't know about this flag and ignores it.
|
||||
# -DBUILDING_LIBICONV: Change expansion of LIBICONV_DLL_EXPORTED macro.
|
||||
# -DBUILDING_DLL: Change expansion of RELOCATABLE_DLL_EXPORTED macro.
|
||||
PICFLAGS = -GD -DBUILDING_LIBICONV -DBUILDING_DLL -DPIC
|
||||
!endif
|
||||
|
||||
!if $(DEBUG)
|
||||
OPTIMFLAGS = -Od -Z7
|
||||
DEBUGFLAGS = -Z7
|
||||
!else
|
||||
# Some people prefer -O2 -G6 instead of -O1, but -O2 is not reliable in MSVC5.
|
||||
OPTIMFLAGS = -D_NDEBUG -O1
|
||||
DEBUGFLAGS =
|
||||
!endif
|
||||
|
||||
CFLAGS = $(MFLAGS) $(WARN_CFLAGS) $(OPTIMFLAGS) -DHAVE_CONFIG_H -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate
|
||||
|
||||
INCLUDES = -I. -I..\include
|
||||
|
||||
AR = lib
|
||||
AR_FLAGS = /out:
|
||||
|
||||
LN = copy
|
||||
RM = -del
|
||||
|
||||
# Programs used by "make install":
|
||||
INSTALL = copy
|
||||
INSTALL_PROGRAM = copy
|
||||
INSTALL_DATA = copy
|
||||
|
||||
#### End of system configuration section. ####
|
||||
|
||||
SHELL = /bin/sh
|
||||
|
||||
OBJECTS = iconv.obj localcharset.obj relocatable.obj
|
||||
|
||||
RESOURCES = iconv.res
|
||||
|
||||
all : iconv.lib
|
||||
|
||||
config.h : config.h.msvc
|
||||
-$(RM) config.h
|
||||
$(LN) config.h.msvc config.h
|
||||
|
||||
iconv.obj : $(srcdir)/iconv.c $(srcdir)/encodings.def $(srcdir)/encodings_local.def $(srcdir)/aliases.h config.h
|
||||
$(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c $(srcdir)/iconv.c
|
||||
|
||||
localcharset.obj : $(srcdir)/../libcharset/lib/localcharset.c $(srcdir)/relocatable.h config.h
|
||||
$(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c $(srcdir)/../libcharset/lib/localcharset.c
|
||||
|
||||
relocatable.obj : $(srcdir)/relocatable.c $(srcdir)/relocatable.h config.h
|
||||
$(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c $(srcdir)/relocatable.c
|
||||
|
||||
!if !$(DLL)
|
||||
|
||||
iconv.lib : $(OBJECTS)
|
||||
-$(RM) iconv.lib
|
||||
$(AR) $(AR_FLAGS)iconv.lib $(OBJECTS)
|
||||
|
||||
!else
|
||||
|
||||
# iconv.dll and iconv.lib are created together.
|
||||
iconv.lib : $(OBJECTS) $(RESOURCES)
|
||||
$(CC) $(MFLAGS) $(DEBUGFLAGS) -LD $(OBJECTS) $(RESOURCES) -Feiconv.dll
|
||||
|
||||
iconv.res : $(srcdir)/../windows/iconv.rc
|
||||
rc -Fo iconv.res $(srcdir)/../windows/iconv.rc
|
||||
|
||||
!endif
|
||||
|
||||
install : all force
|
||||
-mkdir $(prefix)
|
||||
-mkdir $(exec_prefix)
|
||||
!if $(DLL)
|
||||
-mkdir $(bindir)
|
||||
$(INSTALL_DATA) iconv.dll $(bindir)\iconv.dll
|
||||
!endif
|
||||
-mkdir $(libdir)
|
||||
$(INSTALL_DATA) iconv.lib $(libdir)\iconv.lib
|
||||
|
||||
installdirs : force
|
||||
-mkdir $(prefix)
|
||||
-mkdir $(exec_prefix)
|
||||
!if $(DLL)
|
||||
-mkdir $(bindir)
|
||||
!endif
|
||||
-mkdir $(libdir)
|
||||
|
||||
uninstall : force
|
||||
!if $(DLL)
|
||||
$(RM) $(bindir)\iconv.dll
|
||||
!endif
|
||||
$(RM) $(libdir)\iconv.lib
|
||||
|
||||
check : all
|
||||
|
||||
mostlyclean : clean
|
||||
|
||||
clean : force
|
||||
$(RM) config.h
|
||||
$(RM) *.obj
|
||||
$(RM) *.lib
|
||||
$(RM) *.exp
|
||||
$(RM) *.dll
|
||||
$(RM) iconv.res
|
||||
|
||||
distclean : clean
|
||||
|
||||
maintainer-clean : distclean
|
||||
|
||||
force :
|
||||
|
77
src/libiconv/libiconv/lib/Makefile.os2
Normal file
77
src/libiconv/libiconv/lib/Makefile.os2
Normal file
@ -0,0 +1,77 @@
|
||||
# Makefile for libiconv/lib, OS2/EMX specific
|
||||
#
|
||||
# requires EMX/GCC development environment and
|
||||
# GNU fileutils and GNU textutils installed
|
||||
#
|
||||
# define EMXPATH=<your EMX path> on install/uninstall
|
||||
#
|
||||
|
||||
#### Start of system configuration section. ####
|
||||
|
||||
# Directories used by "make install":
|
||||
prefix = @prefix@
|
||||
exec_prefix = $(prefix)
|
||||
libdir = $(exec_prefix)/lib
|
||||
shlibdir = $(exec_prefix)/dll
|
||||
|
||||
# Programs used by "make":
|
||||
CC = gcc
|
||||
CFLAGS = -O2 -Zomf -Zcrtdll -Zmt
|
||||
INCLUDES = -I. -I../include
|
||||
|
||||
#### End of system configuration section. ####
|
||||
|
||||
.SUFFIXES: .obj .o
|
||||
|
||||
SOURCES = iconv.c
|
||||
|
||||
OBJECTS = iconv.obj
|
||||
|
||||
all : iconv.dll iconv.a iconv.lib
|
||||
|
||||
config.h : force
|
||||
sed -e 's/#undef WORDS_LITTLEENDIAN$$/#define WORDS_LITTLEENDIAN 1/' < config.h.in > config.h
|
||||
|
||||
iconv.obj : iconv.c encodings.def encodings_local.def aliases.h config.h
|
||||
$(CC) $(INCLUDES) $(CFLAGS) -c iconv.c
|
||||
|
||||
iconv.dll : $(OBJECTS) ../os2/iconv.def # DLL itself
|
||||
$(CC) -Zdll $(CFLAGS) -o $@ $(OBJECTS) ../os2/iconv.def
|
||||
|
||||
iconv.lib : ../os2/iconv.def # Import Lib. for -Zomf
|
||||
rm -f iconv.lib
|
||||
emximp -o iconv.lib ../os2/iconv.def
|
||||
|
||||
iconv.a : ../os2/iconv.def # Import Lib. for EMX .o format
|
||||
rm -f iconv.a
|
||||
emximp -o iconv.a ../os2/iconv.def
|
||||
|
||||
# Installs the library and include files only. Typically called with only
|
||||
# $(libdir), $(shlibdir) and $(includedir) - don't use $(prefix) and
|
||||
# $(exec_prefix) here.
|
||||
install-lib : all force
|
||||
cp -i iconv.dll $(shlibdir)/iconv.dll
|
||||
cp -i iconv.lib $(libdir)/iconv.lib
|
||||
cp -i iconv.a $(libdir)/iconv.a
|
||||
|
||||
install : all force
|
||||
cp -i iconv.dll $(shlibdir)/iconv.dll
|
||||
cp -i iconv.lib $(libdir)/iconv.lib
|
||||
cp -i iconv.a $(libdir)/iconv.a
|
||||
|
||||
uninstall : force
|
||||
rm -f $(shlibdir)/iconv.dll
|
||||
rm -f $(libdir)/iconv.lib
|
||||
rm -f $(libdir)/iconv.a
|
||||
|
||||
check : all
|
||||
|
||||
clean : force
|
||||
rm -f *.obj *.lib *.a *.dll core
|
||||
|
||||
distclean : clean
|
||||
rm -f config.h
|
||||
|
||||
maintainer-clean : distclean
|
||||
|
||||
force :
|
91
src/libiconv/libiconv/lib/Makefile.vms
Normal file
91
src/libiconv/libiconv/lib/Makefile.vms
Normal file
@ -0,0 +1,91 @@
|
||||
# -*- Makefile -*- for libiconv/lib on VMS using the MMS utility
|
||||
|
||||
#### Start of system configuration section. ####
|
||||
|
||||
# Directories used by "make install":
|
||||
prefix = SYS$DATA:[
|
||||
exec_prefix = $(prefix)
|
||||
bindir = $(exec_prefix).bin
|
||||
libdir = $(exec_prefix).lib
|
||||
|
||||
# Programs used by "make":
|
||||
|
||||
CC = cc
|
||||
|
||||
# These flags affect binary compatibility. GNU gettext does not need them,
|
||||
# but other packages do, and we need to be binary compatible with them.
|
||||
ABIFLAGS = /name=(as_is,short) /float=ieee
|
||||
|
||||
WARN_CFLAGS = /warning
|
||||
|
||||
OPTIMFLAGS = /optimize
|
||||
|
||||
CFLAGS = $(ABIFLAGS) $(WARN_CFLAGS) $(OPTIMFLAGS)
|
||||
DEFS = "VMS=1","HAVE_CONFIG_H=1","ENABLE_RELOCATABLE=1","IN_LIBRARY=1","INSTALLPREFIX=""$(prefix)]""","INSTALLDIR=""$(bindir)]""","NO_XMALLOC=1","set_relocation_prefix=libiconv_set_relocation_prefix","relocate=libiconv_relocate"
|
||||
|
||||
INCLUDES = /include=([],[-.include])
|
||||
|
||||
AR = library
|
||||
AR_FLAGS = /create
|
||||
|
||||
LN = copy
|
||||
RM = delete
|
||||
|
||||
# Programs used by "make install":
|
||||
INSTALL = copy
|
||||
INSTALL_PROGRAM = copy
|
||||
INSTALL_DATA = copy
|
||||
|
||||
#### End of system configuration section. ####
|
||||
|
||||
OBJECTS = libiconv.obj,localcharset.obj,relocatable.obj
|
||||
|
||||
all : iconv.olb
|
||||
write sys$output "Nothing else to be done for 'all'."
|
||||
|
||||
config.h : config.h_vms
|
||||
$(LN) config.h_vms config.h
|
||||
|
||||
libiconv.obj : iconv.c,encodings.def,encodings_local.def,aliases.h,config.h
|
||||
$(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) /obj=libiconv.obj iconv.c
|
||||
|
||||
localcharset.obj : [-.libcharset.lib]localcharset.c,relocatable.h,config.h
|
||||
$(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.libcharset.lib]localcharset.c
|
||||
|
||||
relocatable.obj : relocatable.c,relocatable.h,config.h
|
||||
$(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) relocatable.c
|
||||
|
||||
iconv.olb : $(OBJECTS)
|
||||
$(AR) $(AR_FLAGS) iconv.olb $(OBJECTS)
|
||||
|
||||
install : all
|
||||
create /directory $(prefix)]
|
||||
create /directory $(exec_prefix)]
|
||||
create /directory $(libdir)]
|
||||
$(INSTALL_DATA) iconv.olb $(libdir)]iconv.olb
|
||||
|
||||
installdirs :
|
||||
create /directory $(prefix)]
|
||||
create /directory $(exec_prefix)]
|
||||
create /directory $(libdir)]
|
||||
|
||||
uninstall :
|
||||
$(RM) $(libdir)]iconv.olb
|
||||
|
||||
check : all
|
||||
write sys$output "Nothing else to be done for 'check'."
|
||||
|
||||
mostlyclean : clean
|
||||
write sys$output "Nothing else to be done for 'mostlyclean'."
|
||||
|
||||
clean :
|
||||
$(RM) config.h;*
|
||||
$(RM) *.obj;*
|
||||
$(RM) *.olb;*
|
||||
|
||||
distclean : clean
|
||||
write sys$output "Nothing else to be done for 'distclean'."
|
||||
|
||||
maintainer-clean : distclean
|
||||
write sys$output "Nothing else to be done for 'maintainer-clean'."
|
||||
|
355
src/libiconv/libiconv/lib/aliases.gperf
Normal file
355
src/libiconv/libiconv/lib/aliases.gperf
Normal file
@ -0,0 +1,355 @@
|
||||
struct alias { int name; unsigned int encoding_index; };
|
||||
%struct-type
|
||||
%language=ANSI-C
|
||||
%define hash-function-name aliases_hash
|
||||
%define lookup-function-name aliases_lookup
|
||||
%7bit
|
||||
%readonly-tables
|
||||
%global-table
|
||||
%define word-array-name aliases
|
||||
%pic
|
||||
%%
|
||||
US-ASCII, ei_ascii
|
||||
ASCII, ei_ascii
|
||||
ISO646-US, ei_ascii
|
||||
ISO_646.IRV:1991, ei_ascii
|
||||
ISO-IR-6, ei_ascii
|
||||
ANSI_X3.4-1968, ei_ascii
|
||||
ANSI_X3.4-1986, ei_ascii
|
||||
CP367, ei_ascii
|
||||
IBM367, ei_ascii
|
||||
US, ei_ascii
|
||||
CSASCII, ei_ascii
|
||||
UTF-8, ei_utf8
|
||||
UTF8, ei_utf8
|
||||
UTF-8-MAC, ei_utf8mac
|
||||
UTF8-MAC, ei_utf8mac
|
||||
UCS-2, ei_ucs2
|
||||
ISO-10646-UCS-2, ei_ucs2
|
||||
CSUNICODE, ei_ucs2
|
||||
UCS-2BE, ei_ucs2be
|
||||
UNICODEBIG, ei_ucs2be
|
||||
UNICODE-1-1, ei_ucs2be
|
||||
CSUNICODE11, ei_ucs2be
|
||||
UCS-2LE, ei_ucs2le
|
||||
UNICODELITTLE, ei_ucs2le
|
||||
UCS-4, ei_ucs4
|
||||
ISO-10646-UCS-4, ei_ucs4
|
||||
CSUCS4, ei_ucs4
|
||||
UCS-4BE, ei_ucs4be
|
||||
UCS-4LE, ei_ucs4le
|
||||
UTF-16, ei_utf16
|
||||
UTF-16BE, ei_utf16be
|
||||
UTF-16LE, ei_utf16le
|
||||
UTF-32, ei_utf32
|
||||
UTF-32BE, ei_utf32be
|
||||
UTF-32LE, ei_utf32le
|
||||
UTF-7, ei_utf7
|
||||
UNICODE-1-1-UTF-7, ei_utf7
|
||||
CSUNICODE11UTF7, ei_utf7
|
||||
UCS-2-INTERNAL, ei_ucs2internal
|
||||
UCS-2-SWAPPED, ei_ucs2swapped
|
||||
UCS-4-INTERNAL, ei_ucs4internal
|
||||
UCS-4-SWAPPED, ei_ucs4swapped
|
||||
C99, ei_c99
|
||||
JAVA, ei_java
|
||||
ISO-8859-1, ei_iso8859_1
|
||||
ISO_8859-1, ei_iso8859_1
|
||||
ISO_8859-1:1987, ei_iso8859_1
|
||||
ISO-IR-100, ei_iso8859_1
|
||||
CP819, ei_iso8859_1
|
||||
IBM819, ei_iso8859_1
|
||||
LATIN1, ei_iso8859_1
|
||||
L1, ei_iso8859_1
|
||||
CSISOLATIN1, ei_iso8859_1
|
||||
ISO8859-1, ei_iso8859_1
|
||||
ISO-8859-2, ei_iso8859_2
|
||||
ISO_8859-2, ei_iso8859_2
|
||||
ISO_8859-2:1987, ei_iso8859_2
|
||||
ISO-IR-101, ei_iso8859_2
|
||||
LATIN2, ei_iso8859_2
|
||||
L2, ei_iso8859_2
|
||||
CSISOLATIN2, ei_iso8859_2
|
||||
ISO8859-2, ei_iso8859_2
|
||||
ISO-8859-3, ei_iso8859_3
|
||||
ISO_8859-3, ei_iso8859_3
|
||||
ISO_8859-3:1988, ei_iso8859_3
|
||||
ISO-IR-109, ei_iso8859_3
|
||||
LATIN3, ei_iso8859_3
|
||||
L3, ei_iso8859_3
|
||||
CSISOLATIN3, ei_iso8859_3
|
||||
ISO8859-3, ei_iso8859_3
|
||||
ISO-8859-4, ei_iso8859_4
|
||||
ISO_8859-4, ei_iso8859_4
|
||||
ISO_8859-4:1988, ei_iso8859_4
|
||||
ISO-IR-110, ei_iso8859_4
|
||||
LATIN4, ei_iso8859_4
|
||||
L4, ei_iso8859_4
|
||||
CSISOLATIN4, ei_iso8859_4
|
||||
ISO8859-4, ei_iso8859_4
|
||||
ISO-8859-5, ei_iso8859_5
|
||||
ISO_8859-5, ei_iso8859_5
|
||||
ISO_8859-5:1988, ei_iso8859_5
|
||||
ISO-IR-144, ei_iso8859_5
|
||||
CYRILLIC, ei_iso8859_5
|
||||
CSISOLATINCYRILLIC, ei_iso8859_5
|
||||
ISO8859-5, ei_iso8859_5
|
||||
ISO-8859-6, ei_iso8859_6
|
||||
ISO_8859-6, ei_iso8859_6
|
||||
ISO_8859-6:1987, ei_iso8859_6
|
||||
ISO-IR-127, ei_iso8859_6
|
||||
ECMA-114, ei_iso8859_6
|
||||
ASMO-708, ei_iso8859_6
|
||||
ARABIC, ei_iso8859_6
|
||||
CSISOLATINARABIC, ei_iso8859_6
|
||||
ISO8859-6, ei_iso8859_6
|
||||
ISO-8859-7, ei_iso8859_7
|
||||
ISO_8859-7, ei_iso8859_7
|
||||
ISO_8859-7:1987, ei_iso8859_7
|
||||
ISO_8859-7:2003, ei_iso8859_7
|
||||
ISO-IR-126, ei_iso8859_7
|
||||
ECMA-118, ei_iso8859_7
|
||||
ELOT_928, ei_iso8859_7
|
||||
GREEK8, ei_iso8859_7
|
||||
GREEK, ei_iso8859_7
|
||||
CSISOLATINGREEK, ei_iso8859_7
|
||||
ISO8859-7, ei_iso8859_7
|
||||
ISO-8859-8, ei_iso8859_8
|
||||
ISO_8859-8, ei_iso8859_8
|
||||
ISO_8859-8:1988, ei_iso8859_8
|
||||
ISO-IR-138, ei_iso8859_8
|
||||
HEBREW, ei_iso8859_8
|
||||
CSISOLATINHEBREW, ei_iso8859_8
|
||||
ISO8859-8, ei_iso8859_8
|
||||
ISO-8859-9, ei_iso8859_9
|
||||
ISO_8859-9, ei_iso8859_9
|
||||
ISO_8859-9:1989, ei_iso8859_9
|
||||
ISO-IR-148, ei_iso8859_9
|
||||
LATIN5, ei_iso8859_9
|
||||
L5, ei_iso8859_9
|
||||
CSISOLATIN5, ei_iso8859_9
|
||||
ISO8859-9, ei_iso8859_9
|
||||
ISO-8859-10, ei_iso8859_10
|
||||
ISO_8859-10, ei_iso8859_10
|
||||
ISO_8859-10:1992, ei_iso8859_10
|
||||
ISO-IR-157, ei_iso8859_10
|
||||
LATIN6, ei_iso8859_10
|
||||
L6, ei_iso8859_10
|
||||
CSISOLATIN6, ei_iso8859_10
|
||||
ISO8859-10, ei_iso8859_10
|
||||
ISO-8859-11, ei_iso8859_11
|
||||
ISO_8859-11, ei_iso8859_11
|
||||
ISO8859-11, ei_iso8859_11
|
||||
ISO-8859-13, ei_iso8859_13
|
||||
ISO_8859-13, ei_iso8859_13
|
||||
ISO-IR-179, ei_iso8859_13
|
||||
LATIN7, ei_iso8859_13
|
||||
L7, ei_iso8859_13
|
||||
ISO8859-13, ei_iso8859_13
|
||||
ISO-8859-14, ei_iso8859_14
|
||||
ISO_8859-14, ei_iso8859_14
|
||||
ISO_8859-14:1998, ei_iso8859_14
|
||||
ISO-IR-199, ei_iso8859_14
|
||||
LATIN8, ei_iso8859_14
|
||||
L8, ei_iso8859_14
|
||||
ISO-CELTIC, ei_iso8859_14
|
||||
ISO8859-14, ei_iso8859_14
|
||||
ISO-8859-15, ei_iso8859_15
|
||||
ISO_8859-15, ei_iso8859_15
|
||||
ISO_8859-15:1998, ei_iso8859_15
|
||||
ISO-IR-203, ei_iso8859_15
|
||||
LATIN-9, ei_iso8859_15
|
||||
ISO8859-15, ei_iso8859_15
|
||||
ISO-8859-16, ei_iso8859_16
|
||||
ISO_8859-16, ei_iso8859_16
|
||||
ISO_8859-16:2001, ei_iso8859_16
|
||||
ISO-IR-226, ei_iso8859_16
|
||||
LATIN10, ei_iso8859_16
|
||||
L10, ei_iso8859_16
|
||||
ISO8859-16, ei_iso8859_16
|
||||
KOI8-R, ei_koi8_r
|
||||
CSKOI8R, ei_koi8_r
|
||||
KOI8-U, ei_koi8_u
|
||||
KOI8-RU, ei_koi8_ru
|
||||
CP1250, ei_cp1250
|
||||
WINDOWS-1250, ei_cp1250
|
||||
MS-EE, ei_cp1250
|
||||
CP1251, ei_cp1251
|
||||
WINDOWS-1251, ei_cp1251
|
||||
MS-CYRL, ei_cp1251
|
||||
CP1252, ei_cp1252
|
||||
WINDOWS-1252, ei_cp1252
|
||||
MS-ANSI, ei_cp1252
|
||||
CP1253, ei_cp1253
|
||||
WINDOWS-1253, ei_cp1253
|
||||
MS-GREEK, ei_cp1253
|
||||
CP1254, ei_cp1254
|
||||
WINDOWS-1254, ei_cp1254
|
||||
MS-TURK, ei_cp1254
|
||||
CP1255, ei_cp1255
|
||||
WINDOWS-1255, ei_cp1255
|
||||
MS-HEBR, ei_cp1255
|
||||
CP1256, ei_cp1256
|
||||
WINDOWS-1256, ei_cp1256
|
||||
MS-ARAB, ei_cp1256
|
||||
CP1257, ei_cp1257
|
||||
WINDOWS-1257, ei_cp1257
|
||||
WINBALTRIM, ei_cp1257
|
||||
CP1258, ei_cp1258
|
||||
WINDOWS-1258, ei_cp1258
|
||||
CP850, ei_cp850
|
||||
IBM850, ei_cp850
|
||||
850, ei_cp850
|
||||
CSPC850MULTILINGUAL, ei_cp850
|
||||
CP862, ei_cp862
|
||||
IBM862, ei_cp862
|
||||
862, ei_cp862
|
||||
CSPC862LATINHEBREW, ei_cp862
|
||||
CP866, ei_cp866
|
||||
IBM866, ei_cp866
|
||||
866, ei_cp866
|
||||
CSIBM866, ei_cp866
|
||||
MACROMAN, ei_mac_roman
|
||||
MACINTOSH, ei_mac_roman
|
||||
MAC, ei_mac_roman
|
||||
CSMACINTOSH, ei_mac_roman
|
||||
MACCENTRALEUROPE, ei_mac_centraleurope
|
||||
MACICELAND, ei_mac_iceland
|
||||
MACCROATIAN, ei_mac_croatian
|
||||
MACROMANIA, ei_mac_romania
|
||||
MACCYRILLIC, ei_mac_cyrillic
|
||||
MACUKRAINE, ei_mac_ukraine
|
||||
MACGREEK, ei_mac_greek
|
||||
MACTURKISH, ei_mac_turkish
|
||||
MACHEBREW, ei_mac_hebrew
|
||||
MACARABIC, ei_mac_arabic
|
||||
MACTHAI, ei_mac_thai
|
||||
HP-ROMAN8, ei_hp_roman8
|
||||
ROMAN8, ei_hp_roman8
|
||||
R8, ei_hp_roman8
|
||||
CSHPROMAN8, ei_hp_roman8
|
||||
NEXTSTEP, ei_nextstep
|
||||
ARMSCII-8, ei_armscii_8
|
||||
GEORGIAN-ACADEMY, ei_georgian_academy
|
||||
GEORGIAN-PS, ei_georgian_ps
|
||||
KOI8-T, ei_koi8_t
|
||||
PT154, ei_pt154
|
||||
PTCP154, ei_pt154
|
||||
CP154, ei_pt154
|
||||
CYRILLIC-ASIAN, ei_pt154
|
||||
CSPTCP154, ei_pt154
|
||||
MULELAO-1, ei_mulelao
|
||||
CP1133, ei_cp1133
|
||||
IBM-CP1133, ei_cp1133
|
||||
TIS-620, ei_tis620
|
||||
TIS620, ei_tis620
|
||||
TIS620-0, ei_tis620
|
||||
TIS620.2529-1, ei_tis620
|
||||
TIS620.2533-0, ei_tis620
|
||||
TIS620.2533-1, ei_tis620
|
||||
ISO-IR-166, ei_tis620
|
||||
CP874, ei_cp874
|
||||
WINDOWS-874, ei_cp874
|
||||
VISCII, ei_viscii
|
||||
VISCII1.1-1, ei_viscii
|
||||
CSVISCII, ei_viscii
|
||||
TCVN, ei_tcvn
|
||||
TCVN-5712, ei_tcvn
|
||||
TCVN5712-1, ei_tcvn
|
||||
TCVN5712-1:1993, ei_tcvn
|
||||
JIS_C6220-1969-RO, ei_iso646_jp
|
||||
ISO646-JP, ei_iso646_jp
|
||||
ISO-IR-14, ei_iso646_jp
|
||||
JP, ei_iso646_jp
|
||||
CSISO14JISC6220RO, ei_iso646_jp
|
||||
JIS_X0201, ei_jisx0201
|
||||
JISX0201-1976, ei_jisx0201
|
||||
X0201, ei_jisx0201
|
||||
CSHALFWIDTHKATAKANA, ei_jisx0201
|
||||
JIS_X0208, ei_jisx0208
|
||||
JIS_X0208-1983, ei_jisx0208
|
||||
JIS_X0208-1990, ei_jisx0208
|
||||
JIS0208, ei_jisx0208
|
||||
X0208, ei_jisx0208
|
||||
ISO-IR-87, ei_jisx0208
|
||||
JIS_C6226-1983, ei_jisx0208
|
||||
CSISO87JISX0208, ei_jisx0208
|
||||
JIS_X0212, ei_jisx0212
|
||||
JIS_X0212.1990-0, ei_jisx0212
|
||||
JIS_X0212-1990, ei_jisx0212
|
||||
X0212, ei_jisx0212
|
||||
ISO-IR-159, ei_jisx0212
|
||||
CSISO159JISX02121990, ei_jisx0212
|
||||
GB_1988-80, ei_iso646_cn
|
||||
ISO646-CN, ei_iso646_cn
|
||||
ISO-IR-57, ei_iso646_cn
|
||||
CN, ei_iso646_cn
|
||||
CSISO57GB1988, ei_iso646_cn
|
||||
GB_2312-80, ei_gb2312
|
||||
ISO-IR-58, ei_gb2312
|
||||
CSISO58GB231280, ei_gb2312
|
||||
CHINESE, ei_gb2312
|
||||
ISO-IR-165, ei_isoir165
|
||||
CN-GB-ISOIR165, ei_isoir165
|
||||
KSC_5601, ei_ksc5601
|
||||
KS_C_5601-1987, ei_ksc5601
|
||||
KS_C_5601-1989, ei_ksc5601
|
||||
ISO-IR-149, ei_ksc5601
|
||||
CSKSC56011987, ei_ksc5601
|
||||
KOREAN, ei_ksc5601
|
||||
EUC-JP, ei_euc_jp
|
||||
EUCJP, ei_euc_jp
|
||||
EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE, ei_euc_jp
|
||||
CSEUCPKDFMTJAPANESE, ei_euc_jp
|
||||
SHIFT_JIS, ei_sjis
|
||||
SHIFT-JIS, ei_sjis
|
||||
SJIS, ei_sjis
|
||||
MS_KANJI, ei_sjis
|
||||
CSSHIFTJIS, ei_sjis
|
||||
CP932, ei_cp932
|
||||
ISO-2022-JP, ei_iso2022_jp
|
||||
CSISO2022JP, ei_iso2022_jp
|
||||
ISO-2022-JP-1, ei_iso2022_jp1
|
||||
ISO-2022-JP-2, ei_iso2022_jp2
|
||||
CSISO2022JP2, ei_iso2022_jp2
|
||||
EUC-CN, ei_euc_cn
|
||||
EUCCN, ei_euc_cn
|
||||
GB2312, ei_euc_cn
|
||||
CN-GB, ei_euc_cn
|
||||
CSGB2312, ei_euc_cn
|
||||
GBK, ei_ces_gbk
|
||||
CP936, ei_cp936
|
||||
MS936, ei_cp936
|
||||
WINDOWS-936, ei_cp936
|
||||
GB18030, ei_gb18030
|
||||
ISO-2022-CN, ei_iso2022_cn
|
||||
CSISO2022CN, ei_iso2022_cn
|
||||
ISO-2022-CN-EXT, ei_iso2022_cn_ext
|
||||
HZ, ei_hz
|
||||
HZ-GB-2312, ei_hz
|
||||
EUC-TW, ei_euc_tw
|
||||
EUCTW, ei_euc_tw
|
||||
CSEUCTW, ei_euc_tw
|
||||
BIG5, ei_ces_big5
|
||||
BIG-5, ei_ces_big5
|
||||
BIG-FIVE, ei_ces_big5
|
||||
BIGFIVE, ei_ces_big5
|
||||
CN-BIG5, ei_ces_big5
|
||||
CSBIG5, ei_ces_big5
|
||||
CP950, ei_cp950
|
||||
BIG5-HKSCS:1999, ei_big5hkscs1999
|
||||
BIG5-HKSCS:2001, ei_big5hkscs2001
|
||||
BIG5-HKSCS, ei_big5hkscs2004
|
||||
BIG5HKSCS, ei_big5hkscs2004
|
||||
BIG5-HKSCS:2004, ei_big5hkscs2004
|
||||
EUC-KR, ei_euc_kr
|
||||
EUCKR, ei_euc_kr
|
||||
CSEUCKR, ei_euc_kr
|
||||
CP949, ei_cp949
|
||||
UHC, ei_cp949
|
||||
JOHAB, ei_johab
|
||||
CP1361, ei_johab
|
||||
ISO-2022-KR, ei_iso2022_kr
|
||||
CSISO2022KR, ei_iso2022_kr
|
||||
CHAR, ei_local_char
|
||||
WCHAR_T, ei_local_wchar_t
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user