This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Which automake should I use for binutils?
- To: binutils at sourceware dot cygnus dot com
- Subject: Re: Which automake should I use for binutils?
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Sat, 7 Apr 2001 23:33:49 -0700
- Cc: bug-automake at gnu dot org
- References: <20010407221641.A27725@lucon.org>
On Sat, Apr 07, 2001 at 10:16:41PM -0700, H . J . Lu wrote:
> Which automake should I use for binutils? I thought automake 1.4 from
> RedHat 7.1 beta was ok. But I got
>
> # cd gas
> automake --cygnus Makefile
> automake: Makefile.am: not supported: source file `config/m68k-parse.y' is in subdirectory
>
> As the result, YLWRAP is not defined in gas/Makefile. I know the older
> automake was ok. It must be a new bug in automake.
>
Here is a patch for automake 1.4.
H.J.
---
2001-04-07 H.J. Lu <hjl@gnu.org>
* automake.in (handle_single_transform_list): Don't warn source
in subdirectory.
--- automake-1.4/automake.in.ylwrap Sat Apr 7 23:04:45 2001
+++ automake-1.4/automake.in Sat Apr 7 23:17:32 2001
@@ -1072,9 +1072,11 @@ sub handle_single_transform_list
# the directory. Later.
if (/\//)
{
- &am_error
- ("not supported: source file `$_' is in subdirectory");
- next;
+ # It breaks gas/Makefile.in in binutils. For now, we
+ # turn off this warning.
+ # &am_error
+ # ("not supported: source file `$_' is in subdirectory");
+ # next;
}
# Split file name into base and extension.