[sr #110377] AC_CACHE_CHECK is affected by 's' variable override.

Sergei Trofimovich <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Follow-up Comment #2, sr #110377 (project autoconf):

Your fix helped, thank you!

The only other tweak I had to do was to avoid here-document split across
multiple expressions:


    AS_IF([! $CC -E -xc - <<SRC >/dev/null], [
        @%:@if defined __APPLE_CC__ && defined __clang_major__ &&
__clang_major__ < 3
        @%:@error premature clang
        @%:@endif
SRC
        AC_MSG_ERROR([clang version 3.0 or later is required])
    ])


Tried to fix it as https://github.com/ruby/ruby/pull/3773. I assume initial
for was never guaranteed to work.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110377>

_______________________________________________
  Сообщение отправлено по Savannah
  https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.