On Fri, Nov 21, 2003 at 10:56:19AM +0000, Nick Ing-Simmons wrote: > >The only reliable solution would be to include a C++ test module > >and try to build and check it with different configurations until > >one succeeds. > > Certainly an option - perl has a XS test extension, we could > add a C++ test extension to MakeMaker - it does not have to be huge > after all!
The major reason I've been avoiding putting any XS tests into MakeMaker is being able to reliably determine if the user has a working compiler and what that compiler is. Perl has it easy, the user obviously has a C compiler, the one they're using to compile perl! Only if the probing for a compiler can be done without too many false negatives might I consider it. Module::Build has something that seems to be working, it might be worth looking into. -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern/ "May you eat three balanced meals a day and have healthful, regular bowel movements." -- Gimlet, son of Groin, "Bored of the Rings"
