Changeset View
Changeset View
Standalone View
Standalone View
configure.ac
Show First 20 Lines • Show All 672 Lines • ▼ Show 20 Lines | |||||
dnl Check for MSG_NOSIGNAL | dnl Check for MSG_NOSIGNAL | ||||
AC_MSG_CHECKING(for MSG_NOSIGNAL) | AC_MSG_CHECKING(for MSG_NOSIGNAL) | ||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/socket.h>]], | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/socket.h>]], | ||||
[[ int f = MSG_NOSIGNAL; ]])], | [[ int f = MSG_NOSIGNAL; ]])], | ||||
[ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_MSG_NOSIGNAL, 1,[Define this symbol if you have MSG_NOSIGNAL]) ], | [ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_MSG_NOSIGNAL, 1,[Define this symbol if you have MSG_NOSIGNAL]) ], | ||||
[ AC_MSG_RESULT(no)] | [ AC_MSG_RESULT(no)] | ||||
) | ) | ||||
dnl Check for MSG_DONTWAIT | |||||
AC_MSG_CHECKING(for MSG_DONTWAIT) | |||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/socket.h>]], | |||||
[[ int f = MSG_DONTWAIT; ]])], | |||||
[ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_MSG_DONTWAIT, 1,[Define this symbol if you have MSG_DONTWAIT]) ], | |||||
[ AC_MSG_RESULT(no)] | |||||
) | |||||
dnl Check for mallopt(M_ARENA_MAX) (to set glibc arenas) | dnl Check for mallopt(M_ARENA_MAX) (to set glibc arenas) | ||||
AC_MSG_CHECKING(for mallopt M_ARENA_MAX) | AC_MSG_CHECKING(for mallopt M_ARENA_MAX) | ||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <malloc.h>]], | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <malloc.h>]], | ||||
[[ mallopt(M_ARENA_MAX, 1); ]])], | [[ mallopt(M_ARENA_MAX, 1); ]])], | ||||
[ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_MALLOPT_ARENA_MAX, 1,[Define this symbol if you have mallopt with M_ARENA_MAX]) ], | [ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_MALLOPT_ARENA_MAX, 1,[Define this symbol if you have mallopt with M_ARENA_MAX]) ], | ||||
[ AC_MSG_RESULT(no)] | [ AC_MSG_RESULT(no)] | ||||
) | ) | ||||
▲ Show 20 Lines • Show All 679 Lines • Show Last 20 Lines |