configure m4 problem

Ozkan Sezer sezeroz at gmail.com
Fri Aug 20 15:03:23 CEST 2010


On Fri, Aug 20, 2010 at 3:36 PM, Niels Möller <nisse at lysator.liu.se> wrote:
> Ozkan Sezer <sezeroz at gmail.com> writes:
>
>> I mean something like:
>>
>> --- configure.in.orig
>> +++ configure.in
>> @@ -3077,7 +3077,9 @@ if test $found_asm = yes; then
>>    GMP_PROG_M4
>>    GMP_M4_M4WRAP_SPURIOUS
>>  else
>> -  M4=m4-not-needed
>> +  if test -z "$M4"; then
>> +     M4=m4-not-needed
>> +  fi
>>  fi
>>
>>  # Only do the GMP_ASM checks if there's a .S or .asm wanting them.
>
> Committed. I tested the following:
>
>  ./configure none-none-none
>  => "M4 = m4-not-needed" in Makefile
>
>  M4=foo ./configure none-none-none
>  => "M4 = foo" in Makefile
>
>  M4=foo ./configure
>  => "M4 = foo" in Makefile
>
> The test in configure.in makes no difference between M4 being undefined,
> and M4 defined but with an empty value, i.e., M4="" ./configure, but I
> don't think that is a problem.
>
> Regards,
> /Niels
>
> --
> Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
> Internet email is subject to wholesale government surveillance.
>

Thank you.

I'll let our builders know and will provide further feedback
when I hear from them.

Regards.

--
Ozkan


More information about the gmp-devel mailing list