Configure: New option --upgrade added

I have submitted the patch. Could you review it and let me know if it is right ? 

Note : There is seriously some problem with the indentation. I'm trying to figure out what it is. (It is fine in my text editor - vim). If the patch is right, I will submit another one with the correct indentation. I'm going crazy correcting the indentation :-/