qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 11/20] put together uses of xen libraries


From: quintela
Subject: [Qemu-devel] [PATCH 11/20] put together uses of xen libraries
Date: Tue, 21 Jul 2009 00:13:21 +0200

From: Juan Quintela <address@hidden>


Signed-off-by: Juan Quintela <address@hidden>
---
 configure |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/configure b/configure
index 4596eb1..2de7aeb 100755
--- a/configure
+++ b/configure
@@ -887,8 +887,9 @@ 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
-      :
+   xen_libs="-lxenstore -lxenctrl -lxenguest"
+   if $cc $CFLAGS $ARCH_CFLAGS -c -o $TMPO $TMPC $LDFLAGS $xen_libs 2> 
/dev/null > /dev/null ; then
+      LIBS="$LIBS $xen_libs"
    else
       xen="no"
    fi
@@ -1747,9 +1748,6 @@ if test "$bluez" = "yes" ; then
   echo "BLUEZ_CFLAGS=$bluez_cflags" >> $config_host_mak
   LIBS="$LIBS $bluez_libs"
 fi
-if test "$xen" = "yes" ; then
-  LIBS="$LIBS -lxenstore -lxenctrl -lxenguest"
-fi
 if test "$aio" = "yes" ; then
   echo "#define CONFIG_AIO 1" >> $config_host_h
   echo "CONFIG_AIO=y" >> $config_host_mak
-- 
1.6.2.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]