Avoid trailing space in config.h with AC_DEFINE([var], []).

* lib/autoconf/general.m4 (_AC_DEFINE_Q): Explicitly mark empty
defines with a comment.

Signed-off-by: Eric Blake <ebb9@byu.net>
This commit is contained in:
Eric Blake 2008-02-12 08:49:59 -07:00
parent e93d422b9e
commit 49ffd6c9c1
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-02-12 Eric Blake <ebb9@byu.net>
Avoid trailing space in config.h with AC_DEFINE([var], []).
* lib/autoconf/general.m4 (_AC_DEFINE_Q): Explicitly mark empty
defines with a comment.
2008-02-08 Eric Blake <ebb9@byu.net> 2008-02-08 Eric Blake <ebb9@byu.net>
Fix texinfo typos in previous patch. Fix texinfo typos in previous patch.

View File

@ -2056,7 +2056,7 @@ m4_cond([m4_index([$3], [
m4_ifval([$4], [AH_TEMPLATE(AC_name, [$4])])dnl m4_ifval([$4], [AH_TEMPLATE(AC_name, [$4])])dnl
m4_popdef([AC_name])dnl m4_popdef([AC_name])dnl
cat >>confdefs.h <<$1_ACEOF cat >>confdefs.h <<$1_ACEOF
[@%:@define] $2 m4_if($#, 2, 1, [$3]) [@%:@define] $2 m4_if([$#], 2, 1, [$3], [], [/**/], [$3])
_ACEOF _ACEOF
]) ])