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
This commit is contained in:
Werner Koch 2013-05-01 13:47:41 +02:00
parent f623a6b94c
commit ef5b4ae37d

View File

@ -872,7 +872,18 @@ AC_CHECK_MEMBER(struct cmsghdr.cmsg_len,
#include <unistd.h>
])
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)