All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] conntrack-tools: Fix build for old automake
@ 2016-04-04  9:39 Mart Frauenlob
  2016-04-04  9:39 ` [PATCH] " Mart Frauenlob
  0 siblings, 1 reply; 9+ messages in thread
From: Mart Frauenlob @ 2016-04-04  9:39 UTC (permalink / raw)
  To: netfilter-devel


Good day,

on my old system with automake 1.11 creating the build environment
with autoreconf fails.
I'm a automake newb, but this patch solves this for me.
I hope it's appropriate.

Resending this as missing signed off and format-patch didn't put a newline after subject.

Best regards,
Mart

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

* [PATCH] conntrack-tools: Fix build for old automake.
  2016-04-04  9:39 [PATCH v2] conntrack-tools: Fix build for old automake Mart Frauenlob
@ 2016-04-04  9:39 ` Mart Frauenlob
  2016-04-07 16:47   ` Pablo Neira Ayuso
  0 siblings, 1 reply; 9+ messages in thread
From: Mart Frauenlob @ 2016-04-04  9:39 UTC (permalink / raw)
  To: netfilter-devel

 autoreconf fails with automake version smaller than 1.12,
 because of undefined macro AM_PROG_AR.
 So only expand it if it's actually defined.

Signed-off-by: Mart Frauenlob <mart.frauenlob@chello.at>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index c541034..2c5913f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,7 +14,7 @@ AC_SUBST([libdl_LIBS])
 
 AC_PROG_CC
 AC_DISABLE_STATIC
-AM_PROG_AR
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) dnl Workaround for Automake 1.11
 AM_PROG_LIBTOOL
 AC_PROG_INSTALL
 AC_PROG_LN_S
-- 
1.7.2.5


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

* Re: [PATCH] conntrack-tools: Fix build for old automake.
  2016-04-04  9:39 ` [PATCH] " Mart Frauenlob
@ 2016-04-07 16:47   ` Pablo Neira Ayuso
  2016-04-07 17:33     ` Mart Frauenlob
  0 siblings, 1 reply; 9+ messages in thread
From: Pablo Neira Ayuso @ 2016-04-07 16:47 UTC (permalink / raw)
  To: Mart Frauenlob; +Cc: netfilter-devel

On Mon, Apr 04, 2016 at 11:39:40AM +0200, Mart Frauenlob wrote:
>  autoreconf fails with automake version smaller than 1.12,
>  because of undefined macro AM_PROG_AR.
>  So only expand it if it's actually defined.
> 
> Signed-off-by: Mart Frauenlob <mart.frauenlob@chello.at>
> ---
>  configure.ac |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index c541034..2c5913f 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -14,7 +14,7 @@ AC_SUBST([libdl_LIBS])
>  
>  AC_PROG_CC
>  AC_DISABLE_STATIC
> -AM_PROG_AR
> +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) dnl Workaround for Automake 1.11

How old is your old system? is it still a distro maintained version?

BTW, you can remove the comment, we can get to this information
through 'git annotate' these days.

Thanks.

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

* Re: [PATCH] conntrack-tools: Fix build for old automake.
  2016-04-07 16:47   ` Pablo Neira Ayuso
@ 2016-04-07 17:33     ` Mart Frauenlob
  2016-04-07 17:50       ` Pablo Neira Ayuso
  0 siblings, 1 reply; 9+ messages in thread
From: Mart Frauenlob @ 2016-04-07 17:33 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netfilter-devel

On 07.04.2016 18:47, Pablo Neira Ayuso wrote:
> On Mon, Apr 04, 2016 at 11:39:40AM +0200, Mart Frauenlob wrote:
>>   autoreconf fails with automake version smaller than 1.12,
>>   because of undefined macro AM_PROG_AR.
>>   So only expand it if it's actually defined.
>>
>> Signed-off-by: Mart Frauenlob <mart.frauenlob@chello.at>
>> ---
>>   configure.ac |    2 +-
>>   1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/configure.ac b/configure.ac
>> index c541034..2c5913f 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -14,7 +14,7 @@ AC_SUBST([libdl_LIBS])
>>
>>   AC_PROG_CC
>>   AC_DISABLE_STATIC
>> -AM_PROG_AR
>> +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) dnl Workaround for Automake 1.11
>
> How old is your old system? is it still a distro maintained version?

cat /etc/debian_version
6.0.10
Has automake 1.11.

> BTW, you can remove the comment, we can get to this information
> through 'git annotate' these days.
>
> Thanks.
>


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

* Re: [PATCH] conntrack-tools: Fix build for old automake.
  2016-04-07 17:33     ` Mart Frauenlob
