2023-03-23 07:49:01 +00:00
|
|
|
--- a/bootstrap
|
|
|
|
+++ b/bootstrap
|
2023-09-04 22:59:51 +00:00
|
|
|
@@ -244,7 +244,7 @@ check_exists() {
|
2023-03-23 07:49:01 +00:00
|
|
|
($2 --version </dev/null)
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
- ($1 --version </dev/null) >/dev/null 2>&1
|
|
|
|
+ ($@ --version </dev/null) >/dev/null 2>&1
|
|
|
|
fi
|
|
|
|
|
|
|
|
test $? -lt 126
|
2023-09-04 22:59:51 +00:00
|
|
|
@@ -309,7 +309,7 @@ p
|
2023-03-23 07:49:01 +00:00
|
|
|
q'
|
|
|
|
|
|
|
|
get_version() {
|
|
|
|
- app=$1
|
|
|
|
+ app="$@"
|
|
|
|
|
|
|
|
$app --version >/dev/null 2>&1 || { $app --version; return 1; }
|
|
|
|
|
2023-09-04 22:59:51 +00:00
|
|
|
@@ -366,13 +366,13 @@ check_versions() {
|
2023-03-23 07:49:01 +00:00
|
|
|
if [ "$req_ver" = "-" ]; then
|
|
|
|
# Merely require app to exist; not all prereq apps are well-behaved
|
|
|
|
# so we have to rely on $? rather than get_version.
|
|
|
|
- if ! check_exists --verbose $app; then
|
|
|
|
+ if ! check_exists --verbose "$app"; then
|
|
|
|
warn_ "Error: '$app' not found"
|
|
|
|
ret=1
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
# Require app to produce a new enough version string.
|
|
|
|
- inst_ver=$(get_version $app)
|
|
|
|
+ inst_ver=$(get_version "$app")
|
|
|
|
if [ ! "$inst_ver" ]; then
|
|
|
|
warn_ "Error: '$app' not found"
|
|
|
|
ret=1
|
2024-04-01 22:36:49 +00:00
|
|
|
@@ -1157,7 +1157,7 @@ autogen()
|
2023-09-04 22:59:51 +00:00
|
|
|
# two just-pre-run programs.
|
2023-03-23 07:49:01 +00:00
|
|
|
|
2023-09-04 22:59:51 +00:00
|
|
|
# Import from gettext.
|
|
|
|
- with_gettext=yes
|
|
|
|
+ with_gettext=no
|
|
|
|
grep '^[ ]*AM_GNU_GETTEXT_VERSION(' configure.ac >/dev/null || \
|
|
|
|
with_gettext=no
|
2023-03-23 07:49:01 +00:00
|
|
|
|