]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBTOOL_COMPILER_OPTION,
authorRobert Boehne <rboehne@gnu.org>
Sat, 21 Dec 2002 01:07:54 +0000 (01:07 +0000)
committerRobert Boehne <rboehne@gnu.org>
Sat, 21 Dec 2002 01:07:54 +0000 (01:07 +0000)
AC_LIBTOOL_PROG_CC_C_O): Do not escape } or ? in sed argument.

ChangeLog
libtool.m4

index ec2a9835aa01a12420ddb34cd3021f45d80f0462..02b268df8bbcb61c2201ceeee021045ab0aa8143 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-20  Robert Boehne  <rboehne@gnu.org>
+
+       * libtool.m4 (AC_LIBTOOL_COMPILER_OPTION,
+       AC_LIBTOOL_PROG_CC_C_O): Do not escape } or ? in sed argument.
+
 2002-12-19  Robert Boehne  <rboehne@gnu.org>
 
        * ltmain.in: Use the sed program found by LT_AC_PROG_SED
index f5e3dee86df58e72063e661c0daaa9808736bd66..5e0249b09692c9676b02e888f04b9f18664e4996 100644 (file)
@@ -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)