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
894556fa
Unverified
Commit
894556fa
authored
Oct 01, 2018
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autools: prevent dlog build on stable branch
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
a7d0477c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
25 deletions
+2
-25
configure.ac
configure.ac
+0
-15
Makefile.am
src/lxc/Makefile.am
+2
-10
No files found.
configure.ac
View file @
894556fa
...
...
@@ -690,19 +690,6 @@ AC_ARG_ENABLE([thread-safety],
[], [enable_thread_safety=yes])
AM_CONDITIONAL([ENFORCE_THREAD_SAFETY], [test "x$enable_thread_safety" = "xyes"])
AC_ARG_ENABLE([dlog],
[AC_HELP_STRING([--enable-dlog], [enable dlog support [default=no]])],
[], [enable_dlog=no])
AM_CONDITIONAL([ENABLE_DLOG], [test "x$enable_dlog" = "xyes"])
AM_COND_IF([ENABLE_DLOG],
[PKG_CHECK_MODULES([DLOG],[dlog],[],[
AC_CHECK_HEADER([dlog.h],[],[AC_MSG_ERROR([You must install the dlog development package in order to compile lxc])])
AC_CHECK_LIB([dlog], [dlog_print],[],[AC_MSG_ERROR([You must install the dlog development package in order to compile lxc])])
AC_SUBST([DLOG_LIBS], [-ldlog])
])
])
# Files requiring some variable expansion
AC_CONFIG_FILES([
Makefile
...
...
@@ -951,6 +938,4 @@ Paths:
Thread-safety:
- enforce: $enable_thread_safety
Dlog:
- enable: $enable_dlog
EOF
src/lxc/Makefile.am
View file @
894556fa
...
...
@@ -204,11 +204,6 @@ if ENABLE_SELINUX
AM_CFLAGS
+=
-DHAVE_SELINUX
endif
if
ENABLE_DLOG
AM_CFLAGS
+=
-DHAVE_DLOG
\
$(DLOG_CFLAGS)
endif
if
USE_CONFIGPATH_LOGS
AM_CFLAGS
+=
-DUSE_CONFIGPATH_LOGS
endif
...
...
@@ -227,8 +222,7 @@ liblxc_la_LDFLAGS = -pthread \
liblxc_la_LIBADD
=
$(CAP_LIBS)
\
$(GNUTLS_LIBS)
\
$(SELINUX_LIBS)
\
$(SECCOMP_LIBS)
\
$(DLOG_LIBS)
$(SECCOMP_LIBS)
bin_SCRIPTS
=
...
...
@@ -280,8 +274,7 @@ LDADD = liblxc.la \
@CAP_LIBS@
\
@GNUTLS_LIBS@
\
@SECCOMP_LIBS@
\
@SELINUX_LIBS@
\
@DLOG_LIBS@
@SELINUX_LIBS@
if
ENABLE_TOOLS
lxc_attach_SOURCES
=
tools/lxc_attach.c
\
...
...
@@ -418,7 +411,6 @@ pam_cgfs_la_CFLAGS = $(AM_CFLAGS) -DNO_LXC_CONF
pam_cgfs_la_LIBADD
=
$(AM_LIBS)
\
$(PAM_LIBS)
\
$(DLOG_LIBS)
\
-L
$(top_srcdir)
pam_cgfs_la_LDFLAGS
=
$(AM_LDFLAGS)
\
...
...
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