Re: [PATCH] bash vs. dash: Avoid unportable shell feature in gcc/configure.ac

2011-07-13 Thread Paolo Bonzini
Ok. Paolo On Wed, Jul 13, 2011 at 19:17, Thomas Schwinge wrote: > Hallo! > > On Wed, 13 Jul 2011 18:23:50 +0200, Paolo Bonzini wrote: >> On 07/13/2011 06:13 PM, Thomas Schwinge wrote: >> > Alternatively, gcc_GAS_CHECK_FEATURE could be changed to emit the >> > temporary file by using a shell her

Re: [PATCH] bash vs. dash: Avoid unportable shell feature in gcc/configure.ac

2011-07-13 Thread Thomas Schwinge
Hallo! On Wed, 13 Jul 2011 18:23:50 +0200, Paolo Bonzini wrote: > On 07/13/2011 06:13 PM, Thomas Schwinge wrote: > > Alternatively, gcc_GAS_CHECK_FEATURE could be changed to emit the > > temporary file by using a shell here-doc, which is what AC_TRY_COMPILE is > > doing, for example. > > Change

Re: [PATCH] bash vs. dash: Avoid unportable shell feature in gcc/configure.ac

2011-07-13 Thread Paolo Bonzini
On 07/13/2011 06:13 PM, Thomas Schwinge wrote: Alternatively, gcc_GAS_CHECK_FEATURE could be changed to emit the temporary file by using a shell here-doc, which is what AC_TRY_COMPILE is doing, for example. Change instead echo ifelse(...) > conftest.s to AS_ECHO([m4_if(...)]) > conftest.s i