X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=configure.ac;h=10bf9abfecb6177c472f91fc8505e443e373dc82;hp=da9d99916234e60a22a5a4c3cd5636d62c3085a5;hb=20877ae9de8bb5d3a29e2a96024e53afbd396f55;hpb=9513be7f9d3d0b0ec29f6487fa9dc8f1ac24d0de diff --git a/configure.ac b/configure.ac index da9d9991..10bf9abf 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,7 @@ dnl dnl Process this file with autoconf to create configure. AC_PREREQ(2.57) -AC_INIT([altos], 1.0) +AC_INIT([altos], 1.0.9.6) AC_CONFIG_SRCDIR([src/core/ao.h]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE @@ -70,6 +70,33 @@ fi 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)]), + [ANDROID_SDK=$withval], [ANDROID_SDK=auto]) + +echo ANDROID_SDK set to $ANDROID_SDK + +if test "x$ANDROID_SDK" = "xauto"; then + AC_MSG_CHECKING([Android SDK files]) + for sdk in ../android/android-sdk-linux ../android/android-sdk ../android-sdk ../android-sdk-linux $HOME/android; do + if test "x$ANDROID_SDK" = "xauto"; then + SDK="$sdk" + if test -f "$SDK/SDK Readme.txt"; then + ANDROID_SDK=`readlink -m "$SDK"` + fi + fi + done + if test "x$ANDROID_SDK" = "xauto"; then + AC_MSG_NOTICE([no Android SDK found]) + ANDROID_SDK=no + fi + AC_MSG_RESULT([$ANDROID_SDK]) +fi + +AM_CONDITIONAL([ANDROID], [test x$ANDROID_SDK != xno]) + +AC_SUBST(ANDROID_SDK) + AC_ARG_WITH(fat-dir, AS_HELP_STRING([--with-fat-dir=PATH], [Set the directory to install the 'fat' distribution files to (defaults to not installing)]), [FATDIR=$withval], [FATDIR=none]) @@ -111,9 +138,13 @@ PKG_CHECK_MODULES([LIBUSB], [libusb-1.0]) AC_OUTPUT([ Makefile +altoslib/Makefile altosui/Makefile altosui/AltosVersion.java +altosui/Info.plist altosui/libaltos/Makefile +altosdroid/Makefile +altosdroid/local.properties ao-tools/Makefile ao-tools/lib/Makefile ao-tools/ao-rawload/Makefile @@ -122,6 +153,8 @@ ao-tools/ao-bitbang/Makefile ao-tools/ao-eeprom/Makefile ao-tools/ao-list/Makefile ao-tools/ao-load/Makefile +ao-tools/ao-telem/Makefile +ao-tools/ao-stmload/Makefile ao-utils/Makefile src/Version ])