~mdw
/
misc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86-model: New program, prints CPUID information.
[misc]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
dda3d4e
..
814b686
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-30,6
+30,8
@@
AC_CONFIG_SRCDIR([shadowfix.in])
AC_CONFIG_AUX_DIR([config])
AM_INIT_AUTOMAKE([foreign])
AC_CONFIG_AUX_DIR([config])
AM_INIT_AUTOMAKE([foreign])
+AC_CANONICAL_HOST
+
dnl--------------------------------------------------------------------------
dnl C programming environment.
dnl--------------------------------------------------------------------------
dnl C programming environment.
@@
-57,6
+59,10
@@
PKG_CHECK_MODULES([catacomb], [catacomb >= 2.1.1],
[have_catacomb=yes], [have_catacomb=no])
AM_CONDITIONAL([HAVE_CATACOMB], [test $have_catacomb = yes])
[have_catacomb=yes], [have_catacomb=no])
AM_CONDITIONAL([HAVE_CATACOMB], [test $have_catacomb = yes])
+## Processor type.
+case "$host_cpu" in i?86) x86=yes;; *) x86=no;; esac
+AM_CONDITIONAL([X86], [test $x86 = yes -a $GCC = yes])
+
dnl--------------------------------------------------------------------------
dnl Python, Perl and other scripting languages.
dnl--------------------------------------------------------------------------
dnl Python, Perl and other scripting languages.