Otherwise configure fails if gmp is installed in a non default location. llvm-svn: 141067
This version is equivalent to commit ba26ebece8f5be84e9bd6315611d412af797147e in the old git repository. llvm-svn: 130476