~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_have_boost.m4

  • Committer: Lee Bieber
  • Date: 2010-11-07 19:34:48 UTC
  • mfrom: (1910.1.2 build)
  • Revision ID: kalebral@gmail.com-20101107193448-64kdu912qej354sh
Merge Stewart - including adapting and expanding the "differences from mysql" page from the wiki.
Merge Stewart - fix bug 668143: drizzleslap with --commit runs second iteration data load in a transaction

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
      ac_cv_boost=no
55
55
    ])
56
56
  ])
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
 
  ])
 
57
      
79
58
 
80
59
  AM_CONDITIONAL(HAVE_BOOST, [test "x${ac_cv_boost}" = "xyes"])
81
60