diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-03 06:11:04 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:36 -0400 |
commit | c59018c29ddfc7a46aeb951fbcd5cb5b93f47ec0 (patch) | |
tree | 204d28bfa2bdbfe8d7f550877faa114c1e93859f /configure.in | |
parent | f9f24fab933266ab8e12da7eef4cc2a906f77350 (diff) | |
download | fork-ledger-c59018c29ddfc7a46aeb951fbcd5cb5b93f47ec0.tar.gz fork-ledger-c59018c29ddfc7a46aeb951fbcd5cb5b93f47ec0.tar.bz2 fork-ledger-c59018c29ddfc7a46aeb951fbcd5cb5b93f47ec0.zip |
Revised how commodities are dealt with.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 769f3e8a..8af5e870 100644 --- a/configure.in +++ b/configure.in @@ -3,7 +3,7 @@ AC_PREREQ(2.59) -AC_INIT(ledger, 3.0-git-lexical_cast, johnw@newartisans.com) +AC_INIT(ledger, 3.0-git-commodity_pool, johnw@newartisans.com) AC_CONFIG_SRCDIR(ledger) AM_INIT_AUTOMAKE @@ -148,6 +148,27 @@ else AC_MSG_FAILURE("Could not find boost_filesystem library (set CPPFLAGS and LDFLAGS?)") fi +# check for boost_signals +AC_CACHE_CHECK( + [if boost_signals is available], + [boost_signals_cpplib_avail], + [boost_signals_save_libs=$LIBS + LIBS="-lboost_signals $LIBS" + AC_LANG_PUSH(C++) + AC_TRY_LINK( + [#include <boost/signal.hpp>], + [boost::signal<void (void)> this_signal;], + [boost_signals_cpplib_avail=true], + [boost_signals_cpplib_avail=false]) + AC_LANG_POP + LIBS=$boost_signals_save_libs]) + +if [test x$boost_signals_cpplib_avail = xtrue ]; then + LIBS="-lboost_signals $LIBS" +else + AC_MSG_FAILURE("Could not find boost_signals library (set CPPFLAGS and LDFLAGS?)") +fi + # check for gmp AC_CACHE_CHECK( [if libgmp is available], |