git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1447
e03df62e-2008-0410-955e-
edbf42e46eb7
chomp($config{GCC34} = `gcc -dumpversion | cut -c 3`); # Minor GCC Version
chomp($config{OSNAME} = `/bin/uname`); # Operating System Name
-print "OSN: '" . $config{OSNAME} . "'\n";
-
if ((!$config{OSNAME}) || ($config{OSNAME} eq "")) {
- print "Running 2nd uname\n";
chomp($config{OSNAME} = `/usr/bin/uname`);
- print "OSN: '" . $config{OSNAME} . "'\n";
if ((!$config{OSNAME}) || ($config{OSNAME} eq "")){
$config{OSNAME} = "Unknown";
}