]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: silence warning from autoconf
authorEric Blake <eblake@redhat.com>
Tue, 29 May 2012 14:10:44 +0000 (08:10 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 30 May 2012 15:22:02 +0000 (09:22 -0600)
commitaabf77aa41e9589faa7ce44add87b97f5a6dde2e
tree32c1afcf3908426350af81048ecbcdfec103e475
parent7454849ec5489c7b52d3b41a8022f2bc6fda9eee
build: silence warning from autoconf

Autoconf 2.60 and later insist on using ${datarootdir}, rather than
the derived ${datadir} (although the latter defaults to the former,
it is possible to set configure arguments so that they differ):

config.status: creating libvirt.pc
config.status: WARNING:  'libvirt.pc.in' seems to ignore the --datarootdir setting

This patch follows the autoconf manual's suggestions for how to
support 2.59 (RHEL 5) and newer simultaneously.

* libvirt.pc.in (datarootdir): Define, so ${datadir} will not ignore
datarootdir when using newer autoconf.
libvirt.pc.in