```
PKG_CHECK_MODULES(SQLITE REQUIRED sqlite3>=3.7)
PKG_CHECK_MODULES(JSON   REQUIRED json-glib-1.0>=0.14)
```

I usually take the minimal library versions from ubuntu 12.04.
If you need sqlite <= 3.7, just let it as it is right now.