From 8aefd97252ab5cde9811d93138239f3defeee73b Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 15 Oct 2021 23:33:59 +0200 Subject: configure: fix use of withval Newly added option --with-default-use-devices-file needs to use withval. --- configure | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 642cb4f6b..5719be836 100755 --- a/configure +++ b/configure @@ -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;; -- cgit v1.2.1