From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eaucd-0003kJ-My for qemu-devel@nongnu.org; Sun, 14 Jan 2018 21:35:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eauca-0002uz-Lt for qemu-devel@nongnu.org; Sun, 14 Jan 2018 21:35:39 -0500 Received: from ozlabs.ru ([107.173.13.209]:52058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eauca-0002sY-FX for qemu-devel@nongnu.org; Sun, 14 Jan 2018 21:35:36 -0500 From: Alexey Kardashevskiy Date: Mon, 15 Jan 2018 13:35:01 +1100 Message-Id: <20180115023501.37361-1-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH qemu] configure: Allow capstone=git only if git update is not disabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexey Kardashevskiy Even with --disable-git-update, ./configure tries updating the capstone submodule instead of marking it "no"; this disables capstone submodule if git update is disabled. Signed-off-by: Alexey Kardashevskiy --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 89bd662..92c21b3 100755 --- a/configure +++ b/configure @@ -4502,7 +4502,7 @@ case "$capstone" in "" | yes) if $pkg_config capstone; then capstone=system - elif test -e "${source_path}/.git" ; then + elif test -e "${source_path}/.git" -a $git_update = 'yes' ; then capstone=git elif test -e "${source_path}/capstone/Makefile" ; then capstone=internal -- 2.11.0