compile time way to detect TR1?

Paulo J. Matos pocmatos@gmail.com
Wed May 24 08:55:00 GMT 2006


On 18/05/06, Benjamin Kosnik <bkoz@redhat.com> wrote:
>
> Hey y'all. I don't see a way to detect, at compile-time, if TR1 facilities are present.
>
> Am I missing something?
>
> Any clever suggestions?
>

Using autoconf? maybe AC_CHECK_FUNCS([tr1/memory.h]) for example...

There are probably some autoconf macros for this out there...

Cheers,

Paulo Matos

> -benjamin
>


-- 
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group



More information about the Libstdc++ mailing list