@ 2016-04-07 17:50       ` Pablo Neira Ayuso
  2016-04-07 17:53         ` Mart Frauenlob
  0 siblings, 1 reply; 9+ messages in thread
From: Pablo Neira Ayuso @ 2016-04-07 17:50 UTC (permalink / raw)
  To: Mart Frauenlob; +Cc: netfilter-devel

On Thu, Apr 07, 2016 at 07:33:43PM +0200, Mart Frauenlob wrote:
> On 07.04.2016 18:47, Pablo Neira Ayuso wrote:
> >On Mon, Apr 04, 2016 at 11:39:40AM +0200, Mart Frauenlob wrote:
> >>  autoreconf fails with automake version smaller than 1.12,
> >>  because of undefined macro AM_PROG_AR.
> >>  So only expand it if it's actually defined.
> >>
> >>Signed-off-by: Mart Frauenlob <mart.frauenlob@chello.at>
> >>---
> >>  configure.ac |    2 +-
> >>  1 files changed, 1 insertions(+), 1 deletions(-)
> >>
> >>diff --git a/configure.ac b/configure.ac
> >>index c541034..2c5913f 100644
> >>--- a/configure.ac
> >>+++ b/configure.ac
> >>@@ -14,7 +14,7 @@ AC_SUBST([libdl_LIBS])
> >>
> >>  AC_PROG_CC
> >>  AC_DISABLE_STATIC
> >>-AM_PROG_AR
> >>+m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) dnl Workaround for Automake 1.11
> >
> >How old is your old system? is it still a distro maintained version?
> 
> cat /etc/debian_version
> 6.0.10
> Has automake 1.11.

Is that still maintained?

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

* Re: [PATCH] conntrack-tools: Fix build for old automake.
  2016-04-07 17:50       ` Pablo Neira Ayuso
@ 2016-04-07 17:53         ` Mart Frauenlob
  2016-04-08  6:40           ` Mart Frauenlob
  0 siblings, 1 reply; 9+ messages in thread
From: Mart Frauenlob @ 2016-04-07 17:53 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netfilter-devel

On 07.04.2016 19:50, Pablo Neira Ayuso wrote:
> On Thu, Apr 07, 2016 at 07:33:43PM +0200, Mart Frauenlob wrote:
>> On 07.04.2016 18:47, Pablo Neira Ayuso wrote:
>>> On Mon, Apr 04, 2016 at 11:39:40AM +0200, Mart Frauenlob wrote:
>>>>   autoreconf fails with automake version smaller than 1.12,
>>>>   because of undefined macro AM_PROG_AR.
>>>>   So only expand it if it's actually defined.
>>>>
>>>> Signed-off-by: Mart Frauenlob <mart.frauenlob@chello.at>
>>>> ---
>>>>   configure.ac |    2 +-
>>>>   1 files changed, 1 insertions(+), 1 deletions(-)
>>>>
>>>> diff --git a/configure.ac b/configure.ac
>>>> index c541034..2c5913f 100644
>>>> --- a/configure.ac
>>>> +++ b/configure.ac
>>>> @@ -14,7 +14,7 @@ AC_SUBST([libdl_LIBS])
>>>>
>>>>   AC_PROG_CC
>>>>   AC_DISABLE_STATIC
>>>> -AM_PROG_AR
>>>> +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) dnl Workaround for Automake 1.11
>>>
>>> How old is your old system? is it still a distro maintained version?
>>
>> cat /etc/debian_version
>> 6.0.10
>> Has automake 1.11.
>
> Is that still maintained?
>

Quoting https://www.debian.org/News/2016/20160212 :

February 12th, 2016
The Debian Long Term Support (LTS) Team hereby announces that Debian 6.0 
("squeeze") support will reach its end-of-life on February 29, 2016, 
five years after its initial release on February 6, 2011.

Hm, no longer since 2 months....

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

* Re: [PATCH] conntrack-tools: Fix build for old automake.
  2016-04-07 17:53         ` Mart Frauenlob
