[Libvir] Fix to makefile for VPATH builds

The src/Makefile.am file use the incorrect variable for subsitution when setting up the INCLUDE variable. The result is that when attempting to do a VPATH build the directory ../../src/include is passed to the compiler instead of the desired ../../include directory. The result is that the virterror.h file will not be in the compiler's include path. Attaching a patch which fixes the Makefile variable setup Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|

On Thu, Mar 23, 2006 at 10:16:17PM +0000, Daniel P. Berrange wrote:
The src/Makefile.am file use the incorrect variable for subsitution when setting up the INCLUDE variable. The result is that when attempting to do a VPATH build the directory ../../src/include is passed to the compiler instead of the desired ../../include directory. The result is that the virterror.h file will not be in the compiler's include path. Attaching a patch which fixes the Makefile variable setup [...] -INCLUDES = -I$(top_builddir)/include -I@srcdir@/include @LIBXML_CFLAGS@ +INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include @LIBXML_CFLAGS@
C.f. previous mail, fixed by using -I$@top_srcdir@/include instead. Daniel -- Daniel Veillard | Red Hat http://redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
participants (2)
-
Daniel P. Berrange
-
Daniel Veillard