Integrate changes #9493,9494,9495,9496 from maintperl
[p5sagit/p5-mst-13.2.git] / ext / File / Glob / Makefile.PL
CommitLineData
72b16652 1use ExtUtils::MakeMaker;
2WriteMakefile(
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);
19e194ad 12use Config;
13sub 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}