aboutsummaryrefslogtreecommitdiff
path: root/csu
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-16 01:18:43 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-16 01:18:43 +0000
commitc269fdb42faa5bfe25453b03a2d74ebb68926d99 (patch)
tree37d54f45bf275e76565baffc393f568a288d6809 /csu
parent145b84138f8b1fca851196451ab0f21a054ae754 (diff)
downloadglibc-c269fdb42faa5bfe25453b03a2d74ebb68926d99.zip
glibc-c269fdb42faa5bfe25453b03a2d74ebb68926d99.tar.gz
glibc-c269fdb42faa5bfe25453b03a2d74ebb68926d99.tar.bz2
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/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/csu/Makefile b/csu/Makefile
index 79eeef1..1fb2e8f 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; \