diff options
author | Daniel Hartwig <mandyke@gmail.com> | 2012-03-25 13:01:46 +0800 |
---|---|---|
committer | Daniel Hartwig <mandyke@gmail.com> | 2012-03-25 13:01:46 +0800 |
commit | 1ae1dc9f54b28358047fb31d4eb0ad0f92889a8c (patch) | |
tree | 64de025cb692fa66b9918b8af1bf2e145a57d43e /configure.ac | |
parent | 1102e252065408ac41479a1bb2d4633c6b63c28c (diff) | |
download | aptitude-1ae1dc9f54b28358047fb31d4eb0ad0f92889a8c.tar.gz |
Also support MultiArch flags from apt 0.8.16
* configure.ac:
- check for MultiArch support in APT (requires at least 0.8);
* src/generic/apt/apt.cc:
- support libapt-pkg 0.8.16 in multiarch_type;
* src/generic/apt/matching/match.cc:
- tweak multiarch;
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0cea82cb..be0fe6b2 100644 --- a/configure.ac +++ b/configure.ac @@ -40,6 +40,10 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <apt-pkg/depcache.h>]], AC_MSG_RESULT([yes]), AC_MSG_FAILURE([need libapt-pkg 0.7 or later])) +AC_CHECK_MEMBER([struct pkgCache::Version.MultiArch], [], + [AC_MSG_ERROR([need libapt-pkg 0.8 or later])], + [[#include <apt-pkg/pkgcache.h>]]) + AC_CHECK_LIB(pthread, main, HAVE_LIBPTHREAD=1 , [AC_MSG_ERROR([Can't find the POSIX thread libraries])]) |