@ 2016-04-08  6:40           ` Mart Frauenlob
  2016-04-08  9:42             ` Pablo Neira Ayuso
  0 siblings, 1 reply; 9+ messages in thread
From: Mart Frauenlob @ 2016-04-08  6:40 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netfilter-devel

On 07.04.2016 19:53, Mart Frauenlob wrote:
> On 07.04.2016 19:50, Pablo Neira Ayuso wrote:
>> On Thu, Apr 07, 2016 at 07:33:43PM +0200, Mart Frauenlob wrote:
>>> On 07.04.2016 18:47, Pablo Neira Ayuso wrote:
>>>> On Mon, Apr 04, 2016 at 11:39:40AM +0200, Mart Frauenlob wrote:
>>>>>   autoreconf fails with automake version smaller than 1.12,
>>>>>   because of undefined macro AM_PROG_AR.
>>>>>   So only expand it if it's actually defined.
>>>>>
>>>>> Signed-off-by: Mart Frauenlob <mart.frauenlob@chello.at>
>>>>> ---
>>>>>   configure.ac |    2 +-
>>>>>   1 files changed, 1 insertions(+), 1 deletions(-)
>>>>>
>>>>> diff --git a/configure.ac b/configure.ac
>>>>> index c541034..2c5913f 100644
>>>>> --- a/configure.ac
>>>>> +++ b/configure.ac
>>>>> @@ -14,7 +14,7 @@ AC_SUBST([libdl_LIBS])
>>>>>
>>>>>   AC_PROG_CC
>>>>>   AC_DISABLE_STATIC
>>>>> -AM_PROG_AR
>>>>> +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) dnl Workaround for Automake 1.11
>>>>
>>>> How old is your old system? is it still a distro maintained version?
>>>
>>> cat /etc/debian_version
>>> 6.0.10
>>> Has automake 1.11.
>>
>> Is that still maintained?
>>
>
> Quoting https://www.debian.org/News/2016/20160212 :
>
> February 12th, 2016
> The Debian Long Term Support (LTS) Team hereby announces that Debian 6.0
> ("squeeze") support will reach its end-of-life on February 29, 2016,
> five years after its initial release on February 6, 2011.
>
> Hm, no longer since 2 months....

What does that macro actually do in configure?

AM_PROG_AR([act-if-fail])

     You must use this macro when you use the archiver in your project, 
if you want support for unusual archivers such as Microsoft lib. The 
content of the optional argument is executed if the archiver interface 
is not recognized; the default action is to abort configure with an 
error message.

Does this archiver get called at all?


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

* Re: [PATCH] conntrack-tools: Fix build for old automake.
  2016-04-08  6:40           ` Mart Frauenlob
@ 2016-04-08  9:42             ` Pablo Neira Ayuso
  0 siblings, 0 replies; 9+ messages in thread
From: Pablo Neira Ayuso @ 2016-04-08  9:42 UTC (permalink / raw)
  To: Mart Frauenlob; +Cc: netfilter-devel

