summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Zuercher <stephan@turbinelabs.io>2017-12-05 09:49:36 -0800
committerAliaksey Kandratsenka <alkondratenko@gmail.com>2017-12-09 09:06:52 -0800
commit8b1d13c631024ce7e80508c284c7bc5b1327e131 (patch)
treef7db7014be401565fba33c010060945cf3658dab
parent36ab068baa3b07c083bd79029622aa382aeff84a (diff)
downloadgperftools-8b1d13c631024ce7e80508c284c7bc5b1327e131.tar.gz
configure.ac: use link check for std::align_val_t
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 342cd6a..f2ae799 100644
--- a/configure.ac
+++ b/configure.ac
@@ -385,7 +385,7 @@ AM_CONDITIONAL(HAVE_SIZED_DEALLOCATION,
AC_CACHE_CHECK([if C++ compiler supports std::align_val_t without options],
[perftools_cv_have_align_val_t],
[AC_LANG_PUSH(C++)
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
+ AC_LINK_IFELSE([AC_LANG_PROGRAM(
[[#include <new>]],
[[(::operator delete)((::operator new)(256, std::align_val_t(16)), std::align_val_t(16))]])],
perftools_cv_have_align_val_t=yes,