aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-28 21:23:11 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-31 11:36:04 +0100
commit07adeeb6f48bab15107e2e92c9dd37c9168789a5 (patch)
tree5497eb7d37a56f8cfc75da68afa2c8a66439c7dd /configure.ac
parenta3c6fb2529026c256987712e5068efb617a9e44f (diff)
downloadpaludis-07adeeb6f48bab15107e2e92c9dd37c9168789a5.tar.gz
paludis-07adeeb6f48bab15107e2e92c9dd37c9168789a5.tar.xz
Start basic TarMerger
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 242081e48..dea646312 100644
--- a/configure.ac
+++ b/configure.ac
@@ -91,6 +91,7 @@ need_xml_check=
need_pcrecpp_check=
need_syck_check=
need_gem_check=
+need_libarchive_check=
need_resolver=
dnl {{{ we can use abi::__cxa_demangle
@@ -1466,6 +1467,7 @@ AC_SUBST([ENABLE_VISIBILITY])
AM_CONDITIONAL([ENABLE_PBINS], test "x$enable_pbins" = "xyes")
if test x"$ENABLE_PBINS" = "xyes" ; then
AC_DEFINE([ENABLE_PBINS], [1], [Build pbin support])
+ need_libarchive_check=yes
fi
dnl }}}
@@ -1500,6 +1502,17 @@ if test "x$need_pcrecpp_check" = "xyes" ; then
fi
dnl }}}
+dnl {{{ libarchive
+if test "x$need_libarchive_check" = "xyes" ; then
+ AC_MSG_CHECKING([for libarchive])
+ AC_PREPROC_IFELSE([
+#include <archive.h>
+],
+ [AC_MSG_RESULT([yes])],
+ [AC_MSG_ERROR([libarchive is required for pbins])])
+fi
+dnl }}}
+
dnl {{{ syck check
if test "x$need_syck_check" = "xyes" ; then
AC_MSG_CHECKING([for syck])