Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
1d358fe9
Unverified
Commit
1d358fe9
authored
Mar 21, 2021
by
Stéphane Graber
Committed by
GitHub
Mar 21, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3718 from brauner/2021-03-21/fixes_2
configure: fix strchrnul conditiona compilation
parents
3e7605b3
7e4ea7bf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
configure.ac
configure.ac
+5
-1
Makefile.am
src/lxc/Makefile.am
+4
-0
No files found.
configure.ac
View file @
1d358fe9
...
@@ -640,7 +640,7 @@ AC_CHECK_HEADER([ifaddrs.h],
...
@@ -640,7 +640,7 @@ AC_CHECK_HEADER([ifaddrs.h],
AC_HEADER_MAJOR
AC_HEADER_MAJOR
# Check for some syscalls functions
# Check for some syscalls functions
AC_CHECK_FUNCS([setns pivot_root sethostname unshare rand_r confstr faccessat gettid memfd_create move_mount open_tree execveat clone3 fsopen fspick fsconfig fsmount, openat2, close_range, statvfs
, strchrnul
])
AC_CHECK_FUNCS([setns pivot_root sethostname unshare rand_r confstr faccessat gettid memfd_create move_mount open_tree execveat clone3 fsopen fspick fsconfig fsmount, openat2, close_range, statvfs])
AC_CHECK_TYPES([__aligned_u64], [], [], [[#include <linux/types.h>]])
AC_CHECK_TYPES([__aligned_u64], [], [], [[#include <linux/types.h>]])
AC_CHECK_TYPES([struct open_how], [], [], [[#include <linux/openat2.h>]])
AC_CHECK_TYPES([struct open_how], [], [], [[#include <linux/openat2.h>]])
AC_CHECK_TYPES([struct clone_args], [], [], [[#include <linux/sched.h>]])
AC_CHECK_TYPES([struct clone_args], [], [], [[#include <linux/sched.h>]])
...
@@ -727,6 +727,10 @@ AC_CHECK_FUNCS([strlcat],
...
@@ -727,6 +727,10 @@ AC_CHECK_FUNCS([strlcat],
AM_CONDITIONAL(HAVE_STRLCAT, true)
AM_CONDITIONAL(HAVE_STRLCAT, true)
AC_DEFINE(HAVE_STRLCAT,1,[Have strlcat]),
AC_DEFINE(HAVE_STRLCAT,1,[Have strlcat]),
AM_CONDITIONAL(HAVE_STRLCAT, false))
AM_CONDITIONAL(HAVE_STRLCAT, false))
AC_CHECK_FUNCS([strchrnul],
AM_CONDITIONAL(HAVE_STRCHRNUL, true)
AC_DEFINE(HAVE_STRCHRNUL,1,[Have strchnul]),
AM_CONDITIONAL(HAVE_STRCHRNUL, false))
AC_CHECK_FUNCS([fmemopen],
AC_CHECK_FUNCS([fmemopen],
AM_CONDITIONAL(HAVE_FMEMOPEN, true)
AM_CONDITIONAL(HAVE_FMEMOPEN, true)
AC_DEFINE(HAVE_FMEMOPEN,1,[Have fmemopen]),
AC_DEFINE(HAVE_FMEMOPEN,1,[Have fmemopen]),
...
...
src/lxc/Makefile.am
View file @
1d358fe9
...
@@ -201,6 +201,10 @@ if !HAVE_STRLCAT
...
@@ -201,6 +201,10 @@ if !HAVE_STRLCAT
liblxc_la_SOURCES
+=
../include/strlcat.c ../include/strlcat.h
liblxc_la_SOURCES
+=
../include/strlcat.c ../include/strlcat.h
endif
endif
if
!HAVE_STRCHRNUL
liblxc_la_SOURCES
+=
../include/strchrnul.c ../include/strchrnul.h
endif
if
ENFORCE_MEMFD_REXEC
if
ENFORCE_MEMFD_REXEC
liblxc_la_SOURCES
+=
rexec.c rexec.h
liblxc_la_SOURCES
+=
rexec.c rexec.h
endif
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment