|
|
@ -827,14 +827,14 @@ TEMP_CPPFLAGS="$CPPFLAGS"
|
|
|
|
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
|
|
|
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
|
|
|
AC_MSG_CHECKING([for mismatched boost c++11 scoped enums])
|
|
|
|
AC_MSG_CHECKING([for mismatched boost c++11 scoped enums])
|
|
|
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
|
|
|
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
|
|
|
|
#include "boost/config.hpp"
|
|
|
|
#include <boost/config.hpp>
|
|
|
|
#include "boost/version.hpp"
|
|
|
|
#include <boost/version.hpp>
|
|
|
|
#if !defined(BOOST_NO_SCOPED_ENUMS) && !defined(BOOST_NO_CXX11_SCOPED_ENUMS) && BOOST_VERSION < 105700
|
|
|
|
#if !defined(BOOST_NO_SCOPED_ENUMS) && !defined(BOOST_NO_CXX11_SCOPED_ENUMS) && BOOST_VERSION < 105700
|
|
|
|
#define BOOST_NO_SCOPED_ENUMS
|
|
|
|
#define BOOST_NO_SCOPED_ENUMS
|
|
|
|
#define BOOST_NO_CXX11_SCOPED_ENUMS
|
|
|
|
#define BOOST_NO_CXX11_SCOPED_ENUMS
|
|
|
|
#define CHECK
|
|
|
|
#define CHECK
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#include "boost/filesystem.hpp"
|
|
|
|
#include <boost/filesystem.hpp>
|
|
|
|
]],[[
|
|
|
|
]],[[
|
|
|
|
#if defined(CHECK)
|
|
|
|
#if defined(CHECK)
|
|
|
|
boost::filesystem::copy_file("foo", "bar");
|
|
|
|
boost::filesystem::copy_file("foo", "bar");
|
|
|
|