print OUT while <DATA>;
close OUT;
__END__
-/* $Id: FCGI.PL,v 1.2 1999/02/28 17:46:31 skimo Exp $ */
+/* $Id: FCGI.PL,v 1.3 1999/03/08 16:26:04 skimo Exp $ */
#include "EXTERN.h"
#include "perl.h"
#define TRUE (1)
#endif
+#ifdef WIN32
+#define environ _environ
+#endif
+
extern char **environ;
static char **requestEnviron = NULL;
-# $Id: FCGI.pm,v 1.1 1999/02/13 05:26:43 roberts Exp $
+# $Id: FCGI.pm,v 1.2 1999/03/08 16:26:03 skimo Exp $
package FCGI;
);
-$VERSION = '0.44';
+$VERSION = '0.45';
bootstrap FCGI;
-# $Id: Makefile.PL,v 1.2 1999/02/28 17:46:29 skimo Exp $
+# $Id: Makefile.PL,v 1.3 1999/03/08 16:26:05 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(
},
'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;