All of lore.kernel.org
 help / color / mirror / Atom feed
* Fix prelink build with automake-1.13
@ 2013-01-03  7:52 Marko Lindqvist
  2013-01-03  7:52 ` [PATCH] fix " Marko Lindqvist
  2013-01-03 16:00 ` Fix prelink " Mark Hatle
  0 siblings, 2 replies; 4+ messages in thread
From: Marko Lindqvist @ 2013-01-03  7:52 UTC (permalink / raw)
  To: yocto, mark.hatle

[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.


 - ML


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] fix build with automake-1.13.
  2013-01-03  7:52 Fix prelink build with automake-1.13 Marko Lindqvist
@ 2013-01-03  7:52 ` Marko Lindqvist
  2013-01-03 16:00 ` Fix prelink " Mark Hatle
  1 sibling, 0 replies; 4+ messages in thread
From: Marko Lindqvist @ 2013-01-03  7:52 UTC (permalink / raw)
  To: yocto, mark.hatle; +Cc: Marko Lindqvist

Rename autoconf input file from deprecated name configure.in to
configure.ac
Replace AM_CONFIG_HEADER obsoleted in automake-1.13 with
AC_CONFIG_HEADERS.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 trunk/{configure.in => configure.ac} |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename trunk/{configure.in => configure.ac} (98%)

diff --git a/trunk/configure.in b/trunk/configure.ac
similarity index 98%
rename from trunk/configure.in
rename to trunk/configure.ac
index 396f3ac..a90cfb2 100644
--- a/trunk/configure.in
+++ b/trunk/configure.ac
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script. -*-m4-*-
 AC_INIT(src/prelink.c)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 AC_PREREQ(2.13)			dnl Minimum Autoconf version required.
 AC_CANONICAL_HOST
 
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: Fix prelink build with automake-1.13
  2013-01-03  7:52 Fix prelink build with automake-1.13 Marko Lindqvist
  2013-01-03  7:52 ` [PATCH] fix " Marko Lindqvist
@ 2013-01-03 16:00 ` Mark Hatle
  2013-01-03 16:09   ` Mark Hatle
  1 sibling, 1 reply; 4+ messages in thread
From: Mark Hatle @ 2013-01-03 16:00 UTC (permalink / raw)
  To: Marko Lindqvist; +Cc: yocto

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..

--Mark

>   - ML
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fix prelink build with automake-1.13
  2013-01-03 16:00 ` Fix prelink " Mark Hatle
@ 2013-01-03 16:09   ` Mark Hatle
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Hatle @ 2013-01-03 16:09 UTC (permalink / raw)
  To: Marko Lindqvist; +Cc: yocto

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
>>
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-03 16:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-03  7:52 Fix prelink build with automake-1.13 Marko Lindqvist
2013-01-03  7:52 ` [PATCH] fix " Marko Lindqvist
2013-01-03 16:00 ` Fix prelink " Mark Hatle
2013-01-03 16:09   ` Mark Hatle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.