[autoconf-conversion] libffi

Tom Tromey tromey at redhat.com
Tue Jun 17 16:19:25 UTC 2003


>>>>> "Paolo" == Paolo Bonzini <bonzini at gnu.org> writes:

Paolo> Here is a first stab at libffi conversion.

Paolo> +# Work around automake deficiency
Paolo> +# ---
Paolo> +# Automake does not recognize that only one of src/x86/ffi.c,
Paolo> +# src/mips/ffi.c etc. can be compiled at each time, and barfs
Paolo> +# that they all go to the same object file.  So we move the
Paolo> +# target files to the src directory through symbolic links.

You don't need this.  Instead, add "subdir-objects" to
AUTOMAKE_OPTIONS.  This will preserve the existing behavior of
putting .o files in subdirectories.

The AC_CONFIG_AUX_DIRS thing is ugly.  I wonder if there is a better
way.  (I haven't really been tracking automake development...)
I wonder if automake's built-in multilib support helps here.

Tom



More information about the autoconf-conversion mailing list