summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2009-11-25 04:38:22 +0000
committerDave Beckett <dave@dajobe.org>2009-11-25 04:38:22 +0000
commitf34cb9993f271e16e4cf0913474fe3bc0f6b94fe (patch)
treee6fbcb3347d9451eae3ba3c3f43757821df133e2 /autogen.sh
parent311998323509f33445d4c0dc46cfa36728a0fd93 (diff)
downloadraptor-f34cb9993f271e16e4cf0913474fe3bc0f6b94fe.tar.gz
Merge from raptor branch raptor1
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index f05eb372..0859d596 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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` = 'Darwin' -a $prog = 'libtoolize' ] ; then
+ nameglob="g$nameglob"
+ fi
fi
names=`ls $nameglob 2>/dev/null`
if [ "X$names" != "X" ]; then