On Thu, Dec 17, 2009 at 09:21:42PM +0100, Jiri Denemark wrote:
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 432a66e..471e403 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -16,6 +16,7 @@ INCLUDES =                                                  
> \
>               -DSBINDIR=\""$(sbindir)"\"                      \
>               -DSYSCONF_DIR="\"$(sysconfdir)\""               \
>               -DLOCALEBASEDIR=\""$(datadir)/locale"\"         \
> +             -DDATADIR=\""$(datadir)/libvirt"\"              \
>               -DLOCAL_STATE_DIR=\""$(localstatedir)"\"        \
>               -DGETTEXT_PACKAGE=\"$(PACKAGE)\"                \
>               $(WARN_CFLAGS)                                  \


This patch has unfortuntely broken the build on Win32, because of a
lovely datatype in Win32 objidl.h header file which is included from
the winsock headers:

typedef enum tagDATADIR {
        DATADIR_GET=1,
        DATADIR_SET
} DATADIR;


So, this makefile.am constant will need to be renamed, and similarly the
code using it :-(

Daniel
--
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to