Switch to GNU99 for clang/gcc

MSVC supports parts of the C99 standard so we don't have to be
that strict anymore:

* C99 _Bool
* C99 compound literals
* C99 designated initializers
* C99 variable declarations

Change-Id: I597e1bb7e359dfb4bcdd32b293d7b76ee4a89355
Reviewed-on: http://review.couchbase.org/40901
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Enable partial C++11 support in ancient g++

Change-Id: Ie80586f037350d416ead25c190225a47c564b37e
Reviewed-on: http://review.couchbase.org/40903
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Print out the C++ language version being used

Change-Id: I1f2fa6c8e8927ad712e160d667fd8ed148b4b9f3
Reviewed-on: http://review.couchbase.org/40907
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Adding all current depot entries to cbdeps

Change-Id: I1cedda4d334413689d69d334c9f23886ea9a266c
Reviewed-on: http://review.couchbase.org/40963
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Chris Hillery <ceej@couchbase.com>
Support multi-architecture builds on same machine.

Change-Id: Idf669265f020b19d700767e2e111f5e951b9697e
Reviewed-on: http://review.couchbase.org/41630
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Chris Hillery <ceej@couchbase.com>
MB-11060: Fixes to dep download mechanism

Change-Id: I7e0bc2761c39320feb6ae88e0eee792362e8839f
Reviewed-on: http://review.couchbase.org/41754
Reviewed-by: Philip Labee <philip@couchbase.com>
Tested-by: Philip Labee <philip@couchbase.com>
MB-12112: Improve ERL_BUILD_OTP macro

Erlang apps that follow the OTP convention can easily be build with
more hard-coded paths, less flexibility is needed. With improvements
to the ERL_BUILD_OTP macro, less code within individual CMakeLists.txt
files of OTP apps is needed.

Change-Id: I9b03b82194dc787715730d3adb2bc599af162d0a
Reviewed-on: http://review.couchbase.org/41146
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Output geocouch into the common build directory

Change-Id: Ic1cc924386e4bf807dce8b83b33f9fb0ac7ae28b
Reviewed-on: http://review.couchbase.org/41774
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
CMake script to check if PLT file is up-to-date

With the ErlangCheckPlt it is possible to check whether a dialyzer
generated PLT file is up-to-date or not. If it is not, it is deleted.

Change-Id: I1194c8db44a662821e8f55d435ee2e34d4c61707
Reviewed-on: http://review.couchbase.org/41813
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Volker Mische <volker.mische@gmail.com>
CBD-1425:  get dependencies from non-expiring S3 bucket:

    "http://packages.couchbase.com/couchbase-server/deps"

instead of:

    "http://packages.northscale.com/deps"

Change-Id: Ic837e75e01998eb8af15939ee737f016bb4f0e0d
Reviewed-on: http://review.couchbase.org/41923
Reviewed-by: Philip Labee <philip@couchbase.com>
Tested-by: Philip Labee <philip@couchbase.com>
CBD-1438: Build in forestdb if it exists

Change-Id: Ife1bee0066d90d44b318d52c87694550dd322687
All new stuff for running go install

Change-Id: Ia869f47cd48adc6bb87a57537d15b295b1ca2c1d
Add goproj dirs

Change-Id: Ic004276777ffbe5f51e63601aba321a07d6ec8a0
whitespace

Change-Id: Id124fcb9d36539bc35f093ad81aa60074a6527cd