--- configure.orig	2021-09-27 14:03:42 UTC
+++ configure
@@ -1635,7 +1635,7 @@ if test "$mingw32" = "yes" ; then
 else
     bindir="${bindir:-$prefix/bin}"
 fi
-mandir="${mandir:-$prefix/share/man}"
+mandir="${mandir:-$prefix/man}"
 datadir="${datadir:-$prefix/share}"
 docdir="${docdir:-$prefix/share/doc}"
 sysconfdir="${sysconfdir:-$prefix/etc}"
@@ -4607,6 +4607,9 @@ echo "CONFIG_TLS_PRIORITY=\"$tls_priority\"" >> $confi
 # if this macro is set.
 if test "$have_fsxattr" = "yes" ; then
     echo "HAVE_FSXATTR=y" >> $config_host_mak
+fi
+if test "$have_ifaddrs_h" = "yes" ; then
+    echo "HAVE_IFADDRS_H=y" >> $config_host_mak
 fi
 if test "$xen" = "enabled" ; then
   echo "CONFIG_XEN_BACKEND=y" >> $config_host_mak
