aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2021-12-13 08:15:01 +0100
committerFabian Groffen <grobian@gentoo.org>2021-12-13 08:15:01 +0100
commitc955d333bbffd02cb6f439489865ac3c37c9ff3b (patch)
tree733113ef87952f58d0d7fcf63b5c72cb5ec4bc3e /configure.ac
parentqdepends: only print deps enabled by configured USE-flags (diff)
downloadportage-utils-c955d333bbffd02cb6f439489865ac3c37c9ff3b.tar.gz
portage-utils-c955d333bbffd02cb6f439489865ac3c37c9ff3b.tar.bz2
portage-utils-c955d333bbffd02cb6f439489865ac3c37c9ff3b.zip
configure: add check for existence of sendfile()
This is based on https://gist.github.com/bmanojlovic/6529848, but adapted to make the Solaris case a little bit less of a guess. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 989a34fd..bdef7322 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,6 +33,8 @@ AC_CHECK_FUNCS_ONCE(m4_flatten([
scandirat
]))
+AC_CHECK_SENDFILE
+
AC_ARG_WITH([eprefix], [AS_HELP_STRING([--with-eprefix], [path for Gentoo/Prefix project])])
# ensure eprefix ends with a slash, since the code base expects that
case "$with_eprefix" in