summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorunknown <tonu@x153.internalnet>2001-08-09 06:07:19 +0800
committerunknown <tonu@x153.internalnet>2001-08-09 06:07:19 +0800
commitea4a4de32f94829d30fc7aded8f2999e96d68ac8 (patch)
tree5ba72f5682b7e285fb68a942c12db8b3f0874059 /configure.in
parent4bb40187438bdfb8b1d8b091399bd01e0e3425c1 (diff)
downloadmariadb-git-ea4a4de32f94829d30fc7aded8f2999e96d68ac8.tar.gz
Added CPU automatic detection. It examines /proc/cpuinfo (if exists) and finds out flags for -mcpu and -march.
TODO is --with-cpu configure option to force some other processor type. Problem is not big as any Intel 686+ CPU will use -mcpu=pentiumpro anyway. Exceptions are Athlons and 586 processors. BUILD/SETUP.sh: Removed hardcoded processor type as it will be added later by configure acinclude.m4: Added CPU automatic detection configure.in: Added CPU automatic detection
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index f0855c93467..9ebf5e5ad74 100644
--- a/configure.in
+++ b/configure.in
@@ -1673,6 +1673,7 @@ AC_ARG_WITH(embedded-server,
[with_embedded_server=no]
)
+MYSQL_CHECK_CPU
MYSQL_CHECK_MYSQLFS
MYSQL_CHECK_VIO
MYSQL_CHECK_OPENSSL