summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2014-12-08 10:51:33 +0100
committerPeter Rajnoha <prajnoha@redhat.com>2014-12-08 10:52:47 +0100
commit4c62215bd178c17d0776448bdc99740180c85402 (patch)
treebbe0d2b01a1af1a5f77f264c469988895167b82c
parent42d71b9af393bdbf0e9409eea176b2801a07ea25 (diff)
downloadlvm2-4c62215bd178c17d0776448bdc99740180c85402.tar.gz
configure: fix automatic use of configure --enable-udev-systemd-background-jobs
Fix incorrect test in configure which sets --enable-udev-systemd-background-jobs automatically if proper systemd version is available. The UDEV_SYSTEMD_BACKGROUND_JOBS variable was not properly set to "yes" in case systemd is available and we had "maybe" for this variable before.
-rw-r--r--WHATS_NEW1
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
3 files changed, 3 insertions, 2 deletions
diff --git a/WHATS_NEW b/WHATS_NEW
index 213cc3132..9201f3682 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
Version 2.02.115 -
=====================================
+ Fix automatic use of configure --enable-udev-systemd-background-jobs.
Correctly rename active split LV with -splitmirrors for raid1.
Add report/compact_output to lvm.conf to enable/disable compact report output.
Still restrict mirror region size to power of 2 when VG extent size is not.
diff --git a/configure b/configure
index df902c3ba..9d1d32f5a 100755
--- a/configure
+++ b/configure
@@ -10694,7 +10694,7 @@ else
SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
- test "UDEV_SYSTEMD_BACKGROUND_JOBS" = maybe && UDEV_SYSTEMD_BACKGROUND_JOBS=yes
+ test "$UDEV_SYSTEMD_BACKGROUND_JOBS" = maybe && UDEV_SYSTEMD_BACKGROUND_JOBS=yes
fi
fi
diff --git a/configure.in b/configure.in
index 5b22b93df..107bb293b 100644
--- a/configure.in
+++ b/configure.in
@@ -1104,7 +1104,7 @@ AC_MSG_RESULT($UDEV_SYSTEMD_BACKGROUND_JOBS)
if test "$UDEV_SYSTEMD_BACKGROUND_JOBS" != no; then
pkg_config_init
PKG_CHECK_MODULES(SYSTEMD, systemd >= 205,
- [test "UDEV_SYSTEMD_BACKGROUND_JOBS" = maybe && UDEV_SYSTEMD_BACKGROUND_JOBS=yes],
+ [test "$UDEV_SYSTEMD_BACKGROUND_JOBS" = maybe && UDEV_SYSTEMD_BACKGROUND_JOBS=yes],
[if test "$UDEV_SYSTEMD_BACKGROUND_JOBS" = maybe; then
UDEV_SYSTEMD_BACKGROUND_JOBS=no
else