Re-instate initial dereference in total_size()
[p5sagit/Devel-Size.git] / Makefile.PL
index 8145675..935ad2b 100644 (file)
@@ -1,11 +1,9 @@
-use ExtUtils::MakeMaker;\r
-use Config;\r
-\r
-my %options = (       \r
-  NAME => 'Devel::Size',\r
-  LIBS => $Config{cc} eq 'gcc' || $Config{cc} eq 'cc' ? ['-lstdc++'] : '',\r
-  VERSION_FROM => 'lib/Devel/Size.pm',\r
-  CC => $Config{cc} eq 'cl' ? 'cl' : 'g++',\r
-);\r
-\r
-WriteMakefile(%options);\r
+use 5.008;
+use ExtUtils::MakeMaker;
+
+WriteMakefile(
+  NAME => 'Devel::Size',
+  VERSION_FROM => 'lib/Devel/Size.pm',
+  ($ExtUtils::MakeMaker::VERSION >= 6.47 ? (MIN_PERL_VERSION => '5.008') : ()),
+  ($ExtUtils::MakeMaker::VERSION >= 6.30 ? (LICENSE => 'perl') : ()),
+);