From 5a93a9c432e9fe62ac4df16d96aeb9def81bfd6a Mon Sep 17 00:00:00 2001 From: Mike Fleetwood Date: Fri, 14 Nov 2014 09:14:40 +0000 Subject: [PATCH] Avoid splitting Autoconf check message for libparted version (#740004) First use of PKG_CHECK_EXISTS causes additional checking messages to be reported which splits the libparted version check message from it's result, like this: checking for libparted >= 1.7.1 (querying pkg-config)... checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes 2.3 Call PKG_CHECK_EXISTS early, before first use to avoid this. Output now looks like: checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes : checking for libparted >= 1.7.1 (querying pkg-config)... 2.3 Bug 740004 - use pkg-config to check for version of libparted --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index e1709bc3..78127b34 100644 --- a/configure.ac +++ b/configure.ac @@ -16,6 +16,8 @@ AC_PROG_CXX AC_PROG_CC AC_PROG_LIBTOOL AC_PROG_AWK +dnl Check for pkg-config early to avoid splitting message when first used. +PKG_CHECK_EXISTS dnl======================