mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-20 05:43:01 -05:00
Really fix accrights test.
This commit is contained in:
parent
13d29bab87
commit
348264a449
1 changed files with 2 additions and 2 deletions
|
|
@ -1219,12 +1219,12 @@ AC_DEFUN([OL_SASL_COMPAT],
|
|||
dnl ====================================================================
|
||||
dnl check for msg_accrights in msghdr
|
||||
AC_DEFUN(OL_MSGHDR_MSG_ACCRIGHTS,
|
||||
[AC_CACHE_CHECK(msg_accrights in msghdr, ol_cv_msg_accrights,
|
||||
[AC_CACHE_CHECK(msg_accrights in msghdr, ol_cv_msghdr_msg_accrights,
|
||||
[AC_TRY_COMPILE([#include <sys/socket.h>],
|
||||
[struct msghdr m; m.msg_accrightslen=0],
|
||||
ol_cv_msghdr_msg_accrights=yes, ol_cv_msghdr_msg_accrights=no)
|
||||
])
|
||||
if test $ol_cv_func_ctime_r_type = "int" ; then
|
||||
if test $ol_cv_msghdr_msg_accrights = "yes" ; then
|
||||
AC_DEFINE(HAVE_MSGHDR_MSG_ACCRIGHTS,1,
|
||||
[define if struct msghdr has msg_accrights])
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue