Add configure script based on tp-idle

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>