From: Chip Salzenberg Date: Mon, 17 Feb 1997 22:22:49 +0000 (+1200) Subject: Don't run locale test if -DNO_LOCALE X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b002077ab466278de0992f4fa3a3355ea90fa690;p=p5sagit%2Fp5-mst-13.2.git Don't run locale test if -DNO_LOCALE --- diff --git a/t/pragma/locale.t b/t/pragma/locale.t index 4e61977..298e5ba 100755 --- a/t/pragma/locale.t +++ b/t/pragma/locale.t @@ -3,6 +3,11 @@ BEGIN { chdir 't' if -d 't'; @INC = '../lib'; + require Config; import Config; + if ($Config{ccflags} =~ /\bD?NO_LOCALE\b/) { + print "1..0\n"; + exit; + } } use strict;