index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2010-10-07 17:53:11 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-11 10:06:57 -0500 |
commit | 73442a7e035a7b7f8ed80261226989ae87edd3a9 (patch) | |
tree | eee0bfc322dc5fb3a923b634b0a5de5cd64675c7 /configure.ac | |
parent | 1e0e5b2a0241d1f3e298991c0d583afb9c80baef (diff) |
-rw-r--r-- | configure.ac | 4 |
diff --git a/configure.ac b/configure.ac index e709fc4c..37b26f25 100644 --- a/configure.ac +++ b/configure.ac @@ -158,9 +158,11 @@ AS_IF([test "x$with_fetch" != "xno"], fi], [-lcrypto -ldl]) # Check if libfetch supports connnection caching which we use - AC_CHECK_DECL(fetchConnectionCacheInit, , + AS_IF([test "x$ac_cv_lib_fetch_fetchParseURL" = "xyes"], + [AC_CHECK_DECL(fetchConnectionCacheInit, , AC_MSG_ERROR([libfetch must be version 2.28 or greater]), [#include <fetch.h>]) + ]) ], AC_MSG_RESULT(no)) AM_CONDITIONAL([HAVE_LIBFETCH], [test "x$ac_cv_lib_fetch_fetchParseURL" = "xyes"]) |