All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Zhbanov <i.zhbanov at samsung.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] [PATCH] Relaxed autoconf version restriction for scratchbox build
Date: Mon, 23 Jul 2012 10:19:41 +0400	[thread overview]
Message-ID: <500CECFD.8040108@samsung.com> (raw)
In-Reply-To: 50099506.4010601@linux.intel.com

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


             reply	other threads:[~2012-07-23  6:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-23  6:19 Igor Zhbanov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-07-23 15:10 [Powertop] [PATCH] Relaxed autoconf version restriction for scratchbox build Chris Ferron
2012-07-21 21:16 Paul Menzel
2012-07-20 17:27 Chris Ferron
2012-07-20  6:52 Igor Zhbanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=500CECFD.8040108@samsung.com \
    --to=powertop@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.