Which automake should I use for binutils?

H . J . Lu hjl@lucon.org
Sat Apr 7 23:33:00 GMT 2001


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.



More information about the Binutils mailing list