Edit configure to fix error is if/fi fi without if in case