IBM, the world's top provider of computer hardware, has said it has agreed to pay an undisclosed sum to acquire privately held Candle Corp, an El Segundo, California-based company whose offerings are expected to complement Big Blue's middleware solutions.