Re: [PATCH v2] Introduce vnc_util_get_version() functions to get version
- From: "Daniel P. Berrange" <dan berrange com>
- To: Michal Novotny <minovotn redhat com>
- Cc: gtk-vnc-list gnome org
- Subject: Re: [PATCH v2] Introduce vnc_util_get_version() functions to get version
- Date: Thu, 21 Oct 2010 11:32:51 +0100
On Thu, Oct 21, 2010 at 12:20:33PM +0200, Michal Novotny wrote:
> Thanks for your guidance Daniel, nevertheless I don't know how is it
> working with libvirt to define those macros so I tried to implement it
> to configure.ac using the AC_DEFINE_UNQUOTED directives and this way it
> was working fine for me.
That's correct. AC_SUBST (which libvirt uses) substitutes the
data into the generated Makefile, while AC_DEFINE_UNQUOTED
subsitutes the data into config.h which is accessible by source
code. So the latter is the one you wanted.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]