X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FMakefile.PL;h=df1cabc30c07b06b05484913c46786ce0c5d03d6;hb=344bf0566f5fc2d789dbca4a988cef35c68af497;hp=5a15047ac0b72072c7950f00a1f77add04692d63;hpb=1b64d24db900d804a3619e9e30d55c54c165e40a;p=catagits%2Ffcgi2.git diff --git a/perl/Makefile.PL b/perl/Makefile.PL index 5a15047..df1cabc 100644 --- a/perl/Makefile.PL +++ b/perl/Makefile.PL @@ -1,4 +1,4 @@ -# $Id: Makefile.PL,v 1.1 1999/02/13 05:26:44 roberts Exp $ +# $Id: Makefile.PL,v 1.3 1999/03/08 16:26:05 skimo Exp $ use ExtUtils::MakeMaker; use IO::File; @@ -42,6 +42,15 @@ $sys = $^O eq 'MSWin32' ? 'win32' : 'unix'; push @o, "fcgiapp.o", "os_$sys.o" unless $prefix; $inc = $prefix ? "-I$prefix/include" : '-I.'; +push(@extras, CAPI => 'TRUE') + if ($] >= 5.005 and $^O eq 'MSWin32' + and $Config{archname} =~ /-object\b/i); + +push(@extras, + ABSTRACT => 'Fast CGI module', + AUTHOR => 'Sven Verdoolaege (skimo@kotnet.org)') + if ($ExtUtils::MakeMaker::VERSION >= 5.4301); + # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( @@ -64,6 +73,7 @@ WriteMakefile( }, 'clean' => { FILES => 'config.cache fcgi_config.h' }, 'PL_FILES' => { 'echo.PL' => 'echo.fpl', 'FCGI.PL' => 'FCGI.xs' }, + @extras, ); exit if -f 'fcgi_config.h' or $prefix; @@ -87,7 +97,7 @@ if ($sys eq "win32") { } else { print "Running ./configure for you\n"; - print "Please read INSTALL for information on how to run it yourself\n"; + print "Please read configure.readme for information on how to run it yourself\n"; $ENV{'CC'} = $Config{'cc'}; system("./configure");