OSDN Git Service

(
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Sep 1998 20:09:23 +0000 (20:09 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Sep 1998 20:09:23 +0000 (20:09 +0000)
* configure.in: Fix INSTALLDIR replacement for cross-compile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22196 138bc75d-0d04-0410-961f-82ee72b054a4

libio/configure.in

index 9d523e7..ef19da0 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