Commit 58c4552a authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rafaël Carré

configure: extract top_srcdir from Makefile at external of quotes

This fixes the following error on pdksh v5.2.14.

-----
sed: -e expression #1, char 1: unknown command: `"'
-----
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent ec7fab8c
...@@ -4273,11 +4273,12 @@ if test -n $SHELL; then ...@@ -4273,11 +4273,12 @@ if test -n $SHELL; then
SHELL=${CONFIG_SHELL-/bin/sh} SHELL=${CONFIG_SHELL-/bin/sh}
fi fi
rm -f compile rm -f compile
compile_top_srcdir=`sed -ne "s/^top_srcdir *= *//p" < Makefile`
echo "#! $SHELL echo "#! $SHELL
rm -f .error\$\$ rm -f .error\$\$
ERROR=0 ERROR=0
export PATH=\"$PATH\" LANG=C export PATH=\"$PATH\" LANG=C
($MAKE V=1 \$@ 2>&1 || touch .error\$\$)| `sed -ne \"s/^top_srcdir *= *//p\" < Makefile`/extras/buildsystem/make.pl ($MAKE V=1 \$@ 2>&1 || touch .error\$\$)| $compile_top_srcdir/extras/buildsystem/make.pl
test -f .error\$\$ && ERROR=1 test -f .error\$\$ && ERROR=1
rm -f .error\$\$ rm -f .error\$\$
exit \$ERROR" >compile exit \$ERROR" >compile
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment