This is the mail archive of the gcc@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: Fix aclocal.md in fastjar and libffi (Re: How is aclocal.m4 in gcc maintained?)


On Tue, Jul 02, 2002 at 08:37:36PM -0700, H. J. Lu wrote:
> In libffi, I see
> 
> dnl aclocal.m4 generated automatically by aclocal 1.4
> 
> in aclocal.m4. But when I did
> 
> # mv aclocal.m4 aclocal.m4.saved
> # cd ....../libffi
> # make aclocal.m4
> cd /home/hjl/work/gnu/src/tools-3.1/tools/libffi && aclocal
> 
> The generated aclocal.m4 is different from the saved aclocal.m4. There
> is
> 
> 2002-01-31  Anthony Green  <green@redhat.com>
> 
>         * configure: Rebuilt.
>         * configure.in: Replace CHECK_SIZEOF and endian tests with
>         cross-compiler friendly macros. 
>         * aclocal.m4 (AC_COMPILE_CHECK_SIZEOF, AC_C_BIGENDIAN_CROSS): New
>         macros.
> 
> Why put AC_COMPILE_CHECK_SIZEOF and AC_C_BIGENDIAN_CROSS in a generated
> file? There are 3 different copies of AC_COMPILE_CHECK_SIZEOF in the
> gcc source tree. Why not just use one copy and fix all diretories,
> including fastjar?
> 

Here is a patch to fix aclocal.m4 in fastjar and libffi. I will take
a look at gcc and libjava to see if they can use accross.m4.


H.J.

Attachment: gcc-sizeof.patch
Description: Text document


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