summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-02-28 14:40:49 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:28 -0400
commit0c55a5ee1b5b35f399de7286cd8c6565a61e9634 (patch)
tree47c247481db46d478133eddade540f90c34402b3 /acprep
parent9db08c4c7de7b2058363bec4a3000f48fc78d580 (diff)
downloadfork-ledger-0c55a5ee1b5b35f399de7286cd8c6565a61e9634.tar.gz
fork-ledger-0c55a5ee1b5b35f399de7286cd8c6565a61e9634.tar.bz2
fork-ledger-0c55a5ee1b5b35f399de7286cd8c6565a61e9634.zip
(read_binary_journal): Fixed a tiny memory leak when reading from a
binary cache.
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep5
1 files changed, 3 insertions, 2 deletions
diff --git a/acprep b/acprep
index 8aa0f343..631bf197 100755
--- a/acprep
+++ b/acprep
@@ -18,12 +18,13 @@ autoconf
INCDIRS="-I/sw/include -I/usr/local/include/boost-1_33 -I/usr/include/httpd/xml"
#INCDIRS="$INCDIRS -I/sw/include/libofx"
+INCDIRS="$INCDIRS -I/sw/include/python2.4"
INCDIRS="$INCDIRS -Wno-long-double"
-LIBDIRS="-L/sw/lib -L/usr/local/lib"
+LIBDIRS="-L/sw/lib -L/usr/local/lib -L/sw/lib/python2.4/config"
if [ "$1" = "--debug" ]; then
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g" \
- --enable-debug
+ --enable-debug --enable-python
elif [ "$1" = "--opt" ]; then
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \
CXXFLAGS="-fomit-frame-pointer -O3 -mcpu=7450 -fPIC"