From c6e9ab63a8210b09fee86b937e4274eb6d57841f Mon Sep 17 00:00:00 2001 From: Manfred Hollstein Date: Mon, 6 Jul 1998 21:29:29 +0000 Subject: [PATCH] * configure.in (INSTALLDIR): Make sed pattern failsafe. From-SVN: r20965 --- libstdc++/ChangeLog | 8 ++++++-- libstdc++/configure.in | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/libstdc++/ChangeLog b/libstdc++/ChangeLog index 269f8ba1e58..306fe63cae4 100644 --- a/libstdc++/ChangeLog +++ b/libstdc++/ChangeLog @@ -1,3 +1,7 @@ +1998-07-06 Manfred Hollstein + + * configure.in (INSTALLDIR): Make sed pattern failsafe. + 1998-07-06 Ulrich Drepper * std/bastring.h (class basic_string): Correct iterator return @@ -13,8 +17,8 @@ * Makefile.in (INSTALLDIR): Add comment to document the fact, this macro will be properly initialized at make's runtime. (install): Add initialization of INSTALLDIR depending on $(libsubdir) - and ${enable_version_specific_runtime_libs}; use $${INSTALLDIR} shell variable - instead of the $(INSTALLDIR) make macro. + and ${enable_version_specific_runtime_libs}; use $${INSTALLDIR} shell + variable instead of the $(INSTALLDIR) make macro. Tue Mar 24 10:13:07 1998 Jason Merrill diff --git a/libstdc++/configure.in b/libstdc++/configure.in index d7e8d78a550..508f1d5b234 100644 --- a/libstdc++/configure.in +++ b/libstdc++/configure.in @@ -100,7 +100,7 @@ EXTRA_DISTCLEAN='target-mkfrag' 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