jim 98/12/22 07:05:18
Modified:src Configure
Log:
Some Configure cleanups... we were using TABs
inconsistantly. We use TABs in Configure since, at times, it generates
inline scripts to awk and sed, and some shells have small buffers
Revision ChangesPath
1.314 +400 -400 apache-1.3/src/Configure
Index: Configure
===
RCS file: /export/home/cvs/apache-1.3/src/Configure,v
retrieving revision 1.313
retrieving revision 1.314
diff -u -r1.313 -r1.314
--- Configure 1998/12/22 14:49:47 1.313
+++ Configure 1998/12/22 15:05:17 1.314
@@ -264,13 +264,13 @@
case "$PLAT" in
*mint)
-OS="MiNT"
-CFLAGS="-DMINT"
-LIBS="$LIBS -lportlib -lsocket"
-DEF_WANTHSREGEX=yes
-;;
+ OS="MiNT"
+ CFLAGS="-DMINT"
+ LIBS="$LIBS -lportlib -lsocket"
+ DEF_WANTHSREGEX=yes
+ ;;
*MPE/iX*)
-OS='MPE/iX'
+ OS='MPE/iX'
CFLAGS="$CFLAGS -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE"
LIBS="$LIBS -lsocket -lsvipc"
LDFLAGS="$LDFLAGS -Xlinker \"-WL,cap=ia,ba,ph,pm;nmstack=1024000\""
@@ -352,9 +352,9 @@
case "$PLAT" in
*-hp-hpux10.01)
# We know this is a problem in 10.01.
- # Not a problem in 10.20. Otherwise, who knows?
- CFLAGS="$CFLAGS -DSELECT_NEEDS_CAST"
- ;;
+# Not a problem in 10.20. Otherwise, who knows?
+CFLAGS="$CFLAGS -DSELECT_NEEDS_CAST"
+;;
esac
DEF_WANTHSREGEX=yes
;;
@@ -366,7 +366,7 @@
LIBS="$LIBS -lm"
;;
*-sgi-irix64)
-# Note: We'd like to see patches to compile 64-bit, but for now...
+ # Note: We'd like to see patches to compile 64-bit, but for now...
echo "You are running 64-bit Irix. For now, we will compile 32-bit"
echo "but if you would care to port to 64-bit, send us the patches."
DEF_WANTHSREGEX=yes
@@ -584,15 +584,15 @@
LIBS="$LIBS -lsocket -lnsl -lc -lgen"
;;
*-*-powermax*)
-OS='SVR4'
-CFLAGS="$CFLAGS -DSVR4"
-DEF_WANTHSREGEX=yes
-LIBS="$LIBS -lsocket -lnsl -lgen"
-LD_SHLIB='cc'
-LDFLAGS_SHLIB="-Zlink=so"
-LDFLAGS_SHLIB_EXPORT="-Zlink=dynamic -Wl,-Bexport"
-CFLAGS_SHLIB='-Zpic'
-;;
+ OS='SVR4'
+ CFLAGS="$CFLAGS -DSVR4"
+ DEF_WANTHSREGEX=yes
+ LIBS="$LIBS -lsocket -lnsl -lgen"
+ LD_SHLIB='cc'
+ LDFLAGS_SHLIB="-Zlink=so"
+ LDFLAGS_SHLIB_EXPORT="-Zlink=dynamic -Wl,-Bexport"
+ CFLAGS_SHLIB='-Zpic'
+ ;;
BS2000*-sni-sysv4*)
OS='BS2000'
OSDIR='os/bs2000'
@@ -706,26 +706,26 @@
DEF_WANTHSREGEX=yes
;;
4850-*.*)
-OS='NCR MP/RAS'
-CFLAGS="$CFLAGS -DSVR4 -DMPRAS"
-DEF_WANTHSREGEX=yes
-LIBS="$LIBS -lsocket -lnsl -lc -L/usr/ucblib -lucb"
-;;
+ OS='NCR MP/RAS'
+ CFLAGS="$CFLAGS -DSVR4 -DMPRAS"
+ DEF_WANTHSREGEX=yes
+ LIBS="$LIBS -lsocket -lnsl -lc -L/usr/ucblib -lucb"
+ ;;
drs6000*)
-OS='DRS6000'
-CFLAGS="$CFLAGS -DSVR4"
-DEF_WANTHSREGEX=yes
-LIBS="$LIBS -lsocket -lnsl -lc -L/usr/ucblib -lucb"
-;;
+ OS='DRS6000'
+ CFLAGS="$CFLAGS -DSVR4"
+ DEF_WANTHSREGEX=yes
+ LIBS="$LIBS -lsocket -lnsl -lc -L/usr/ucblib -lucb"
+ ;;
m88k-*-CX/SX|CYBER)
-OS='Cyberguard CX/SX'
-CFLAGS="$CFLAGS -D_CX_SX -Xa"
-DEF_WANTHSREGEX=yes
-CC='cc'
-RANLIB='true'
-;;
+ OS='Cyberguard CX/SX'
+ CFLAGS="$CFLAGS -D_CX_SX -Xa"
+ DEF_WANTHSREGEX=yes
+ CC='cc'
+ RANLIB='true'
+ ;;
*) # default: Catch systems we don't know about
-OS='Unknown and unsupported OS'
+ OS='Unknown and unsupported OS'
echo Sorry, but we cannot grok \"$PLAT\"
echo uname -m
uname -m
@@ -740,8 +740,8 @@
echo Ideally, read the file PORTING, do what it says, and send the
echo resulting patches to The Apache Group by filling out a report
echo form at http://www.apache.org/bug_report.html. If you don\'t
-echo wish to do the port yourself, please submit this output rather
-echo than the patches. Thank you.
+ echo wish to do the port yourself, please submit this output rather
+ echo than the patches. Thank you.
echo
echo Pressing on with the build process, but all bets are off.
echo Do not be surprised if it fails. If it works, and even
@@ -753,7 +753,7 @@
## set this if we haven't
##
-if [ ".${MAKE}" = . ]; then
+if [ "x${MAKE}"