Use SVN externals for gtest.

pull/3335/head
kenton@google.com 16 years ago
parent c137750365
commit 6cbe32fa13
  1. 7
      autogen.sh

@ -13,11 +13,7 @@ __EOF__
exit 1 exit 1
fi fi
if test ! -d gtest; then
echo "gtest bundle not present. Downloading gtest-1.3.0 automatically." >&2
set -ex set -ex
curl http://googletest.googlecode.com/files/gtest-1.3.0.tar.bz2 | tar jx
mv gtest-1.3.0 gtest
# Temporary hack: Must change C runtime library to "multi-threaded DLL", # Temporary hack: Must change C runtime library to "multi-threaded DLL",
# otherwise it will be set to "multi-threaded static" when MSVC upgrades # otherwise it will be set to "multi-threaded static" when MSVC upgrades
@ -27,9 +23,6 @@ if test ! -d gtest; then
# converts the release configuration. I don't know which is which. # converts the release configuration. I don't know which is which.
sed -i -e 's/RuntimeLibrary="5"/RuntimeLibrary="3"/g; sed -i -e 's/RuntimeLibrary="5"/RuntimeLibrary="3"/g;
s/RuntimeLibrary="4"/RuntimeLibrary="2"/g;' gtest/msvc/*.vcproj s/RuntimeLibrary="4"/RuntimeLibrary="2"/g;' gtest/msvc/*.vcproj
else
set -ex
fi
# TODO(kenton): Remove the ",no-obsolete" part and fix the resulting warnings. # TODO(kenton): Remove the ",no-obsolete" part and fix the resulting warnings.
autoreconf -f -i -Wall,no-obsolete autoreconf -f -i -Wall,no-obsolete

Loading…
Cancel
Save