From 3b1199fbdcddd878265f34dfe673fd52f1711bc0 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sat, 21 Jan 2017 13:00:20 -0500 Subject: [PATCH] Error out of configure script if submodules have not been checked out --- configure | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure b/configure index a9d33b7..bafe681 100755 --- a/configure +++ b/configure @@ -1,2 +1,8 @@ #!/bin/sh +if [ ! -e libs/glcxx/src ]; then + echo Warning: It appears that you have not checked out the submodules. + echo Please run \'git submodule update --init\' first. + exit 1 +fi + exec ./waf configure "$@"