Revision: 1012
Author: tim.bunce
Date: Wed Jan 6 13:56:15 2010
Log: Fixed minor typo. Tweaked whitespace.
http://code.google.com/p/perl-devel-nytprof/source/detail?r=1012
Modified:
/trunk/Makefile.PL
=======================================
--- /trunk/Makefile.PL Wed Jan 6 13:44:43 2010
+++ /trunk/Makefile.PL Wed Jan 6 13:56:15 2010
@@ -26,19 +26,19 @@
}
my @man;
if ($ENV{PERL_CORE}) {
- @man = ( MAN1PODS => {}, MAN3PODS => {} );
+ @man = ( MAN1PODS => {}, MAN3PODS => {} );
} else {
- @man = ( MAN1PODS => {
+ @man = ( MAN1PODS => {
'bin/nytprofhtml' => '$(INST_MAN1DIR)/nytprofhtml.1',
'bin/nytprofcsv' => '$(INST_MAN1DIR)/nytprofcsv.1',
'bin/nytprofcg' => '$(INST_MAN1DIR)/nytprofcg.1',
- } );
+ } );
}
# --- Options
GetOptions(
'g!' => \my $opt_g, # compile with -g (for debugging)
- 'assert!' => \my $opt_assert, # enable assert()ions in the code (and
perl headers)
+ 'assert!' => \my $opt_assert, # enable assert()ions in the code
(and perl headers)
'pg!' => \my $opt_pg, # compile with -pg (for profiling
NYTProf itself)
) or exit 1;
@@ -77,20 +77,20 @@
my %mm_opts;
my @libs = ();
-foreach (['time.h',
qr/(clock_gettime)\s*\(/, '-DHAS_CLOCK_GETTIME', '-lrt'],
- ['zlib.h', qr/(deflateInit2)(?:_)?\s*\(/, '-DHAS_ZLIB', '-lz'],
- ) {
+foreach (['time.h',
qr/(clock_gettime)\s*\(/, '-DHAS_CLOCK_GETTIME', '-lrt'],
+ ['zlib.h',
qr/(deflateInit2)(?:_)?\s*\(/, '-DHAS_ZLIB', '-lz'],
+ ) {
my ($header, $regexp, $define, $libs) = @$_;
if (my $result = search_h_file($header, $regexp)) {
- print "Found $result in $header\n";
- push @libs, $libs;
- $mm_opts{DEFINE} .= " $define";
+ print "Found $result in $header\n";
+ push @libs, $libs;
+ $mm_opts{DEFINE} .= " $define";
}
}
if( $^O eq 'darwin' and search_h_file('mach_time.h',
qr/(mach_absolute_time)\s*\(/)) {
- print "Found mach_absolute_time in mach/mach_time.h.h\n";
- $mm_opts{DEFINE} .= " -DHAS_MACH_TIME";
+ print "Found mach_absolute_time in mach/mach_time.h\n";
+ $mm_opts{DEFINE} .= " -DHAS_MACH_TIME";
}
if ($opt_assert or (not defined $opt_assert and $is_developer)) {
@@ -138,7 +138,7 @@
'Test::More' => '0.84',
'XSLoader' => 0,
'Getopt::Long' => 0,
- 'JSON::Any' => 0,
+ 'JSON::Any' => 0,
},
LIBS => [join ' ', @libs],
OBJECT => q/$(O_FILES)/,
@@ -146,11 +146,11 @@
@man,
INC => $INCLUDE,
clean => {
- FILES => join(" ",
- "nytprof demo-out",
- map { ("t/$_", "xt/$_") } qw(
- nytprof nytprof*.out nytprof*.out.* *_outdir test*.*_new auto
- ))
+ FILES => join(" ",
+ "nytprof demo-out",
+ map { ("t/$_", "xt/$_") } qw(
+ nytprof nytprof*.out nytprof*.out.* *_outdir test*.*_new
auto
+ ))
},
dist => {
DIST_DEFAULT => 'clean distcheck disttest tardist',
--
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.
Group hosted at: http://groups.google.com/group/develnytprof-dev
Project hosted at: http://perl-devel-nytprof.googlecode.com
CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf
To post, email: [email protected]
To unsubscribe, email: [email protected]