configure: fix for SunOS based systems
authorDavid CARLIER <devnexen@gmail.com>
Sat, 18 Jul 2020 13:19:10 +0000 (14:19 +0100)
committerThomas Huth <thuth@redhat.com>
Sat, 20 Mar 2021 05:33:17 +0000 (06:33 +0100)
local directive make the configure fails on these systems.

Signed-off-by: David Carlier <devnexen@gmail.com>
Message-Id: <CA+XhMqy95D8X-QvBcEfL=a-Rkgy6aJtheskkqZwQkreru+T_Wg@mail.gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
configure

index 847bc4d095753b454b5871c22fd21d37be646e0d..61872096a8d591f728cca2aa7b62bf22846dd27a 100755 (executable)
--- a/configure
+++ b/configure
@@ -111,7 +111,7 @@ error_exit() {
 do_compiler() {
     # Run the compiler, capturing its output to the log. First argument
     # is compiler binary to execute.
-    local compiler="$1"
+    compiler="$1"
     shift
     if test -n "$BASH_VERSION"; then eval '
         echo >>config.log "