AM_CONDITIONAL([HAVE_PRLIMIT], [test $have_prlimit = yes])
## Processor type.
-case "$host_cpu" in i?86) x86=yes;; *) x86=no;; esac
+case "$host_cpu" in i?86 | x86_64) x86=yes;; *) x86=no;; esac
AM_CONDITIONAL([X86], [test $x86 = yes -a $GCC = yes])
dnl--------------------------------------------------------------------------
#include <mLib/quis.h>
#include <mLib/report.h>
-#if !defined(__GNUC__) || !defined(__i386__)
+#if !defined(__GNUC__) || (!defined(__i386__) && !defined(__amd64__))
# error "This isn't going to work."
#endif
static inline void cpuid(unsigned leaf, struct cpuid *c)
{
+
__asm__ ("cpuid"
: "=a" (c->eax),
"=b" (c->ebx),