summaryrefslogtreecommitdiffstats
path: root/unix/configure.in
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 11:42:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 11:42:31 (GMT)
commitfd30b7a12eaad501b7b4ffa107c93f58283008b9 (patch)
tree0fe7c3557422b4961634ae6cb04385ba56531d6e /unix/configure.in
parentcede5bafeb6e839836374f443c27fbe5597df860 (diff)
downloadtcl-fd30b7a12eaad501b7b4ffa107c93f58283008b9.zip
tcl-fd30b7a12eaad501b7b4ffa107c93f58283008b9.tar.gz
tcl-fd30b7a12eaad501b7b4ffa107c93f58283008b9.tar.bz2
Move cpuid testcase from win-specific to generic tests
Simplify stub tables for functions which work on both UNIX and windows
Diffstat (limited to 'unix/configure.in')
-rw-r--r--unix/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/configure.in b/unix/configure.in
index 869fbaa..63d7170 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -577,7 +577,7 @@ AC_CACHE_CHECK([whether the cpuid instruction is usable], tcl_cv_cpuid, [
"mov %%ebx, %%esi \n\t"
"mov %%edi, %%ebx \n\t"
: "=a"(regsPtr[0]), "=S"(regsPtr[1]), "=c"(regsPtr[2]), "=d"(regsPtr[3])
- : "a"(index));
+ : "a"(index) : "edi");
], tcl_cv_cpuid=yes, tcl_cv_cpuid=no)])
if test $tcl_cv_cpuid = yes; then
AC_DEFINE(HAVE_CPUID, 1, [Is the cpuid instruction usable?])