]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fixes to uname stuff
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 19 May 2005 02:41:34 +0000 (02:41 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 19 May 2005 02:41:34 +0000 (02:41 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1440 e03df62e-2008-0410-955e-edbf42e46eb7

configure

index 27ee1f1ed2159b2bd0404810a729476d1896b18e..913d4950aadb9cd65f71a2f83e0534f66e86ddf4 100755 (executable)
--- 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}) {