mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
configure: more tweaks
We have to use lvm_exec_prefix for proper values. DEFAULT vars needs to be already evaluated.
This commit is contained in:
parent
6f335ffa35
commit
21cd275b37
@ -25,7 +25,7 @@ config {
|
||||
abort_on_errors = 0
|
||||
|
||||
# Directory where LVM looks for configuration profiles.
|
||||
profile_dir = "@DEFAULT_SYS_DIR@/@DEFAULT_PROFILE_SUBDIR"
|
||||
profile_dir = "@DEFAULT_SYS_DIR@/@DEFAULT_PROFILE_SUBDIR@"
|
||||
}
|
||||
|
||||
# This section allows you to configure which block devices should
|
||||
|
4
configure
vendored
4
configure
vendored
@ -1639,7 +1639,7 @@ Optional Packages:
|
||||
--with-dmeventd-path=PATH
|
||||
dmeventd path [[EPREFIX/sbin/dmeventd]]
|
||||
--with-default-system-dir=DIR
|
||||
default LVM system directory [[/etc/lvm]]
|
||||
default LVM system directory [[EPREFIX/etc/lvm]]
|
||||
--with-default-profile-subdir=SUBDIR
|
||||
default configuration profile subdir [[profile]]
|
||||
--with-default-archive-subdir=SUBDIR
|
||||
@ -10549,7 +10549,7 @@ fi
|
||||
if test "${with_default_system_dir+set}" = set; then :
|
||||
withval=$with_default_system_dir; DEFAULT_SYS_DIR=$withval
|
||||
else
|
||||
DEFAULT_SYS_DIR='${exec_prefix}/etc/lvm'
|
||||
DEFAULT_SYS_DIR="$lvm_exec_prefix/etc/lvm"
|
||||
fi
|
||||
|
||||
|
||||
|
@ -1417,7 +1417,7 @@ dnl -- various defaults
|
||||
AC_ARG_WITH(default-system-dir,
|
||||
AC_HELP_STRING([--with-default-system-dir=DIR],
|
||||
[default LVM system directory [[EPREFIX/etc/lvm]]]),
|
||||
DEFAULT_SYS_DIR=$withval, DEFAULT_SYS_DIR='${exec_prefix}/etc/lvm')
|
||||
DEFAULT_SYS_DIR=$withval, DEFAULT_SYS_DIR="$lvm_exec_prefix/etc/lvm")
|
||||
AC_DEFINE_UNQUOTED(DEFAULT_SYS_DIR, ["$DEFAULT_SYS_DIR"],
|
||||
[Path to LVM system directory.])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user