summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-12-06 16:45:15 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 05:10:39 -0400
commit4960a75fdd2cddeecc9bccfddfc875fbc5a4e55c (patch)
tree90457700328cd711d4edd8f55bddc7a43bd02fef
parente7b8e39977c8993068a75968c21b72aeb9fce55c (diff)
downloadfork-ledger-4960a75fdd2cddeecc9bccfddfc875fbc5a4e55c.tar.gz
fork-ledger-4960a75fdd2cddeecc9bccfddfc875fbc5a4e55c.tar.bz2
fork-ledger-4960a75fdd2cddeecc9bccfddfc875fbc5a4e55c.zip
Changed pathnames for 10.5
-rwxr-xr-xacprep14
1 files changed, 12 insertions, 2 deletions
diff --git a/acprep b/acprep
index a684012e..ae4e8369 100755
--- a/acprep
+++ b/acprep
@@ -17,11 +17,21 @@ else
fi
autoconf
-INCDIRS="-I/sw/include -I/sw/include/boost -I/usr/include/httpd/xml"
+HERE="$PWD"
+
+if [ -d "$HOME/Products" ]; then
+ projdir="$HOME/Products/$(basename $HERE)"
+ if [ ! -d "$projdir" ]; then
+ mkdir -p "$projdir"
+ fi
+ cd "$projdir" || (echo "Cannot change to $projdir"; exit 1)
+fi
+
+INCDIRS="-I/opt/local/include -I/usr/local/include -I/usr/include/httpd/xml"
#INCDIRS="$INCDIRS -I/sw/include/libofx"
INCDIRS="$INCDIRS -I/usr/include/python2.3"
INCDIRS="$INCDIRS -Wno-long-double"
-LIBDIRS="-L/sw/lib -L/usr/local/lib -L/usr/lib/python2.3/config"
+LIBDIRS="-L/opt/local/lib -L/usr/local/lib"
if [ "$1" = "--debug" ]; then
shift 1