configure to fail or not when a ref is mising