From patchwork Wed May 22 13:21:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ed Maste X-Patchwork-Id: 245618 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C21FE2C009A for ; Wed, 22 May 2013 23:22:04 +1000 (EST) Received: from localhost ([::1]:55924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uf8zS-0001SS-VV for incoming@patchwork.ozlabs.org; Wed, 22 May 2013 09:22:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uf8zD-0001S4-DE for qemu-devel@nongnu.org; Wed, 22 May 2013 09:21:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uf8z8-0000y8-OO for qemu-devel@nongnu.org; Wed, 22 May 2013 09:21:47 -0400 Received: from [216.171.111.232] (port=39480 helo=freebsd.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uf8z8-0000xw-II for qemu-devel@nongnu.org; Wed, 22 May 2013 09:21:42 -0400 Received: from emaste (uid 1001) (envelope-from emaste@freebsd.org) id 9ced0 by freebsd.org (DragonFly Mail Agent 1); Wed, 22 May 2013 09:21:40 -0400 From: Ed Maste To: qemu-devel@nongnu.org Date: Wed, 22 May 2013 09:21:39 -0400 Message-Id: <1369228899-74124-1-git-send-email-emaste@freebsd.org> X-Mailer: git-send-email 1.7.11.5 X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-Received-From: 216.171.111.232 Cc: qemu-trivial@nongnu.org, Ed Maste Subject: [Qemu-devel] [PATCH] configure: remove confusing file manipulation X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The configure script had some code to manipulate config-host.ld~ (i.e., a common backup filename), comparing it with the newly-generated file. I believe the sense of the comparison was backwards. Since it seemed to serve little purpose anyway, remove it to avoid any confusion. Signed-off-by: Ed Maste --- configure | 9 --------- 1 file changed, 9 deletions(-) diff --git a/configure b/configure index 5ae7e4a..cfdb564 100755 --- a/configure +++ b/configure @@ -4104,17 +4104,8 @@ if test "$gcov" = "yes" ; then fi # generate list of library paths for linker script - $ld --verbose -v 2> /dev/null | grep SEARCH_DIR > ${config_host_ld} -if test -f ${config_host_ld}~ ; then - if cmp -s $config_host_ld ${config_host_ld}~ ; then - mv ${config_host_ld}~ $config_host_ld - else - rm ${config_host_ld}~ - fi -fi - # use included Linux headers if test "$linux" = "yes" ; then mkdir -p linux-headers