Remove extraneous "(cached)" line when the -C option is used.
We do not need to call AC_CACHE_VAL() to ensure that a variable is cached, its name just needs to match the pattern *_cv_*.
This commit is contained in:
9
configure
vendored
9
configure
vendored
@@ -17464,14 +17464,7 @@ if test -n "$sudo_cv_prev_host"; then
|
||||
as_fn_error $? "config.cache was created on a different host; remove it and re-run configure." "$LINENO" 5
|
||||
fi
|
||||
fi
|
||||
if test ${sudo_cv_prev_host+y}
|
||||
then :
|
||||
printf %s "(cached) " >&6
|
||||
else case e in #(
|
||||
e) sudo_cv_prev_host="$host" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
sudo_cv_prev_host="$host"
|
||||
|
||||
if test -n "$host_os"; then
|
||||
OS=`echo $host_os | sed 's/[0-9].*//'`
|
||||
|
@@ -1778,7 +1778,7 @@ if test -n "$sudo_cv_prev_host"; then
|
||||
AC_MSG_ERROR([config.cache was created on a different host; remove it and re-run configure.])
|
||||
fi
|
||||
fi
|
||||
AC_CACHE_VAL(sudo_cv_prev_host, sudo_cv_prev_host="$host")
|
||||
sudo_cv_prev_host="$host"
|
||||
|
||||
dnl
|
||||
dnl We want to be able to differentiate between different rev's
|
||||
|
Reference in New Issue
Block a user