Changeset 2326 for trunk/configure.ac


Ignore:
Timestamp:
Sep 26, 2010, 4:27:32 PM (12 years ago)
Author:
Peter
Message:

update boost m4 macro, which now uses action-if-found/action-if-not-found interface, so changed configure.ac reflecting this change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r2309 r2326  
    196196boost_version=1.35
    197197AC_SUBST(boost_version)
    198 AX_BOOST_BASE(["$boost_version"])
    199 boost_version_check=$succeeded;
     198AX_BOOST_BASE(["$boost_version"], [boost_ok=yes], [boost_ok=no])
    200199YAT_CPP_ADD_FLAG([CPPFLAGS], [$BOOST_CPPFLAGS])
    201200
     
    325324if test "x$want_boost" = "xyes"; then
    326325# Too old Boost is fatal -- sub-sequent compilation will fail.
    327 if test "${boost_version_check}" != "yes" ; then
     326if test "${boost_ok}" != "yes" ; then
    328327  all_reqs_ok="false"
    329328  AC_MSG_WARN([
    330   Boost found but not the required version. Please install
    331   Boost version ${boost_version} or later])
     329  Boost ${boost_version} (or newer) not found. Please make sure Boost
     330  is installed.])
    332331fi
    333332fi
Note: See TracChangeset for help on using the changeset viewer.