Skip to content

Commit

Permalink
configure: check for sqlite3_expanded_sql (SQLite3 version 3.14, 2016…
Browse files Browse the repository at this point in the history
…-08-08)

Our Travis, for example, doesn't have 3.14.

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Apr 8, 2019
1 parent 102a67c commit 4b91439
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,20 @@ int main(void)
return 0;
}
/*END*/
var=HAVE_SQLITE3_EXPANDED_SQL
desc=sqlite3_expanded_sql
style=DEFINES_EVERYTHING|EXECUTE|MAY_NOT_COMPILE
link=-lsqlite3
code=
#include <sqlite3.h>
#include <stdio.h>
int main(void)
{
printf("%p\n", sqlite3_expanded_sql);
return 0;
}
/*END*/
EOF
mv $CONFIG_VAR_FILE.$$ $CONFIG_VAR_FILE

Expand Down

0 comments on commit 4b91439

Please sign in to comment.