Error out of configure script if submodules have not been checked out

This commit is contained in:
Josh Holtrop 2017-01-21 13:00:20 -05:00
parent bb8dc6a6a4
commit 3b1199fbdc

6
configure vendored
View File

@ -1,2 +1,8 @@
#!/bin/sh #!/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 "$@" exec ./waf configure "$@"