This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Fix config-ml.in (take 2)
On Thu, Oct 02, 2003 at 06:37:48AM -0300, Alexandre Oliva wrote:
> 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.
Nope, remember http://gcc.gnu.org/ml/libstdc++/2003-07/msg00482.html.
--
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
- Brian W. Kernighan