summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-09-04 21:28:04 +0000
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-09-04 21:28:04 +0000
commit4a28aae57141508ca199b4436224b3c46dff5a8a (patch)
tree20c7f4f7acbb7a12dce0b1b155d8e08ed85320eb /configure.in
parent20d69525fc43d8f2b37683dd7f945ca5bf366257 (diff)
downloadnavit-4a28aae57141508ca199b4436224b3c46dff5a8a.tar.gz
Fix:core:Set default for CACHE_SIZE during autotools build, like with CMake.|See #1158.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5630 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 2361c4139..9943e7deb 100644
--- a/configure.in
+++ b/configure.in
@@ -208,7 +208,7 @@ AC_C_BIGENDIAN
AC_ARG_ENABLE(variant, [ --enable-variant=something set variant], NAVIT_VARIANT=$enableval)
AC_SUBST(NAVIT_VARIANT)
-AC_ARG_ENABLE(cache-size, [ --enable-cache-size=size in bytes set cache size], AC_DEFINE_UNQUOTED(CACHE_SIZE,[${enableval}], [Size of Cache in Bytes]))
+AC_ARG_ENABLE(cache-size, [ --enable-cache-size=size in bytes set cache size], AC_DEFINE_UNQUOTED(CACHE_SIZE,[${enableval}], [Size of Cache in Bytes]),AC_DEFINE(CACHE_SIZE,[1048576], [Size of Cache in Bytes]))
AC_ARG_ENABLE(avoid-unaligned, [ --enable-avoid-unaligned avoid unaligned accesses], AVOID_UNALIGNED=$enableval, AVOID_UNALIGNED=no)
test x"${AVOID_UNALIGNED}" = xyes && AC_DEFINE(AVOID_UNALIGNED,[],Define to avoid unaligned access)