[PATCH]: fix the --with-mpfr-dir=PATH configure flag

Matt Fago fago@earthlink.net
Sat Nov 18 01:43:00 GMT 2006


On Nov 17, 2006, at 5:42 PM, Kaveh R. GHAZI wrote:
> On Fri, 17 Nov 2006, Matt Fago wrote:
>
>> It would be really great if --with-mpfr and --with-gmp could also be
>> made to check lib64. If not for 4.1, then perhaps for 4.2 and  
>> trunk. By
>> the way, I seem to recall that 64-bit Ubuntu (?) uses lib32 and lib;
>> this seems to necessitate checking lib32 as well.
>
> I don't think we should do this automatically.  Next thing you  
> know, we'll
> have a long unwieldy and never ending list of special directories to
> check.
>
> Instead, I'll split these into four flags, --with-mpfr-include,
> --with-mpfr-lib, --with-gmp-include and --with-gmp-lib as previously
> discussed.

Ok great; I was thinking about that myself. Do you plan to replace  
the existing
flags with the above (for only 4.2 and trunk I'd suppose)? This would  
still work
even if GMP or MPFR change their build procedure, etc.

I'll try to figure out exactly what happened with my false positive  
configure test
but yet failed compile.  Still makes me nervous ...


Thanks,
Matt




More information about the Gcc-patches mailing list