mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-02 11:05:22 +00:00
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.
(cherry picked from commit aabf77aa41
)
This commit is contained in:
parent
b3f0d2ecba
commit
37b07d90bb
@ -2,6 +2,7 @@ prefix=@prefix@
|
|||||||
exec_prefix=@exec_prefix@
|
exec_prefix=@exec_prefix@
|
||||||
libdir=@libdir@
|
libdir=@libdir@
|
||||||
includedir=@includedir@
|
includedir=@includedir@
|
||||||
|
datarootdir=@datarootdir@
|
||||||
|
|
||||||
libvirt_api=@datadir@/libvirt/api/libvirt-api.xml
|
libvirt_api=@datadir@/libvirt/api/libvirt-api.xml
|
||||||
libvirt_qemu_api=@datadir@/libvirt/api/libvirt-qemu-api.xml
|
libvirt_qemu_api=@datadir@/libvirt/api/libvirt-qemu-api.xml
|
||||||
|
Loading…
Reference in New Issue
Block a user