AC_INIT(navit, 0.2.0)
+AC_CONFIG_MACRO_DIR([m4])
SOURCE_MODE=svn
AM_INIT_AUTOMAKE
# XSLTS
AC_ARG_WITH(xslts, [ --with-xslts enable processing of navit.xml with given xslt scripts], XSLTS=$withval, XSLTS="")
AC_SUBST(XSLTS)
+AC_ARG_WITH(saxon, [ --with-saxon specify the saxon xslt processor], SAXON=$withval, SAXON="saxon")
+AC_SUBST(SAXON)
+
+# Android Permissions
+AC_ARG_WITH(android-permissions, [ --with-android-permissions Set additional android permissions], ANDROID_PERMISSIONS=$withval, ANDROID_PERMISSIONS="")
+AC_SUBST(ANDROID_PERMISSIONS)
# NLS
AM_CONDITIONAL(SUPPORT_LIBC, [test "x$support_libc" = "xyes"])
if test "x$support_libc" = "xyes"; then
CFLAGS="$CFLAGS -I\$(top_srcdir)/navit/support/libc"
+ LIBC_LIBS="-L\$(top_builddir)/navit/support/libc -lsupport_libc"
fi
## graphics
AC_SUBST(NAVIT_CFLAGS)
AC_SUBST(NAVIT_LIBS)
AC_SUBST(WORDEXP_LIBS)
+AC_SUBST(LIBC_LIBS)
AC_SUBST(WINDRES)
AC_CONFIG_FILES([
navit/map/mg/Makefile
navit/map/textfile/Makefile
navit/map/shapefile/Makefile
+navit/map/filter/Makefile
navit/map/binfile/Makefile
navit/map/garmin/Makefile
navit/map/poi_geodownload/Makefile
navit/map/poi_geodownload/libmdb/Makefile
navit/map/poi_geodownload/libmdb/include/Makefile
+navit/maptool/Makefile
navit/fib-1.1/Makefile
navit/font/Makefile
navit/font/freetype/Makefile