build: complain if the submodule was not used correctly

This commit is contained in:
Marcel Hollerbach 2017-01-08 11:59:17 +01:00
parent fadf110457
commit fe0f1138f6
1 changed files with 5 additions and 0 deletions

View File

@ -59,6 +59,11 @@ AC_CHECK_FUNCS([setlocale])
AM_GNU_GETTEXT_VERSION([0.17])
AM_GNU_GETTEXT([external])
AC_CHECK_FILE("${srcdir}/src/lib/jsmn/jsmn.c",[],[
echo "You have to do 'git submodule update --init --recursive' to have the complete sourcecode."
exit;
])
AC_CONFIG_FILES([
Makefile
data/Makefile