From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRo27-0002Lb-5H for qemu-devel@nongnu.org; Fri, 17 Jul 2009 10:03:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRo22-0002Fw-1k for qemu-devel@nongnu.org; Fri, 17 Jul 2009 10:03:30 -0400 Received: from [199.232.76.173] (port=48043 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRo21-0002Fs-Uc for qemu-devel@nongnu.org; Fri, 17 Jul 2009 10:03:25 -0400 Received: from [217.9.48.20] (port=37312 helo=donner.amd.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MRo21-0000Bx-8W for qemu-devel@nongnu.org; Fri, 17 Jul 2009 10:03:25 -0400 Received: from localhost.amd.com (cegger@localhost.amd.com [127.0.0.1]) by donner.amd.com (8.14.3/8.13.6) with ESMTP id n6HDJwRL014526 for ; Fri, 17 Jul 2009 15:19:59 +0200 (CEST) From: Christoph Egger Date: Fri, 17 Jul 2009 15:19:57 +0200 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_+pHYKobad2BEvYI" Message-Id: <200907171519.58099.Christoph.Egger@amd.com> Subject: [Qemu-devel] [PATCH] let configure detect xen with --extra-cflags and --extra-ldflags List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --Boundary-00=_+pHYKobad2BEvYI Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi! Attached patch lets configure find xen with --extra-cflags and --extra-ldflags parameters. 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=_+pHYKobad2BEvYI 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 2a6ae40..65aaf22 100755 --- a/configure +++ b/configure @@ -855,7 +855,7 @@ cat > $TMPC < int main(void) { xs_daemon_open(); xc_interface_open(); return 0; } EOF - if $cc $CFLAGS $ARCH_CFLAGS -c -o $TMPO $TMPC $LDFLAGS -lxenstore -lxenctrl 2> /dev/null > /dev/null ; then + if $cc $CFLAGS $ARCH_CFLAGS $EXTRA_CFLAGS -c -o $TMPO $TMPC $LDFLAGS $EXTRA_LDFLAGS -lxenstore -lxenctrl 2> /dev/null > /dev/null ; then : else xen="no" --Boundary-00=_+pHYKobad2BEvYI--