From 947bf98e10dc6ea26afe2a53e60dcc2ab1046eed Mon Sep 17 00:00:00 2001 From: Robert Boehne Date: Sat, 21 Dec 2002 01:07:54 +0000 Subject: [PATCH] * libtool.m4 (AC_LIBTOOL_COMPILER_OPTION, AC_LIBTOOL_PROG_CC_C_O): Do not escape } or ? in sed argument. --- ChangeLog | 5 +++++ libtool.m4 | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ec2a9835a..02b268df8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-12-20 Robert Boehne + + * libtool.m4 (AC_LIBTOOL_COMPILER_OPTION, + AC_LIBTOOL_PROG_CC_C_O): Do not escape } or ? in sed argument. + 2002-12-19 Robert Boehne * ltmain.in: Use the sed program found by LT_AC_PROG_SED diff --git a/libtool.m4 b/libtool.m4 index f5e3dee86..5e0249b09 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -561,7 +561,7 @@ AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS\}\? :&$lt_compiler_flag :; t' \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) @@ -910,7 +910,7 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS\}\? :&$lt_compiler_flag :; t' \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) -- 2.47.2