Commit 81f36a87 by Konstantin Käfer

add compatibility for some versions of gcc and add sqlite3.h to configure script

parent ec4de9c6
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
#include "database.h" #include "database.h"
#include <typeinfo> #include <cstdlib>
#include <cstring>
#include <string> #include <string>
#include <queue> #include <queue>
#include <vector> #include <vector>
......
...@@ -13,6 +13,8 @@ def set_options(opt): ...@@ -13,6 +13,8 @@ def set_options(opt):
def configure(conf): def configure(conf):
conf.check_tool("compiler_cxx") conf.check_tool("compiler_cxx")
conf.check_tool("node_addon") conf.check_tool("node_addon")
if not conf.check_cxx(header_name='sqlite3.h'):
conf.fatal("Missing sqlite3.h header file.")
def build(bld): def build(bld):
obj = bld.new_task_gen("cxx", "shlib", "node_addon") obj = bld.new_task_gen("cxx", "shlib", "node_addon")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment