saoconfig | saoconfig | |||
---|---|---|---|---|
skipping to change at line 16 | skipping to change at line 16 | |||
name=`uname -n` | name=`uname -n` | |||
else | else | |||
if [ x"$1" = x"--" ]; then | if [ x"$1" = x"--" ]; then | |||
name=`uname -n` | name=`uname -n` | |||
else | else | |||
name="$1" | name="$1" | |||
fi | fi | |||
shift | shift | |||
fi | fi | |||
echo "configure for: " $name | ||||
if [ x"$CFLAGS" = x ]; then | if [ x"$CFLAGS" = x ]; then | |||
CFLAGS="-g" | CFLAGS="-g" | |||
export CFLAGS | export CFLAGS | |||
fi | fi | |||
if [ x"$LDFLAGS" = x ]; then | if [ x"$LDFLAGS" = x ]; then | |||
LDFLAGS="-g" | LDFLAGS="-g" | |||
export LDFLAGS | export LDFLAGS | |||
fi | fi | |||
GCCFLAGS="-Wall -Wno-implicit-int" | GCCFLAGS="-Wall -Wno-implicit-int" | |||
CF="--config-cache" | CF="--config-cache" | |||
BIT64="-m64 -mcpu=v9" | BIT64="-m64 -mcpu=v9" | |||
LARGEFILE="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" | LARGEFILE="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" | |||
# handle saord builds specially | ||||
if [ x$name = xsaord ]; then | ||||
SAORDPREFIX=/soft/saord | ||||
platform=`uname` | ||||
case $platform in | ||||
SunOS) | ||||
SAORDPREFIX=/net/saord | ||||
;; | ||||
esac | ||||
fi | ||||
echo "configure for: " $name | ||||
case $name in | case $name in | |||
cc) | cc) | |||
./configure $CF \ | ./configure $CF \ | |||
CC=cc CFLAGS="$CFLAGS" $* | CC=cc CFLAGS="$CFLAGS" $* | |||
;; | ;; | |||
gcc) | gcc) | |||
./configure $CF \ | ./configure $CF \ | |||
CC=gcc CFLAGS="$CFLAGS $GCCFLAGS" $* | CC=gcc CFLAGS="$CFLAGS $GCCFLAGS" $* | |||
;; | ;; | |||
skipping to change at line 88 | skipping to change at line 99 | |||
;; | ;; | |||
threads) | threads) | |||
./configure $CF \ | ./configure $CF \ | |||
--enable-threaded-xpans \ | --enable-threaded-xpans \ | |||
CC=cc CFLAGS="$CFLAGS" $* | CC=cc CFLAGS="$CFLAGS" $* | |||
;; | ;; | |||
saord*) | saord*) | |||
./configure $CF \ | ./configure $CF \ | |||
--x-includes=/usr/openwin/include \ | --prefix=$SAORDPREFIX \ | |||
--x-libraries=/usr/openwin/lib \ | ||||
--prefix=/net/saord \ | ||||
CC=gcc CFLAGS="$CFLAGS -O2" \ | ||||
$* | ||||
;; | ||||
archer*) | ||||
./configure $CF \ | ||||
--x-includes=/usr/openwin/include \ | ||||
--x-libraries=/usr/openwin/lib \ | ||||
--prefix=/soft/saord \ | ||||
CC=gcc CFLAGS="$CFLAGS -O2" \ | CC=gcc CFLAGS="$CFLAGS -O2" \ | |||
$* | $* | |||
;; | ;; | |||
bynars*) | bokhara*) | |||
./configure $CF \ | ./configure $CF \ | |||
--x-includes=/usr/openwin/include \ | ||||
--x-libraries=/usr/openwin/lib \ | ||||
--with-tcl=/proj/rd/lib \ | ||||
--prefix=${HOME} \ | --prefix=${HOME} \ | |||
--enable-shared=yes \ | CC=gcc CFLAGS="$CFLAGS" $* | |||
CC=gcc CFLAGS="$CFLAGS $GCCFLAGS" \ | ||||
$* | ||||
;; | ;; | |||
neptune*) | cfa208*) | |||
./configure $CF \ | ./configure $CF \ | |||
--prefix=${HOME} \ | --prefix=${HOME} \ | |||
CC=cc CFLAGS="$CFLAGS" $* | CC=gcc CFLAGS="$CFLAGS" $* | |||
;; | ;; | |||
jove*) | akela*|karapet*) | |||
./configure $CF \ | ./configure $CF \ | |||
--prefix=${HOME} \ | --prefix=${HOME} \ | |||
CC=icc CFLAGS="$CFLAGS" $* | --enable-shared=yes \ | |||
;; | CC=gcc CFLAGS="$CFLAGS $GCCFLAGS" $* | |||
kodos*) | ||||
./configure $CF \ | ||||
--prefix=/proj/rd/eric/sgi \ | ||||
CC=cc CFLAGS="$CFLAGS" $* | ||||
;; | ;; | |||
karapet*) | ds9*) | |||
./configure $CF \ | ./configure $CF \ | |||
--prefix=${HOME} $* | --prefix=${HOME}/eric \ | |||
--enable-shared=yes \ | ||||
CC=gcc CFLAGS="$CFLAGS $GCCFLAGS" $* | ||||
;; | ;; | |||
akela*) | jove*) | |||
./configure $CF \ | ./configure $CF \ | |||
--prefix=${HOME} \ | --prefix=${HOME} \ | |||
--enable-shared=yes \ | CC=icc CFLAGS="$CFLAGS" $* | |||
CC=gcc CFLAGS="$CFLAGS $GCCFLAGS" $* | ||||
;; | ;; | |||
ds9*) | apple*|APPLE*) | |||
./configure $CF \ | ./configure $CF \ | |||
--prefix=${HOME}/eric \ | --prefix=${HOME} \ | |||
--enable-shared=yes \ | CC=icc CFLAGS="$CFLAGS" $* | |||
CC=gcc CFLAGS="$CFLAGS $GCCFLAGS" $* | ||||
;; | ;; | |||
mred) | mred) | |||
./configure $CF \ | ./configure $CF \ | |||
--prefix=${HOME}/pub/usr/local \ | --prefix=${HOME}/pub/usr/local \ | |||
--enable-threaded-xpans \ | --enable-threaded-xpans \ | |||
--without-tcl \ | ||||
CC=cc CFLAGS="$CFLAGS" $* | CC=cc CFLAGS="$CFLAGS" $* | |||
;; | ;; | |||
mocha*|Mocha*|luwak*|*Luwak*|decaf*|Decaf*|barista*|Barista*|knomad*|Knom | ||||
ad*) | ||||
./configure $CF \ | ||||
--prefix=/usr/local \ | ||||
CC=gcc CFLAGS="$CFLAGS $GCCFLAGS $LARGEFILE -O2" \ | ||||
$* | ||||
;; | ||||
*) | *) | |||
./configure $CF $* | ./configure $CF $* | |||
;; | ;; | |||
esac | esac | |||
End of changes. 18 change blocks. | ||||
40 lines changed or deleted | 39 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |