Blob Blame History Raw
From 3e0738649d5131a043fccf4fcdac5aecf5191f71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Fri, 21 Jul 2017 10:20:00 +0200
Subject: [PATCH] Non-interactive Makefile.PL
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Petr Písař <ppisar@redhat.com>
---
 Makefile.PL | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/Makefile.PL b/Makefile.PL
index 04045ff..0d5f4a5 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -34,13 +34,7 @@ my %PREREQ_PM = (
 
 check_prereqs( \%PREREQ_PM ) or warn "!!! PREREQUISITES NOT MET !!!";
 
-my( $cc_guess, $libs_guess ) = guess_compiler();
-
-my $cpp_compiler
-  = prompt( "What C++ compiler would you like to use?", $cc_guess );
-
-my $libs
-  = prompt( "What default libraries would you like to include?", $libs_guess );
+my( $cpp_compiler, $libs ) = guess_compiler();
 
 configure_distribution( $test_cpp_filename, $cpp_compiler, $libs );
 
-- 
2.9.4