]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge from origin/emacs-28
authorStefan Kangas <stefan@marxist.se>
Sat, 16 Jul 2022 04:30:39 +0000 (06:30 +0200)
committerStefan Kangas <stefan@marxist.se>
Sat, 16 Jul 2022 04:30:39 +0000 (06:30 +0200)
db259d8fd3 Build Seccomp filter only if we have a 64-bit userspace (B...

1  2 
configure.ac
lib-src/Makefile.in

diff --cc configure.ac
index 45b62647e717c32ec1b0d5f4d64131c0ea18d331,741a1a31df598954b9a1ca8b75aee4d26dcadbd8..87c126ecbbf89c13fc9e66aee46e8c03cf47fab9
@@@ -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 \
Simple merge