diff options
author | Patrick Monnerat <pm@datasphere.ch> | 2010-09-29 16:56:57 +0200 |
---|---|---|
committer | Patrick Monnerat <pm@datasphere.ch> | 2010-09-29 16:56:57 +0200 |
commit | dfaaa99ded2b9738346540d7d4c7f541436c617d (patch) | |
tree | 35fb987cf7e86b49bdbbd32c764cfc21fea5a1f4 | |
parent | 87badbef846c29359f2981076d53acd108b57254 (diff) |
Add gopher protocol definition to ILE/RPG binding.
OS400 compile script in test dir updated for chkhostname.
-rw-r--r-- | packages/OS400/curl.inc.in | 2 | ||||
-rw-r--r-- | packages/OS400/make-tests.sh | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/packages/OS400/curl.inc.in b/packages/OS400/curl.inc.in index e44816293..b5e46bb16 100644 --- a/packages/OS400/curl.inc.in +++ b/packages/OS400/curl.inc.in @@ -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 diff --git a/packages/OS400/make-tests.sh b/packages/OS400/make-tests.sh index 06c966911..cee3ed95d 100644 --- a/packages/OS400/make-tests.sh +++ b/packages/OS400/make-tests.sh @@ -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)" |