From 704c868ca191ddea9585662bf4ff4f24bac4917b Mon Sep 17 00:00:00 2001 From: Jehan Date: Mon, 23 Jan 2023 18:33:12 +0100 Subject: [PATCH] meson: add a 'name' arg to the IPC_RMID compile/run test. It makes for easier to read logs and build files. Also fixing a typo in the original text from autotools. --- configure.ac | 2 +- meson.build | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b871895547..2cecfcf728 100644 --- a/configure.ac +++ b/configure.ac @@ -1242,7 +1242,7 @@ elif test "x$shmtype" = "xsysv"; then no_sys_shm=yes) if test "$ac_cv_header_sys_shm_h" = "yes"; then - AC_MSG_CHECKING(whether shmctl IPC_RMID allowes subsequent attaches) + AC_MSG_CHECKING(whether shmctl IPC_RMID allows subsequent attaches) AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include diff --git a/meson.build b/meson.build index e653a6e4e9..d125c180ed 100644 --- a/meson.build +++ b/meson.build @@ -1367,7 +1367,8 @@ if shmem_choice == 'sysv' shmdt(shmaddr); return 0; } - ''').returncode() == 0 + ''', + name: 'shmctl IPC_RMID allows subsequent attaches').returncode() == 0 conf.set('IPC_RMID_DEFERRED_RELEASE', check_ip_rmid_deferred_release) conf.set('USE_SYSV_SHM', true) elif shmem_choice == 'posix'