Follow-up Comment #1, sr #110271 (project autoconf):
Discussion on the list:
---
This is a classic M4 quoting bug. The macro should quote the third
argument to AC_CACHE_CHECK (and really, should quote all the arguments).
The problem is that diversions do not work properly during arugment
collection so AC_REQUIRE (which depends on diversions) and many other
macros will not work properly if it is expanded during argument
collection.
Quote the arguments to AC_CACHE_CHECK and the prerequisite macros will
get expanded in the correct order.
---
I've tested this is the case and this can be closed.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?110271>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/