summaryrefslogtreecommitdiff
path: root/build_posix
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2016-03-14 16:45:49 +1100
committerMichael Cahill <michael.cahill@mongodb.com>2016-03-14 16:45:49 +1100
commit880021aea3dfae1a398bcec4922afe0c5755e14d (patch)
tree11f559091f9a961ec83d4329e402e036da0399e3 /build_posix
parent282f70bdecd6f2f7af8e50fcaa2529046aaae5b8 (diff)
downloadmongo-880021aea3dfae1a398bcec4922afe0c5755e14d.tar.gz
WT-2477 Checks for a 64-bit build without polluting config.h files.
Diffstat (limited to 'build_posix')
-rw-r--r--build_posix/configure.ac.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/build_posix/configure.ac.in b/build_posix/configure.ac.in
index 3280a4e9af3..9251873be73 100644
--- a/build_posix/configure.ac.in
+++ b/build_posix/configure.ac.in
@@ -113,10 +113,12 @@ AC_SYS_LARGEFILE
AC_C_BIGENDIAN
-AC_CHECK_SIZEOF(void *)
+AC_MSG_CHECKING([for a 64-bit build])
+AC_COMPUTE_INT(ac_cv_sizeof_void_p, [sizeof(void *)])
if test "$ac_cv_sizeof_void_p" != "8" ; then
AC_MSG_ERROR([WiredTiger requires a 64-bit build.])
fi
+AC_MSG_RESULT(yes)
# Linux requires _GNU_SOURCE to be defined
case "$host_os" in