Newsgroups: comp.lang.perl.misc
From: j...@toerring.de (Jens Thoms Toerring)
Date: 12 May 2008 21:27:57 GMT
Local: Mon, May 12 2008 5:27 pm
Subject: Detecting C compiler in Makefile.PL
Hello,
a CPAN module of mine that needs a C compiler for installation if ( system $Config{cc}, qw( -o cc_test cc_test.c ) ) { } where 'cc_test.c' is a simple program that gets created automatically just for this test. The problem is that on one of the testers machines $Config{cc} Now I probably can get around that by using a line like if ( system split /\s+/, $Config{cc}, qw( -o cc_test cc_test.c ) ) { or something similar but it looks ugly and I suspect that there You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||