1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-16 10:50:46 +03:00

configure: autoreconf

(cherry picked from commit 3da18a06d8e0671374f9bf8b841017cfd5d1e5ea)
This commit is contained in:
Zdenek Kabelac 2023-09-25 15:49:52 +02:00 committed by Marian Csontos
parent ebe966020d
commit c499428897
2 changed files with 26 additions and 10 deletions

33
configure vendored
View File

@ -730,6 +730,7 @@ DEFAULT_PROFILE_SUBDIR
DEFAULT_PID_DIR
DEFAULT_MIRROR_SEGTYPE
DEFAULT_LOCK_DIR
DEFAULT_DMEVENTD_EXIT_ON_PATH
DEFAULT_DM_RUN_DIR
DEFAULT_CACHE_SUBDIR
DEFAULT_BACKUP_SUBDIR
@ -989,6 +990,7 @@ with_systemdsystemunitdir
with_tmpfilesdir
with_dmeventd_pidfile
with_dmeventd_path
with_dmeventd_exit_on_path
with_default_system_dir
with_default_profile_subdir
with_default_archive_subdir
@ -1793,6 +1795,9 @@ Optional Packages:
dmeventd pidfile [PID_DIR/dmeventd.pid]
--with-dmeventd-path=PATH
dmeventd path [EPREFIX/sbin/dmeventd]
--with-dmeventd-exit-on-path=PATH
Default path to exit-on file in dmeventd
[/run/nologin]
--with-default-system-dir=DIR
default LVM system directory [/etc/lvm]
--with-default-profile-subdir=SUBDIR
@ -14081,8 +14086,6 @@ _ACEOF
################################################################################
if test "$BUILD_DMEVENTD" = yes; then
# Check whether --with-dmeventd-pidfile was given.
if test "${with_dmeventd_pidfile+set}" = set; then :
withval=$with_dmeventd_pidfile; DMEVENTD_PIDFILE=$withval
@ -14091,14 +14094,6 @@ else
fi
cat >>confdefs.h <<_ACEOF
#define DMEVENTD_PIDFILE "$DMEVENTD_PIDFILE"
_ACEOF
fi
if test "$BUILD_DMEVENTD" = yes; then
# Check whether --with-dmeventd-path was given.
if test "${with_dmeventd_path+set}" = set; then :
withval=$with_dmeventd_path; DMEVENTD_PATH=$withval
@ -14107,10 +14102,28 @@ else
fi
# Check whether --with-dmeventd-exit-on-path was given.
if test "${with_dmeventd_exit_on_path+set}" = set; then :
withval=$with_dmeventd_exit_on_path; DEFAULT_DMEVENTD_EXIT_ON_PATH=$withval
else
DEFAULT_DMEVENTD_EXIT_ON_PATH="/run/nologin"
fi
if test "$BUILD_DMEVENTD" = yes; then
cat >>confdefs.h <<_ACEOF
#define DMEVENTD_PIDFILE "$DMEVENTD_PIDFILE"
_ACEOF
cat >>confdefs.h <<_ACEOF
#define DMEVENTD_PATH "$DMEVENTD_PATH"
_ACEOF
cat >>confdefs.h <<_ACEOF
#define DEFAULT_DMEVENTD_EXIT_ON_PATH "$DEFAULT_DMEVENTD_EXIT_ON_PATH"
_ACEOF
fi
################################################################################

View File

@ -48,6 +48,9 @@
/* Name of default metadata cache subdirectory. */
#undef DEFAULT_CACHE_SUBDIR
/* Path to exit-on dmeventd file. */
#undef DEFAULT_DMEVENTD_EXIT_ON_PATH
/* Define default node creation behavior with dmsetup create */
#undef DEFAULT_DM_ADD_NODE