Branch
Hash :
7b089321
Author :
Date :
2025-01-01T09:24:36
maint: run 'make update-copyright'
# sys_shm_h.m4
# serial 1
dnl Copyright (C) 2023-2025 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl This file is offered as-is, without any warranty.
dnl Written by Bruno Haible.
AC_DEFUN_ONCE([gl_SYS_SHM_H],
[
AC_CHECK_HEADERS_ONCE([sys/shm.h])
dnl For now, we provide a <sys/shm.h> wrapper only if the system already has
dnl a <sys/shm.h>.
if test $ac_cv_header_sys_shm_h = yes; then
GL_GENERATE_SYS_SHM_H=true
gl_CHECK_NEXT_HEADERS([sys/shm.h])
else
GL_GENERATE_SYS_SHM_H=false
fi
])