mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-4.1
into ltantony.mysql.com:/usr/home/antony/work2/fixbuild-4.1 BitKeeper/etc/logging_ok: auto-union
This commit is contained in:
commit
bee950bd83
1 changed files with 12 additions and 0 deletions
|
@ -19,6 +19,18 @@ if test -r /proc/cpuinfo ; then
|
|||
if test -z "$model_name" ; then
|
||||
model_name=`uname -m`
|
||||
fi
|
||||
else
|
||||
# Fallback when there is no /proc/cpuinfo
|
||||
case "`uname -s`" in
|
||||
FreeBSD)
|
||||
cpu_family=`uname -m`;
|
||||
model_name=`sysctl -b hw.model`
|
||||
;;
|
||||
*)
|
||||
cpu_family=`uname -m`;
|
||||
model_name="unknown";
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
case "$cpu_family--$model_name" in
|
||||
|
|
Loading…
Reference in a new issue