diff options
author | 2020-11-13 10:30:53 +0100 | |
---|---|---|
committer | 2020-11-13 10:30:53 +0100 | |
commit | 4622c79b0a1bad6dd0c741f3d10fbc987e4f565e (patch) | |
tree | bf948a65f463dfcab19484c9ae0b7936f27c0975 /configure.ac | |
parent | qlop: adapt terminating/exiting logic somewhat (diff) | |
download | portage-utils-4622c79b0a1bad6dd0c741f3d10fbc987e4f565e.tar.gz portage-utils-4622c79b0a1bad6dd0c741f3d10fbc987e4f565e.tar.bz2 portage-utils-4622c79b0a1bad6dd0c741f3d10fbc987e4f565e.zip |
qmerge: don't call zstd with --long=31 on 32-bits platforms
32-bits recent versions of zstd do not grok this argument, so just drop
it for those platforms
Bug: https://bugs.gentoo.org/754102
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0efdf3ec..989a34fd 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,16 @@ AM_PROG_AR LT_INIT AC_SUBST([LIBTOOL_DEPS]) +headers='#ifdef HAVE_STDDEF_H +#include <stddef.h> +#endif +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif +' +AC_CHECK_HEADERS([stddef.h unistd.h]) +AC_COMPILE_CHECK_SIZEOF([size_t], [${headers}]) + AC_CHECK_FUNCS_ONCE(m4_flatten([ fmemopen scandirat |