how to write a configure file inorder to check whether qt and kernel source code was installed in the linux system???