]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.in: Fix INSTALLDIR replacement for cross-compile.
authorH.J. Lu <hjl@gnu.org>
Wed, 2 Sep 1998 20:09:23 +0000 (14:09 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 2 Sep 1998 20:09:23 +0000 (14:09 -0600)
(
* configure.in: Fix INSTALLDIR replacement for cross-compile.

From-SVN: r22196

libio/configure.in

index 9d523e7898bd010b78c701397741cddfc66230af..ef19da09f48507d68bff25b3b8eab6397c8de108 100644 (file)
@@ -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