This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: WCHAR_MIN; WCHAR_MAX
- To: Benjamin Kosnik <bkoz at cygnus dot com>
- Subject: Re: WCHAR_MIN; WCHAR_MAX
- From: Raja R Harinath <harinath at cs dot umn dot edu>
- Date: 07 Oct 1999 15:53:47 -0500
- Cc: Ulrich Drepper <drepper at cygnus dot com>, Tom Tromey <tromey at cygnus dot com>, libstdc++ at sourceware dot cygnus dot com
- References: <Pine.LNX.4.04.9910071300280.24179-100000@decepticon.cygnus.com>
Benjamin Kosnik <bkoz@cygnus.com> writes:
[snip]
> What I'm talking about is having autoconf generate a config.h, and
> the after all the tests have been run, and all the necessary macros
> defined, having autoconf use a header template (bits/std_cmath.h.in) that
> is used to generate a (bits/std_cmath.h) that only has the correct info in
> it, no extra defines.
You can do something similar with AC_OUTPUT_COMMAND. The gtk+ project
uses this to generate a (nearly) namespace-clean `glibconfig.h' for
it's `glib' utility library.
- Hari
--
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions." -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing." -- Roy L Ash