--- configure.orig	2017-04-05 15:25:13.000000000 +0000
+++ configure	2017-05-31 14:40:27.000000000 +0000
@@ -17578,6 +17578,7 @@
 dbus_win=no
 dbus_cygwin=no
 dbus_unix=no
+dbus_darwin=no
 case "${host}" in
     *-mingw32ce*)
         dbus_win=yes
@@ -17590,6 +17591,10 @@
         dbus_cygwin=yes
         dbus_unix=yes
         ;;
+    *darwin*)
+        dbus_darwin=yes
+        dbus_unix=yes
+       ;;
     *)
         dbus_unix=yes
        ;;
@@ -17726,7 +17731,7 @@
 
 # For best security, assume that all non-Windows platforms can do
 # credentials-passing.
-if test "$dbus_win" = yes; then :
+if test "$dbus_win" = yes || test "$dbus_darwin" = yes ; then :
   DBUS_SESSION_CONF_MAYBE_AUTH_EXTERNAL="<!--<auth>EXTERNAL</auth>-->"
 else
   DBUS_SESSION_CONF_MAYBE_AUTH_EXTERNAL="<auth>EXTERNAL</auth>"
@@ -19763,7 +19768,7 @@
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken poll" >&5
 $as_echo_n "checking for broken poll... " >&6; }
 if test "$cross_compiling" = yes; then :
-  broken_poll="no (cross compiling)"
+  broken_poll=yes
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */