# force autoconf 2.5 on Debian systems
AC_PREREQ(2.50)
-AC_INIT(tinyos-tools, 1.2.1)
+AC_INIT(tinyos-tools, 1.2.4)
AC_CONFIG_AUX_DIR(config-aux)
AM_INIT_AUTOMAKE
AC_CANONICAL_HOST
INSTALLJNI="install --group=SYSTEM"
CYGWIN=yes
;;
+ *-apple-darwin*)
+ JNIPREFIX=lib
+ JNISUFFIX=jnilib
+ JNIVERSIONS=.
+ INSTALLJNI="install"
+ AC_MSG_RESULT(no)
+ DARWIN=yes
+ ;;
*)
JNIPREFIX=lib
JNISUFFIX=so
esac
AM_CONDITIONAL([CYGWIN], [test "$CYGWIN"])
+AM_CONDITIONAL([DARWIN], [test "$DARWIN"])
AC_MSG_CHECKING(for JDK location)
JAVAC_DIR=`/bin/sh tinyos/misc/tos-locate-jre --javac`
function jnimap {
for v in $JNIVERSIONS; do
- echo -n "${JNIPREFIX}$1$v$JNISUFFIX "
+ /bin/echo -n "${JNIPREFIX}$1$v$JNISUFFIX "
done
}
tinyos/misc/tos-ident-flags
tinyos/misc/tos-install-jni
tinyos/misc/tos-set-symbols
+ tinyos/misc/tos-write-buildinfo
tinyos/misc/tos-write-image
tinyos/misc/tos-storage-at45db
tinyos/misc/tos-storage-stm25p
+ tinyos/misc/tos-storage-pxa27xp30
tinyos/misc/Makefile
tinyos/ncc/Makefile
tinyos/ncc/mig
tinyos/ncc/ncg
tinyos/ncc/nesdoc
tinyos/ncc/nesdoc-py/Makefile
+ tinyos/tosthreads/Makefile
+ tinyos/safe/Makefile
)