configure: Add debug logging

Signed-off-by: Euan Harris <euan.harris@citrix.com>