summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-04-27 17:52:47 +0200
committerunknown <msvensson@neptunus.(none)>2005-04-27 17:52:47 +0200
commitc18bed57151c88911907c6fb01603fb55c0fcc96 (patch)
treeb1f282a8600eccc99f5c541e3a0bad0bf2e9092e /BUILD
parent1885e9b858ddcf70cb800cd4790f4ec6b68b485a (diff)
parentcd50bf9ae4407e856a5cb4263512013a24cff5b7 (diff)
downloadmariadb-git-c18bed57151c88911907c6fb01603fb55c0fcc96.tar.gz
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/check-cpu8
1 files changed, 7 insertions, 1 deletions
diff --git a/BUILD/check-cpu b/BUILD/check-cpu
index 633aa9e8a00..b5c14e38403 100755
--- a/BUILD/check-cpu
+++ b/BUILD/check-cpu
@@ -47,10 +47,16 @@ case "$cpu_family--$model_name" in
cpu_flag="powerpc";
;;
*)
- cpu_flag="i386";
+ cpu_flag="";
;;
esac
+if test -z "$cpu_flag"; then
+ echo "BUILD/check-cpu: Oops, could not findout what kind of cpu this machine is using."
+ check_cpu_flags=""
+ return
+fi
+
echo "cpu_flag: $cpu_flag"
if test -z "$CC" ; then