+
+ AS_IF([test "x${ac_gcc_profile_mode}" = "xyes"],[
+ AC_CACHE_CHECK([if boost is recent enough for GCC Profile Mode],
+ [pandora_cv_boost_profile],[
+ pandora_need_boost_version=104300
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+#include <boost/version.hpp>
+
+#if BOOST_VERSION < ${pandora_need_boost_version}
+# error boost too old!
+#endif
+ ]],[[]])
+ ],[
+ pandora_cv_boost_profile=yes
+ ],[
+ pandora_cv_boost_profile=no
+ ])
+ ])
+ AS_IF([test "x${pandora_cv_boost_profile}" = "xyes"],[
+ AC_DEFINE([BOOST_DETAIL_NO_CONTAINER_FWD],[1],[Disable forward decl of stl in boost])
+ ])
+ ])