From 92f04e0241ae8891e939aa22547d0707de3986a6 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 19 May 2005 02:44:48 +0000 Subject: [PATCH] stupid osname stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1442 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"; } } -- 2.39.2