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
d12860c0
Commit
d12860c0
authored
Oct 01, 2019
by
Caio B. Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update obsolete functions
Signed-off-by:
Caio B. Silva
<
caioboffo@gmail.com
>
parent
8d06d0c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
configure.ac
configure.ac
+4
-5
No files found.
configure.ac
View file @
d12860c0
...
...
@@ -17,7 +17,7 @@ m4_define([lxc_version],
ifelse(lxc_version_beta, [], [lxc_version_base], [lxc_version_base.lxc_version_beta])-devel,
ifelse(lxc_version_beta, [], [lxc_version_base], [lxc_version_base.lxc_version_beta]))])
AC_INIT([lxc],
[lxc_version])
AC_INIT([lxc],[lxc_version])
# We need pkg-config
PKG_PROG_PKG_CONFIG
...
...
@@ -42,7 +42,7 @@ AC_CONFIG_HEADERS([src/config.h])
AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability subdir-objects])
AC_CANONICAL_HOST
AM_PROG_CC_C_O
AC_
GNU_SOURCE
AC_
USE_SYSTEM_EXTENSIONS
# Test if we have a new enough compiler.
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
...
...
@@ -622,7 +622,7 @@ AC_FUNC_STRERROR_R
# Check if "%m" is supported by printf and Co
AC_MSG_CHECKING([%m format])
AC_
TRY_RUN(
[
AC_
RUN_IFELSE([AC_LANG_SOURCE([
[
#include <stdio.h>
int main(void)
{
...
...
@@ -638,8 +638,7 @@ int main(void)
{
return 1;
}
}],
[fmt_m=yes], [fmt_m=no], [fmt_m=no])
}]])],[fmt_m=yes],[fmt_m=no],[fmt_m=no])
if test "x$fmt_m" = "xyes"; then
AC_DEFINE([HAVE_M_FORMAT], 1, [Have %m format])
AC_MSG_RESULT([yes])
...
...
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