Skip to content
Snippets Groups Projects
Commit dfaaa99d authored by Patrick Monnerat's avatar Patrick Monnerat
Browse files

Add gopher protocol definition to ILE/RPG binding.

OS400 compile script in test dir updated for chkhostname.
parent 87badbef
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment