diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2021-10-15 23:33:59 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2021-10-15 23:35:05 +0200 |
commit | 8aefd97252ab5cde9811d93138239f3defeee73b (patch) | |
tree | 96b93332845aa789376ac7607b01bb196b14e11f /configure | |
parent | bf87b8354d07dbddc520e8b61543128e2b2f1924 (diff) | |
download | lvm2-8aefd97252ab5cde9811d93138239f3defeee73b.tar.gz |
configure: fix use of withval
Newly added option --with-default-use-devices-file needs to use withval.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -8467,11 +8467,10 @@ $as_echo_n "checking default for use_devicesfile... " >&6; } # Check whether --with-default-use-devices-file was given. if test "${with_default_use_devices_file+set}" = set; then : - withval=$with_default_use_devices_file; DEFAULT_USE_DEVICES_FILE=$enableval + withval=$with_default_use_devices_file; DEFAULT_USE_DEVICES_FILE=$withval else DEFAULT_USE_DEVICES_FILE=0 fi - case "$DEFAULT_USE_DEVICES_FILE" in 0|1);; *) as_fn_error $? "--with-default-use-devices-file parameter invalid" "$LINENO" 5;; |