This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] fix in-tree-binutils builds
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jan Beulich <JBeulich at suse dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Binutils <binutils at sourceware dot org>
- Date: Wed, 15 Jul 2015 09:07:33 -0700
- Subject: Re: [PATCH] fix in-tree-binutils builds
- Authentication-results: sourceware.org; auth=none
- References: <55A62FD90200007800091184 at mail dot emea dot novell dot com>
On Wed, Jul 15, 2015 at 1:03 AM, Jan Beulich <JBeulich@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 <jbeulich@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.