Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
add0fffd
Commit
add0fffd
authored
Oct 30, 2001
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed processor detection script to be more portable
parent
1baa5527
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
acinclude.m4
acinclude.m4
+6
-6
No files found.
acinclude.m4
View file @
add0fffd
...
...
@@ -652,21 +652,21 @@ if test -r /proc/cpuinfo ; then
cpu_vendor=`$cpuinfo | grep 'vendor_id' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -1`
fi
if test "$cpu_vendor" = "AuthenticAMD"; then
if test $cpu_family
>=
6; then
if test $cpu_family
-ge
6; then
cpu_set="athlon pentiumpro k5 pentium i486 i386";
elif test $cpu_family
=
5; then
elif test $cpu_family
-eq
5; then
cpu_set="k5 pentium i486 i386";
elif test $cpu_family
=
4; then
elif test $cpu_family
-eq
4; then
cpu_set="i486 i386"
else
cpu_set="i386"
fi
elif test "$cpu_vendor" = "GenuineIntel"; then
if test $cpu_family
>=
6; then
if test $cpu_family
-ge
6; then
cpu_set="pentiumpro pentium i486 i386";
elif test $cpu_family
=
5; then
elif test $cpu_family
-eq
5; then
cpu_set="pentium i486 i386";
elif test $cpu_family
=
4; then
elif test $cpu_family
-eq
4; then
cpu_set="i486 i386"
else
cpu_set="i386"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment