This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[PATCH] libgfortran/Makefile.am -- Use M4 environmental variable


The attached patch has been bootstrapped in maintainer-mode
and regression tested on amd64-*-freebsd.

Briefly, the problem is that Makefile.am has m4 hardcoded 
in several places.  On FreeBSD, m4 is not GNU m4, and so 
the processing of the files in libgfortran/m4 results in
corrupted files in libgfortran/generated.

The fix is to use $(M4) in place of m4.  The toplevel 
configure correctly finds gm4 (ie, GNU m4) on my system,
and the toplevel Makefile properly sets and exports
M4=gm4.

Note, the testing including the deletion of all files in
libgfortran/generated.  The new generated files under
maintainer-mode are identical to those in svn.

2006-10-05  Steven G. Kargl  <kargl@gcc.gnu.org>

	* Makefile.am: Use $(M4) instead of m4.
	* Makefile.in: Regenerated.

OK for trunk and 4.1?

-- 
Steve

Attachment: libgfortran.diff
Description: Text document


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