mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 01:14:53 +01:00
configure: set platform variables also when uname
is unrecognized
Since commit
124a67e96e
: configure: add set -u
all variables must be set before their expansion are attempted. These
2 variables: "platform" and "linker_resolves_library_dependencies" were
not given value in the final 'else' branch when platform check failed
due to unrecognized kernel name (output of `uname`). Now those two are
given reasonable non-empty values.
This commit is contained in:
parent
0b138c2686
commit
fde846cf7d
1 changed files with 2 additions and 0 deletions
2
configure
vendored
2
configure
vendored
|
@ -650,6 +650,8 @@ elif [ $uname = "Linux" ] || [ $uname = "GNU" ] ; then
|
|||
fi
|
||||
else
|
||||
printf "Unknown.\n"
|
||||
platform="$uname"
|
||||
linker_resolves_library_dependencies=0
|
||||
cat <<EOF
|
||||
|
||||
*** Warning: Unknown platform. Notmuch might or might not build correctly.
|
||||
|
|
Loading…
Reference in a new issue