curl: add configure check and hook up to build system
2 files changed