can we merge the various xxx_FOR_BUILD autoconf-archives into autoconf ? https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html https://www.gnu.org/software/autoconf-archive/ax_prog_cxx_for_build.html would be nice to have official names for these in autoconf itself as we could then leverage those in automake. as it stands now, having just the macros isn't nearly as useful when automake is being used. automake hardcodes/expects $(EXEEXT) in program names, and if you try to change that around, automake gets confused. if you try to bypass it with other targets (like noinst_DATA), you're forced to write all of the compile+link rules yourself. i know this subject has been discussed off & on for years. it seems like the lack of movement in autoconf/automake has led to defacto standards as seen in the *_FOR_BUILD macros, and used in core GNU projects like binutils & gcc. it's also what the Autobook documents: https://www.sourceware.org/autobook/autobook/autobook_143.html -mike
Attachment:
signature.asc
Description: PGP signature