Commit | Line | Data |
---|---|---|
d667a7e6 A |
1 | #!./perl |
2 | ||
3 | chdir 't' if -d 't'; | |
4 | @INC = '../lib'; | |
5 | require Config; import Config; | |
d667a7e6 A |
6 | if (($Config{'extensions'} !~ /\bFcntl\b/) ){ |
7 | print "Bail out! Perl configured without Fcntl module\n"; | |
8 | exit 0; | |
9 | } | |
10 | if (($Config{'extensions'} !~ /\bIO\b/) ){ | |
11 | print "Bail out! Perl configured without IO module\n"; | |
12 | exit 0; | |
13 | } | |
7a06d84a LM |
14 | # hey, DOS users do not need this kind of common sense ;-) |
15 | if ($^O ne 'dos' && ($Config{'extensions'} !~ /\bFile\/Glob\b/) ){ | |
d667a7e6 A |
16 | print "Bail out! Perl configured without File::Glob module\n"; |
17 | exit 0; | |
18 | } | |
19 | ||
20 | print "1..1\nok 1\n"; | |
21 |