[procps] Re: procps changes

  • From: Jim Warner <james.warner@xxxxxxxxxxx>
  • To: procps@xxxxxxxxxxxxx
  • Date: Mon, 26 Sep 2011 15:54:01 -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.

Shoot, that last patch had my bad 'jcwlibtoolize' name for testing.

Sorry.

Jim

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=$(libtoolize --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: