From 94d5c9eed5f6a59c1efa8bc37792767ad731ca3e Mon Sep 17 00:00:00 2001 From: Dan Lacher Date: Tue, 11 Jul 2006 23:39:17 +0000 Subject: [PATCH] Defect 166: configure fails to crops libtool extras Reviewed by: jsquyres, brbarret This fix allows for support of LT2.0 This commit was SVN r10752. --- config/ompi_get_libtool_linker_flags.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/ompi_get_libtool_linker_flags.m4 b/config/ompi_get_libtool_linker_flags.m4 index 53704c7a34..e37f034fc9 100644 --- a/config/ompi_get_libtool_linker_flags.m4 +++ b/config/ompi_get_libtool_linker_flags.m4 @@ -50,7 +50,7 @@ ompi_check_linker_flags_work() { OMPI_LOG_MSG([$cmd], [yes]) eval $cmd >&5 2>&5 if test -n "[$]1"; then - output=`eval $cmd 2>/dev/null | head -n 1 | sed 's,^libtool:\( \| link: \),,'` + output=`eval $cmd 2>/dev/null | head -n 1 | sed -e 's,^libtool: *,,' -e 's,^link: *,,'` fi status="$?" OMPI_LOG_MSG([\$? = $status], [yes])