Displaying 2 results from an estimated 2 matches for "4f68e98a".
2018 Oct 18
0
Cygwin build fails because headers no longer default to Solaris ACL
...ygwin/acl.h from sys/acls.h which is required for Solaris ACL data structures to work. So the CASE statement improperly short-circuits the logic.
I have confirmed that Rsync builds using POSIX ACLs but haven't tested said functionality.
diff --git a/configure.ac b/configure.ac
index 45a96637..4f68e98a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -979,7 +979,7 @@ else
AC_DEFINE(HAVE_UNIXWARE_ACLS, 1, [true if you have UnixWare ACLs])
AC_DEFINE(SUPPORT_ACLS, 1, [Define to 1 to add support for ACLs])
;;
- solaris*|*cygwin*)
+ solaris*)
AC_MSG_RESULT(Using so...
2019 Sep 09
0
[PATCH] autoconf tweaks for C99 compilers
Strict C99 compilers do not support implicit function declarations or
implicit ints, so something like the patch below is needed.
Thanks,
Florian
diff --git a/configure.ac b/configure.ac
index 4f68e98a..b5c7a582 100644
--- a/configure.ac
+++ b/configure.ac
@@ -173,6 +173,9 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <fcntl.h>
#include <sys/types.h>
#include <sys/wait.h>
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
int main(void)
{
@@ -197,7 +200,7 @@ int main(v...