debugger support beginning
[sepia.git] / Makefile.PL
blob570e785381cea59db958291fb946447e4ef7ba74
1 use ExtUtils::MakeMaker;
2 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
3 # the contents of the Makefile that is written.
5 WriteMakefile(
6     'NAME'              => 'Sepia',
7     'VERSION_FROM'      => 'lib/Sepia.pm', # finds $VERSION
8     'PREREQ_PM'         => { 'Data::Dumper'    => 0,
9                              'B::Module::Info' => 0,
10                              'Scalar::Util'    => 0,
11                          },
12     ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
13      (AUTHOR     => "Sean O'Rourke <seano\@cpan.org>",
14       ABSTRACT => 'Simple Emacs-Perl InterAction')
15      : ()),
16     LICENSE => 'perl'
19 print <<EOS;
20 NOTE: To actually use this package in a useful way, you probably need
21 to move the Emacs Lisp files somewhere.  Where will depend on your
22 installation.
23 EOS
25 sub test_for
27     my $mod = shift;
28     eval "require $mod";
29     if ($@) {
30         print "@_\n";
31     }
34 test_for 'PadWalker', 'Stack/lexical inspection requires PadWalker >= 1.0.';
35 test_for 'Lexical::Persistence', 'Strict mode requires Lexical::Persistence.';
36 test_for 'Module::CoreList',
37     'sepia-core-version requires Module::CoreList.';