From c269fdb42faa5bfe25453b03a2d74ebb68926d99 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 16 Apr 2000 01:18:43 +0000 Subject: Update. * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and only fall back on using Linux. --- csu/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'csu/Makefile') diff --git a/csu/Makefile b/csu/Makefile index 79eeef190f..1fb2e8f96b 100644 --- a/csu/Makefile +++ b/csu/Makefile @@ -182,7 +182,11 @@ $(objpfx)version-info.h: $(common-objpfx)config.make $(all-Banner-files) version=`uname -r`; \ fi; \ fi; \ - echo "\"Compiled on a Linux $$version system" \ + os=`uname -s 2> /dev/null`; \ + if [ -z "$$os" ]; then \ + os=Linux; \ + fi; \ + echo "\"Compiled on a $$os $$version system" \ "on `date +%Y-%m-%d`.\\n\"" ;; \ *) ;; \ esac; \ -- cgit 1.4.1