From 838b8a5cbcd337c824691aa94b32867adc388118 Mon Sep 17 00:00:00 2001 From: Trond Norbye Date: Sun, 1 Aug 2010 23:11:54 +0200 Subject: [PATCH] Disable warning == error for win32 --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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([ -- 2.30.2