diff --git a/configure.ac b/configure.ac index 9d8862c7c779b95b8519f46e3a273adef51a6c32..12bf0f64cb0e94022e91a435266237d96ec18e64 100644 --- a/configure.ac +++ b/configure.ac @@ -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" ],[