build: complain if the submodule was not used correctly
This commit is contained in:
parent
fadf110457
commit
fe0f1138f6
|
@ -59,6 +59,11 @@ AC_CHECK_FUNCS([setlocale])
|
||||||
AM_GNU_GETTEXT_VERSION([0.17])
|
AM_GNU_GETTEXT_VERSION([0.17])
|
||||||
AM_GNU_GETTEXT([external])
|
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([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
data/Makefile
|
data/Makefile
|
||||||
|
|
Loading…
Reference in New Issue