summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.cmake10
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