projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Build micropeak when avr-gcc is available
[fw/altos]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 170e0dfc01bcd584b4584049e913adde80265374..bee9480d798c35e21c6aa7f3f217d2d60bad324b 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-18,7
+18,7
@@
dnl
dnl Process this file with autoconf to create configure.
AC_PREREQ(2.57)
dnl Process this file with autoconf to create configure.
AC_PREREQ(2.57)
-AC_INIT([altos], 1.
0.9.5
)
+AC_INIT([altos], 1.
1.9.2
)
AC_CONFIG_SRCDIR([src/core/ao.h])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
AC_CONFIG_SRCDIR([src/core/ao.h])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
@@
-72,7
+72,7
@@
AC_SUBST(JVM_INCLUDE)
AC_ARG_WITH(android, AS_HELP_STRING([--with-android=PATH],
[Set android SDK path (default searches in a variety of places)]),
AC_ARG_WITH(android, AS_HELP_STRING([--with-android=PATH],
[Set android SDK path (default searches in a variety of places)]),
- [ANDROID_SDK=$withval], [ANDROID_SDK=
auto
])
+ [ANDROID_SDK=$withval], [ANDROID_SDK=
${ANDROID_SDK:-auto}
])
echo ANDROID_SDK set to $ANDROID_SDK
echo ANDROID_SDK set to $ANDROID_SDK
@@
-136,11
+136,19
@@
AC_CHECK_LIB(readline, readline)
PKG_CHECK_MODULES([LIBUSB], [libusb-1.0])
PKG_CHECK_MODULES([LIBUSB], [libusb-1.0])
+AC_CHECK_HEADERS(libelf.h libelf/libelf.h, [break])
+AC_CHECK_HEADERS(gelf.h libelf/gelf.h, [break])
+
+PKG_CHECK_MODULES([LIBSTLINK], [stlink], [HAVE_STLINK=yes], [HAVE_STLINK=no])
+
+AM_CONDITIONAL([LIBSTLINK], [test x$HAVE_STLINK != xno])
+
AC_OUTPUT([
Makefile
altoslib/Makefile
altosui/Makefile
altosui/AltosVersion.java
AC_OUTPUT([
Makefile
altoslib/Makefile
altosui/Makefile
altosui/AltosVersion.java
+altosui/Info.plist
altosui/libaltos/Makefile
altosdroid/Makefile
altosdroid/local.properties
altosui/libaltos/Makefile
altosdroid/Makefile
altosdroid/local.properties
@@
-153,6
+161,8
@@
ao-tools/ao-eeprom/Makefile
ao-tools/ao-list/Makefile
ao-tools/ao-load/Makefile
ao-tools/ao-telem/Makefile
ao-tools/ao-list/Makefile
ao-tools/ao-load/Makefile
ao-tools/ao-telem/Makefile
+ao-tools/ao-stmload/Makefile
+ao-tools/ao-send-telem/Makefile
ao-utils/Makefile
src/Version
])
ao-utils/Makefile
src/Version
])