1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-24 13:33:01 +03:00

small changes for OS/400

OS/400 version V5R3 is not supported by IBM anymore.
In addition, the iSeries system I have here for development has been changed
and the new system is not able to compile for an OS version lower than V6R1.

Thus I made some updates to the libxml2 os400 scripts accordingly:

- Oldest supported OS version is now V6R1.
- Adjust ILE/RPG wrappers comments.
- Update copyright year range.
- Do not log compiler informational messages.
This commit is contained in:
Patrick Monnerat
2017-07-27 11:20:02 +08:00
committed by Daniel Veillard
parent 899a5d9f0e
commit d1f9062486
4 changed files with 6 additions and 6 deletions

View File

@@ -50,7 +50,7 @@ setenv TGTCCSID '500' # Target CCSID of objects.
setenv DEBUG '*ALL' # Debug level. setenv DEBUG '*ALL' # Debug level.
setenv OPTIMIZE '10' # Optimisation level. setenv OPTIMIZE '10' # Optimisation level.
setenv OUTPUT '*NONE' # Compilation output option. setenv OUTPUT '*NONE' # Compilation output option.
setenv TGTRLS 'V5R3M0' # Target OS release. setenv TGTRLS 'V6R1M0' # Target OS release.
setenv IFSDIR '/libxml2' # Installation IFS directory. setenv IFSDIR '/libxml2' # Installation IFS directory.
@@ -217,7 +217,7 @@ make_module()
cat "${2}" >> __tmpsrcf.c cat "${2}" >> __tmpsrcf.c
CMD="CRTCMOD MODULE(${TARGETLIB}/${1}) SRCSTMF('__tmpsrcf.c')" CMD="CRTCMOD MODULE(${TARGETLIB}/${1}) SRCSTMF('__tmpsrcf.c')"
# CMD="${CMD} OPTION(*INCDIRFIRST *SHOWINC *SHOWSYS)" # CMD="${CMD} OPTION(*INCDIRFIRST *SHOWINC *SHOWSYS)"
CMD="${CMD} OPTION(*INCDIRFIRST)" CMD="${CMD} OPTION(*INCDIRFIRST) FLAG(10)"
CMD="${CMD} SYSIFCOPT(*IFS64IO) LANGLVL(*EXTENDED) LOCALETYPE(*LOCALE)" CMD="${CMD} SYSIFCOPT(*IFS64IO) LANGLVL(*EXTENDED) LOCALETYPE(*LOCALE)"
CMD="${CMD} INCDIR(" CMD="${CMD} INCDIR("
if [ -z "${SYSICONV}" ] if [ -z "${SYSICONV}" ]

View File

@@ -115,7 +115,7 @@
d like(xmlCint) d like(xmlCint)
d buf * value options(*string) xmlChar * d buf * value options(*string) xmlChar *
d len value like(xmlCint) d len value like(xmlCint)
d msg * value options(*string) const xmlChar * d msg * value options(*string) const char *
d arg1 * value options(*string: *nopass) d arg1 * value options(*string: *nopass)
d arg2 * value options(*string: *nopass) d arg2 * value options(*string: *nopass)
d arg3 * value options(*string: *nopass) d arg3 * value options(*string: *nopass)
@@ -129,7 +129,7 @@
d like(xmlCint) d like(xmlCint)
d buf * value options(*string) xmlChar * d buf * value options(*string) xmlChar *
d len value like(xmlCint) d len value like(xmlCint)
d msg * value options(*string) const xmlChar * d msg * value options(*string) const char *
d ap likeds(xmlVaList) d ap likeds(xmlVaList)
d xmlGetUTF8Char pr extproc('xmlGetUTF8Char') d xmlGetUTF8Char pr extproc('xmlGetUTF8Char')

View File

@@ -17,7 +17,7 @@ cd "${TOPDIR}"
echo '#pragma comment(user, "libxml2 version '"${LIBXML_VERSION}"'")' > os400.c echo '#pragma comment(user, "libxml2 version '"${LIBXML_VERSION}"'")' > os400.c
echo '#pragma comment(user, __DATE__)' >> os400.c echo '#pragma comment(user, __DATE__)' >> os400.c
echo '#pragma comment(user, __TIME__)' >> os400.c echo '#pragma comment(user, __TIME__)' >> os400.c
echo '#pragma comment(copyright, "Copyright (C) 1998-2015 Daniel Veillard. OS/400 version by P. Monnerat.")' >> os400.c echo '#pragma comment(copyright, "Copyright (C) 1998-2017 Daniel Veillard. OS/400 version by P. Monnerat.")' >> os400.c
make_module OS400 os400.c make_module OS400 os400.c
LINK= # No need to rebuild service program yet. LINK= # No need to rebuild service program yet.
MODULES= MODULES=

View File

@@ -8,7 +8,7 @@ from distutils.core import setup, Extension
# Below ROOT, we expect to find include, include/libxml2, lib and bin. # Below ROOT, we expect to find include, include/libxml2, lib and bin.
# On *nix, it is not needed (but should not harm), # On *nix, it is not needed (but should not harm),
# on Windows, it is set by configure.js. # on Windows, it is set by configure.js.
ROOT = r'/usr' ROOT = r'/usr/local'
# Thread-enabled libxml2 # Thread-enabled libxml2
with_threads = 1 with_threads = 1