martin 00/01/10 02:39:51
Modified: src Configure
Log:
Improve compilation on RISC-based BS2000 mainframes by autodetecting the
presence of MIPS CPUs (speed improvement 3..6-fold)
Revision Changes Path
1.384 +6 -0 apache-1.3/src/Configure
Index: Configure
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/Configure,v
retrieving revision 1.383
retrieving revision 1.384
diff -u -r1.383 -r1.384
--- Configure 1999/12/20 14:50:55 1.383
+++ Configure 2000/01/10 10:39:46 1.384
@@ -1484,6 +1484,12 @@
fi
;;
BS2000*-siemens-sysv4*)
+ # Activate RISC compilation if this is a SR2000 machine
+ # (test written by Thomas Dorner <[EMAIL PROTECTED]>
+ # for perl5 port):
+ if [ -n "`bs2cmd SHOW-SYSTEM-INFO | grep 'HSI-ATT.*TYPE.*SR'`" ]; then
+ CFLAGS="$CFLAGS -Krisc_4000"
+ fi
# Depending on the BS2000 OS and compiler/crte release,
# -lnsl may be available (or may be not).
# In standard SVR4 systems, -lsocket relies on some symbols