mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-01-31 02:20:53 +00:00
build: remove check for boost < 1.49
This commit is contained in:
parent
39a47ffa67
commit
07b45cad8e
20
configure.ac
20
configure.ac
@ -795,26 +795,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <fcntl.h>]],
|
|||||||
[ AC_MSG_RESULT(yes); HAVE_O_CLOEXEC=1 ],
|
[ AC_MSG_RESULT(yes); HAVE_O_CLOEXEC=1 ],
|
||||||
[ AC_MSG_RESULT(no); HAVE_O_CLOEXEC=0 ]
|
[ AC_MSG_RESULT(no); HAVE_O_CLOEXEC=0 ]
|
||||||
)
|
)
|
||||||
|
|
||||||
if test x$use_reduce_exports = xyes; then
|
|
||||||
AC_MSG_CHECKING([for working boost reduced exports])
|
|
||||||
TEMP_CPPFLAGS="$CPPFLAGS"
|
|
||||||
CPPFLAGS="$BOOST_CPPFLAGS $CPPFLAGS"
|
|
||||||
AC_PREPROC_IFELSE([AC_LANG_PROGRAM([[
|
|
||||||
@%:@include <boost/version.hpp>
|
|
||||||
]], [[
|
|
||||||
#if BOOST_VERSION >= 104900
|
|
||||||
// Everything is okay
|
|
||||||
#else
|
|
||||||
# error Boost version is too old
|
|
||||||
#endif
|
|
||||||
]])],[
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
],[
|
|
||||||
AC_MSG_ERROR([boost versions < 1.49 are known to be broken with reduced exports. Use --disable-reduce-exports.])
|
|
||||||
])
|
|
||||||
CPPFLAGS="$TEMP_CPPFLAGS"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$use_reduce_exports = xyes; then
|
if test x$use_reduce_exports = xyes; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user