diff options
author | Dave Beckett <dave@dajobe.org> | 2009-11-25 04:38:22 +0000 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2009-11-25 04:38:22 +0000 |
commit | f34cb9993f271e16e4cf0913474fe3bc0f6b94fe (patch) | |
tree | e6fbcb3347d9451eae3ba3c3f43757821df133e2 /autogen.sh | |
parent | 311998323509f33445d4c0dc46cfa36728a0fd93 (diff) | |
download | raptor-f34cb9993f271e16e4cf0913474fe3bc0f6b94fe.tar.gz |
Merge from raptor branch raptor1
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |