Re: [libvirt] [PATCH] configure.in: make --with-xen-distdir work for 64bit xen too
On Fri, Jul 18, 2008 at 02:49:12PM -0400, David Lively wrote: Currently running autogen.sh with --with-xen-distdir=something fails to find libxenstore if there's only a 64-bit version, and subsequently fails to enable xen support (i.e., ends up with WITH_XEN=0). This one-line patch fixes that by telling it to search both lib and lib64. I guess it would be better to search only the appropriate directory (lib OR lib64) rather than both, but I'm not sure (being an autoconf-dummy) how to ask about the target architecture. Yeah, that's not optimal, but better than nothing and --with-xen-distdir= not being a default setting, I guess a crude workaround is good enough, so applied and commited ! thanks Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
[libvirt] [PATCH] configure.in: make --with-xen-distdir work for 64bit xen too
Currently running autogen.sh with --with-xen-distdir=something fails to find libxenstore if there's only a 64-bit version, and subsequently fails to enable xen support (i.e., ends up with WITH_XEN=0). This one-line patch fixes that by telling it to search both lib and lib64. I guess it would be better to search only the appropriate directory (lib OR lib64) rather than both, but I'm not sure (being an autoconf-dummy) how to ask about the target architecture. Dave configure.in |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [diffs: repository libvirt] diff --git a/configure.in b/configure.in index 4b9669f..8e04f14 100644 --- a/configure.in +++ b/configure.in @@ -235,7 +235,7 @@ AC_ARG_WITH([xen-distdir], [AC_HELP_STRING([--with-xen-distdir=path], if test x$with_xen_distdir != x then CPPFLAGS=$CPPFLAGS -I$withval/install/usr/include -LDFLAGS=$LDFLAGS -L$withval/install/usr/lib +LDFLAGS=$LDFLAGS -L$withval/install/usr/lib -L$withval/install/usr/lib64 fi LIBVIRT_FEATURES= -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list