From: Brian Aker Date: Mon, 17 Sep 2012 11:16:53 +0000 (-0400) Subject: Fix CFLAGS in socket. X-Git-Tag: 1.0.12~23^2~5 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=86953507cb1ff03f4dd08f4535092416495b5353;p=awesomized%2Flibmemcached Fix CFLAGS in socket. --- diff --git a/m4/socket_send_flags.m4 b/m4/socket_send_flags.m4 index 1eefa1bd..2501f03e 100644 --- a/m4/socket_send_flags.m4 +++ b/m4/socket_send_flags.m4 @@ -16,6 +16,7 @@ AC_DEFUN([SOCKET_SEND_FLAGS], AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include ], [ int flags= MSG_NOSIGNAL ])], [ac_cv_msg_nosignal="yes"]) AC_LANG_POP + CFLAGS="$save_CFLAGS" ]) AC_CACHE_CHECK([for MSG_DONTWAIT], [ac_cv_msg_dontwait], [ @@ -25,6 +26,7 @@ AC_DEFUN([SOCKET_SEND_FLAGS], AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include ], [ int flags= MSG_DONTWAIT ])], [ac_cv_msg_dontwait="yes"]) AC_LANG_POP + CFLAGS="$save_CFLAGS" ]) AC_CACHE_CHECK([for MSG_MORE], [ac_cv_msg_more], [ @@ -34,6 +36,7 @@ AC_DEFUN([SOCKET_SEND_FLAGS], AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include ], [ int flags= MSG_MORE ])], [ac_cv_msg_more="yes"]) AC_LANG_POP + CFLAGS="$save_CFLAGS" ]) AS_IF([test "x$ac_cv_msg_nosignal" = "xyes"],[ AC_DEFINE(HAVE_MSG_NOSIGNAL, 1, [Define to 1 if you have a MSG_NOSIGNAL])])