This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: The top-level configure uses $() variables
- To: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- Subject: Re: The top-level configure uses $() variables
- From: "Artem Khodush" <artem at duma dot gov dot ru>
- Date: Mon, 22 Jan 2001 15:03:04 +0300
- >Received: from artem by mailsrv.duma.gov.ru (SMI-8.6/SMI-SVR4)id PAA02757; Mon, 22 Jan 2001 15:04:28 +0300
- Cc: <gcc-patches at gcc dot gnu dot org>
- References: <Pine.GSO.3.96.1010122114106.1523C-100000@delta.ds2.pg.gda.pl>
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.