From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWVmi-0008TP-0d for qemu-devel@nongnu.org; Thu, 30 Jul 2009 09:35:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWVmd-0008Ro-7a for qemu-devel@nongnu.org; Thu, 30 Jul 2009 09:35:03 -0400 Received: from [199.232.76.173] (port=41708 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWVmd-0008Rj-1s for qemu-devel@nongnu.org; Thu, 30 Jul 2009 09:34:59 -0400 Received: from va3ehsobe001.messaging.microsoft.com ([216.32.180.11]:58880 helo=VA3EHSOBE001.bigfish.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.60) (envelope-from ) id 1MWVmc-00010f-P3 for qemu-devel@nongnu.org; Thu, 30 Jul 2009 09:34:58 -0400 Received: from mail59-va3 (localhost.localdomain [127.0.0.1]) by mail59-va3-R.bigfish.com (Postfix) with ESMTP id C63D1F503DD for ; Thu, 30 Jul 2009 13:34:56 +0000 (UTC) Received: from ausb3extmailp02.amd.com (ausb3extmailp02.amd.com [163.181.251.22]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail59-va3.bigfish.com (Postfix) with ESMTP id 51BB6828055 for ; Thu, 30 Jul 2009 13:34:55 +0000 (UTC) Received: from ausb3twp02.amd.com ([163.181.250.38]) by ausb3extmailp02.amd.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id n6UDYp4X012513 for ; Thu, 30 Jul 2009 08:34:54 -0500 Received: from sausexbh2.amd.com (SAUSEXBH2.amd.com [163.181.22.102]) by ausb3twp02.amd.com (Tumbleweed MailGate 3.7.0) with ESMTP id 2D40EC84FA for ; Thu, 30 Jul 2009 08:34:46 -0500 (CDT) From: Christoph Egger Date: Thu, 30 Jul 2009 15:33:57 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_FFacKIhJZwhbv6Q" Message-ID: <200907301533.57289.Christoph.Egger@amd.com> Subject: [Qemu-devel] [PATCH] configure: let it find xen headers and libs List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --Boundary-00=_FFacKIhJZwhbv6Q Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi! Attached patch lets configure find xen headers and libs with --extra-cflags and --extra-ldlfags option. Signed-off-by: Christoph Egger -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 --Boundary-00=_FFacKIhJZwhbv6Q Content-Type: text/x-diff; charset="us-ascii"; name="qemu_xen_configure.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="qemu_xen_configure.diff" diff --git a/configure b/configure index 8160bed..5ae2aba 100755 --- a/configure +++ b/configure @@ -880,7 +880,7 @@ if test "$xen" = "yes" ; then #include int main(void) { xs_daemon_open(); xc_interface_open(); return 0; } EOF - if $cc $CFLAGS $ARCH_CFLAGS -c -o $TMPO $TMPC $LDFLAGS $xen_libs 2> /dev/null > /dev/null ; then + if $cc $CFLAGS $ARCH_CFLAGS $EXTRA_CFLAGS -c -o $TMPO $TMPC $LDFLAGS $EXTRA_LDFLAGS $xen_libs 2> /dev/null > /dev/null ; then : else xen="no" --Boundary-00=_FFacKIhJZwhbv6Q--