As you're compiling from source it's possible that you don't have the source header files for cURL installed. I don't know what platform you're building this on but it looks like Linux. Which distro, and is there any reason why you're compiling from scratch and not using the repositories to build for you?
You also didn't mention what error message you're getting (which you presumably would if you're unable to install cURL when you compile PHP)