Clean up libfetch checking in configure
commit3e7b90ff6950d1efe2aa8c16b8031b05fbe2f310
authorDan McGee <dan@archlinux.org>
Thu, 2 Sep 2010 17:29:29 +0000 (2 12:29 -0500)
committerDan McGee <dan@archlinux.org>
Thu, 2 Sep 2010 17:30:36 +0000 (2 12:30 -0500)
tree0a84c765945c7035a0571b1c7bec0582f39d8288
parenteba521913d68da16cdd18d5e996c00c554408272
Clean up libfetch checking in configure

Model it after the new OpenSSL check, and have it be a bit more useful. If
you do not explicitly pass a command line option, it will be linked if
available but will not error out if it is missing. Also bump the version to
that where connection caching was introduced as we use these new features in
the codebase.

Signed-off-by: Dan McGee <dan@archlinux.org>
configure.ac
lib/libalpm/alpm.c
lib/libalpm/dload.c
lib/libalpm/error.c