Skip to content

Commit

Permalink
Reduce autogen noise on systems where uname is not in /usr/bin
Browse files Browse the repository at this point in the history
  • Loading branch information
laalto committed Nov 29, 2009
1 parent 933cd38 commit 012b4b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions autogen.sh
Expand Up @@ -172,8 +172,10 @@ update_prog_version() {
PATH=".:$PATH"

nameglob="$prog*"
if [ -x /usr/bin/uname -a `/usr/bin/uname` = 'Darwin' -a $prog = 'libtoolize' ] ; then
nameglob="g$nameglob"
if [ -x /usr/bin/uname ]; then
if [ `/usr/bin/uname`x = 'Darwinx' -a $prog = 'libtoolize' ] ; then
nameglob="g$nameglob"
fi
fi
names=`ls $nameglob 2>/dev/null`
if [ "X$names" != "X" ]; then
Expand Down

0 comments on commit 012b4b3

Please sign in to comment.