summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep7
1 files changed, 4 insertions, 3 deletions
diff --git a/acprep b/acprep
index 544e986e..4b29d489 100755
--- a/acprep
+++ b/acprep
@@ -280,10 +280,11 @@ if [ ! "$BUILD_DIR" = "false" ]; then
cd "$BUILD_DIR" || (echo "Cannot change to $BUILD_DIR"; exit 1)
fi
+SWITCHES="$SWITCHES --with-boost-suffix='$BOOST_SUFFIX'"
+
"$HERE/configure" --srcdir="$HERE" CXX="$CXX" \
CPPFLAGS="$CPPFLAGS" CXXFLAGS="$CXXFLAGS $local_cxxflags" \
- LDFLAGS="$LDFLAGS" LIBS="$LIBS" $SWITCHES \
- --with-boost-suffix="$BOOST_SUFFIX"
+ LDFLAGS="$LDFLAGS" LIBS="$LIBS" $SWITCHES
# Alter the Makefile so that it's not nearly so verbose. This makes errors
# and warnings much easier to spot.
@@ -298,6 +299,6 @@ fi
# options.
if [ $DO_BUILD = true ]; then
- echo "make ARCHFLAGS=\"$ARCHFLAGS\" CPPFLAGS=\"$CPPFLAGS\" LDFLAGS=\"$LDFLAGS\" CXXFLAGS=\"$CXXFLAGS\" DISTCHECK_CONFIGURE_FLAGS=\"--disable-dependency-tracking\" $@" > make.sh
+ echo "make ARCHFLAGS=\"$ARCHFLAGS\" CPPFLAGS=\"$CPPFLAGS\" LDFLAGS=\"$LDFLAGS\" CXXFLAGS=\"$CXXFLAGS\" DISTCHECK_CONFIGURE_FLAGS=\"$SWITCHES\" $@" > make.sh
sh -x make.sh
fi