On Wed, Jul 15, 2015 at 1:03 AM, Jan Beulich <jbeul...@suse.com> wrote:
> Quite a while ago configure.in go renamed to configure.ac in all of
> binutils' subtrees - allow for both when checking for that case while
> configuring.
>
> gcc/
> 2015-07-15  Jan Beulich  <jbeul...@suse.com>
>
>         * acinclude.m4: Replace configure.in by configure.[ai][cn].
>         * configure.ac: Likewise.
>         * configure: Re-generate.
>
> --- 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]?

-- 
H.J.

Reply via email to