"Matthew D. Langston" wrote:
> GNU Autoconf could solve this class of problems for ROOT, since it could
> easily test if the user's compiler supports namespaces, and then turn on
> ROOT namespace support if it does. Additionally, GNU Autoconf could
> also add a compile time option to the ROOT package that allows the user
> (e.g. the G4 project) to specify that they unequivocally need namespace
> support.
I agree that aiming for something in this direction would be a good thing. I
think that more C++ compiler feature tests than you could ever want are already
made by the configuration procedure of Blitz++, and I ran across a couple of
notes on their mailing list with info about autoconf'ed versions of those
tests. It might be a useful starting point. Here are some relevant pointers:
http://oonumerics.org/blitz/contribute/blitz-dev/archive/0301.html
http://oonumerics.org/blitz/contribute/blitz-dev/archive/0302.html
Cheers,
Dave
--
David Morrison Brookhaven National Laboratory phone: 516-344-5840
Physics Department, Bldg 510 C fax: 516-344-3253
Upton, NY 11973-5000 email: dave@bnl.gov
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:39 MET