PATCH: Fix config-ml.in (take 2)

Alexandre Oliva aoliva@redhat.com
Thu Oct 2 09:37:00 GMT 2003


On Oct  1, 2003, "H. J. Lu" <hjl@lucon.org> wrote:

> It turns out that not all configures can take FOO=bar. This patch
> passes ${ml_config_env} only if ${ml_arguments} has some FOO=bar.

Note that ml_config_env is already passed down as part of the
environment:
> -    if eval ${ml_config_env} ${ml_config_shell} ${ml_recprog} \
               ^^^^^^^^^^^^^^^^

This *should* be enough, and roughly equivalent to passing the
settings as arguments to configure scripts that support them.

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



More information about the Gcc-patches mailing list