Merge remote-tracking branch 'origin/topic/johanna/warn-if-no-cmake-files'

* origin/topic/johanna/warn-if-no-cmake-files:
  Make configure complain if submodules are not checked out.
This commit is contained in:
Jon Siwek 2019-06-20 19:57:20 -07:00
commit 6ccf1f928b
3 changed files with 19 additions and 1 deletions

View file

@ -1,4 +1,10 @@
2.6-482 | 2019-06-20 19:57:20 -0700
* Make configure complain if submodules are not checked out. (Johanna Amann, Corelight)
* Improve C++ header includes to improve build time (Jon Siwek, Corelight)
2.6-479 | 2019-06-20 18:31:58 -0700 2.6-479 | 2019-06-20 18:31:58 -0700
* Fix TableVal::DoClone to use CloneState cache (Jon Siwek, Corelight) * Fix TableVal::DoClone to use CloneState cache (Jon Siwek, Corelight)

View file

@ -1 +1 @@
2.6-479 2.6-482

12
configure vendored
View file

@ -106,6 +106,18 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
sourcedir="$( cd "$( dirname "$0" )" && pwd )" sourcedir="$( cd "$( dirname "$0" )" && pwd )"
if [ ! -e "$sourcedir/cmake/COPYING" ] && [ -d "$sourcedir/.git" ]; then
echo "\
You seem to be missing the content of the cmake directory.
This typically means that you performed a non-recursive git clone of
Zeek. To check out the required subdirectories, please execute:
( cd $sourcedir && git submodule update --recursive --init )
" >&2;
exit 1;
fi
# Function to append a CMake cache entry definition to the # Function to append a CMake cache entry definition to the
# CMakeCacheEntries variable. # CMakeCacheEntries variable.
# $1 is the cache entry variable name # $1 is the cache entry variable name