Add gopher protocol definition to ILE/RPG binding.

OS400 compile script in test dir updated for chkhostname.
This commit is contained in:
Patrick Monnerat 2010-09-29 16:56:57 +02:00
parent 87badbef84
commit dfaaa99ded
2 changed files with 16 additions and 1 deletions

View File

@ -645,6 +645,8 @@
d c X'00800000'
d CURLPROTO_RTMPTS...
d c X'01000000'
d CURLPROTO_GOPHER...
d c X'02000000'
*
d CURLoption s 10i 0 based(######ptr######) Enum
d CURLOPT_FILE c 10001

View File

@ -36,6 +36,11 @@ eval "`sed -e ': begin' \
-e 's/\\$(\\([^)]*\\))/${\\1}/g' \
< Makefile.inc`"
# Special case: redefine chkhostname compilation parameters.
chkhostname_SOURCES=chkhostname.c
chkhostname_LDADD=curl_gethostname.o
# Compile all programs.
# The list is found in variable "noinst_PROGRAMS"
@ -89,7 +94,15 @@ do DB2PGM=`db2_name "${PGM}"`
# Link program if needed.
if [ "${LINK}" ]
then MODULES="`echo \"${MODULES}\" |
then PGMLDADD="`eval echo \"\\${${PGM}_LDADD}\"`"
for LDARG in ${PGMLDADD}
do case "${LDARG}" in
-*) ;; # Ignore non-module.
*) MODULES="${MODULES} "`db2_name "${LDARG}"`
;;
esac
done
MODULES="`echo \"${MODULES}\" |
sed \"s/[^ ][^ ]*/${TARGETLIB}\/&/g\"`"
CMD="CRTPGM PGM(${TARGETLIB}/${DB2PGM})"
CMD="${CMD} ENTMOD(QADRT/QADRTMAIN2)"