Be more helpful when a prerequisite program from $buildreq
cannot be located, by showing what variable to export if it
is already installed but not in PATH.
* gl/build-aux/bootstrap.in (func_check_versions): Display
associated environment variables for not found prerequisite
programs.
* bootstrap: Regenerate.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
_G_instver=`func_get_version $_G_app`
test -z "$_G_instver" \
- || func_verbose "found '$_G_app' version $_G_instver"
+ || func_verbose "found '$_G_app' version $_G_instver."
# Fail if --version didn't work.
if test -z "$_G_instver"; then
- func_error "'$_G_app' not found"
+ func_error "Prerequisite '$_G_app' not found. Please install it, or
+'export $_G_appvar=/path/to/$_G_app'."
func_check_versions_result=false
# Fail if a new version than what we have is required.
_G_instver=`func_get_version $_G_app`
test -z "$_G_instver" \
- || func_verbose "found '$_G_app' version $_G_instver"
+ || func_verbose "found '$_G_app' version $_G_instver."
# Fail if --version didn't work.
if test -z "$_G_instver"; then
- func_error "'$_G_app' not found"
+ func_error "Prerequisite '$_G_app' not found. Please install it, or
+'export $_G_appvar=/path/to/$_G_app'."
func_check_versions_result=false
# Fail if a new version than what we have is required.