autoconf: pass -Wall to automake
authorDylan Noblesmith <nobled@dreamwidth.org>
Fri, 13 Apr 2012 20:36:39 +0000 (20:36 +0000)
committerDylan Noblesmith <nobled@dreamwidth.org>
Sun, 29 Apr 2012 11:17:47 +0000 (11:17 +0000)
And fix these warning that appear at autoreconf time:
"`:='-style assignments are not portable"

v2: Fix the recently-converted-to-automake r600.

configure.ac
src/gallium/drivers/r300/Makefile.sources
src/gallium/drivers/r600/Makefile.sources
src/mesa/drivers/dri/i915/Makefile.sources
src/mesa/drivers/dri/i965/Makefile.sources

index 6776886fef1561d95f8a5297021c07e8c72d3b34..3bc59ca3e7893914609fe4495e4fe6ce56d08f0a 100644 (file)
@@ -16,7 +16,7 @@ AC_INIT([Mesa],[mesa_version],
     [https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa])
 AC_CONFIG_AUX_DIR([bin])
 AC_CANONICAL_HOST
-AM_INIT_AUTOMAKE([foreign])
+AM_INIT_AUTOMAKE([foreign -Wall])
 
 dnl http://people.gnome.org/~walters/docs/build-api.txt
 dnl We don't support srcdir != builddir.
index 1e7d31b210f2ea4c5e678ee11af8eae83cccc9c2..10ceffbedfd91c5421f87eb8a6ea2ea9c92c1110 100644 (file)
@@ -1,4 +1,4 @@
-C_SOURCES := \
+C_SOURCES = \
        r300_blit.c \
        r300_chipset.c \
        r300_context.c \
index a920b930be8de8116bfd026a8fb0014b43a2482f..b7b0d50b6376f06968799faa9155e9f47c7b09cb 100644 (file)
@@ -1,4 +1,4 @@
-C_SOURCES := \
+C_SOURCES = \
        r600_asm.c \
        r600_blit.c \
        r600_buffer.c \
@@ -16,4 +16,4 @@ C_SOURCES := \
        r600_translate.c \
        r600_state_common.c
 
-LLVM_C_SOURCES := r600_llvm.c
+LLVM_C_SOURCES = r600_llvm.c
index 7d26640019f207a99dfa0c826b054ce88c61a42b..7dcf63d960f5b56c0cd3447daabb4fa466dab142 100644 (file)
@@ -1,8 +1,8 @@
 # Paths are relative to TOP.
-i915_INCLUDES := \
+i915_INCLUDES = \
        src/mesa/drivers/dri/intel
 
-i915_C_FILES := \
+i915_C_FILES = \
        i830_context.c \
        i830_state.c \
        i830_texblend.c \
index 44a6c8f30a29be938a6a8daf4a3abc7f97fc3440..c564d95d44be421c693e3744d95cadc66468dacf 100644 (file)
@@ -1,8 +1,8 @@
-i965_INCLUDES := \
+i965_INCLUDES = \
        $(MESA_TOP)/src \
        $(MESA_TOP)/src/mesa/drivers/dri/intel
 
-i965_C_FILES := \
+i965_C_FILES = \
        intel_batchbuffer.c \
        intel_blit.c \
        intel_buffer_objects.c \
@@ -111,7 +111,7 @@ i965_C_FILES := \
        gen7_wm_state.c \
        gen7_wm_surface_state.c
 
-i965_CXX_FILES := \
+i965_CXX_FILES = \
        brw_cubemap_normalize.cpp \
        brw_fs.cpp \
        brw_fs_cfg.cpp \
@@ -129,4 +129,4 @@ i965_CXX_FILES := \
        brw_vec4_reg_allocate.cpp \
        brw_vec4_visitor.cpp
 
-i965_ASM_FILES :=
+i965_ASM_FILES =