summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 27ee1f1ed..913d4950a 100755
--- a/configure
+++ b/configure
@@ -35,7 +35,10 @@ chomp($config{GCC34} = `gcc -dumpversion | cut -c 3`); # Minor GCC Ve
chomp($config{OSNAME} = `/bin/uname -s`); # Operating System Name
if (!$config{OSNAME}) {
- $config{OSNAME} = "Unknown"; # For use when uname fails.
+ chomp($config{OSNAME} = `uname -s`);
+ if (!$config{OSNAME}) {
+ $config{OSNAME} = "Unknown";
+ }
}
if (!$config{MAX_CLIENT_T}) {