aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2013-05-01 11:47:41 +0000
committerWerner Koch <[email protected]>2013-05-01 11:47:41 +0000
commitef5b4ae37d13142e89a051908dc080cda3d24baa (patch)
tree7f3bb5e093c3af4cf2802c22515de82c378abeee
parentAllow reading of long gpgconf output lines. (diff)
downloadgpgme-ef5b4ae37d13142e89a051908dc080cda3d24baa.tar.gz
gpgme-ef5b4ae37d13142e89a051908dc080cda3d24baa.zip
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
-rw-r--r--configure.ac13
1 files changed, 12 insertions, 1 deletions
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 <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)