From patchwork Mon Aug 3 12:46:32 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 30543 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 8E328B6F2B for ; Tue, 4 Aug 2009 00:17:03 +1000 (EST) Received: from localhost ([127.0.0.1]:53335 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXyLQ-0006YI-BJ for incoming@patchwork.ozlabs.org; Mon, 03 Aug 2009 10:16:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXwzO-0003V8-Ov for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXwzK-0003T2-5g for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:06 -0400 Received: from [199.232.76.173] (port=51692 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXwzK-0003So-01 for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:02 -0400 Received: from mx2.redhat.com ([66.187.237.31]:40831) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXwzJ-000749-8u for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:01 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n73Co0pa006644; Mon, 3 Aug 2009 08:50:00 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n73CnxVM026166; Mon, 3 Aug 2009 08:49:59 -0400 Received: from localhost.localdomain (vpn-12-117.rdu.redhat.com [10.11.12.117]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n73Cn8Mj009715; Mon, 3 Aug 2009 08:49:58 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Mon, 3 Aug 2009 14:46:32 +0200 Message-Id: <20f5823f0fe25c1dbf4a7a6421877d555bbba123.1249301360.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: aliguori@us.ibm.com Subject: [Qemu-devel] [PATCH 41/81] Test if we need -lutil in ,/configure X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Juan Quintela --- Makefile.target | 10 ---------- configure | 5 +++++ 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/Makefile.target b/Makefile.target index 4c0d5ba..6a61dfd 100644 --- a/Makefile.target +++ b/Makefile.target @@ -395,16 +395,6 @@ ifdef CONFIG_SLIRP QEMU_CFLAGS+=-I$(SRC_PATH)/slirp endif -# specific flags are needed for non soft mmu emulator -ifndef CONFIG_DARWIN -ifndef CONFIG_WIN32 -ifndef CONFIG_SOLARIS -ifndef CONFIG_AIX -LIBS+=-lutil -endif -endif -endif -endif ifdef TARGET_GPROF vl.o: QEMU_CFLAGS+=-p LDFLAGS+=-p diff --git a/configure b/configure index 3b37d97..24c0e5a 100755 --- a/configure +++ b/configure @@ -1402,6 +1402,11 @@ else exit 1 fi +if test "$darwin" != "yes" -a "$mingw32" != "yes" -a "$solaries" != yes -a \ + "$aix" != "yes" ; then + libs_softmmu="-lutil $libs_softmmu" +fi + # End of CC checks # After here, no more $cc or $ld runs