a746021996-05-16Fredrik Hübinette (Hubbe) #!/bin/sh SRCPATH=`dirname $0` SRCPATH=`dirname $SRCPATH` case $SRCPATH in /*) ;; *) SRCPATH=`pwd`/$SRCPATH ;; esac set -e set -x
42f1051996-06-21Fredrik Hübinette (Hubbe) docompile5() {
a746021996-05-16Fredrik Hübinette (Hubbe)  mkdir test1 cd test1 $SRCPATH/src/configure --cache-file ../testcache
42f1051996-06-21Fredrik Hübinette (Hubbe)  # Modify makefile to simplify debugging... mv Makefile Makefile.orig sed <Makefile.orig >Makefile "s/^DEBUGDEF=.*$/DEBUGDEF=$1/g" make make verify
06983f1996-09-22Fredrik Hübinette (Hubbe)  make verify PIKEOPTS=-d2 # make verify PIKEOPTS=-d99
a746021996-05-16Fredrik Hübinette (Hubbe)  cd .. rm -rf test1 }
663b201996-06-09Fredrik Hübinette (Hubbe) 
a746021996-05-16Fredrik Hübinette (Hubbe) docompile2() {
06983f1996-09-22Fredrik Hübinette (Hubbe)  docompile5 "$1 -DDEBUG" docompile5 "$1"
a746021996-05-16Fredrik Hübinette (Hubbe) }
663b201996-06-09Fredrik Hübinette (Hubbe) docompile1() {
a746021996-05-16Fredrik Hübinette (Hubbe)  docompile2 "$1 -DALWAYS_GC" docompile2 "$1 -DNO_GC" docompile2 "$1" }
663b201996-06-09Fredrik Hübinette (Hubbe)  docompile1
a746021996-05-16Fredrik Hübinette (Hubbe) rm testcache