From: Stefan Kangas Date: Sat, 16 Jul 2022 04:30:39 +0000 (+0200) Subject: Merge from origin/emacs-28 X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~1886^2~907 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9699eaf8af0e9e79e9b4ebd51e23ab81ec90903c;p=emacs.git Merge from origin/emacs-28 db259d8fd3 Build Seccomp filter only if we have a 64-bit userspace (B... --- 9699eaf8af0e9e79e9b4ebd51e23ab81ec90903c diff --cc configure.ac index 45b62647e71,741a1a31df5..87c126ecbbf --- a/configure.ac +++ b/configure.ac @@@ -4901,9 -4380,13 +4901,13 @@@ AC_SUBST([HAVE_LIBSECCOMP] AC_SUBST([LIBSECCOMP_LIBS]) AC_SUBST([LIBSECCOMP_CFLAGS]) + AC_CHECK_SIZEOF([long]) + SIZEOF_LONG="$ac_cv_sizeof_long" + AC_SUBST([SIZEOF_LONG]) + OLD_LIBS=$LIBS LIBS="$LIB_PTHREAD $LIB_MATH $LIBS" -AC_CHECK_FUNCS(accept4 fchdir gethostname \ +AC_CHECK_FUNCS([accept4 fchdir gethostname \ getrusage get_current_dir_name \ lrand48 random rint trunc \ select getpagesize setlocale newlocale \