build for cordova an android is now optional, only if tools are available

This commit is contained in:
Marc Wäckerlin
2015-09-20 13:13:27 +00:00
parent a0a9d8cca3
commit 2d48d657b6
3 changed files with 7 additions and 2 deletions

View File

@@ -29,9 +29,12 @@ AX_BUILD_HTML
#AX_CHECK_QT([QT], [QtCore QtGui QtNetwork], [QtWidgets])
#AX_QT_NO_KEYWORDS
AC_CHECK_PROG(CORDOVA, [cordova android], [yes], [no],
[${PATH}${PATH_SEPARATOR}${ANDROID_HOME}/tools])
AM_CONDITIONAL(CORDOVA, [test ${CORDOVA} = "yes"])
AC_CONFIG_FILES([html/index.html])
AC_CONFIG_FILES([cordova/config.xml])
AC_CONFIG_FILES([cordova/makefile])
AC_CONFIG_FILES([cordova/config.xml])
# create output
AC_OUTPUT