~ubuntu-branches/ubuntu/trusty/protobuf/trusty-proposed

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2009-11-18 21:47:41 UTC
  • mfrom: (1.1.4 upstream)
  • mto: (2.3.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20091118214741-g7a4ij0qz0aydfyx
Tags: upstream-2.2.0a
ImportĀ upstreamĀ versionĀ 2.2.0a

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
  exit 1
14
14
fi
15
15
 
16
 
if test ! -d gtest; then
17
 
  echo "gtest bundle not present.  Downloading gtest-1.3.0 automatically." >&2
18
 
  set -ex
19
 
  curl http://googletest.googlecode.com/files/gtest-1.3.0.tar.bz2 | tar jx
20
 
  mv gtest-1.3.0 gtest
 
16
set -ex
21
17
 
22
 
  # Temporary hack:  Must change C runtime library to "multi-threaded DLL",
23
 
  #   otherwise it will be set to "multi-threaded static" when MSVC upgrades
24
 
  #   the project file to MSVC 2005/2008.  vladl of Google Test says gtest will
25
 
  #   probably change their default to match, then this will be unnecessary.
26
 
  #   One of these mappings converts the debug configuration and the other
27
 
  #   converts the release configuration.  I don't know which is which.
28
 
  sed -i -e 's/RuntimeLibrary="5"/RuntimeLibrary="3"/g;
29
 
             s/RuntimeLibrary="4"/RuntimeLibrary="2"/g;' gtest/msvc/*.vcproj
30
 
else
31
 
  set -ex
32
 
fi
 
18
# Temporary hack:  Must change C runtime library to "multi-threaded DLL",
 
19
#   otherwise it will be set to "multi-threaded static" when MSVC upgrades
 
20
#   the project file to MSVC 2005/2008.  vladl of Google Test says gtest will
 
21
#   probably change their default to match, then this will be unnecessary.
 
22
#   One of these mappings converts the debug configuration and the other
 
23
#   converts the release configuration.  I don't know which is which.
 
24
sed -i -e 's/RuntimeLibrary="5"/RuntimeLibrary="3"/g;
 
25
           s/RuntimeLibrary="4"/RuntimeLibrary="2"/g;' gtest/msvc/*.vcproj
33
26
 
34
27
# TODO(kenton):  Remove the ",no-obsolete" part and fix the resulting warnings.
35
28
autoreconf -f -i -Wall,no-obsolete