configure: s/#if/#ifdef/ so it still works if HAVE_XXX is not defined.