Mesa (master): autoconf: pass -Wall to automake
Dylan Noblesmith
nobled at kemper.freedesktop.org
Sun Apr 29 11:20:25 UTC 2012
Module: Mesa
Branch: master
Commit: e4c97f1e607f857fb7f397f9e00f37c00ffff295
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4c97f1e607f857fb7f397f9e00f37c00ffff295
Author: Dylan Noblesmith <nobled at dreamwidth.org>
Date: Fri Apr 13 20:36:39 2012 +0000
autoconf: pass -Wall to automake
And fix these warning that appear at autoreconf time:
"`:='-style assignments are not portable"
v2: Fix the recently-converted-to-automake r600.
---
configure.ac | 2 +-
src/gallium/drivers/r300/Makefile.sources | 2 +-
src/gallium/drivers/r600/Makefile.sources | 4 ++--
src/mesa/drivers/dri/i915/Makefile.sources | 4 ++--
src/mesa/drivers/dri/i965/Makefile.sources | 8 ++++----
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/configure.ac b/configure.ac
index 6776886..3bc59ca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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.
diff --git a/src/gallium/drivers/r300/Makefile.sources b/src/gallium/drivers/r300/Makefile.sources
index 1e7d31b..10ceffb 100644
--- a/src/gallium/drivers/r300/Makefile.sources
+++ b/src/gallium/drivers/r300/Makefile.sources
@@ -1,4 +1,4 @@
-C_SOURCES := \
+C_SOURCES = \
r300_blit.c \
r300_chipset.c \
r300_context.c \
diff --git a/src/gallium/drivers/r600/Makefile.sources b/src/gallium/drivers/r600/Makefile.sources
index a920b93..b7b0d50 100644
--- a/src/gallium/drivers/r600/Makefile.sources
+++ b/src/gallium/drivers/r600/Makefile.sources
@@ -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
diff --git a/src/mesa/drivers/dri/i915/Makefile.sources b/src/mesa/drivers/dri/i915/Makefile.sources
index 7d26640..7dcf63d 100644
--- a/src/mesa/drivers/dri/i915/Makefile.sources
+++ b/src/mesa/drivers/dri/i915/Makefile.sources
@@ -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 \
diff --git a/src/mesa/drivers/dri/i965/Makefile.sources b/src/mesa/drivers/dri/i965/Makefile.sources
index 44a6c8f..c564d95 100644
--- a/src/mesa/drivers/dri/i965/Makefile.sources
+++ b/src/mesa/drivers/dri/i965/Makefile.sources
@@ -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 =
More information about the mesa-commit
mailing list