# # # patch "sqlite/configure.ac" # from [822cf1da9977577bf117262db3295beb6405ef5c] # to [019914db328b613f664306daa1bda7d2f110e251] # ============================================================ --- sqlite/configure.ac 822cf1da9977577bf117262db3295beb6405ef5c +++ sqlite/configure.ac 019914db328b613f664306daa1bda7d2f110e251 @@ -14,7 +14,7 @@ AC_PREREQ(2.58) # version, we will be able to use the upstream configure script instead. AC_PREREQ(2.58) -AC_INIT(sqlite, XX, address@hidden) +AC_INIT([sqlite (monotone)], 3.4.2, address@hidden) AC_CONFIG_AUX_DIR([..]) AC_CONFIG_MACRO_DIR([../m4]) @@ -51,4 +51,12 @@ AC_SEARCH_LIBS([usleep], [rt], [AC_DEFINE(HAVE_USLEEP, 1, [Define if fdatasync() is available in either libc or librt.])]) +# Monotone-specific configuration defines. +AC_DEFINE(TEMP_STORE, 1, [Enable temporary storage]) +AC_DEFINE(NDEBUG, 1, [Disable debugging]) +AC_DEFINE(SQLITE_OMIT_CURSOR, 1, [Disable cursors]) +AC_DEFINE(SQLITE_OMIT_LOAD_EXTENSION, 1, [Disable dynamic extensions]) +AC_DEFINE(THREADSAFE, 0, [Disable thread safety]) +AC_DEFINE(SQLITE_THREAD_OVERRIDE_LOCK, -1, [Disable more thread safety]) + AC_OUTPUT