~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_have_boost.m4

Updated pandora-build files to version 0.133

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
  AS_IF([test "x$ac_enable_boost" = "xyes"],[
20
20
    dnl link against libc because we're just looking for headers here
21
21
    AC_LANG_PUSH(C++)
22
 
    AC_LIB_HAVE_LINKFLAGS(c,,
23
 
      [#include <boost/pool/pool.hpp>],
24
 
      [boost::pool<> test_pool(1);],
25
 
      [system])
 
22
    AC_LIB_HAVE_LINKFLAGS(c,,[
 
23
      #include <boost/pool/pool.hpp>
 
24
    ],[
 
25
      boost::pool<> test_pool(1);
 
26
    ])
26
27
    AC_LANG_POP()
27
28
  ],[
28
29
    ac_cv_boost="no"
54
55
      ac_cv_boost=no
55
56
    ])
56
57
  ])
57
 
 
58
 
  AS_IF([test "x${ac_gcc_profile_mode}" = "xyes"],[
59
 
    AC_CACHE_CHECK([if boost is recent enough for GCC Profile Mode],
60
 
      [pandora_cv_boost_profile],[
61
 
      pandora_need_boost_version=104300
62
 
      AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
63
 
#include <boost/version.hpp>
64
 
 
65
 
#if BOOST_VERSION < ${pandora_need_boost_version}
66
 
# error boost too old!
67
 
#endif
68
 
          ]],[[]])
69
 
        ],[
70
 
        pandora_cv_boost_profile=yes
71
 
        ],[
72
 
        pandora_cv_boost_profile=no
73
 
        ])
74
 
    ])
75
 
    AS_IF([test "x${pandora_cv_boost_profile}" = "xyes"],[
76
 
      AC_DEFINE([BOOST_DETAIL_NO_CONTAINER_FWD],[1],[Disable forward decl of stl in boost])
77
 
    ])
78
 
  ])
 
58
      
79
59
 
80
60
  AM_CONDITIONAL(HAVE_BOOST, [test "x${ac_cv_boost}" = "xyes"])
81
61