Fix MSG_NOSIGNAL detection.

This commit is contained in:
ajacoutot 2011-12-03 14:27:40 +00:00
parent 3be1450e73
commit cdc570f075
2 changed files with 19 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.73 2011/10/29 14:37:42 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.74 2011/12/03 14:27:40 ajacoutot Exp $
# OpenBSD has support for monotonic clock (CLOCK_MONOTONIC), however we
# currently don't have most of the _POSIX_* defines in unistd.h (e.g.
@ -11,7 +11,7 @@
COMMENT= message bus system
DISTNAME= dbus-1.4.16
REVISION= 0
REVISION= 1
EPOCH= 0
SHARED_LIBS += dbus-1 9.1 # .8.6

View File

@ -1,7 +1,17 @@
$OpenBSD: patch-configure,v 1.16 2011/09/29 06:57:36 ajacoutot Exp $
$OpenBSD: patch-configure,v 1.17 2011/12/03 14:27:40 ajacoutot Exp $
--- configure.orig Wed Sep 21 16:27:57 2011
+++ configure Thu Sep 29 08:49:44 2011
@@ -19406,13 +19406,13 @@ fi
+++ configure Sat Dec 3 15:10:38 2011
@@ -18853,7 +18853,8 @@ fi
done
-ac_fn_c_check_decl "$LINENO" "MSG_NOSIGNAL" "ac_cv_have_decl_MSG_NOSIGNAL" " #include <sys/socket.h>
+ac_fn_c_check_decl "$LINENO" "MSG_NOSIGNAL" "ac_cv_have_decl_MSG_NOSIGNAL" " #include <sys/types.h>
+#include <sys/socket.h>
"
if test "x$ac_cv_have_decl_MSG_NOSIGNAL" = xyes; then :
ac_have_decl=1
@@ -19406,13 +19407,13 @@ fi
# Thread lib detection
ac_fn_c_check_func "$LINENO" "pthread_cond_timedwait" "ac_cv_func_pthread_cond_timedwait"
if test "x$ac_cv_func_pthread_cond_timedwait" = xyes; then :
@ -18,7 +28,7 @@ $OpenBSD: patch-configure,v 1.16 2011/09/29 06:57:36 ajacoutot Exp $
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -19443,7 +19443,7 @@ fi
@@ -19443,7 +19444,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_timedwait" >&5
$as_echo "$ac_cv_lib_pthread_pthread_cond_timedwait" >&6; }
if test "x$ac_cv_lib_pthread_pthread_cond_timedwait" = xyes; then :
@ -27,7 +37,7 @@ $OpenBSD: patch-configure,v 1.16 2011/09/29 06:57:36 ajacoutot Exp $
fi
fi
@@ -19658,13 +19658,13 @@ if test x$have_selinux = xyes ; then
@@ -19658,13 +19659,13 @@ if test x$have_selinux = xyes ; then
if test "x$ac_cv_func_pthread_create" = xyes; then :
else
@ -44,7 +54,7 @@ $OpenBSD: patch-configure,v 1.16 2011/09/29 06:57:36 ajacoutot Exp $
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -19695,7 +19695,7 @@ fi
@@ -19695,7 +19696,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
@ -53,7 +63,7 @@ $OpenBSD: patch-configure,v 1.16 2011/09/29 06:57:36 ajacoutot Exp $
fi
fi
@@ -20085,6 +20085,7 @@ $as_echo_n "checking for SCM_RIGHTS... " >&6; }
@@ -20085,6 +20086,7 @@ $as_echo_n "checking for SCM_RIGHTS... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */