summaryrefslogtreecommitdiff
path: root/make/configure.pm
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-20 22:03:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-20 22:03:42 +0000
commit0106c221c0e4bcb9de228a7774c7fb0992b56edd (patch)
tree3a7bd30d46a35a2c703deab216eef9031a377fbf /make/configure.pm
parentf8706cb33338df49ee6cb2f6be12c6cd0fe398e3 (diff)
Better detection
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6411 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/configure.pm')
-rw-r--r--make/configure.pm15
1 files changed, 1 insertions, 14 deletions
diff --git a/make/configure.pm b/make/configure.pm
index 7b0a35454..7965436c2 100644
--- a/make/configure.pm
+++ b/make/configure.pm
@@ -2,7 +2,7 @@ package make::configure;
use Exporter 'import';
use POSIX;
use make::utilities;
-@EXPORT = qw(promptnumeric promptstring dumphash is_dir getmodules getrevision getcompilerflags getlinkerflags getdependencies resolve_directory yesno showhelp);
+@EXPORT = qw(promptnumeric dumphash is_dir getmodules getrevision getcompilerflags getlinkerflags getdependencies resolve_directory yesno showhelp);
my $no_svn = 0;
@@ -139,19 +139,6 @@ sub promptnumeric($$)
}
}
-sub promptstring($$$)
-{
- my ($prompt, $configitem, $default) = @_;
- print "\nPlease enter the $prompt?\n";
- print "[\033[1;32m$default\033[0m] -> ";
- chomp($var = <STDIN>);
- if ($var eq "")
- {
- $var = $default;
- }
- $main::config{$configitem} = $var;
-}
-
sub dumphash()
{
print "\n\033[1;32mPre-build configuration is complete!\033[0m\n\n";