This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: need finer-grained "C" header scheme information
- From: Phil Edwards <phil at jaj dot com>
- To: Benjamin Kosnik <bkoz at fillmore dot constant dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 19 Jun 2002 16:11:35 -0400
- Subject: Re: need finer-grained "C" header scheme information
- References: <200206191907.g5JJ7Pe29127@fillmore.constant.com>
On Wed, Jun 19, 2002 at 12:07:25PM -0700, Benjamin Kosnik wrote:
> I suppose this is really just a configure question. I need to switch
> parts of the --enable-cheaders=c model on and off based on target OS
> info.
>
> Thoughts on how to best do this?
Which parts of the model? Is there a convenient name we can give to a
feature set so that configure.target can do
switch $target_os in
weird8.2)
c_headers_get_special_treatment=yes ;;
and then GLIBCPP_ENABLE_CHEADERS can examine c_headers_get_special_treatment?
Probably more than one such variable would be needed with this route, but if
the defaults are wisely chosen it shouldn't be too onerous.
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams