Rewrite stdbool_.h during build?
Derek Robert Price <[email protected]>
| Newsgroups | gmane.comp.lib.gnulib.bugs,gmane.comp.version-control.cvs.bugs |
|---|---|
| Organization | Ximbiot <http://ximbiot.com> |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Is there a good reason that the stdbool module uses sed to rewrite the
@HAVE__BOOL@ tag into a 0 or 1 when creating stdbool.h using a
$(HAVE__BOOL) variable subbed into the Makefile via m4/stdbool.m4
rather than just AC_DEFINEing HAVE__BOOL in the usual idiom?
M$VC++, as one might expect of any compiler, not just an M$ tool,
breaks when it sees:
#if !@HAVE__BOOL@
. . .
Windows doesn't have any standard file search/replace tool like sed,
so it would be much easier if I could just copy the file stdbool_.h
file to stdbool.h on that platform to avoid creating new tool
dependencies in the CVS build. Would a patch to switch over to #ifdef
HAVE__BOOL be accceptable? I can't find anyplace else that is
referencing the $(HAVE__BOOL) Makefile macro.
Derek
- --
*8^)
Email: [email protected]
Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAiW2DLD1OTBfyMaQRAru6AKD5Np6LlOJ1koo30Lpdcf2w+azosACgmHKe
VF7W0T2BIjIzkJa7ZAp5Rls=
=UDsC
-----END PGP SIGNATURE-----