Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aUDfe-000091-HM for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Feb 2016 13:22:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aUDfe-0001MQ-4M for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Feb 2016 13:22:02 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aUDeJ-0006rP-AX for pgsql-hackers@postgresql.org; Fri, 12 Feb 2016 13:20:39 +0000 Received: from newmail.postgrespro.ru ([93.174.131.138] helo=mail.postgrespro.ru) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aUDeG-0007Zj-7j for pgsql-hackers@postgresql.org; Fri, 12 Feb 2016 13:20:38 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id 1964A21C62AD for ; Fri, 12 Feb 2016 16:20:34 +0300 (MSK) Received: from mail.postgrespro.ru ([127.0.0.1]) by localhost (mail.postgrespro.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id euiH4EafeITQ for ; Fri, 12 Feb 2016 16:20:33 +0300 (MSK) Received: from [192.168.27.116] (unknown [192.168.27.1]) by mail.postgrespro.ru (Postfix) with ESMTPSA id ECE9D21C6298 for ; Fri, 12 Feb 2016 16:20:32 +0300 (MSK) From: Eugene Kazakov Subject: Small PATCH: check of 2 Perl modules To: pgsql-hackers@postgresql.org Message-ID: <56BDDC20.9020506@postgrespro.ru> Date: Fri, 12 Feb 2016 16:20:32 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060306010800080109010809" X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org This is a multi-part message in MIME format. --------------060306010800080109010809 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit TAP-tests need two Perl modules: Test::More and IPC::Run. The patch adds checking of modules in configure.in and configure. Eugene Kazakov, Postgres Professional --------------060306010800080109010809 Content-Type: text/x-patch; name="CheckingOfPerlModules.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="CheckingOfPerlModules.patch" diff --git a/configure b/configure index 1903815..da6ed4b 100755 --- a/configure +++ b/configure @@ -15554,6 +15554,8 @@ done if test -z "$PERL"; then as_fn_error $? "Perl not found" "$LINENO" 5 fi + AX_PROG_PERL_MODULES( Test::More, , as_fn_error $? "Need Perl Test::More module " "$LINENO" 5) + AX_PROG_PERL_MODULES( IPC::Run, , as_fn_error $? "Need Perl IPC::Run module " "$LINENO" 5) fi # Thread testing diff --git a/configure.in b/configure.in index 0bd90d7..17e0caa 100644 --- a/configure.in +++ b/configure.in @@ -2055,6 +2055,8 @@ if test "$enable_tap_tests" = yes; then if test -z "$PERL"; then AC_MSG_ERROR([Perl not found]) fi + AX_PROG_PERL_MODULES( Test::More, , AC_MSG_ERROR( [Need Perl Test::More module] )) + AX_PROG_PERL_MODULES( IPC::Run, , AC_MSG_ERROR( [Need Perl IPC::Run module] )) fi # Thread testing --------------060306010800080109010809 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers --------------060306010800080109010809--