summaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorH.J. Lu <hjl@gnu.org>1998-09-02 14:09:23 -0600
committerJeff Law <law@gcc.gnu.org>1998-09-02 14:09:23 -0600
commit72ae5d03a104c2852acfd21a39737953e6f45070 (patch)
treeefc55835cfbf257b1dafb444262b1842f6fcfc48 /libio
parent14aa13f4c43c36b4e331a87bb5aa2c14f86a1810 (diff)
downloadgcc-72ae5d03a104c2852acfd21a39737953e6f45070.tar.gz
configure.in: Fix INSTALLDIR replacement for cross-compile.
( * configure.in: Fix INSTALLDIR replacement for cross-compile. From-SVN: r22196
Diffstat (limited to 'libio')
-rw-r--r--libio/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/configure.in b/libio/configure.in
index 9d523e7898b..ef19da09f48 100644
--- a/libio/configure.in
+++ b/libio/configure.in
@@ -142,7 +142,7 @@ fi
if [ -n "${with_cross_host}" ] ; then
rm -f Makefile.tem
sed \
- -e 's|INSTALLDIR.*=.*$|INSTALLDIR = $(tooldir)/lib|' \
+ -e 's|\(^[ ]*INSTALLDIR[ ]*=[ ]*\)[^ ;]*|\1$(tooldir)/lib|' \
Makefile >Makefile.tem
mv -f Makefile.tem Makefile
fi