Commit 72ae5d03 by H.J. Lu Committed by Jeff Law

configure.in: Fix INSTALLDIR replacement for cross-compile.

(
	* configure.in: Fix INSTALLDIR replacement for cross-compile.

From-SVN: r22196
parent 14aa13f4
...@@ -142,7 +142,7 @@ fi ...@@ -142,7 +142,7 @@ fi
if [ -n "${with_cross_host}" ] ; then if [ -n "${with_cross_host}" ] ; then
rm -f Makefile.tem rm -f Makefile.tem
sed \ sed \
-e 's|INSTALLDIR.*=.*$|INSTALLDIR = $(tooldir)/lib|' \ -e 's|\(^[ ]*INSTALLDIR[ ]*=[ ]*\)[^ ;]*|\1$(tooldir)/lib|' \
Makefile >Makefile.tem Makefile >Makefile.tem
mv -f Makefile.tem Makefile mv -f Makefile.tem Makefile
fi fi
......
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