Browse Source

build: disable violent vector.h warnings when building for NaCl.

legacy
Sam Hocevar sam 12 years ago
parent
commit
b190570747
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      configure.ac

+ 5
- 1
configure.ac View File

@@ -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"], [:])


Loading…
Cancel
Save