This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: WCHAR_MIN; WCHAR_MAX


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]