[procps] Re: procps changes

  • From: Jim Warner <james.warner@xxxxxxxxxxx>
  • To: procps@xxxxxxxxxxxxx
  • Date: Mon, 26 Sep 2011 15:51:47 -0500

On Sep 26, 2011, at 3:32 PM, Sami Kerola wrote:

> On Mon, Sep 26, 2011 at 21:11, Jim Warner <james.warner@xxxxxxxxxxx> wrote:
>> Below is the autogen.sh patch I had in mind.  I tested the build on several 
>> "new" linux installs that didn't yet have any development tools beyond gcc.  
>> On those systems the following error messages were received:
>>   ./autogen.sh: line 46: libtoolize: command not found
>>   ./autogen.sh: line 47: test: =: unary operator expected
> 
> Fixed to ng branch.

Close, but no cigar.

Don't you also care about the spacing?  It's very wasteful.

Jim

p.s. maybe it's not to late to vote for the buildconf version...


------------------------------------------

diff --git a/autogen.sh b/autogen.sh
index 35b95d8..2d6a7fb 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -43,7 +43,7 @@ test -f top.c || {
        DIE=1
 }
 
-ltver=$(libtoolize --version | awk '/^libtoolize/ { print $4 }')
+ltver=$(jcwlibtoolize --version 2>/dev/null | awk '/^libtoolize/ { print $4 }')
 ltver=${ltver:-"none"}
 test ${ltver##2.} = "$ltver" && {
        echo "You must have libtool version >= 2.x.x, but you have $ltver."



Other related posts: