[PATCH 1/2] port: avoid breaking configure on cygwin
thb at libreoffice.org
thb at libreoffice.org
Tue Jan 30 20:29:30 CET 2018
From: Thorsten Behrens <Thorsten.Behrens at CIB.de>
--
Signed-off-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
---
configure.ac | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index e824b39..eec8190 100644
--- a/configure.ac
+++ b/configure.ac
@@ -456,10 +456,12 @@ else
[Defined if LOCAL_PEEREID is supported (NetBSD specific)])
else
# (Open)Solaris
- AC_CHECK_FUNCS([getpeerucred], AC_CHECK_HEADERS([ucred.h]))
+ AC_CHECK_FUNCS([getpeerucred])
if test $ac_cv_func_getpeerucred != yes; then
# FreeBSD
AC_CHECK_FUNCS([getpeereid])
+ else
+ AC_CHECK_HEADERS([ucred.h])
fi
fi
fi
--
2.13.6
More information about the Gnupg-devel
mailing list