bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #110271] libSDL2 fails with autoconf 2.70


From: Ross Burton
Subject: [sr #110271] libSDL2 fails with autoconf 2.70
Date: Thu, 16 Jul 2020 12:36:12 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]