mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
decdb2ba3f
commit
704c868ca1
|
@ -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 <sys/types.h>
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue