Fix bugs showing up on Solaris.
authorscantor <scantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Wed, 16 Nov 2011 21:34:02 +0000 (21:34 +0000)
committerscantor <scantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Wed, 16 Nov 2011 21:34:02 +0000 (21:34 +0000)
git-svn-id: https://svn.shibboleth.net/cpp-xmltooling/branches/REL_1@918 de75baf8-a10c-0410-a50a-987c0e22f00f

m4/boost.m4

index 6a9294c..99072df 100644 (file)
@@ -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])