From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sandbox:master commit in: /
Date: Fri, 17 Jan 2025 18:28:49 +0000 (UTC) [thread overview]
Message-ID: <1737138091.4593aa611ba8ca8d41e83f09f37fec681a2407cc.floppym@gentoo> (raw)
commit: 4593aa611ba8ca8d41e83f09f37fec681a2407cc
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 17 18:20:03 2025 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Jan 17 18:21:31 2025 +0000
URL: https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=4593aa61
autoupdate to autoconf-2.72
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
configure.ac | 35 +++++++++++++++++------------------
1 file changed, 17 insertions(+), 18 deletions(-)
diff --git a/configure.ac b/configure.ac
index 4ccb23f..1129fb6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,8 @@
-AC_PREREQ([2.69])
+AC_PREREQ([2.72])
AC_INIT([sandbox], [2.42], [sandbox@gentoo.org])
AM_INIT_AUTOMAKE([1.15 dist-xz foreign no-dist-gzip silent-rules subdir-objects -Wall])
AM_SILENT_RULES([yes]) # AM_INIT_AUTOMAKE([silent-rules]) is broken atm
-AC_CONFIG_HEADER([sandboxconfig.h])
+AC_CONFIG_HEADERS([sandboxconfig.h])
AC_CONFIG_MACRO_DIR([m4])
dnl we want to strip out quote chars and normalize whitespace
@@ -22,7 +22,6 @@ AC_MSG_RESULT([ok])
dnl Check for compiler and features first.
AC_PROG_CC
AM_PROG_CC_C_O
-AC_ISC_POSIX
AC_USE_SYSTEM_EXTENSIONS
dnl Checks for programs.
@@ -49,11 +48,11 @@ AC_DEFUN([SB_CHECK_PERSONALITIES],[dnl
AC_MSG_CHECKING([checking for $1/$2 compiler support])
ac_save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS $2"
- AC_TRY_COMPILE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#include <stdio.h>
], [
- return 0
- ], [
+ return 0;
+ ])], [
enable_personalities=yes
AS_VAR_APPEND([SB_PERSONALITIES_SETTINGS], " $1:$2")
AS_VAR_APPEND([SB_PERSONALITIES_HEADERS], " libsandbox/trace_syscalls_$1.h")
@@ -100,7 +99,8 @@ dnl Checks for libraries.
dnl Checks for header files.
AC_FUNC_ALLOCA
AC_HEADER_DIRENT
-AC_HEADER_STDC
+AC_PROG_EGREP
+
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS_ONCE(m4_flatten([
dirent.h
@@ -176,7 +176,6 @@ AC_FUNC_CHOWN
AC_FUNC_FORK
AC_FUNC_LSTAT
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
-AC_TYPE_SIGNAL
AC_FUNC_STAT
AC_CHECK_FUNCS_ONCE(m4_flatten([
backtrace
@@ -254,8 +253,8 @@ AM_CONDITIONAL(HAVE_LIBSIGSEGV, $HAVE_LIBSIGSEGV)
dnl Check for gcc atomic primitives
AC_MSG_CHECKING([for __sync_lock_test_and_set])
sltas=no
-AC_TRY_LINK([],
- [int i; __sync_lock_test_and_set(&i, 1); return i;],
+AC_LINK_IFELSE([AC_LANG_PROGRAM([],
+ [int i; __sync_lock_test_and_set(&i, 1); return i;])],
[sltas=yes]
)
if test "$sltas" = yes ; then
@@ -265,19 +264,19 @@ AC_MSG_RESULT($sltas)
dnl Check if gcc provides va_copy or __va_copy (for librcutil)
AC_MSG_CHECKING([for va_copy])
-AC_TRY_COMPILE([
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#include <stdarg.h>
], [
va_list ap, aq;
va_copy(ap, aq);
- ],
+ ])],
[va_copy="va_copy"],
- [AC_TRY_COMPILE([
+ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#include <stdarg.h>
], [
va_list ap, aq;
__va_copy(ap, aq);
- ],
+ ])],
[va_copy="__va_copy"],
[AC_MSG_ERROR([Unable to determine name of va_copy macro])]
)]
@@ -285,7 +284,7 @@ AC_TRY_COMPILE([
AC_MSG_RESULT([$va_copy])
if test x"$va_copy" != xva_copy ; then
AC_DEFINE_UNQUOTED([va_copy], [$va_copy],
- [Define to name of va_copy macro proviced by gcc if its not `va_copy'.]
+ [Define to name of va_copy macro proviced by gcc if its not 'va_copy'.]
)
fi
@@ -312,13 +311,13 @@ AC_CHECK_FUNCS([dlvsym])
dnl Check if libc provides RTLD_NEXT
AC_MSG_CHECKING([for RTLD_NEXT])
-AC_TRY_COMPILE([
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#include <dlfcn.h>
], [
#if !defined(RTLD_NEXT)
# error no RTLD_NEXT
#endif
- ],
+ ])],
[have_rtld_next="yes"],
[have_rtld_next="no"]
)
@@ -413,7 +412,7 @@ AC_MSG_CHECKING([how to enable exception handling])
for CFLAG_EXCEPTIONS in -fexceptions "" ; do
ac_save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -fexceptions"
- AC_TRY_COMPILE([],[],[ok=yes],[ok=no])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [])],[ok=yes],[ok=no])
CFLAGS=$ac_save_CFLAGS
test "$ok" = "yes" && break
done
next reply other threads:[~2025-01-17 18:28 UTC|newest]
Thread overview: 78+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-17 18:28 Mike Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-24 15:56 [gentoo-commits] proj/sandbox:master commit in: / Mike Gilbert
2025-02-23 20:11 Mike Gilbert
2025-02-22 19:55 Mike Gilbert
2025-01-19 21:21 Mike Gilbert
2025-01-17 21:27 Mike Gilbert
2025-01-17 21:08 Mike Gilbert
2025-01-17 18:35 Mike Gilbert
2025-01-17 17:58 Mike Gilbert
2025-01-08 2:12 [gentoo-commits] proj/sandbox:stable-2.x " Mike Gilbert
2025-01-14 4:38 ` [gentoo-commits] proj/sandbox:master " Mike Gilbert
2024-12-22 19:19 [gentoo-commits] proj/sandbox:stable-2.x " Mike Gilbert
2025-01-14 4:38 ` [gentoo-commits] proj/sandbox:master " Mike Gilbert
2024-12-22 3:49 [gentoo-commits] proj/sandbox:stable-2.x " Mike Gilbert
2025-01-14 4:38 ` [gentoo-commits] proj/sandbox:master " Mike Gilbert
2024-11-04 19:27 [gentoo-commits] proj/sandbox:stable-2.x " Mike Gilbert
2025-01-14 4:38 ` [gentoo-commits] proj/sandbox:master " Mike Gilbert
2024-05-04 12:03 Sam James
2023-08-05 4:32 Sam James
2023-08-05 4:32 Sam James
2023-06-23 17:25 Mike Gilbert
2023-02-16 22:59 Sam James
2021-11-06 3:51 Mike Frysinger
2021-11-06 3:51 Mike Frysinger
2021-11-03 6:59 Mike Frysinger
2021-11-03 0:34 Mike Frysinger
2021-11-03 0:34 Mike Frysinger
2021-10-28 7:38 Mike Frysinger
2021-10-24 4:16 Mike Frysinger
2021-10-22 17:49 Mike Frysinger
2021-10-22 2:48 Mike Frysinger
2021-10-21 20:37 Mike Frysinger
2021-10-21 7:57 Mike Frysinger
2021-10-21 6:10 Michał Górny
2021-10-18 8:48 Mike Frysinger
2021-10-18 8:48 Mike Frysinger
2021-09-07 15:58 Michał Górny
2021-05-04 22:13 Sergei Trofimovich
2021-05-04 8:00 Sergei Trofimovich
2021-04-10 20:17 Sergei Trofimovich
2021-03-27 11:45 Sergei Trofimovich
2021-03-27 11:45 Sergei Trofimovich
2021-03-11 9:08 Michał Górny
2021-03-11 8:04 Sergei Trofimovich
2020-05-31 10:52 Michał Górny
2020-02-28 7:00 Michał Górny
2019-07-12 6:47 Sergei Trofimovich
2019-03-13 10:12 Andreas K. Hüttel
2019-03-13 10:12 Andreas K. Hüttel
2019-03-11 12:48 Andreas K. Hüttel
2019-03-09 19:21 Sergei Trofimovich
2019-01-13 11:39 Michał Górny
2019-01-09 13:45 Michał Górny
2018-12-02 15:28 Michał Górny
2017-10-03 21:24 Michał Górny
2016-03-29 12:24 Mike Frysinger
2015-12-20 21:12 Mike Frysinger
2015-12-20 8:41 Mike Frysinger
2015-12-20 8:41 Mike Frysinger
2015-12-19 18:10 Mike Frysinger
2015-09-27 6:30 Mike Frysinger
2015-09-27 6:30 Mike Frysinger
2015-09-20 8:16 Mike Frysinger
2015-09-20 8:15 Mike Frysinger
2015-09-20 8:15 Mike Frysinger
2015-09-20 8:15 Mike Frysinger
2015-09-20 8:15 Mike Frysinger
2015-09-11 7:53 Mike Frysinger
2012-11-26 10:10 Mike Frysinger
2012-11-17 19:16 Mike Frysinger
2012-11-17 19:16 Mike Frysinger
2012-11-17 19:16 Mike Frysinger
2012-07-03 19:42 Mike Frysinger
2012-07-03 19:41 Mike Frysinger
2012-06-23 23:12 Mike Frysinger
2012-06-23 21:36 Mike Frysinger
2012-06-23 21:36 Mike Frysinger
2012-03-06 5:17 Mike Frysinger
2012-03-05 7:01 Mike Frysinger
2011-02-14 6:19 Mike Frysinger
2011-02-14 6:19 Mike Frysinger
2011-02-14 6:19 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1737138091.4593aa611ba8ca8d41e83f09f37fec681a2407cc.floppym@gentoo \
--to=floppym@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox