Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
steam-runtime-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
steamrt
steam-runtime-tools
Commits
f2ff19d7
Commit
f2ff19d7
authored
1 year ago
by
Simon McVittie
Browse files
Options
Downloads
Patches
Plain Diff
build: Really check for close_range() as intended
Signed-off-by:
Simon McVittie
<
smcv@collabora.com
>
parent
c2c6c950
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libglnx.m4
+4
-0
4 additions, 0 deletions
libglnx.m4
meson.build
+4
-4
4 additions, 4 deletions
meson.build
with
8 additions
and
4 deletions
libglnx.m4
+
4
−
0
View file @
f2ff19d7
...
...
@@ -4,6 +4,7 @@
AC_DEFUN([LIBGLNX_CONFIGURE],
[
dnl This defines HAVE_DECL_FOO to 1 if found or 0 if not
AC_CHECK_DECLS([
renameat2,
memfd_create,
...
...
@@ -19,6 +20,9 @@ AC_CHECK_DECLS([
#include <linux/random.h>
#include <sys/mman.h>
]])
dnl This defines HAVE_FOO to 1 if found, or leaves it undefined if not:
dnl not the same!
AC_CHECK_FUNCS([close_range])
AC_ARG_ENABLE(otmpfile,
[AS_HELP_STRING([--disable-otmpfile],
...
...
This diff is collapsed.
Click to expand it.
meson.build
+
4
−
4
View file @
f2ff19d7
...
...
@@ -49,16 +49,16 @@ foreach check_function : check_functions
)
conf
.
set10
(
'HAVE_DECL_'
+
check_function
.
underscorify
().
to_upper
(),
have_it
)
endforeach
config_h
=
configure_file
(
output
:
'libglnx-config.h'
,
configuration
:
conf
,
)
check_functions
=
[
'close_range'
,
]
foreach
check_function
:
check_functions
if
cc
.
has_function
(
check_function
)
conf
.
set
(
'HAVE_'
+
check_function
.
underscorify
().
to_upper
(),
1
)
endif
endforeach
config_h
=
configure_file
(
output
:
'libglnx-config.h'
,
configuration
:
conf
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment