Replace the do_configure hack with aid to configure detection logic via commandline Signed-off-by: Khem Raj <raj.khem@gmail.com>