-# $Id: Makefile.PL,v 1.1 1999/02/13 05:26:44 roberts Exp $
+# $Id: Makefile.PL,v 1.4 1999/07/28 23:09:56 skimo Exp $
use ExtUtils::MakeMaker;
use IO::File;
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(
'$(MV) MANIFEST.old MANIFEST',
},
'clean' => { FILES => 'config.cache fcgi_config.h' },
- 'PL_FILES' => { 'echo.PL' => 'echo.fpl', 'FCGI.PL' => 'FCGI.xs' },
+ 'PL_FILES' => { 'echo.PL' => 'echo.fpl',
+ 'threaded.PL' => 'threaded.fpl',
+ 'FCGI.PL' => 'FCGI.xs',
+ },
+ @extras,
);
exit if -f 'fcgi_config.h' or $prefix;
} 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");