From: Tomi Ollila Date: Thu, 29 Sep 2016 13:12:49 +0000 (+0300) Subject: configure: set platform variables also when `uname` is unrecognized X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fde846cf7dea2ad67418f3f3c9311213b766bfec;p=notmuch.git configure: set platform variables also when `uname` is unrecognized Since commit 124a67e96ecab5495c0f17b6875d53dfd67ff137: 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. --- diff --git a/configure b/configure index fa4c5b5e..cc6746c1 100755 --- a/configure +++ b/configure @@ -650,6 +650,8 @@ elif [ $uname = "Linux" ] || [ $uname = "GNU" ] ; then fi else printf "Unknown.\n" + platform="$uname" + linker_resolves_library_dependencies=0 cat <