Re: Question about top-level configure code and in-tree builds

2009-04-15 Thread Kaveh R. Ghazi
From: "Ben Elliston" On Fri, 2009-04-10 at 23:56 -0400, Kaveh R. GHAZI wrote: Ah, but cake is only easy when someone else bakes it. :-) While you're baking, Kaveh :-) could you see if your patch could also fix: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34818 Thanks, Ben I don't think

Re: Question about top-level configure code and in-tree builds

2009-04-15 Thread Ben Elliston
On Fri, 2009-04-10 at 23:56 -0400, Kaveh R. GHAZI wrote: > Ah, but cake is only easy when someone else bakes it. :-) While you're baking, Kaveh :-) could you see if your patch could also fix: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34818 Thanks, Ben

Re: Question about top-level configure code and in-tree builds

2009-04-10 Thread Ian Lance Taylor
"Kaveh R. GHAZI" writes: > On Fri, 10 Apr 2009, Ian Lance Taylor wrote: > >> Add a new shell variable in configure.ac extra_mpfr_configure_args. Set >> it to what you want to pass to the mpfr configure. Call >> AC_SUBST(extra_mpfr_configure_args). In Makefile.in add a line >> EXTRA_MPFR_CONFIG

Re: Question about top-level configure code and in-tree builds

2009-04-10 Thread Kaveh R. GHAZI
On Fri, 10 Apr 2009, Ian Lance Taylor wrote: > Add a new shell variable in configure.ac extra_mpfr_configure_args. Set > it to what you want to pass to the mpfr configure. Call > AC_SUBST(extra_mpfr_configure_args). In Makefile.in add a line > EXTRA_MPFR_CONFIGURE_ARGS = @extra_mpfr_configure_a

Re: Question about top-level configure code and in-tree builds

2009-04-10 Thread Ian Lance Taylor
"Kaveh R. GHAZI" writes: > What I would like to see is that the extra_configure_flags for mpfr > actually check whether gmp is being built in-tree before passing > --with-gmp-build=foo to mpfr's configure. But I don't get how to do that. > If the mpfr case could be fixed, I could then copy the m