From patchwork Mon Apr 30 16:00:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 155914 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 68D61B6FCC for ; Tue, 1 May 2012 02:01:20 +1000 (EST) Received: from localhost ([::1]:56359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOt2M-0004XB-DH for incoming@patchwork.ozlabs.org; Mon, 30 Apr 2012 12:01:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOt2B-0004WB-Qj for qemu-devel@nongnu.org; Mon, 30 Apr 2012 12:01:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOt29-0008Oq-3R for qemu-devel@nongnu.org; Mon, 30 Apr 2012 12:01:07 -0400 Received: from mout.web.de ([212.227.15.4]:54120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOt28-0008OY-Q2 for qemu-devel@nongnu.org; Mon, 30 Apr 2012 12:01:05 -0400 Received: from localhost.localdomain ([195.135.221.2]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0MVcvn-1ShKRZ3Dgt-00Z1vP; Mon, 30 Apr 2012 18:00:58 +0200 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: qemu-devel@nongnu.org Date: Mon, 30 Apr 2012 18:00:55 +0200 Message-Id: <1335801655-17528-3-git-send-email-andreas.faerber@web.de> X-Mailer: git-send-email 1.7.7 In-Reply-To: <1335801655-17528-1-git-send-email-andreas.faerber@web.de> References: <1335801655-17528-1-git-send-email-andreas.faerber@web.de> MIME-Version: 1.0 X-Provags-ID: V02:K0:87VXYoMV4EnlzNfls9lSc359E5xvBgsA99XVqFguGFq qGuOeMFyQX/lNXUxfQ6y6wuREQmmlSWS0A76tg95vG8e47b0oT KEsKRyZeCP1f82+PlZwdU/kKJ72WL2DZCfddraX+jUIk5gM41P bXOr/UNo60DRopMCmNM3DtDqMeWbpmsNNNx7idiMGrx9S4pms6 iEDUj85Kox76/d/S5CYyA== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.15.4 Cc: Blue Swirl , Lee Essen , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Michael Roth , Stefan Hajnoczi Subject: [Qemu-devel] [PATCH for-1.1 2/2] configure: Add libraries for qemu-ga on Solaris 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 Move socket-related Solaris libraries to $solarisnetlibs and use them for both $LIBS and $libs_qga. Fixes build on illumos without --disable-guest-agent. Signed-off-by: Lee Essen Signed-off-by: Andreas Färber --- configure | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/configure b/configure index fbe4e85..89c58f6 100755 --- a/configure +++ b/configure @@ -470,7 +470,9 @@ SunOS) # needed for TIOCWIN* defines in termios.h QEMU_CFLAGS="-D__EXTENSIONS__ $QEMU_CFLAGS" QEMU_CFLAGS="-std=gnu99 $QEMU_CFLAGS" - LIBS="-lsocket -lnsl -lresolv $LIBS" + solarisnetlibs="-lsocket -lnsl -lresolv" + LIBS="$solarisnetlibs $LIBS" + libs_qga="$solarisnetlibs $libs_qga" ;; AIX) aix="yes"