bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rewrite stdbool_.h during build?


From: Derek Robert Price
Subject: Rewrite stdbool_.h during build?
Date: Fri, 23 Apr 2004 15:24:52 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413

-----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 address@hidden@
. . .

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: address@hidden

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-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]