do, warn, use
[p5sagit/p5-mst-13.2.git] / ext / File / Glob / Makefile.PL
1 use ExtUtils::MakeMaker;
2 WriteMakefile(
3     NAME                => 'File::Glob',
4     VERSION_FROM        => 'Glob.pm',
5     MAN3PODS            => {},     # Pods will be built by installman.
6     OBJECT              => 'bsd_glob$(OBJ_EXT) Glob$(OBJ_EXT)',
7
8 ## uncomment for glob debugging (will cause make test to fail)
9 #   DEFINE              => '-DGLOB_DEBUG',
10 #   OPTIMIZE            => '-g',
11 );
12 use Config;
13 sub MY::cflags {
14   package MY;
15   my $inherited = shift->SUPER::cflags(@_);
16   if ($Config::Config{archname} =~ /^aix/ and 
17       $Config::Config{use64bitall} eq 'define') {
18     $inherited =~ s/\s-O\d?//m;
19   }
20   $inherited;
21 }