mirror of https://github.com/moparisthebest/curl
Adapting OS400 build scripts to new features: new curlbuild.h file and soname in VERSION --> VERSIONINFO
This commit is contained in:
parent
4962e1772d
commit
fdcb0cd2bc
|
@ -22,7 +22,7 @@ export SCRIPTDIR TOPDIR
|
||||||
|
|
||||||
# Extract the SONAME from the library makefile.
|
# Extract the SONAME from the library makefile.
|
||||||
|
|
||||||
SONAME=`sed -e '/^VERSION=/!d' -e 's/^.* \([0-9]*\):.*$/\1/' \
|
SONAME=`sed -e '/^VERSIONINFO=/!d' -e 's/^.* \([0-9]*\):.*$/\1/' -e 'q' \
|
||||||
< "${TOPDIR}/lib/Makefile.am"`
|
< "${TOPDIR}/lib/Makefile.am"`
|
||||||
export SONAME
|
export SONAME
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,13 @@ SCRIPTDIR=`dirname "${0}"`
|
||||||
cd "${TOPDIR}/include"
|
cd "${TOPDIR}/include"
|
||||||
|
|
||||||
|
|
||||||
|
# Produce the curlbuild.h include file.
|
||||||
|
|
||||||
|
if action_needed curl/curlbuild.h curl/curlbuild.h.dist
|
||||||
|
then cp -p curl/curlbuild.h.dist curl/curlbuild.h
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Create the OS/400 source program file for the include files.
|
# Create the OS/400 source program file for the include files.
|
||||||
|
|
||||||
SRCPF="${LIBIFSNAME}/H.FILE"
|
SRCPF="${LIBIFSNAME}/H.FILE"
|
||||||
|
|
Loading…
Reference in New Issue