Commit 08bba8bc authored by antony@ltantony.mysql.com's avatar antony@ltantony.mysql.com

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

into ltantony.mysql.com:/usr/home/antony/work2/fixbuild-4.1
parents f09fc52b 9eaf381d
...@@ -19,6 +19,18 @@ if test -r /proc/cpuinfo ; then ...@@ -19,6 +19,18 @@ if test -r /proc/cpuinfo ; then
if test -z "$model_name" ; then if test -z "$model_name" ; then
model_name=`uname -m` model_name=`uname -m`
fi 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 fi
case "$cpu_family--$model_name" in 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