Re: [Mesa-dev] [PATCH] build: Fix AX_PROG_{CC, CXX}_FOR_BUILD macros

2012-12-13 Thread Matt Turner
On Wed, Nov 21, 2012 at 2:34 AM, Thierry Reding thierry.red...@avionic-design.de wrote: On Tue, Nov 20, 2012 at 08:29:04PM +0100, Thierry Reding wrote: On Tue, Nov 20, 2012 at 11:07:03AM -0800, Matt Turner wrote: On Tue, Nov 20, 2012 at 7:50 AM, Thierry Reding

Re: [Mesa-dev] [PATCH] build: Fix AX_PROG_{CC, CXX}_FOR_BUILD macros

2012-12-13 Thread Thierry Reding
On Thu, Dec 13, 2012 at 10:56:01AM -0800, Matt Turner wrote: On Wed, Nov 21, 2012 at 2:34 AM, Thierry Reding thierry.red...@avionic-design.de wrote: On Tue, Nov 20, 2012 at 08:29:04PM +0100, Thierry Reding wrote: On Tue, Nov 20, 2012 at 11:07:03AM -0800, Matt Turner wrote: On Tue, Nov 20,

Re: [Mesa-dev] [PATCH] build: Fix AX_PROG_{CC, CXX}_FOR_BUILD macros

2012-11-21 Thread Thierry Reding
On Tue, Nov 20, 2012 at 08:29:04PM +0100, Thierry Reding wrote: On Tue, Nov 20, 2012 at 11:07:03AM -0800, Matt Turner wrote: On Tue, Nov 20, 2012 at 7:50 AM, Thierry Reding thierry.red...@avionic-design.de wrote: Override the cross_compiling and ac_tool_prefix variables by reassigning

[Mesa-dev] [PATCH] build: Fix AX_PROG_{CC,CXX}_FOR_BUILD macros

2012-11-20 Thread Thierry Reding
Override the cross_compiling and ac_tool_prefix variables by reassigning to them instead of redefining the macros. Redefining them will actually cause the variable names to be replaced instead of their content. Furthermore push the definition of CPPFLAGS before running the checks for the build

Re: [Mesa-dev] [PATCH] build: Fix AX_PROG_{CC, CXX}_FOR_BUILD macros

2012-11-20 Thread Matt Turner
On Tue, Nov 20, 2012 at 7:50 AM, Thierry Reding thierry.red...@avionic-design.de wrote: Override the cross_compiling and ac_tool_prefix variables by reassigning to them instead of redefining the macros. Redefining them will actually cause the variable names to be replaced instead of their

Re: [Mesa-dev] [PATCH] build: Fix AX_PROG_{CC, CXX}_FOR_BUILD macros

2012-11-20 Thread Thierry Reding
On Tue, Nov 20, 2012 at 11:07:03AM -0800, Matt Turner wrote: On Tue, Nov 20, 2012 at 7:50 AM, Thierry Reding thierry.red...@avionic-design.de wrote: Override the cross_compiling and ac_tool_prefix variables by reassigning to them instead of redefining the macros. Redefining them will