~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure.ac: Segregate checks by source language better.
[catacomb]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
902d7d5
..
f5d004f
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-130,15
+130,11
@@
case $CPUFAM in
*) AC_MSG_RESULT([$CPUFAM/$ABI]) ;;
esac
*) AC_MSG_RESULT([$CPUFAM/$ABI]) ;;
esac
-dnl Some equipment wanted for checking CPU features at runtime.
-AC_CHECK_HEADERS([asm/hwcap.h])
-AC_CHECK_HEADERS([sys/auxv.h])
-AC_CHECK_HEADERS([linux/auxvec.h])
-AC_CHECK_FUNCS([getauxval])
-
dnl--------------------------------------------------------------------------
dnl C programming environment.
dnl--------------------------------------------------------------------------
dnl C programming environment.
+AC_LANG([C])
+
CATACOMB_LIBS=
dnl Find out if we're cross-compiling.
CATACOMB_LIBS=
dnl Find out if we're cross-compiling.
@@
-162,6
+158,12
@@
AC_CHECK_HEADERS([stdint.h])
AC_SUBST([have_stdint_h])
AC_C_LONG_LONG
AC_SUBST([have_stdint_h])
AC_C_LONG_LONG
+dnl Some equipment wanted for checking CPU features at runtime.
+AC_CHECK_HEADERS([asm/hwcap.h])
+AC_CHECK_HEADERS([sys/auxv.h])
+AC_CHECK_HEADERS([linux/auxvec.h])
+AC_CHECK_FUNCS([getauxval])
+
dnl Find the bit lengths of the obvious integer types. This will be useful
dnl when deciding on a representation for multiprecision integers.
type_bits="" type_bits_sep=""
dnl Find the bit lengths of the obvious integer types. This will be useful
dnl when deciding on a representation for multiprecision integers.
type_bits="" type_bits_sep=""