*** empty log message ***

This commit is contained in:
John Wiegley 2006-04-18 20:22:14 +00:00
parent 9ec136db90
commit 1368952f4c

16
acprep
View file

@ -10,6 +10,7 @@ fi
aclocal aclocal
autoheader autoheader
if [ "$1" = "--dist" ]; then if [ "$1" = "--dist" ]; then
shift 1
automake -a -c -f -i automake -a -c -f -i
else else
automake -a -c -f automake -a -c -f
@ -23,19 +24,24 @@ INCDIRS="$INCDIRS -Wno-long-double"
LIBDIRS="-L/sw/lib -L/usr/local/lib -L/sw/lib/python2.4/config" LIBDIRS="-L/sw/lib -L/usr/local/lib -L/sw/lib/python2.4/config"
if [ "$1" = "--debug" ]; then if [ "$1" = "--debug" ]; then
shift 1
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g" \ ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g" \
--enable-debug --enable-python --enable-debug --enable-python "$@"
elif [ "$1" = "--opt" ]; then elif [ "$1" = "--opt" ]; then
shift 1
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \ ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \
CXXFLAGS="-fomit-frame-pointer -O3 -mcpu=7450 -fPIC" CXXFLAGS="-fomit-frame-pointer -O3 -mcpu=7450 -fPIC" "$@"
elif [ "$1" = "--flat-opt" ]; then elif [ "$1" = "--flat-opt" ]; then
shift 1
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \ ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \
CXXFLAGS="-fomit-frame-pointer -O3 -mcpu=7450" CXXFLAGS="-fomit-frame-pointer -O3 -mcpu=7450" "$@"
elif [ "$1" = "--safe-opt" ]; then elif [ "$1" = "--safe-opt" ]; then
shift 1
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \ ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \
CXXFLAGS="-fomit-frame-pointer -O3 -mcpu=7450 -fPIC -DDEBUG_LEVEL=1" CXXFLAGS="-fomit-frame-pointer -O3 -mcpu=7450 -fPIC -DDEBUG_LEVEL=1" "$@"
elif [ "$1" = "--perf" ]; then elif [ "$1" = "--perf" ]; then
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g -pg" shift 1
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g -pg" "$@"
fi fi
rm AUTHORS COPYING rm AUTHORS COPYING