[Buildroot] [PATCH] sqlite: Add new compile-time options

Stefan Froberg stefan.froberg at petroprogram.com
Sun Aug 12 19:16:59 UTC 2012


This patch will add the following optional compile-time options to SQLite:

SQLITE_ENABLE_FTS3
SQLITE_ENABLE_UNLOCK_NOTIFY
SQLITE_SECURE_DELETE

To check what compile-time options currently are in your 
version of SQLite compile the following little test program with:

gcc -o sqlite_check sqlite_check.c -lsqlite3

#include <stdio.h>
#include <sqlite3.h>

int main(void)
{
	int n = 0;
	const char* s = NULL;
	
	printf("Your SQLite has the following compile-time options:\n");
	do {
		s = sqlite3_compileoption_get(n++);
		if(s != NULL)
			printf("%s\n",s);
	} while(s != NULL);

	return(0);
}





More information about the buildroot mailing list