Do a test compile/link within Makefile.PL and watch the exit status of the compiler.
We currently do this in Inline::CPP to verify whether the target compiler ships with headers that lack the .h extension (newer compilers that support the 'namespace' keyword do), or whether the target compiler is an older compiler that requires .h extensions (and doesn't put standard library functions in namespace std.)
Dave
In reply to Re: [C Question] Determine if gcc provides erfl() function
by davido
in thread [C Question] Determine if gcc provides erfl() function
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |