Skip to content

configure.ac: Fix systemd shutdown directory detection - #496

Merged
jimklimov merged 1 commit into
networkupstools:masterfrom
michal42:systemd-configure-fix-v2
Nov 18, 2017
Merged

jimklimov merged 1 commit into
networkupstools:masterfrom
michal42:systemd-configure-fix-v2

Conversation

@michal42

@michal42 michal42 commented Nov 6, 2017

Copy link
Copy Markdown

The configure script assumes that systemd is installed below ${libdir},
which is not true on many biarch Linux distros with /lib64. Instead of
guessing, use pkg-config to find the path and provide a
--with-systemdshutdowndir option so that make distcheck can override it.
Also, rename the internal varable to systemdshutdowndir to rhyme with
the respective systemd.pc variable.

Signed-off-by: Michal Marek MichalMarek1@eaton.com

The configure script assumes that systemd is installed below ${libdir},
which is not true on many biarch Linux distros with /lib64. Instead of
guessing, use pkg-config to find the path and provide a
--with-systemdshutdowndir option so that make distcheck can override it.
Also, rename the internal varable to systemdshutdowndir to rhyme with
the respective systemd.pc variable.

Signed-off-by: Michal Marek <MichalMarek1@eaton.com>
@jimklimov
jimklimov merged commit 372ffeb into networkupstools:master Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants