]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
include/Makefile: install systemd.h by default
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Mon, 27 Nov 2023 14:37:33 +0000 (20:07 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 7 Dec 2023 15:58:13 +0000 (08:58 -0700)
Install systemd.h header file by default, as we have stub and defined
versions of the systemd functions for both non-systemd and systemd
enabled configurations.  This will help packagers to ship package
without systemd support (--enable-systemd=no).

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
include/Makefile.am

index 23cebaac7539648c7a293df2009a6c5ce20be0bf..4cb055296fa9041c00925ee5943a25ecbca6c87c 100644 (file)
@@ -2,8 +2,4 @@
 nobase_include_HEADERS = libcgroup.h libcgroup/error.h libcgroup/init.h \
                         libcgroup/groups.h libcgroup/tasks.h \
                         libcgroup/iterators.h libcgroup/config.h \
-                        libcgroup/log.h libcgroup/tools.h
-
-if WITH_SYSTEMD
-nobase_include_HEADERS += libcgroup/systemd.h
-endif
+                        libcgroup/log.h libcgroup/tools.h libcgroup/systemd.h