#include <boost/config.hpp>
+#include <boost/config/pragma_message.hpp>
//
// bind_function_ap_test.cpp - regression test
// http://www.boost.org/LICENSE_1_0.txt
//
-#if defined( BOOST_NO_AUTO_PTR )
+#if defined(BOOST_NO_AUTO_PTR)
-int main()
-{
-}
+BOOST_PRAGMA_MESSAGE( "Skipping test because BOOST_NO_AUTO_PTR is defined" )
+int main() {}
+
+#elif !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && ( defined(BOOST_GCC) && BOOST_GCC < 40600 )
+
+BOOST_PRAGMA_MESSAGE( "Skipping test for GCC 4.4 -std=c++0x" )
+int main() {}
#else
return boost::report_errors();
}
-#endif // #if defined( BOOST_NO_AUTO_PTR )
+#endif