You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@locus.apache.org on 2000/09/01 16:46:24 UTC
cvs commit: apache-2.0/src/lib/apr/helpers config.guess config.sub
trawick 00/09/01 07:46:24
Modified: src/lib/apr/helpers config.guess config.sub
Log:
Add support for OS/390 to APR's config.sub and config.guess. TPF and VM/CMS
came along for the ride.
Revision Changes Path
1.2 +3 -0 apache-2.0/src/lib/apr/helpers/config.guess
Index: config.guess
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/helpers/config.guess,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- config.guess 2000/07/14 18:05:59 1.1
+++ config.guess 2000/09/01 14:46:23 1.2
@@ -354,6 +354,9 @@
*: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 '
1.2 +24 -2 apache-2.0/src/lib/apr/helpers/config.sub
Index: config.sub
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/helpers/config.sub,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- config.sub 2000/07/14 18:05:59 1.1
+++ config.sub 2000/09/01 14:46:23 1.2
@@ -72,6 +72,14 @@
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 @@
basic_machine=a29k-amd
os=-udi
;;
+ s390*)
+ basic_machine=s390-ibm
+ ;;
sequent)
basic_machine=i386-sequent
;;
@@ -910,7 +921,8 @@
| -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 @@
os=-beos
;;
*-ibm)
- os=-aix
+ case $basic_machine in
+ s390*)
+ os=-os390;
+ ;;
+ i370*)
+ os=-mvs;
+ ;;
+ *)
+ os=-aix
+ ;;
+ esac
;;
*-wec)
os=-proelf