On Fri, Apr 08, 2016 at 08:40:01AM +0200, Mart Frauenlob wrote:
> On 07.04.2016 19:53, Mart Frauenlob wrote:
> >On 07.04.2016 19:50, Pablo Neira Ayuso wrote:
> >>On Thu, Apr 07, 2016 at 07:33:43PM +0200, Mart Frauenlob wrote:
> >>>On 07.04.2016 18:47, Pablo Neira Ayuso wrote:
> >>>>On Mon, Apr 04, 2016 at 11:39:40AM +0200, Mart Frauenlob wrote:
> >>>>>  autoreconf fails with automake version smaller than 1.12,
> >>>>>  because of undefined macro AM_PROG_AR.
> >>>>>  So only expand it if it's actually defined.
> >>>>>
> >>>>>Signed-off-by: Mart Frauenlob <mart.frauenlob@chello.at>
> >>>>>---
> >>>>>  configure.ac |    2 +-
> >>>>>  1 files changed, 1 insertions(+), 1 deletions(-)
> >>>>>
> >>>>>diff --git a/configure.ac b/configure.ac
> >>>>>index c541034..2c5913f 100644
> >>>>>--- a/configure.ac
> >>>>>+++ b/configure.ac
> >>>>>@@ -14,7 +14,7 @@ AC_SUBST([libdl_LIBS])
> >>>>>
> >>>>>  AC_PROG_CC
> >>>>>  AC_DISABLE_STATIC
> >>>>>-AM_PROG_AR
> >>>>>+m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) dnl Workaround for Automake 1.11
> >>>>
> >>>>How old is your old system? is it still a distro maintained version?
> >>>
> >>>cat /etc/debian_version
> >>>6.0.10
> >>>Has automake 1.11.
> >>
> >>Is that still maintained?
> >>
> >
> >Quoting https://www.debian.org/News/2016/20160212 :
> >
> >February 12th, 2016
> >The Debian Long Term Support (LTS) Team hereby announces that Debian 6.0
> >("squeeze") support will reach its end-of-life on February 29, 2016,
> >five years after its initial release on February 6, 2011.
> >
> >Hm, no longer since 2 months....
> 
> What does that macro actually do in configure?
> 
> AM_PROG_AR([act-if-fail])
> 
>     You must use this macro when you use the archiver in your project, if
> you want support for unusual archivers such as Microsoft lib. The content of
> the optional argument is executed if the archiver interface is not
> recognized; the default action is to abort configure with an error message.
> 
> Does this archiver get called at all?

eed61ed5        (Felix Janda    2015-05-16 11:19:02 +0200 17)AM_PROG_AR

commit eed61ed57fd2a82b81af9bd2f6895b3aa5221f49
Author: Felix Janda <felix.janda@posteo.de>
Date:   Sat May 16 11:19:02 2015 +0200

    configure: Add AM_PROG_AR to silence automake warning
    
    /usr/share/automake-1.13/am/ltlibrary.am: warning: 'ct_helper_tns.la': linking libtool libraries using a non-POSIX
    /usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
    src/helpers/Makefile.am:3:   while processing Libtool library 'ct_helper_tns.la'

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

* [PATCH] conntrack-tools: Fix build for old automake
@ 2016-04-04  9:29 Mart Frauenlob
  0 siblings, 0 replies; 9+ messages in thread
From: Mart Frauenlob @ 2016-04-04  9:29 UTC (permalink / raw)
  To: netfilter-devel


Good day,

on my old system with automake 1.11 creating the build environment
with autoreconf fails.
I'm a automake newb, but this patch solves this for me.
I hope it's appropriate.

Best regards,
Mart


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

end of thread, other threads:[~2016-04-08  9:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-04  9:39 [PATCH v2] conntrack-tools: Fix build for old automake Mart Frauenlob
2016-04-04  9:39 ` [PATCH] " Mart Frauenlob
2016-04-07 16:47   ` Pablo Neira Ayuso
2016-04-07 17:33     ` Mart Frauenlob
2016-04-07 17:50       ` Pablo Neira Ayuso
2016-04-07 17:53         ` Mart Frauenlob
2016-04-08  6:40           ` Mart Frauenlob
2016-04-08  9:42             ` Pablo Neira Ayuso
  -- strict thread matches above, loose matches on Subject: below --
2016-04-04  9:29 Mart Frauenlob

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.