Commit 11d66806 authored by antony@ltantony.mysql.com's avatar antony@ltantony.mysql.com

Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-5.0

into ltantony.mysql.com:/usr/home/antony/work2/fixbuild-5.0
parents 7a56977a 4c3d1f16
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment