From: brain Date: Thu, 19 May 2005 02:44:48 +0000 (+0000) Subject: stupid osname stuff X-Git-Tag: v2.0.23~10245 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=92f04e0241ae8891e939aa22547d0707de3986a6;p=user%2Fhenk%2Fcode%2Finspircd.git stupid osname stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1442 e03df62e-2008-0410-955e-edbf42e46eb7 --- 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"; } }