make makemaker makefile.pl able to work completely in silent mode with no user input

git-svn-id: svn://10.0.0.236/branches/devel-branch-1_4_2@184157 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
richm%stanfordalumni.org
2005-11-04 20:32:55 +00:00
parent 958cc6a83b
commit 3e22791d26

View File

@@ -1,5 +1,5 @@
#############################################################################
# $Id: Makefile.PL,v 1.16.2.10 2005-10-25 18:48:30 richm%stanfordalumni.org Exp $
# $Id: Makefile.PL,v 1.16.2.11 2005-11-04 20:32:55 richm%stanfordalumni.org Exp $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.1 (the "License"); you may not use this file except in
@@ -144,8 +144,8 @@ if ( -f "$include_ldap${dir_sep}nspr.h" ) {
print "Directory containing NSPR API 'include' and 'lib'\n";
print "directories for NSPR support (type 'n' or 'none' to omit) (default: $nspr_loc): ";
$silent = 0;
if (!$ENV{NSPRDIR}) {
$silent = 0;
chomp ($input = <STDIN>);
if ($input =~ /^n/i) {
$nspr_loc = undef;