Installing for sqlite

I am trying to install sqlite in asterisk. But i am not able to find the sqlite depend module for res_config_sqlite.c.I am already having sqlite3,but it is not taking. How to compile the res/res_config_sqlite in asterisk- ?

Are you aware that is a very old minor version of a version on which all support has now ceased?

The normal reason for failing to build with a database is that you have the database runtime package, but not the database development package.