From: Scott Cantor Date: Wed, 16 Nov 2011 21:34:02 +0000 (+0000) Subject: Fix bugs showing up on Solaris. X-Git-Tag: 1.5.0~73 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=commitdiff_plain;h=f1669eb6b09dc7deafe91f623afe69d7d171f328 Fix bugs showing up on Solaris. --- 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])