diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-04-16 01:18:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-04-16 01:18:43 +0000 |
commit | c269fdb42faa5bfe25453b03a2d74ebb68926d99 (patch) | |
tree | 37d54f45bf275e76565baffc393f568a288d6809 /csu | |
parent | 145b84138f8b1fca851196451ab0f21a054ae754 (diff) | |
download | glibc-c269fdb42faa5bfe25453b03a2d74ebb68926d99.tar.gz glibc-c269fdb42faa5bfe25453b03a2d74ebb68926d99.tar.xz glibc-c269fdb42faa5bfe25453b03a2d74ebb68926d99.zip |
Update.
* csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and only fall back on using Linux.
Diffstat (limited to 'csu')
-rw-r--r-- | csu/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
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; \ |