summaryrefslogtreecommitdiff
path: root/symbian/sanity.pl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2005-10-31 20:38:42 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2005-10-31 16:25:23 +0000
commit25ca88e0cbd385e70d7ea2ee4f8a34a9ff7bcc17 (patch)
tree81bd98f725c8e6e8c9d7760fe938f669619fbc56 /symbian/sanity.pl
parentf6ba99206280472c9e353abb350d114de9d2591b (diff)
downloadperl-25ca88e0cbd385e70d7ea2ee4f8a34a9ff7bcc17.tar.gz
Symbian port 0.3.0 as of blead@25911
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A6D6@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@25933
Diffstat (limited to 'symbian/sanity.pl')
-rw-r--r--symbian/sanity.pl17
1 files changed, 11 insertions, 6 deletions
diff --git a/symbian/sanity.pl b/symbian/sanity.pl
index eb50244dde..4d00ac0532 100644
--- a/symbian/sanity.pl
+++ b/symbian/sanity.pl
@@ -1,17 +1,22 @@
use strict;
if (exists $ENV{'!C:'}) {
- print "You are running this under Cygwin, aren't you?\n";
+ print "You are running this under Cygwin, aren't you? (found '!C' in %ENV)\n";
+ print "Are you perhaps using Cygwin Perl? (\$^O is '$^O')\n" if $^O =~ /cygwin/;
print "I'm sorry but only cmd.exe will work.\n";
exit(1);
}
-if (# SDK 2.x
- $ENV{PATH} !~ m!c:\\program files\\common files\\symbian\\tools!i
+if (# S60 2.x or S80 2.x
+ $ENV{PATH} !~ m!\\program files\\common files\\symbian\\tools!i
&&
- # SDK 1.2
- $ENV{PATH} !~ m!c:\\symbian\\6.1\\shared\\epoc32\\tools!i) {
- print "I think you have not installed the Symbian SDK.\n";
+ # S60 1.2
+ $ENV{PATH} !~ m!\\symbian\\6.1\\shared\\epoc32\\tools!i
+ &&
+ # UIQ
+ $ENV{PATH} !~ m!\\symbian\\uiq.+?\\epoc32!i
+ ) {
+ print "I do not think you have installed the Symbian SDK.\n";
exit(1);
}