]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
python: Surround systemd code with m4 conditionals
authorTom Hromatka <tom.hromatka@oracle.com>
Tue, 1 Aug 2023 21:17:35 +0000 (15:17 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 4 Aug 2023 17:33:22 +0000 (11:33 -0600)
commita9d27eda52f25514688d434c4a13deac51a16cc4
tree1ef2e90848de30b96666cd5fd5fa69ddfe072504
parentb055cfedcad70973cfd64de85fd1ce53c159a6a8
python: Surround systemd code with m4 conditionals

Surround the systemd python logic with m4 ifdef(`WITH_SYSTEMD'...).
This will conditionally add the systemd code iff systemd is enabled
in configure.ac

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
src/python/.gitignore
src/python/Makefile.am
src/python/cgroup.pxd.m4 [moved from src/python/cgroup.pxd with 96% similarity]
src/python/libcgroup.pyx.m4 [moved from src/python/libcgroup.pyx with 91% similarity]
src/python/setup.py.m4 [moved from src/python/setup.py with 73% similarity]