diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2012-07-31 16:46:24 +0200 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2012-07-31 16:46:24 +0200 |
commit | fa68466e904568d054f0b0cf5fdab6499cb47998 (patch) | |
tree | dbbf29f7353a509c30f57601f197c5caa9fd0719 /configure | |
parent | d3e67ba8ca13115ffdd324e64e965240dced8ef1 (diff) | |
download | lvm2-fa68466e904568d054f0b0cf5fdab6499cb47998.tar.gz lvm2-fa68466e904568d054f0b0cf5fdab6499cb47998.tar.xz lvm2-fa68466e904568d054f0b0cf5fdab6499cb47998.zip |
systemd: integrate lvm2 activation generator with conf+make
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -597,6 +597,7 @@ ac_subst_vars='LTLIBOBJS usrsbindir usrlibdir tmpfilesdir +systemdutildir systemdsystemunitdir udevdir udev_prefix @@ -9917,7 +9918,12 @@ if test -n "$pkg_systemdsystemunitdir"; then fi if test -z "$systemdsystemunitdir"; then - systemdsystemunitdir='/lib/systemd/system'; + systemdsystemunitdir='${exec_prefix}/lib/systemd/system'; +fi + +systemdutildir=$($PKG_CONFIG --variable=systemdutildir systemd) +if test -z "$systemdutildir"; then + systemdutildir='${exec_prefix}/lib/systemd'; fi ################################################################################ @@ -10566,6 +10572,7 @@ LVM_LIBAPI=`echo "$VER" | $AWK -F '[()]' '{print $2}'` + ################################################################################ ac_config_files="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/Makefile daemons/cmirrord/Makefile daemons/dmeventd/Makefile daemons/dmeventd/libdevmapper-event.pc daemons/dmeventd/plugins/Makefile daemons/dmeventd/plugins/lvm2/Makefile daemons/dmeventd/plugins/raid/Makefile daemons/dmeventd/plugins/mirror/Makefile daemons/dmeventd/plugins/snapshot/Makefile daemons/dmeventd/plugins/thin/Makefile daemons/lvmetad/Makefile doc/Makefile doc/example.conf include/.symlinks include/Makefile lib/Makefile lib/format1/Makefile lib/format_pool/Makefile lib/locking/Makefile lib/mirror/Makefile lib/replicator/Makefile lib/misc/lvm-version.h lib/raid/Makefile lib/snapshot/Makefile lib/thin/Makefile libdaemon/Makefile libdaemon/client/Makefile libdaemon/server/Makefile libdm/Makefile libdm/libdevmapper.pc liblvm/Makefile liblvm/liblvm2app.pc man/Makefile po/Makefile scripts/clvmd_init_red_hat scripts/cmirrord_init_red_hat scripts/lvm2_lvmetad_init_red_hat scripts/lvm2_lvmetad_systemd_red_hat.socket scripts/lvm2_lvmetad_systemd_red_hat.service scripts/lvm2_monitoring_init_red_hat scripts/dm_event_systemd_red_hat.socket scripts/dm_event_systemd_red_hat.service scripts/lvm2_monitoring_systemd_red_hat.service scripts/lvm2_tmpfiles_red_hat.conf scripts/Makefile test/Makefile test/api/Makefile test/unit/Makefile tools/Makefile udev/Makefile unit-tests/datastruct/Makefile unit-tests/regex/Makefile unit-tests/mm/Makefile" |