aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2008-08-25 13:58:45 +0000
committerPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2008-08-25 13:58:45 +0000
commitfdcb0cd2bce920231af8c0218fe48f276817018b (patch)
tree2e35de8629f93cf201f3b1d5ce4e0b3f302d3e40 /packages
parent4962e1772d3a8102234f090efecae3bc887c4b4a (diff)
Adapting OS400 build scripts to new features: new curlbuild.h file and soname in VERSION --> VERSIONINFO
Diffstat (limited to 'packages')
-rw-r--r--packages/OS400/initscript.sh2
-rw-r--r--packages/OS400/make-include.sh7
2 files changed, 8 insertions, 1 deletions
diff --git a/packages/OS400/initscript.sh b/packages/OS400/initscript.sh
index ad4aa7da2..308c6d72b 100644
--- a/packages/OS400/initscript.sh
+++ b/packages/OS400/initscript.sh
@@ -22,7 +22,7 @@ export SCRIPTDIR TOPDIR
# 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"`
export SONAME
diff --git a/packages/OS400/make-include.sh b/packages/OS400/make-include.sh
index 3607abb93..ecbc7e1db 100644
--- a/packages/OS400/make-include.sh
+++ b/packages/OS400/make-include.sh
@@ -9,6 +9,13 @@ SCRIPTDIR=`dirname "${0}"`
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.
SRCPF="${LIBIFSNAME}/H.FILE"