From ef5b4ae37d13142e89a051908dc080cda3d24baa Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 1 May 2013 13:47:41 +0200 Subject: [PATCH] Disable fd-passing for Apple. * configure.ac: Disable fd-passing by default for Apple. -- We have not yet tracked down the problem, thus we revert to the pre-1.4 behaviour for Apple. GnuPG-bug-id: 1483 --- configure.ac | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d7ce215f..dcd2305f 100644 --- a/configure.ac +++ b/configure.ac @@ -872,7 +872,18 @@ AC_CHECK_MEMBER(struct cmsghdr.cmsg_len, #include ]) -use_descriptor_passing=yes + +dnl There seems to be a problem with Apple and decriptor passing. +dnl Until we found a solution we change the default to no. +dnl See bug 1483. +case "${host}" in + *-apple-darwin*) + use_descriptor_passing=no + ;; + *) + use_descriptor_passing=yes + ;; +esac AC_ARG_ENABLE(fd-passing, AC_HELP_STRING([--disable-fd-passing], [do not use FD passing]), use_descriptor_passing=$enableval)