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 top-level configure uses $() variables


On Monday, January 22, 2001 2:15 PM, Maciej W. Rozycki wrote:

>  It looks like not everything got quoted...
> 
>  After digging in libiberty/config.status I found the following statement:
> 
> ac_configure_args="--enable-multilib --build=i386-linux --host=i386-linux
> --target=mipsel-linux --prefix=/usr
> '--libdir=$(prefix)/mipsel-linux/i386-linux/lib' --with-stabs
> --with-gnu-as --with-gnu-ld --enable-shared --disable-static
> --cache-file=../config.cache" 
> 
> I don't think there is an easy way to get around it.  With ${prefix} it
> gets expanded, at least, which is fine for me -- you shouldn't need to
> override prefix in the make's command line if autoconf is used unless
> something is broken.
> 

You need to override prefix in make command line every time you build 
binary package (e.g. rpm for Red Hat) as non-root - usual procedure is
 configure prefix=/usr/local; make ; make install prefix=/tmp/usr/local.
However, libiberty currently does not need to be installed, so this is
just a side note.

Best regards,
Artem.




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