-# $Id: Makefile.PL,v 1.30 2001/09/25 08:21:27 skimo Exp $
+# $Id: Makefile.PL,v 1.31 2001/09/26 21:14:49 skimo Exp $
use ExtUtils::MakeMaker;
use IO::File;
use File::Copy qw(copy);
print "Using prebuilt fcgi_config.h file for Windows\n";
unlink("fcgi_config.h");
- die $! unless copy("fcgi_config_x86.h","fcgi_config.h");
+ $prefix = '.' unless $prefix;
+ die $! unless copy("$prefix/fcgi_config_x86.h","fcgi_config.h");
# Win can't deal with existence of FCGI.xs or absence of FCGI.c
unlink("FCGI.xs");