aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2013-11-25 09:53:34 +0000
committerdos-reis <gdr@axiomatics.org>2013-11-25 09:53:34 +0000
commit846fa1ca6fc992a70496abc1185538ecb76375d5 (patch)
tree71b04e3b327807292ed1feac364793ea90537f6d /configure
parent70f1bcef17f77f31f8c60d0fbe07e019202088db (diff)
downloadopen-axiom-846fa1ca6fc992a70496abc1185538ecb76375d5.tar.gz
Check for alignof before __alignof
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 65005b7a..dbee59aa 100755
--- a/configure
+++ b/configure
@@ -19928,17 +19928,17 @@ $as_echo_n "checking name of alignment query operator... " >&6; }
oa_alignment=
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-int a = __alignof(int);
+int a = alignof(int);
_ACEOF
if ac_fn_cxx_try_compile "$LINENO"; then :
- oa_alignment="__alignof"
+ oa_alignment="alignof"
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-int a = alignof(int);
+int a = __alignof(int);
_ACEOF
if ac_fn_cxx_try_compile "$LINENO"; then :
- oa_alignment="alignof"
+ oa_alignment="__alignof"
else
as_fn_error $? "C++ compiler does not support alignment query operator" "$LINENO" 5
fi