diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-12 22:14:10 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-12 22:14:10 -0400 |
commit | 09134d6e81a3396041b8e582f810ad75e880bd74 (patch) | |
tree | 0831a11b4dbdbfdf92bb7e2cb61c529d21e3b5e7 | |
parent | 092542a3bf056fac545f4b5a1062195569561fd3 (diff) | |
download | fork-ledger-09134d6e81a3396041b8e582f810ad75e880bd74.tar.gz fork-ledger-09134d6e81a3396041b8e582f810ad75e880bd74.tar.bz2 fork-ledger-09134d6e81a3396041b8e582f810ad75e880bd74.zip |
Added -I/sw/include to Fink to acprep users
-rwxr-xr-x | acprep | 37 |
1 files changed, 28 insertions, 9 deletions
@@ -47,19 +47,38 @@ do done -INCDIRS="-isystem /usr/local/include" -INCDIRS="$INCDIRS -isystem /opt/local/include" -INCDIRS="$INCDIRS -isystem /usr/local/include/boost-$BOOST_VERSION" -INCDIRS="$INCDIRS -isystem $PYTHON_HOME/include/python$PYTHON_VERSION" - - USE_GLIBCXX_DEBUG=true CXXFLAGS="" ARCHFLAGS="" -LDARCHFLAGS="" LDFLAGS="" -LIBDIRS="-L/usr/local/lib -L$PYTHON_HOME/lib -L/opt/local/lib" -LIBDIRS="$LIBDIRS -L$PYTHON_HOME/lib/python$PYTHON_VERSION/config" +LDARCHFLAGS="" + + +INCDIRS="" +for include in \ + /usr/local/include \ + /usr/local/include/boost-$BOOST_VERSION \ + $PYTHON_HOME/include/python$PYTHON_VERSION \ + /opt/local/include \ + /sw/include +do + if [ -d "$include" ]; then + INCDIRS="$INCDIRS -isystem $include" + fi +done + +LIBDIRS="" +for lib in \ + /usr/local/lib \ + $PYTHON_HOME/lib \ + $PYTHON_HOME/lib/python$PYTHON_VERSION/config \ + /opt/local/lib \ + /sw/lib +do + if [ -d "$lib" ]; then + LIBDIRS="$LIBDIRS -L$lib" + fi +done SYSTEM=$(uname -s) |