diff options
author | John Wiegley <johnw@newartisans.com> | 2008-04-20 19:34:25 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-20 19:34:25 -0400 |
commit | cb0a436d94b231956f42020ceebafab24ae63b4c (patch) | |
tree | e05984a0319641b81e19c99cda8917aa43c7cd33 /acprep | |
parent | 7dd43dd334d4361b92a64d8d3e9ec85a267e98c6 (diff) | |
download | fork-ledger-cb0a436d94b231956f42020ceebafab24ae63b4c.tar.gz fork-ledger-cb0a436d94b231956f42020ceebafab24ae63b4c.tar.bz2 fork-ledger-cb0a436d94b231956f42020ceebafab24ae63b4c.zip |
Fixed acprep so that it builds Ledger again. Somehow it got completely
broken at some point.
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -35,23 +35,30 @@ LIBDIRS="-L/opt/local/lib -L/usr/local/lib" if [ "$1" = "--debug" ]; then shift 1 - ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g" \ + $HERE/configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g" \ --enable-debug --enable-python "$@" elif [ "$1" = "--opt" ]; then shift 1 - ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \ + $HERE/configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \ CXXFLAGS="-fomit-frame-pointer -O3 -mcpu=7450 -fPIC" "$@" elif [ "$1" = "--flat-opt" ]; then shift 1 - ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \ + $HERE/configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \ CXXFLAGS="-fomit-frame-pointer -O3 -mcpu=7450" "$@" elif [ "$1" = "--safe-opt" ]; then shift 1 - ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \ + $HERE/configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \ CXXFLAGS="-fomit-frame-pointer -O3 -mcpu=7450 -fPIC -DDEBUG_LEVEL=1" "$@" elif [ "$1" = "--perf" ]; then shift 1 - ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g -pg" "$@" + $HERE/configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g -pg" "$@" +elif [ "$1" = "--python" ]; then + shift 1 + $HERE/configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g" \ + --enable-python "$@" +else + shift 1 + $HERE/configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g" "$@" fi -rm AUTHORS COPYING +rm -f AUTHORS COPYING |