$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2005/03/03 00:10:54 espie Exp $
--- Makefile.PL.orig	Thu Mar  3 00:46:52 2005
+++ Makefile.PL	Thu Mar  3 00:47:20 2005
@@ -9,7 +9,7 @@ while (!$choice) {
 		  "  1) Interface to Ace socket server and local databases (pure Perl)\n" .
 		  "  2) The above plus XS optimizations (requires C compiler)\n" .
 		  "  3) The above plus RPC server interface (requires C compiler)\n\n" .
-		  "Enter your choice: ", "1");
+		  "Enter your choice: ", $ENV{'CHOICE1'});
   if ($reply =~ /(\d+)/) {
     $choice = $1;
     die "invalid choice: $choice!" if $choice < 1  ||  $choice > 3;
@@ -23,7 +23,7 @@ push @extlib,'Freesubs' if $choice >= 2;
 push @extlib,'RPC'      if $choice >= 3;
 
 print "\n";
-setup_sitedefs() if prompt("Do you want to install Ace::Browser? ","n") =~ /[yY]/;
+setup_sitedefs() if prompt("Do you want to install Ace::Browser? ",$ENV{'CHOICE2'}) =~ /[yY]/;
 
 my $headers  = "./acelib/wh";
 WriteMakefile(
