| Server IP : 176.9.105.210 / Your IP : 216.73.217.21 Web Server : Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips System : Linux server.mediaphic.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : freelife ( 1356) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,show_source,mail,sendmail,popen,symlink,phpinfo MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/src/libmemcached-1.0.18/m4/ |
Upload File : |
# Copyright (C) 2012-2013 Data Differential LLC
# Copyright (C) 2011 Trond Norbye
# This file is free software; Trond Norbye and Data Differential
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# ---------------------------------------------------------------------------
# Macro: SOCKET_SEND_FLAGS
# ---------------------------------------------------------------------------
#
#serial 2
AC_DEFUN([SOCKET_SEND_FLAGS],
[AC_CACHE_CHECK([for MSG_NOSIGNAL],[ac_cv_msg_nosignal],
[AC_LANG_PUSH([C])
AX_SAVE_FLAGS
CFLAGS="$CFLAGS -I${srcdir}"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <netdb.h>], [int flags= MSG_NOSIGNAL])], [ac_cv_msg_nosignal="yes"])
AC_LANG_POP
AX_RESTORE_FLAGS])
AC_CACHE_CHECK([for MSG_DONTWAIT],[ac_cv_msg_dontwait],
[AC_LANG_PUSH([C])
AX_SAVE_FLAGS
CFLAGS="$CFLAGS -I${srcdir}"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <netdb.h>],[int flags= MSG_DONTWAIT])],[ac_cv_msg_dontwait="yes"])
AC_LANG_POP
AX_RESTORE_FLAGS])
AC_CACHE_CHECK([for MSG_MORE],[ac_cv_msg_more],
[AC_LANG_PUSH([C])
AX_SAVE_FLAGS
CFLAGS="$CFLAGS -I${srcdir}"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <netdb.h>], [int flags= MSG_MORE])], [ac_cv_msg_more="yes"])
AC_LANG_POP
AX_RESTORE_FLAGS])
AS_IF([test "x$ac_cv_msg_nosignal" = "xyes"],[AC_DEFINE([HAVE_MSG_NOSIGNAL],[1],[Define to 1 if you have a MSG_NOSIGNAL])])
AS_IF([test "x$ac_cv_msg_dontwait" = "xyes"],[AC_DEFINE([HAVE_MSG_DONTWAIT],[1],[Define to 1 if you have a MSG_DONTWAIT])])
AS_IF([test "x$ac_cv_msg_more" = "xyes"],[AC_DEFINE([HAVE_MSG_MORE],[1],[Define to 1 if you have a MSG_MORE])])
])
# ---------------------------------------------------------------------------
# End Macro: SOCKET_SEND_FLAGS
# ---------------------------------------------------------------------------