OS400 install: Duplicate H include file to file CURL to support more include path forms.

This commit is contained in:
Patrick Monnerat 2009-10-23 15:05:45 +00:00
parent 72acffc66c
commit 7531ac89d6
1 changed files with 12 additions and 0 deletions

View File

@ -65,3 +65,15 @@ done
# Copy the ILE/RPG include file, setting-up version number.
versioned_copy "${SCRIPTDIR}/curl.inc.in" "${SRCPF}/CURL.INC.MBR"
# Duplicate file H as CURL to support more include path forms.
if action_needed "${LIBIFSNAME}/CURL.FILE"
then :
else system "DLTF FILE(${TARGETLIB}/CURL)"
fi
CMD="CRTDUPOBJ OBJ(H) FROMLIB(${TARGETLIB}) OBJTYPE(*FILE) TOLIB(*FROMLIB)"
CMD="${CMD} NEWOBJ(CURL) DATA(*YES)"
system "${CMD}"