[yocto] Fix prelink build with automake-1.13

Mark Hatle mark.hatle at windriver.com
Thu Jan 3 08:09:08 PST 2013


On 1/3/13 10:00 AM, Mark Hatle wrote:
> On 1/3/13 1:52 AM, Marko Lindqvist wrote:
>> [PATCH] fix build with automake-1.13.
>>
>> Long obsolete AM_CONFIG_HEADER is completely removed from automake-1.13,
>> which errors out upon seeing it.
>> configure.in -> configure.ac rename is not strictly necessary yet,
>> use of deprecated name still gives only warning.
>>
>> Problem in dropping obsolete constructs is that support for autotools
>> versions so ancient that now-obsolete way is the only way to do things.
>> configure.in seems to have AC_PREREQ(2.13), but with these changes
>> (if not earlier) such an ancient autoconf will not do.
>>
>
> Do you know if the change to AC_CONFIG_HEADER (from AM_CONFIG_HEADER) is
> supported in autoconf 2.13?  Assuming it likely is, I'll get this merged.
> Otherwise we should expect to bump the AC_PREREQ.
>
> BTW I'll check and see if this patch is specific to the cross-prelinker or
> applicable to the upstream prelink as well.  Seems like if it's applicable there
> they may want it as well..

Responding to my own query.  I just checked and the cross-prelinker is already 
setup for AC_PREREQ(2.50):

http://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/tree/trunk/configure.in?h=cross_prelink

(The unmodified upstream -- master branch -- is still using AC_PREREQ(2.13). 
But we don't use that in OE/Yocto Project work.)

The -- cross_prelink branch -- does still have the AM_CONFIG_HEADER.  I'll get 
that updated.  I will also rename the configure.in to configure.ac and adjust 
anything else that references that.

--Mark

> --Mark
>
>>    - ML
>>
>




More information about the yocto mailing list