Lines Matching +full:- +full:werror
6 [virglrenderer-devel@lists.freedesktop.org])
9 AC_CONFIG_AUX_DIR([build-aux])
10 AC_CONFIG_MACRO_DIR([build-aux])
12 AM_INIT_AUTOMAKE([foreign dist-bzip2])
17 # Support silent build rules, requires at least automake-1.11. Disable
18 # by either passing --disable-silent-rules to configure or passing V=1
26 LT_INIT([disable-static])
31 AX_CHECK_COMPILE_FLAG([-Wall], [CFLAGS="$CFLAGS -Wall"])
32 AX_CHECK_COMPILE_FLAG([-Wextra], [CFLAGS="$CFLAGS -Wextra"])
33 AX_CHECK_COMPILE_FLAG([-Werror=implicit-function-declaration], [CFLAGS="$CFLAGS -Werror=implicit-fu…
34 AX_CHECK_COMPILE_FLAG([-Werror=missing-prototypes], [CFLAGS="$CFLAGS -Werror=missing-pro…
35 AX_CHECK_COMPILE_FLAG([-Wmissing-prototypes], [CFLAGS="$CFLAGS -Wmissing-prototype…
36 AX_CHECK_COMPILE_FLAG([-Werror=int-to-pointer-cast], [CFLAGS="$CFLAGS -Werror=int-to-poin…
55 [AS_HELP_STRING([--enable-debug],
61 DEFINES="$DEFINES -DDEBUG"
63 if ! echo "$CFLAGS" | grep -q -e '-g'; then
64 CFLAGS="$CFLAGS -g"
66 if ! echo "$CFLAGS" | grep -q -e '-O'; then
67 CFLAGS="$CFLAGS -O0"
71 if ! echo "$CXXFLAGS" | grep -q -e '-g'; then
72 CXXFLAGS="$CXXFLAGS -g"
74 if ! echo "$CXXFLAGS" | grep -q -e '-O'; then
75 CXXFLAGS="$CXXFLAGS -O0"
81 AS_HELP_STRING([--enable-tests], [Build the tests (default=auto)]),
85 AC_ARG_ENABLE([egl], AS_HELP_STRING([--disable-egl], [Disable EGL]))
101 AS_HELP_STRING([--enable-fuzzer], [Build fuzzer targets]),
139 AC_ARG_WITH([glx], AS_HELP_STRING([--with-glx], [Build with the x11/glx backend]))