Avoiding double configure call