]> xenbits.xensource.com Git - libvirt.git/commitdiff
Don't build libxenlight driver for Xen 4.0
authorJim Fehlig <jfehlig@novell.com>
Fri, 18 Mar 2011 20:54:13 +0000 (14:54 -0600)
committerJim Fehlig <jfehlig@novell.com>
Fri, 18 Mar 2011 21:35:47 +0000 (15:35 -0600)
The libxenlight driver does not build against the tech preview
version of libxenlight in Xen 4.0.  Only enable building the
driver against more complete libxenlight found in Xen 4.1.

configure.ac

index 9d8862c7c779b95b8519f46e3a273adef51a6c32..12bf0f64cb0e94022e91a435266237d96ec18e64 100644 (file)
@@ -512,7 +512,7 @@ if test "$with_libxl" != "no" ; then
     fi
     CFLAGS="$CFLAGS $LIBXL_CFLAGS"
     LIBS="$LIBS $LIBXL_LIBS"
-    AC_CHECK_LIB([xenlight], [libxl_ctx_init], [
+    AC_CHECK_LIB([xenlight], [libxl_domain_create_new], [
         with_libxl=yes
         LIBXL_LIBS="$LIBXL_LIBS -lxenlight -lxenstore -lxenctrl -lxenguest -luuid -lutil -lblktapctl"
     ],[