[Libguestfs] [PATCH] customize: Use libxcrypt if available to provide crypt(3).

Richard W.M. Jones rjones at redhat.com
Tue Jan 23 11:56:13 UTC 2018


Sorry, there was a small mistake.  Instead of posting the
patch again, the difference is:

--- a/m4/guestfs-misc-libraries.m4
+++ b/m4/guestfs-misc-libraries.m4
@@ -34,6 +34,7 @@ PKG_CHECK_MODULES([LIBCRYPT], [libxcrypt], [
 
 dnl Do we need to include <crypt.h>?
 old_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $LIBCRYPT_CFLAGS"
 AC_CHECK_HEADERS([crypt.h])
 CFLAGS="$old_CFLAGS"


Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html




More information about the Libguestfs mailing list