On Thu, Jul 02, 2020 at 02:25:14PM +0200, 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. Historically we've only used libtirpc for RHEL 8, not RHEL 7, though I see it did indeed exist in RHEL-7. So this would mean the libvirt.spec.in condition needs updating. > > 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. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|