From b1905707470408fd8ff29ad3b94d28fdf43bbc18 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 4 Jun 2012 17:18:40 +0000 Subject: [PATCH] build: disable violent vector.h warnings when building for NaCl. --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 03201104..16ca2210 100644 --- a/configure.ac +++ b/configure.ac @@ -281,10 +281,14 @@ fi dnl Use NativeClient? ac_cv_my_have_nacl="no" AC_LANG_PUSH(C++) -AC_CHECK_HEADERS(ppapi/cpp/instance.h, [ac_cv_my_have_nacl="yes"]) +AC_CHECK_HEADERS(ppapi/cpp/instance.h, + [ac_cv_my_have_nacl="yes" + dnl Disable this warning, it's too verbose with vector.h + CXXFLAGS="${CXXFLAGS} -Wno-sign-compare"]) AC_LANG_POP(C++) AM_CONDITIONAL(USE_NACL, test "${ac_cv_my_have_nacl}" != "no") + dnl Use EGL? ac_cv_my_have_egl="no" PKG_CHECK_MODULES(EGL, egl, [ac_cv_my_have_egl="yes"], [:])