dta-tokwrap
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
##----------------------------------------------------------------------
## autoconf-style configure (also creates DTA-TokWrap/TokWrap/Version.pm)
##-- avoid heinous errors if running a non-standard perl
## - example http://www.cpantesters.org/cpan/report/ae09febc-353f-11e9-a0cc-de79a423f08d
## - thanks to Slaven ReziÄ for spotting the problem
$ENV{PERL} = $^X;
##-- shamelessly lift compiler flags used for perl itself
## - this gets us e.g. -I/usr/local/include on freebsd
$ENV{CPPFLAGS} .= " ".$Config{cppflags};
$ENV{LDFLAGS} .= " ".$Config{ldflags};
##-- guts
-e "./configure"
or system(qw(autoreconf --install --verbose --force .))==0
or die("$0: ERROR: autoreconf failed: $!");
system(qw(sh ./configure --disable-doc),@ARGV)==0
or die("$0: ERROR: autotools ./configure failed: $!");
( run in 0.725 second using v1.01-cache-2.11-cpan-8d75d55dd25 )