Online retailer Amazon.com and IBM have settled all their patent infringement lawsuits and signed a long-term patent cross-license agreement, the companies said. Under the deal, Amazon.com will pay IBM an undisclosed amount of money, and each company will let the other use some of its technology.