All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] let configure detect xen with --extra-cflags and --extra-ldflags
@ 2009-07-17 13:19 Christoph Egger
  0 siblings, 0 replies; only message in thread
From: Christoph Egger @ 2009-07-17 13:19 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]


Hi!

Attached patch lets configure find xen with --extra-cflags and --extra-ldflags 
parameters.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>

-- 
---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

[-- Attachment #2: qemu_xen_configure.diff --]
[-- Type: text/x-diff, Size: 513 bytes --]

diff --git a/configure b/configure
index 2a6ae40..65aaf22 100755
--- a/configure
+++ b/configure
@@ -855,7 +855,7 @@ cat > $TMPC <<EOF
 #include <xs.h>
 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"

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-17 14:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-17 13:19 [Qemu-devel] [PATCH] let configure detect xen with --extra-cflags and --extra-ldflags Christoph Egger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.