From: Robert Boehne Date: Sat, 21 Dec 2002 01:07:54 +0000 (+0000) Subject: * libtool.m4 (AC_LIBTOOL_COMPILER_OPTION, X-Git-Tag: release-1-5~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=947bf98e10dc6ea26afe2a53e60dcc2ab1046eed;p=thirdparty%2Flibtool.git * libtool.m4 (AC_LIBTOOL_COMPILER_OPTION, AC_LIBTOOL_PROG_CC_C_O): Do not escape } or ? in sed argument. --- 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)