Received: from eggs.gnu.org ([2001:4830:134:3::10]:58381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoSo8-0004Z8-3C for qemu-devel@nongnu.org; Mon, 17 Jun 2013 02:20:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoSo6-0003qg-KK for qemu-devel@nongnu.org; Mon, 17 Jun 2013 02:20:52 -0400 Received: from dev.gentoo.org ([2001:470:ea4a:1:214:c2ff:fe64:b2d3]:50111 helo=smtp.gentoo.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoSo6-0003qZ-Ex for qemu-devel@nongnu.org; Mon, 17 Jun 2013 02:20:50 -0400 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 5749A33E3BC for ; Mon, 17 Jun 2013 06:20:49 +0000 (UTC) From: Mike Frysinger Date: Mon, 17 Jun 2013 02:20:53 -0400 Message-Id: <1371450053-28094-1-git-send-email-vapier@gentoo.org> In-Reply-To: <1342383972-11640-1-git-send-email-vapier@gentoo.org> References: <1342383972-11640-1-git-send-email-vapier@gentoo.org> Subject: [Qemu-devel] [PATCH v2] configure: do not quote $PKG_CONFIG List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org We should not quote the PKG_CONFIG setting as this deviates from the canonical upstream behavior that gets integrated with all other build systems, and deviates from how we treat all other toolchain variables that we get from the environment. Ultimately, the point is that it breaks passing custom flags directly to pkg-config via the env var where this normally works elsewhere, and it used to work in the past. Signed-off-by: Mike Frysinger --- v2 - rebased onto latest master - people were happy with this in the previous thread: http://permalink.gmane.org/gmane.comp.emulators.qemu/160198 configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 95dc66b..9c14ab6 100755 --- a/configure +++ b/configure @@ -291,7 +291,7 @@ strip="${STRIP-${cross_prefix}strip}" windres="${WINDRES-${cross_prefix}windres}" pkg_config_exe="${PKG_CONFIG-${cross_prefix}pkg-config}" query_pkg_config() { - "${pkg_config_exe}" ${QEMU_PKG_CONFIG_FLAGS} "$@" + ${pkg_config_exe} ${QEMU_PKG_CONFIG_FLAGS} "$@" } pkg_config=query_pkg_config sdl_config="${SDL_CONFIG-${cross_prefix}sdl-config}" @@ -1424,7 +1424,7 @@ fi ########################################## # pkg-config probe -if ! has "$pkg_config_exe"; then +if ! has $pkg_config_exe; then error_exit "pkg-config binary '$pkg_config_exe' not found" fi -- 1.8.2.1