it's --with-curl
everything all on one line - you can break the lines up with a backslash. eg
Code:
./configure --enable-dom \
--enable-versioning \
--with-cli \
--disable-cgi \
--with-layout=GNU \
--with-config-file-scan-dir=/usr/local/etc/php \
--disable-all \
--enable-libxml \
--with-libxml-dir=/usr/local \
--enable-reflection \
--enable-spl \
--program-prefix="" \
--with-apxs2=/usr/local/sbin/apxs \
--prefix=/usr \
--with-xml \
--enable-bcmath \
--enable-calendar \
--with-curl \
--enable-exif \
--enable-ftp \
--with-gd \
--with-jpeg-dir=/usr/local \
--with-xpm-dir=/usr/X11R6 \
--with-gettext \
--with-imap \
--with-imap-ssl \
--with-mcrypt \
--with-mhash \
--enable-magic-quotes \
--with-mysqli=/usr/local/bin/mysql_config \
--with-mysql=/usr/local \
--with-openssl \
--enable-discard-path \
--with-png-dir=/usr/local \
--with-pear \
--enable-sockets \
--enable-track-vars \
--with-ttf \
--with-freetype-dir=/usr/local \
--enable-gd-native-ttf \
--with-xmlrpc \
--with-zip \
--with-zlib \
--with-pcre-regex \
--enable-xml \
--with-regex=php \
--with-zend-vm=CALL \
--prefix=/usr/local