All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Powertop] [PATCH] Relaxed autoconf version restriction for scratchbox build
@ 2012-07-23 15:10 Chris Ferron
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Ferron @ 2012-07-23 15:10 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 1348 bytes --]

On 07/21/2012 02:16 PM, Paul Menzel wrote:
> Dear Chris,
>
>
> Am Freitag, den 20.07.2012, 10:27 -0700 schrieb Chris Ferron:
>> On 07/19/2012 11:52 PM, Igor Zhbanov wrote:
>>> Relaxed autoconf version restriction for scratchbox build.
>>> PowerTOP successfully builds with 2.67 version of Autotools.
>>> ---
>>>    configure.ac |    2 +-
>>>    1 files changed, 1 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/configure.ac b/configure.ac
>>> index 4b3d027..e1e670a 100644
>>> --- a/configure.ac
>>> +++ b/configure.ac
>>> @@ -1,7 +1,7 @@
>>>    #                                               -*- Autoconf -*-
>>>    # Process this file with autoconf to produce a configure script.
>>>    
>>> -AC_PREREQ([2.68])
>>> +AC_PREREQ([2.67])
>>>    AC_INIT([powertop], [2.0], [powertop(a)lists.01.org])
>>>    AM_INIT_AUTOMAKE([-Wall foreign ])
>>>    AC_LANG([C++])
>> What is the problem? Why do you need to do this? What is the benefit to
>> the PowerTOP project?
> Hm, the commit message says it all if you know what Scratchbox [1] is.
I know a little about scratchbox. You should be talking the release tar 
yes?
> I guess Scratchbox only includes Autoconf 2.67 so PowerTOP does not
> build out of the box with Scratchbox.
>
>
> Thanks,
>
> Paul
>
>
> [1] http://www.elinux.org/Toolchains#Scratchbox



^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [Powertop] [PATCH] Relaxed autoconf version restriction for scratchbox build
@ 2012-07-23  6:19 Igor Zhbanov
  0 siblings, 0 replies; 5+ messages in thread
From: Igor Zhbanov @ 2012-07-23  6:19 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 1756 bytes --]

Hi Chris,

One of our build systems has autotools v2.67. So we need to apply the patch
to build with it. The benefit is that PowerTOP can be build on a wider range
of platforms. And it seems that configure.ac doesn't have any checks that
requires 2.68 version.

By the way, PowerTOP's configure.ac contains many tests which results
are never checked in source files. If you grep HAVE_ or #ifdef strings 
across
all source files, you will find only #ifdef HAVE_LIBNL20.
So IMHO configure.ac can be significantly simplified.

Although it is not a big benefit to the project, except perhaps of more 
readability
of source code.

Thank you.

Chris Ferron wrote:
> On 07/19/2012 11:52 PM, Igor Zhbanov wrote:
>> Relaxed autoconf version restriction for scratchbox build.
>> PowerTOP successfully builds with 2.67 version of Autotools.
>> ---
>>   configure.ac |    2 +-
>>   1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/configure.ac b/configure.ac
>> index 4b3d027..e1e670a 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -1,7 +1,7 @@
>>   #                                               -*- Autoconf -*-
>>   # Process this file with autoconf to produce a configure script.
>>   -AC_PREREQ([2.68])
>> +AC_PREREQ([2.67])
>>   AC_INIT([powertop], [2.0], [powertop(a)lists.01.org])
>>   AM_INIT_AUTOMAKE([-Wall foreign ])
>>   AC_LANG([C++])
> What is the problem? Why do you need to do this? What is the benefit 
> to the PowerTOP project?
-- 
Best regards,
Igor Zhbanov,
Expert Software Engineer,
phone: +7 (495) 797 25 00 ext 3806
e-mail: i.zhbanov(a)samsung.com

ASWG, Moscow R&D center, Samsung Electronics
12 Dvintsev street, building 1
127018, Moscow, Russian Federation


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [Powertop] [PATCH] Relaxed autoconf version restriction for scratchbox build
@ 2012-07-21 21:16 Paul Menzel
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Menzel @ 2012-07-21 21:16 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 1191 bytes --]

Dear Chris,


Am Freitag, den 20.07.2012, 10:27 -0700 schrieb Chris Ferron:
> On 07/19/2012 11:52 PM, Igor Zhbanov wrote:
> > Relaxed autoconf version restriction for scratchbox build.
> > PowerTOP successfully builds with 2.67 version of Autotools.
> > ---
> >   configure.ac |    2 +-
> >   1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/configure.ac b/configure.ac
> > index 4b3d027..e1e670a 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -1,7 +1,7 @@
> >   #                                               -*- Autoconf -*-
> >   # Process this file with autoconf to produce a configure script.
> >   
> > -AC_PREREQ([2.68])
> > +AC_PREREQ([2.67])
> >   AC_INIT([powertop], [2.0], [powertop(a)lists.01.org])
> >   AM_INIT_AUTOMAKE([-Wall foreign ])
> >   AC_LANG([C++])
> What is the problem? Why do you need to do this? What is the benefit to 
> the PowerTOP project?

Hm, the commit message says it all if you know what Scratchbox [1] is.

I guess Scratchbox only includes Autoconf 2.67 so PowerTOP does not
build out of the box with Scratchbox.


Thanks,

Paul


[1] http://www.elinux.org/Toolchains#Scratchbox

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [Powertop] [PATCH] Relaxed autoconf version restriction for scratchbox build
@ 2012-07-20 17:27 Chris Ferron
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Ferron @ 2012-07-20 17:27 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 811 bytes --]

On 07/19/2012 11:52 PM, Igor Zhbanov wrote:
> Relaxed autoconf version restriction for scratchbox build.
> PowerTOP successfully builds with 2.67 version of Autotools.
> ---
>   configure.ac |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 4b3d027..e1e670a 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1,7 +1,7 @@
>   #                                               -*- Autoconf -*-
>   # Process this file with autoconf to produce a configure script.
>   
> -AC_PREREQ([2.68])
> +AC_PREREQ([2.67])
>   AC_INIT([powertop], [2.0], [powertop(a)lists.01.org])
>   AM_INIT_AUTOMAKE([-Wall foreign ])
>   AC_LANG([C++])
What is the problem? Why do you need to do this? What is the benefit to 
the PowerTOP project?


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [Powertop] [PATCH] Relaxed autoconf version restriction for scratchbox build
@ 2012-07-20  6:52 Igor Zhbanov
  0 siblings, 0 replies; 5+ messages in thread
From: Igor Zhbanov @ 2012-07-20  6:52 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 638 bytes --]

Relaxed autoconf version restriction for scratchbox build.
PowerTOP successfully builds with 2.67 version of Autotools.
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4b3d027..e1e670a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
 #                                               -*- Autoconf -*-
 # Process this file with autoconf to produce a configure script.
 
-AC_PREREQ([2.68])
+AC_PREREQ([2.67])
 AC_INIT([powertop], [2.0], [powertop(a)lists.01.org])
 AM_INIT_AUTOMAKE([-Wall foreign ])
 AC_LANG([C++])
-- 
1.7.5.4


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

end of thread, other threads:[~2012-07-23 15:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-23 15:10 [Powertop] [PATCH] Relaxed autoconf version restriction for scratchbox build Chris Ferron
  -- strict thread matches above, loose matches on Subject: below --
2012-07-23  6:19 Igor Zhbanov
2012-07-21 21:16 Paul Menzel
2012-07-20 17:27 Chris Ferron
2012-07-20  6:52 Igor Zhbanov

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.