X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=configure.ac;h=38bab8e12126dfc5bd38ad5e13b4f7eb173270b2;hp=b28b549bde45b5df90eaa94cba6cbd2caa55744b;hb=80e20b241359452028298567c76b2f644da5ad23;hpb=ac2cfb03158b4902466a72edad5dc471ee6bdb91 diff --git a/configure.ac b/configure.ac index b28b549b..38bab8e1 100644 --- a/configure.ac +++ b/configure.ac @@ -18,8 +18,8 @@ dnl dnl Process this file with autoconf to create configure. AC_PREREQ(2.57) -AC_INIT([altos], 1.3.2.1) -AC_CONFIG_SRCDIR([src/core/ao.h]) +AC_INIT([altos], 1.4.9.2) +AC_CONFIG_SRCDIR([src/kernel/ao.h]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE @@ -29,8 +29,8 @@ AC_SUBST(VERSION_DASH) dnl ========================================================================== dnl Java library versions -ALTOSUILIB_VERSION=1 -ALTOSLIB_VERSION=3 +ALTOSUILIB_VERSION=3 +ALTOSLIB_VERSION=5 AC_SUBST(ALTOSLIB_VERSION) AC_DEFINE(ALTOSLIB_VERSION,$ALTOSLIB_VERSION,[Version of the AltosLib package]) @@ -162,6 +162,20 @@ AM_CONDITIONAL(FATINSTALL, [test "x$FATDIR" != "xnone"]) AC_SUBST(FATDIR) +AC_ARG_WITH(google-key, AS_HELP_STRING([--with-google-key=PATH], + [Set the file to read the google maps API key from (defaults to ~/altusmetrumllc/google-maps-api-key)]), + [GOOGLEKEYFILE=$withval], [GOOGLEKEYFILE=$HOME/altusmetrumllc/google-maps-api-key]) + +if test -r "$GOOGLEKEYFILE" -a -s "$GOOGLEKEYFILE"; then + GOOGLEKEY='"'`cat "$GOOGLEKEYFILE"`'"' + HAVE_GOOGLE_KEY="yes" +else + GOOGLEKEY='null' + HAVE_GOOGLE_KEY="no" +fi + +AC_SUBST(GOOGLEKEY) + AC_PROG_CC AC_PROG_INSTALL AC_PROG_LN_S @@ -445,7 +459,7 @@ xauto) xx86_64|xi*86) save_CFLAGS="$CFLAGS" save_LIBS="$LIBS" - LIBS="-lbluetooth" + LIBS="-ldl" CFLAGS="-m64" AC_MSG_CHECKING([if ]$CC[ ]$CFLAGS[ can link programs]) AC_LINK_IFELSE([AC_LANG_PROGRAM([])], @@ -497,6 +511,9 @@ libaltos/Makefile micropeak/Makefile micropeak/Info.plist micropeak/micropeak-windows.nsi +telegps/Makefile +telegps/Info.plist +telegps/telegps-windows.nsi altosdroid/Makefile altosdroid/local.properties ao-tools/Makefile @@ -517,6 +534,9 @@ ao-tools/ao-dump-up/Makefile ao-tools/ao-elftohex/Makefile ao-tools/ao-usbload/Makefile ao-tools/ao-flash/Makefile +ao-tools/ao-test-igniter/Makefile +ao-tools/ao-test-baro/Makefile +ao-tools/ao-test-flash/Makefile ao-utils/Makefile src/Version ]) @@ -537,11 +557,12 @@ echo " STlink support..............: ${HAVE_STLINK}" echo " Local pdclib................: ${HAVE_PDCLIB}" echo " i386 and amd64 libaltos.....: ${MULTI_ARCH}" echo "" -echo " Java paths" +echo " Java" echo " freetts.....................: ${FREETTS}" echo " jfreechart..................: ${JFREECHART}" echo " jcommon.....................: ${JCOMMON}" echo " JVM include.................: ${JVM_INCLUDE}" +echo " Google maps API key.........: ${HAVE_GOOGLE_KEY}" if test x${ANDROID_SDK} != "xno"; then echo "" echo " Android path"