This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: The library interface again


> 
> 
>   In message <m0yxHf8-000266C@ocean.lucon.org>you write:
>   > I hope it can go into egcs 1.1. It will solve many problems with
>   > chaning ABI/API.
> I've installed this into the mainline tree.
> jeff
> 

Thanks. I have made a few new changes since last patch. Here is
one for libio. We only want to relace

INSTALLDIR=foobar

not

MY_INSTALLDIR=foobar


-- 
H.J. Lu (hjl@gnu.org)
---
Fri Aug 28 19:53:33 1998  H.J. Lu  (hjl@gnu.org)

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

Index: configure.in
===================================================================
RCS file: /home/work/cvs/gnu/egcs/libio/configure.in,v
retrieving revision 1.1.1.11
diff -u -r1.1.1.11 configure.in
--- configure.in	1998/03/05 21:00:11	1.1.1.11
+++ configure.in	1998/08/29 03:53:29
@@ -142,7 +142,7 @@
 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]