From 0ed57916cfcf103a141e5edfd75bf547c03c04ad Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 26 Feb 2009 14:12:59 -0400 Subject: Fixed a system-specific issue in acprep --- acprep | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/acprep b/acprep index e130d6e9..5813f80e 100755 --- a/acprep +++ b/acprep @@ -244,7 +244,9 @@ while [ -n "$1" ]; do LDFLAGS="-L/usr/local/stow/cppunit-debug/lib $LDFLAGS" # I build my debug Boost libs with _GLIBCXX_DEBUG - BOOST_SUFFIX="-xgcc40-d-$BOOST_VERSION" + if [ -f /usr/local/lib/libboost_regex-xgcc40-d-1_38.a ]; then + BOOST_SUFFIX="-xgcc40-d-$BOOST_VERSION" + fi else CPPFLAGS="-isystem /usr/local/stow/cppunit/include $CPPFLAGS" -- cgit v1.2.3