diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-19 02:44:48 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-19 02:44:48 +0000 |
commit | 92f04e0241ae8891e939aa22547d0707de3986a6 (patch) | |
tree | 3a4ebd431200cc966614a12afe909fa344537a7b /configure | |
parent | 66009d7d6586e65f9b681c32ac946d0b637426e0 (diff) |
stupid osname stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1442 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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"; } } |