Re: [libvirt PATCH 16/31] m4: virt-xdr: rewrite XDR check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On a Thursday in 2020, Pavel Hrdina wrote:
The current code to check XDR support was obsolete and way to
complicated.

On linux we can use pkg-config to check for libtirpc and have
the CFLAGS and LIBS configured by it as well.

On MinGW there is portablexdr library which installs header files
directly into system include directory.

On FreeBSD and macOS XDR functions are part of libc so there is
no library needed, we just need to call AM_CONDITIONAL to silence
configure which otherwise complains about missing WITH_XDR.

Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---
m4/virt-xdr.m4              | 39 +++++++++++--------------------------
src/Makefile.am             |  4 +++-
src/admin/Makefile.inc.am   |  1 +
src/locking/Makefile.inc.am |  2 ++
src/logging/Makefile.inc.am |  1 +
src/remote/Makefile.inc.am  |  1 +
6 files changed, 19 insertions(+), 29 deletions(-)


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux