Use pkg-config to find curl.
Revert "add note about autoreconf and curl m4 file."

This reverts commit 3c96692c1724e71aac8cbc7f1135445fbe040ca3.