]> granicus.if.org Git - php/commitdiff
Workaround for these two symptoms:
authorSascha Schumann <sas@php.net>
Sun, 3 Dec 2000 10:58:18 +0000 (10:58 +0000)
committerSascha Schumann <sas@php.net>
Sun, 3 Dec 2000 10:58:18 +0000 (10:58 +0000)
Some sed tools don't match strings which are not terminated with LF.

Some shells still support the ^ as a synonym for the pipe character.

Submitted by: Stanislav Malyshev

acinclude.m4

index 9f68ecf3fe8fcd6c2c8f2754e27178083e5501d3..36a4102a40deba8ce168d0c5a7ce927d26565879 100644 (file)
@@ -176,7 +176,7 @@ case "[$]$1" in
 shared,*)
   ext_output="yes, shared"
   ext_shared=yes
-  $1=`echo $ac_n "[$]$1$ac_c"|sed s/^shared,//`
+  $1=`echo "[$]$1"|sed 's/^shared,//'`
   ;;
 shared)
   ext_output="yes, shared"