> Hm, I'm in favor of having AC_ARG_PROGRAM always run.  I see no use in
> having only partial support for this option across configures.  In
> addition, AM_INIT_AUTOMAKE, IIRC, calls it by itself.
>
> Pavel, Alexandre, any problem with integrating AC_ARG_PROGRAM in AC_INIT?

An obvious problem is that if AC_CANONICAL_TARGET is used, it should be
before AC_ARG_PROGRAM and after AC_INIT, so there will be no place for it.

AC_CANONICAL_TARGET should be optional - not every program is a compiler.

Probably a dubious feature about $target being the default program prefix
will have to be dropped. Alternatively, AC_CANONICAL_TARGET should
implement it if the values set by (the former) AC_ARG_PROGRAM are pristine
(i.e. the transform rule is trivial).

Regards,
Pavel Roskin


Reply via email to