add var checks from configure.ac
add var checks from configure.ac


Former-commit-id: a9740c83bc87260c600e8fb45d81d689c1aeae42
syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin