--- ./configure.in.orig	2016-03-16 09:09:36.356463967 -0700
+++ ./configure.in	2016-03-16 09:11:14.719465914 -0700
@@ -6719,7 +6719,7 @@
             #include "sqlite3.h"
 
             int main(int argc, char **argv){
-              return !sqlite3_compileoption_used("SQLITE_SECURE_DELETE");
+              return !sqlite3_compileoption_used("SQLITE_SECURE_DELETE=1");
             }],
             ac_cv_sqlite_secure_delete=yes,
             ac_cv_sqlite_secure_delete=no,
