This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix in-tree-binutils builds


>>> On 15.07.15 at 18:07, <hjl.tools@gmail.com> wrote:
> On Wed, Jul 15, 2015 at 1:03 AM, Jan Beulich <JBeulich@suse.com> wrote:
>> --- a/gcc/acinclude.m4
>> +++ b/gcc/acinclude.m4
>> @@ -390,7 +390,7 @@ AC_DEFUN([_gcc_COMPUTE_GAS_VERSION],
>>  [gcc_cv_as_bfd_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/bfd
>>  for f in $gcc_cv_as_bfd_srcdir/configure \
>>           $gcc_cv_as_gas_srcdir/configure \
>> -         $gcc_cv_as_gas_srcdir/configure.in \
>> +         $gcc_cv_as_gas_srcdir/configure.[ai][cn] \
>>           $gcc_cv_as_gas_srcdir/Makefile.in ; do
>>    gcc_cv_gas_version=`sed -n -e 's/^[[         ]]*VERSION=[[^0-9A-Za-z_]]*\([[0-9]]*\.[[0-9]]*.*\)/VERSION=\1/p' < $f`
> 
> How portable is [ai][cn]?

I'm not sure - that's why I asked yesterday whether that approach
would be acceptable.

Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]