diff options
author | Tomas Carnecky <tomas.carnecky@gmail.com> | 2016-04-18 22:11:53 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-04-18 22:12:00 +0200 |
commit | 87114ae13fd1f10dc00a6b4e64898da3e92d0266 (patch) | |
tree | c6468453376c5eb6fab8b62675f0a2830d8dc1fd /aclocal.m4 | |
parent | 10d808c59307c5c0b1cb40a9ce0eb6e3efc068c9 (diff) | |
download | haskell-87114ae13fd1f10dc00a6b4e64898da3e92d0266.tar.gz |
Use stdint types to define SIZEOF and ALIGNMENT of INTx/WORDx
Saves us a CPP #if in MachDeps.h since we now can always rely on a
64-bit type being available.
Reviewers: austin, bgamari
Reviewed By: bgamari
Subscribers: thomie, erikd
Differential Revision: https://phabricator.haskell.org/D2099
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 477da3f05d..1c9c49f062 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -831,6 +831,16 @@ m4_popdef([fp_Cache])[]dnl ])# FP_CHECK_ALIGNMENT + +# FP_CHECK_SIZEOF_AND_ALIGNMENT(TYPE) +# ------------------------------------------------------------------ +# Combines AC_CHECK_SIZEOF and FP_CHECK_ALIGNMENT. +AC_DEFUN([FP_CHECK_SIZEOF_AND_ALIGNMENT], +[AC_CHECK_SIZEOF([$1]) +FP_CHECK_ALIGNMENT([$1]) +])# FP_CHECK_SIZEOF_AND_ALIGNMENT + + # FP_LEADING_UNDERSCORE # --------------------- # Test for determining whether symbol names have a leading underscore. We assume |