From: Trond Norbye Date: Sun, 1 Aug 2010 21:11:54 +0000 (+0200) Subject: Disable warning == error for win32 X-Git-Tag: 0.44~7^2~4 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=838b8a5cbcd337c824691aa94b32867adc388118;p=awesomized%2Flibmemcached Disable warning == error for win32 --- diff --git a/configure.ac b/configure.ac index 4beb8a0a..e94862af 100644 --- a/configure.ac +++ b/configure.ac @@ -139,7 +139,10 @@ AC_CHECK_HEADERS_ONCE(winsock2.h poll.h sys/wait.h fnmatch.h) AM_CONDITIONAL(BUILD_POLL, test "x$ac_cv_header_poll_h" = "xno") AM_CONDITIONAL(BUILD_WIN32_WRAPPERS, test "x$ac_cv_header_winsock2_h" = "xyes") AS_IF(test "x$ac_cv_header_winsock2_h" = "xyes", - AM_LDFLAGS="$AM_LDFLAGS -lws2_32") + [AM_LDFLAGS="$AM_LDFLAGS -lws2_32" + AM_CFLAGS="$AM_CFLAGS $NO_WERROR" + AM_CXXFLAGS="$AM_CXXFLAGS $NO_WERROR" + ]) DETECT_EAGAIN AC_CONFIG_FILES([