From d594f6627c947f965b6e43a1291f37e495c22261 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 8 May 2007 03:55:00 +0000 Subject: Added --enable-boost-d flag. --- configure.in | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index cc9e7d8a..2a024690 100644 --- a/configure.in +++ b/configure.in @@ -47,12 +47,25 @@ AC_ARG_ENABLE(boost-sd, *) AC_MSG_ERROR(bad value ${enableval} for --enable-boost-sd) ;; esac],[boost_sd=false]) +AM_CONDITIONAL(USE_BOOST_SD, test x$boost_sd = xtrue) + +AC_ARG_ENABLE(boost-d, + [ --enable-boost-d Use dynamic/debug Boost libraries], + [case "${enableval}" in + yes) boost_d=true ;; + no) boost_d=false ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-boost-d) ;; + esac],[boost_d=false]) + +AM_CONDITIONAL(USE_BOOST_D, test x$boost_d = xtrue) + if test x$boost_sd = xtrue; then BOOST_SUFFIX="-sd" +elif test x$boost_d = xtrue; then + BOOST_SUFFIX="-d" else BOOST_SUFFIX="" fi -AM_CONDITIONAL(USE_BOOST_SD, test x$boost_sd = xtrue) AC_ARG_ENABLE(pch, [ --enable-pch Use GCC 4.x pre-compiled headers], -- cgit v1.2.3