summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-12-07 23:39:55 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-12-07 23:39:55 +0100
commit35d80008d6cb55160d06dda51aebc716c4d6511b (patch)
treee8849342709f39aac11a8882a02f5bf658e824c3 /tools
parent48f8f79317a04891e2becd859363add6eb2d6444 (diff)
parent440f34023a094697fca5fc07dfbb9e2a3228520a (diff)
Merge pull request #895 from SaberUK/master+configure-misc-cleanup
Various improvements to the build system.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genssl1
-rwxr-xr-xtools/test-build2
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/genssl b/tools/genssl
index 073caa8f4..13b1f01fc 100755
--- a/tools/genssl
+++ b/tools/genssl
@@ -35,6 +35,7 @@ use File::Temp();
sub prompt($$) {
my ($question, $default) = @_;
+ return prompt_string(1, $question, $default) if eval 'use make::console; 1';
print "$question\n";
print "[$default] => ";
chomp(my $answer = <STDIN>);
diff --git a/tools/test-build b/tools/test-build
index 7f1bf68cd..85d63ccbe 100755
--- a/tools/test-build
+++ b/tools/test-build
@@ -29,8 +29,8 @@ BEGIN {
use strict;
use warnings FATAL => qw(all);
+use make::common;
use make::configure;
-use make::utilities;
$ENV{D} = $ENV{V} = 1;