From f1669eb6b09dc7deafe91f623afe69d7d171f328 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Wed, 16 Nov 2011 21:34:02 +0000 Subject: [PATCH] Fix bugs showing up on Solaris. --- m4/boost.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/boost.m4 b/m4/boost.m4 index 6a9294c..99072df 100644 --- a/m4/boost.m4 +++ b/m4/boost.m4 @@ -211,7 +211,7 @@ AC_LANG_POP([C++])dnl boost-lib-version = BOOST_LIB_VERSION], [boost_cv_lib_version=`cat conftest.i`])]) # e.g. "134" for 1_34_1 or "135" for 1_35 - boost_major_version=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'` + boost_major_version=`echo "$boost_cv_lib_version" | $SED 's/_//;s/_.*//;s/ //'` case $boost_major_version in #( '' | *[[!0-9]]*) AC_MSG_ERROR([invalid value: boost_major_version=$boost_major_version]) -- 2.1.4