{$as_echo"$as_me:${as_lineno-$LINENO}: We could not detect the boost libraries (version 1.65.1 or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.">&5
$as_echo"$as_me: We could not detect the boost libraries (version 1.65.1 or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.">&6;}
else
{$as_echo"$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version).">&5
$as_echo"$as_me: Your boost libraries seems to old (version $_version).">&6;}
fi
# execute ACTION-IF-NOT-FOUND (if present):
as_fn_error $?"Could not find a recent version of boost""$LINENO" 5
else
$as_echo"#define HAVE_BOOST /**/">>confdefs.h
# execute ACTION-IF-FOUND (if present):
:
fi
CPPFLAGS="$CPPFLAGS_SAVED"
LDFLAGS="$LDFLAGS_SAVED"
fi
# Check whether --with-boost-iostreams was given.
if test"${with_boost_iostreams+set}"=set;then :
withval=$with_boost_iostreams;
if test"$withval"="no";then
want_boost="no"
elif test"$withval"="yes";then
want_boost="yes"
ax_boost_user_iostreams_lib=""
else
want_boost="yes"
ax_boost_user_iostreams_lib="$withval"
fi
else
want_boost="yes"
fi
if test"x$want_boost"="xyes";then
CPPFLAGS_SAVED="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS$BOOST_CPPFLAGS"
export CPPFLAGS
LDFLAGS_SAVED="$LDFLAGS"
LDFLAGS="$LDFLAGS$BOOST_LDFLAGS"
export LDFLAGS
{$as_echo"$as_me:${as_lineno-$LINENO}: checking whether the Boost::IOStreams library is available">&5
$as_echo_n"checking whether the Boost::IOStreams library is available... ">&6;}
BOOSTLIBDIR=`echo$BOOST_LDFLAGS | sed -e's/[^\/]*//'`
if test"x$ax_boost_user_iostreams_lib"="x";then
for libextension in`ls$BOOSTLIBDIR/libboost_iostreams*.so*$BOOSTLIBDIR/libboost_iostream*.dylib*$BOOSTLIBDIR/libboost_iostreams*.a* 2>/dev/null | sed 's,.*/,,' | sed -e's;^lib\(boost_iostreams.*\)\.so.*$;\1;'-e's;^lib\(boost_iostream.*\)\.dylib.*$;\1;'-e's;^lib\(boost_iostreams.*\)\.a.*$;\1;'`;do
for libextension in`ls$BOOSTLIBDIR/boost_iostreams*.dll*$BOOSTLIBDIR/boost_iostreams*.a* 2>/dev/null | sed 's,.*/,,' | sed -e's;^\(boost_iostreams.*\)\.dll.*$;\1;'-e's;^\(boost_iostreams.*\)\.a.*$;\1;'`;do
as_fn_error $?"Could not find a version of the library!""$LINENO" 5
fi
if test"x$link_thread"="xno";then
as_fn_error $?"Could not link against $ax_lib !""$LINENO" 5
else
BOOST_THREAD_LIB="-l$ax_lib"
case"x$host_os"in
*bsd*)
BOOST_LDFLAGS="-pthread $BOOST_LDFLAGS"
break;
;;
xsolaris )
BOOST_THREAD_LIB="$BOOST_THREAD_LIB -lpthread"
break;
;;
xmingw32 )
break;
;;
*)
BOOST_THREAD_LIB="$BOOST_THREAD_LIB -lpthread"
break;
;;
esac
fi
fi
if test"x$succeeded"!="xyes";then
if test"x$_version"="x0";then
{$as_echo"$as_me:${as_lineno-$LINENO}: We could not detect the boost libraries (version 1.65.1 or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.">&5
$as_echo"$as_me: We could not detect the boost libraries (version 1.65.1 or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.">&6;}
else
{$as_echo"$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version).">&5
$as_echo"$as_me: Your boost libraries seems to old (version $_version).">&6;}
fi
fi
# execute ACTION-IF-NOT-FOUND (if present):
as_fn_error $?"Could not find a recent version of boost""$LINENO" 5
else
CPPFLAGS="$CPPFLAGS_SAVED"
$as_echo"#define HAVE_BOOST /**/">>confdefs.h
LDFLAGS="$LDFLAGS_SAVED"
# execute ACTION-IF-FOUND (if present):
:
fi
fi
CPPFLAGS="$CPPFLAGS_SAVED"
LDFLAGS="$LDFLAGS_SAVED"
fi
# Check whether --with-boost-regex was given.
if test"${with_boost_regex+set}"=set;then :
withval=$with_boost_regex;
# Check whether --with-boost-iostreams was given.
if test"${with_boost_iostreams+set}"=set;then :
withval=$with_boost_iostreams;
if test"$withval"="no";then
if test"$withval"="no";then
want_boost="no"
want_boost="no"
elif test"$withval"="yes";then
elif test"$withval"="yes";then
want_boost="yes"
want_boost="yes"
ax_boost_user_regex_lib=""
ax_boost_user_iostreams_lib=""
else
else
want_boost="yes"
want_boost="yes"
ax_boost_user_regex_lib="$withval"
ax_boost_user_iostreams_lib="$withval"
fi
fi
else
else
...
@@ -6774,9 +6141,9 @@ fi
...
@@ -6774,9 +6141,9 @@ fi
LDFLAGS="$LDFLAGS$BOOST_LDFLAGS"
LDFLAGS="$LDFLAGS$BOOST_LDFLAGS"
export LDFLAGS
export LDFLAGS
{$as_echo"$as_me:${as_lineno-$LINENO}: checking whether the Boost::Regex library is available">&5
{$as_echo"$as_me:${as_lineno-$LINENO}: checking whether the Boost::IOStreams library is available">&5
$as_echo_n"checking whether the Boost::Regex library is available... ">&6;}
$as_echo_n"checking whether the Boost::IOStreams library is available... ">&6;}
BOOSTLIBDIR=`echo$BOOST_LDFLAGS | sed -e's/[^\/]*//'`
BOOSTLIBDIR=`echo$BOOST_LDFLAGS | sed -e's/[^\/]*//'`
if test"x$ax_boost_user_regex_lib"="x";then
if test"x$ax_boost_user_iostreams_lib"="x";then
for libextension in`ls$BOOSTLIBDIR/libboost_regex*.so*$BOOSTLIBDIR/libboost_regex*.dylib*$BOOSTLIBDIR/libboost_regex*.a* 2>/dev/null | sed 's,.*/,,' | sed -e's;^lib\(boost_regex.*\)\.so.*$;\1;'-e's;^lib\(boost_regex.*\)\.dylib.*;\1;'-e's;^lib\(boost_regex.*\)\.a.*$;\1;'`;do
for libextension in`ls$BOOSTLIBDIR/libboost_iostreams*.so*$BOOSTLIBDIR/libboost_iostream*.dylib*$BOOSTLIBDIR/libboost_iostreams*.a* 2>/dev/null | sed 's,.*/,,' | sed -e's;^lib\(boost_iostreams.*\)\.so.*$;\1;'-e's;^lib\(boost_iostream.*\)\.dylib.*$;\1;'-e's;^lib\(boost_iostreams.*\)\.a.*$;\1;'`;do
for libextension in`ls$BOOSTLIBDIR/boost_regex*.dll*$BOOSTLIBDIR/boost_regex*.a* 2>/dev/null | sed 's,.*/,,' | sed -e's;^\(boost_regex.*\)\.dll.*$;\1;'-e's;^\(boost_regex.*\)\.a.*$;\1;'`;do
for libextension in`ls$BOOSTLIBDIR/boost_iostreams*.dll*$BOOSTLIBDIR/boost_iostreams*.a* 2>/dev/null | sed 's,.*/,,' | sed -e's;^\(boost_iostreams.*\)\.dll.*$;\1;'-e's;^\(boost_iostreams.*\)\.a.*$;\1;'`;do
AC_DEFINE_UNQUOTED([USE_RSRC], [$USE_RSRC], [Use mrc to store resources])
[],
[AC_MSG_ERROR([libcif++ not found - cannot continue])])
AC_CHECK_HEADER([filesystem], [], [AC_MSG_ERROR([The file <filesystem> is missing, perhaps you should install a more recent libstdc++ implementation.])])
AC_CHECK_HEADER([filesystem], [], [AC_MSG_ERROR([The file <filesystem> is missing, perhaps you should install a more recent libstdc++ implementation.])])
...
@@ -71,11 +67,25 @@ AC_TRY_LINK(
...
@@ -71,11 +67,25 @@ AC_TRY_LINK(
AX_BOOST_BASE([1.65.1], [], [AC_MSG_ERROR([Could not find a recent version of boost])])
AX_BOOST_BASE([1.65.1], [], [AC_MSG_ERROR([Could not find a recent version of boost])])