>>>>> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes:

Robert> AC_EXEEXT was already present. I added AC_OBJEXT and ran
Robert> automake --foreign again, no change.

Akim> Sorry, I think I was confused.  I checked, and it seems to be
Akim> what was designed: compile as foo, but *install* as
Akim> foo.$(EXEEXT).  I might be wrong again, but at least 1.4 behaves
Akim> this way.

Tom> I'm suprised by that.  I thought we were always building as
Tom> foo.$(EXEEXT).  That's why we did the ugly _PROGRAMS rewrite
Tom> stuff in am_install_var.

As a matter of fact we do rewrite *_PROGRAMS, but *after* having set
@result which is the return value of am_install_vars.  Therefore the
file_contents maps %PROGRAM% to what the user has written.

It shouldn't be any problem until someone has the good idea to use
$(EXEEXT) to define *_PROGRAMS...

I'd be happy to clean this, but there is already quite a few patches
in the queue :(  TODO?

Reply via email to