From 4960a75fdd2cddeecc9bccfddfc875fbc5a4e55c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 6 Dec 2007 16:45:15 +0000 Subject: Changed pathnames for 10.5 --- acprep | 14 ++++++++++++-- 1 file 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 -- cgit v1.2.3