configure m4 problem
Niels Möller
nisse at lysator.liu.se
Fri Aug 20 14:36:45 CEST 2010
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.
More information about the gmp-devel
mailing list