diff options
author | Jeff Trawick <trawick@apache.org> | 2000-09-01 14:46:23 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2000-09-01 14:46:23 +0000 |
commit | aa67e8781570f8fc0ddf4e712389fbc5960df5f2 (patch) | |
tree | a4e6d44dd3f8468fa7552c2133d3bff337320123 /helpers | |
parent | 19a7e36df0bcc8440a640c00639e81485165a433 (diff) | |
download | apr-aa67e8781570f8fc0ddf4e712389fbc5960df5f2.tar.gz |
Add support for OS/390 to APR's config.sub and config.guess. TPF and VM/CMS
came along for the ride.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60520 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/config.guess | 3 | ||||
-rwxr-xr-x | helpers/config.sub | 26 |
2 files changed, 27 insertions, 2 deletions
diff --git a/helpers/config.guess b/helpers/config.guess index 19b0a0a71..a58889d62 100755 --- a/helpers/config.guess +++ b/helpers/config.guess @@ -354,6 +354,9 @@ EOF *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit 0 ;; + *:OS390:*:* | *:OS/390:*:*) + echo s390-ibm-os390 + exit 0 ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' diff --git a/helpers/config.sub b/helpers/config.sub index 8e7cdd62c..19c7337e4 100755 --- a/helpers/config.sub +++ b/helpers/config.sub @@ -72,6 +72,14 @@ case $maybe_os in os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; + tpf | os390 | vmcms) + os=-$maybe_os + basic_machine=s390; + ;; + mvs) + os=-mvs + basic_machine=i370; + ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] @@ -654,6 +662,9 @@ case $basic_machine in basic_machine=a29k-amd os=-udi ;; + s390*) + basic_machine=s390-ibm + ;; sequent) basic_machine=i386-sequent ;; @@ -910,7 +921,8 @@ case $os in | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ - | -interix* | -uwin* | -rhapsody* | -openstep* | -oskit*) + | -interix* | -uwin* | -rhapsody* | -openstep* | -oskit* \ + | -tpf* | -os390* | -vmcms* ) # Remember, each alternative MUST END IN *, to match a version number. ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ @@ -1058,7 +1070,17 @@ case $basic_machine in os=-beos ;; *-ibm) - os=-aix + case $basic_machine in + s390*) + os=-os390; + ;; + i370*) + os=-mvs; + ;; + *) + os=-aix + ;; + esac ;; *-wec) os=-proelf |