summaryrefslogtreecommitdiffstats
path: root/lib/Makemodule.am
diff options
context:
space:
mode:
authorKarel Zak2016-05-26 15:05:14 +0200
committerKarel Zak2016-05-26 15:08:53 +0200
commit1eb16fd78065dd6485731c4fb70924bc9b69df3a (patch)
tree76deb5ccf39a4e491bbc830860087af3c43f3076 /lib/Makemodule.am
parentlibblkid: store only canonical devnames to the cache (diff)
downloadkernel-qcow2-util-linux-1eb16fd78065dd6485731c4fb70924bc9b69df3a.tar.gz
kernel-qcow2-util-linux-1eb16fd78065dd6485731c4fb70924bc9b69df3a.tar.xz
kernel-qcow2-util-linux-1eb16fd78065dd6485731c4fb70924bc9b69df3a.zip
build-sys: add --disable-plymouth-support
The plymouth support depends on Linux specific SOCK_* flags and all the feature is probably unnecessary in some cases (non-plymouth distros, etc.) Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib/Makemodule.am')
-rw-r--r--lib/Makemodule.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Makemodule.am b/lib/Makemodule.am
index b2172db13..704a16e20 100644
--- a/lib/Makemodule.am
+++ b/lib/Makemodule.am
@@ -16,7 +16,6 @@ libcommon_la_SOURCES = \
lib/md5.c \
lib/pager.c \
lib/path.c \
- lib/plymouth-ctrl.c \
lib/randutils.c \
lib/setproctitle.c \
lib/strutils.c \
@@ -31,6 +30,10 @@ libcommon_la_SOURCES += \
lib/loopdev.c
endif
+if USE_PLYMOUTH_SUPPORT
+libcommon_la_SOURCES += lib/plymouth-ctrl.c
+endif
+
if !HAVE_LANGINFO
libcommon_la_SOURCES += lib/langinfo.c
endif