Index: configure.in =================================================================== RCS file: /data/cvs/libvirt/configure.in,v retrieving revision 1.27 diff -u -r1.27 configure.in --- configure.in 28 Feb 2006 14:22:33 -0000 1.27 +++ configure.in 10 Mar 2006 08:42:19 -0000 @@ -79,6 +79,18 @@ fi dnl +dnl Specify the xen-distribution directory to be able to compile on a +dnl non-xenified host +dnl +AC_ARG_WITH(xen-distdir, AC_HELP_STRING([--with-xen-distdir=path], + [distribution directory of Xen, default /usr])) +if test "x$with_xen_distdir" != "x" +then +CPPFLAGS="$CPPFLAGS -I$withval/install/usr/include" +LDFLAGS="$LDFLAGS -L$withval/install/usr/lib" +fi + +dnl dnl To be able to make dist on a non-xenified host dnl AC_ARG_WITH(depends,