On Mon, Feb 25, 2008 at 10:59 AM, Andy Armstrong <[EMAIL PROTECTED]> wrote: > Is there a generally approved way for an XS module to test for the > existence of a C compiler before attempting to build?
Look at Devel::Checklib. If you don't select any libraries, I believe it still checks for a compiler. You can use the "use-devel-checklib" script to automatically bundle it in inc and update your Makefile.PL and/or Build.PL. David