aboutsummaryrefslogtreecommitdiffhomepage
path: root/autogen.sh
diff options
context:
space:
mode:
authorGravatar Feng Xiao <xfxyjwf@gmail.com>2014-12-11 15:17:04 -0800
committerGravatar Feng Xiao <xfxyjwf@gmail.com>2014-12-11 15:17:04 -0800
commit5fd12b84dad423b0482f663a844b44ab1f6fc5f6 (patch)
tree8c9f20a6eaba3ec9a2af1c39bd6f0b88f4fcbdd3 /autogen.sh
parentcb0ba5f04c2b91b1239212dd40b52463e50cd804 (diff)
Update gtest version to v1.7.0.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index 8e455e98..c18474bf 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -18,9 +18,11 @@ fi
# Check that gtest is present. Usually it is already there since the
# directory is set up as an SVN external.
if test ! -e gtest; then
- echo "Google Test not present. Fetching gtest-1.5.0 from the web..."
- curl http://googletest.googlecode.com/files/gtest-1.5.0.tar.bz2 | tar jx
- mv gtest-1.5.0 gtest
+ echo "Google Test not present. Fetching gtest-1.7.0 from the web..."
+ curl -O https://googletest.googlecode.com/files/gtest-1.7.0.zip
+ unzip -q gtest-1.7.0.zip
+ rm gtest-1.7.0.zip
+ mv gtest-1.7.0 gtest
fi
set -ex