]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Fold AC_C_STRINGIZE into AC_PROG_CC.
authorZack Weinberg <zackw@panix.com>
Mon, 3 Apr 2023 01:54:31 +0000 (21:54 -0400)
committerZack Weinberg <zackw@panix.com>
Mon, 3 Apr 2023 03:01:50 +0000 (23:01 -0400)
commita7dc6d83c7d12b8409c512c3c10ad29f01e6c164
tree38cd1f6dd93d52b53dd2a1433e36b067ef1f5e16
parentb5891a57b586ef6ff78bb752d62915b78cd58d7e
Fold AC_C_STRINGIZE into AC_PROG_CC.

Another of the last few uses of AC_EGREP_CPP is to check for the ISO C
“stringification” operator.  As this is a feature of C89, let’s fold
the test into the extensive C89 tests we already have, and make
AC_C_STRINGIZE just lean on AC_PROG_CC, in the same way
AC_C_PROTOTYPES does.

* lib/autoconf/c.m4 (_AC_C_C89_TEST_GLOBALS): Add test of preprocessor
  stringification and token pasting.
  (AC_C_STRINGIZE): Just check ac_prog_cc_stdc.
lib/autoconf/c.m4