This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add strbeg argument to Perl_re_intuit_start()
[perl5.git] / ext / File-Glob / Makefile.PL
CommitLineData
72b16652 1use ExtUtils::MakeMaker;
735631af 2use ExtUtils::Constant 0.23 'WriteConstants';
72b16652
GS
3WriteMakefile(
4 NAME => 'File::Glob',
5 VERSION_FROM => 'Glob.pm',
72b16652 6 OBJECT => 'bsd_glob$(OBJ_EXT) Glob$(OBJ_EXT)',
ece2ffd9 7 realclean => {FILES=> 'const-c.inc const-xs.inc'},
72b16652
GS
8
9## uncomment for glob debugging (will cause make test to fail)
10# DEFINE => '-DGLOB_DEBUG',
11# OPTIMIZE => '-g',
12);
19e194ad
JH
13use Config;
14sub MY::cflags {
15 package MY;
16 my $inherited = shift->SUPER::cflags(@_);
17 if ($Config::Config{archname} =~ /^aix/ and
18 $Config::Config{use64bitall} eq 'define') {
19 $inherited =~ s/\s-O\d?//m;
20 }
21 $inherited;
22}
72f7b9a1
NC
23
24WriteConstants(
7f39e0ae 25 PROXYSUBS => {autoload => 1},
72f7b9a1
NC
26 NAME => 'File::Glob',
27 NAMES => [qw(GLOB_ABEND GLOB_ALPHASORT GLOB_ALTDIRFUNC GLOB_BRACE GLOB_ERR
28 GLOB_LIMIT GLOB_MARK GLOB_NOCASE GLOB_NOCHECK GLOB_NOMAGIC
6101facc
NC
29 GLOB_NOSORT GLOB_NOSPACE GLOB_QUOTE GLOB_TILDE),
30 {name => 'GLOB_CSH',
31 value => 'GLOB_BRACE|GLOB_NOMAGIC|GLOB_QUOTE|GLOB_TILDE|GLOB_ALPHASORT',
32 macro => 1},
33 ],
72f7b9a1
NC
34 BREAKOUT_AT => 8,
35);