index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Henning Garus <henning.garus@googlemail.com> | 2009-08-24 22:10:47 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-09-06 15:33:34 -0500 |
commit | a05757f984f526233e90a774beb571dba8270ff0 (patch) | |
tree | 7ac8e326c464cce7b3fcb159500f9aec68b308f1 /configure.ac | |
parent | 20ba3cfe4e92beab9ae368bf73c1609f2555ee9a (diff) |
-rw-r--r-- | configure.ac | 5 |
diff --git a/configure.ac b/configure.ac index b2164b9e..2c08d790 100644 --- a/configure.ac +++ b/configure.ac @@ -144,6 +144,11 @@ if test "x$internaldownload" = "xyes" ; then # Check for a download library if it was actually requested AC_CHECK_LIB([fetch], [fetchParseURL], , AC_MSG_ERROR([libfetch is needed to compile with internal download support]) ) + # Check if libfetch supports conditional GET + # (version >=2.21, struct url has member last_modified) + AC_CHECK_MEMBER(struct url.last_modified, , + AC_MSG_ERROR([libfetch must be version 2.21 or greater]), + [#include <fetch.h>] ) else AC_MSG_RESULT(no) fi |