Hi Eric, * Eric Blake wrote on Thu, Aug 26, 2010 at 11:13:02PM CEST: > It works - it found bugs in autoconf's own (mis-)use of AC_COMPILE_IFELSE!
Nifty idea and patch! Testing shows me that AC_INIT AC_PROG_CC AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED s]) AC_COMPILE_IFELSE([t]) still manages to correctly warn about the second instance (might be a good testsuite addition), but I fail to see how that is ensured. Is m4_pushdef([M]) m4_define([M]) m4_popdef([M]) documented to work and do the expected (what would that be?) thing? Thanks! Ralf