summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-19 02:44:48 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-19 02:44:48 +0000
commit92f04e0241ae8891e939aa22547d0707de3986a6 (patch)
tree3a4ebd431200cc966614a12afe909fa344537a7b
parent66009d7d6586e65f9b681c32ac946d0b637426e0 (diff)
stupid osname stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1442 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 0692bd19a..49d0bd296 100755
--- a/configure
+++ b/configure
@@ -34,9 +34,11 @@ chomp($config{GCCVER} = `gcc -dumpversion | cut -c 1`); # Major GCC Ve
chomp($config{GCC34} = `gcc -dumpversion | cut -c 3`); # Minor GCC Version
chomp($config{OSNAME} = `/bin/uname -s`); # Operating System Name
+print "OSN: '" . $config{OSNAME} . "'\n";
+
if (!$config{OSNAME}) {
chomp($config{OSNAME} = `/usr/bin/uname -s`);
- if (!$config{OSNAME}) {
+ if ($config{OSNAME}) {
$config{OSNAME} = "Unknown";
}
}