]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Reduce forks in AC_DEFINE.
authorEric Blake <ebb9@byu.net>
Fri, 14 Nov 2008 04:20:18 +0000 (21:20 -0700)
committerEric Blake <ebb9@byu.net>
Thu, 20 Nov 2008 23:18:28 +0000 (16:18 -0700)
commit2d63737afbd39d9029ab8c4448ec31afe80784ee
tree67433d3d5f314c97764bc231d77b3e9078b89d0a
parent7791129655cc9fd2136fd3816e2eb487c59c7add
Reduce forks in AC_DEFINE.

* lib/autoconf/general.m4 (_AC_DEFINE_Q_PRINT): New macro.
(_AC_DEFINE_Q): Use it to avoid forks for all AC_DEFINE and most
AC_DEFINE_UNQUOTED.
* lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Properly quote #.
* tests/torture.at (Substitute and define special characters):
(Define to a 2000-byte string): Enhance tests to cover
AC_DEFINE_UNQUOTED.
(@%:@define header templates): Enhance test to cover #.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/autoconf/fortran.m4
lib/autoconf/general.m4
tests/torture.at