configure with relative srcdir causing absolute pathname in gcc/Makefile

Alexandre Oliva aoliva@redhat.com
Fri May 31 16:02:00 GMT 2002


On May 30, 2002, Doug Evans <dje@transmeta.com> wrote:

> Also note that src/configure goes to the effort of preserving
> the relativeness of srcdir.

Yup, and so do all configure scripts.  But no configure scripts care
about adjusting --with-gcc-version-trigger, so some sub-sub-configure
might be in trouble should it depend on this being a valid pathname.

Now...  I suppose we could fix this defining that
--with-gcc-version-trigger specifies a relative pathname starting from
topsrcdir.  Since topsrcdir is computed properly everywhere, this
would just work.  Care to post a patch?  (Cc: to
gcc-patches@gcc.gnu.org, please).

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Binutils mailing list