summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-09-13 15:23:40 -0700
committerKeith Packard <keithp@keithp.com>2014-09-13 15:23:40 -0700
commit93d1cedc94358ebf5c2af537a25a242f6c19954c (patch)
tree2f50bae9858cc16610821ea7cdccec2c3d0f7dba /configure.ac
parent2731486c12678a7d3bd7ec79e74a2fcaf20845bd (diff)
altosdroid: Automatically sign the released version if the key is available
Look in ~/altusmetrumllc for release.keystore and Passphrase and enable building and signing of the release binary. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b945832f..a38ef092 100644
--- a/configure.ac
+++ b/configure.ac
@@ -144,13 +144,18 @@ if test "x$ANDROID_SDK" != "xno"; then
fi
fi
+ANDROID_RELEASE=no
if test "x$ANDROID_SDK" != "xno"; then
HAVE_ANDROID_SDK="yes"
+ if test -f "$HOME/altusmetrumllc/release.keystore" -a -f "$HOME/altusmetrumllc/Passphrase"; then
+ ANDROID_RELEASE=yes
+ fi
else
HAVE_ANDROID_SDK="no"
fi
AM_CONDITIONAL([ANDROID], [test x$ANDROID_SDK != xno])
+AM_CONDITIONAL([ANDROID_RELEASE], [test x$ANDROID_RELEASE = xyes])
AC_SUBST(ANDROID_SDK)
@@ -563,6 +568,7 @@ echo " CC1111 support..............: ${HAVE_SDCC}"
echo " AVR compiler................: ${AVR_CC} ${AVR_OBJCOPY}"
echo " AVR support.................: ${HAVE_AVR_CC}"
echo " Android support.............: ${HAVE_ANDROID_SDK}"
+echo " Android release support.....: ${ANDROID_RELEASE}"
echo " STlink support..............: ${HAVE_STLINK}"
echo " Local pdclib................: ${HAVE_PDCLIB}"
echo " i386 and amd64 libaltos.....: ${MULTI_ARCH}"