mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
Add gopher protocol definition to ILE/RPG binding.
OS400 compile script in test dir updated for chkhostname.
This commit is contained in:
parent
87badbef84
commit
dfaaa99ded
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user