23 lines
813 B
Diff
23 lines
813 B
Diff
|
--- a/configure
|
||
|
+++ b/configure
|
||
|
@@ -14842,7 +14842,7 @@ else
|
||
|
#include <boost/version.hpp>
|
||
|
boost-lib-version = BOOST_LIB_VERSION
|
||
|
_ACEOF
|
||
|
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||
|
+if (eval "$ac_cpp -P conftest.$ac_ext") 2>&5 |
|
||
|
tr -d '\r' |
|
||
|
$SED -n -e "/^boost-lib-version = /{s///;s/\"//g;p;q;}" >conftest.i 2>&1; then :
|
||
|
boost_cv_lib_version=`cat conftest.i`
|
||
|
--- a/m4/boost.m4
|
||
|
+++ b/m4/boost.m4
|
||
|
@@ -71,7 +71,7 @@ dnl strip `\n' with backquotes, not the
|
||
|
dnl boost_cv_lib_version='1_37\r' for instance, which breaks
|
||
|
dnl everything else.
|
||
|
dnl Cannot use 'dnl' after [$4] because a trailing dnl may break AC_CACHE_CHECK
|
||
|
-(eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
|
||
|
+(eval "$ac_cpp -P conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
|
||
|
tr -d '\r' |
|
||
|
$SED -n -e "$1" >conftest.i 2>&1],
|
||
|
[$3],
|