diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2015-12-02 19:23:02 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2015-12-02 19:23:02 +0100 |
commit | 06cbf7c95c57367ae754e8c77cc6b6e867ded492 (patch) | |
tree | 2f5f41bdb24297924c74580443e47abc00f5be2f /configure.cmake | |
parent | ee3a8cb0234433732935f6ad9f9ee0a5f2315297 (diff) | |
download | mariadb-git-06cbf7c95c57367ae754e8c77cc6b6e867ded492.tar.gz |
restore the check for HAVE_CXX_NEW, it is actually used
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake index c9d2d4e0817..773d246e6be 100644 --- a/configure.cmake +++ b/configure.cmake @@ -834,6 +834,16 @@ CHECK_C_SOURCE_COMPILES(" ) CHECK_CXX_SOURCE_COMPILES(" + #include <new> + int main() + { + char *c = new char; + return 0; + }" + HAVE_CXX_NEW +) + +CHECK_CXX_SOURCE_COMPILES(" #undef inline #if !defined(SCO) && !defined(__osf__) && !defined(_REENTRANT) #define _REENTRANT |