Commit 06cbf7c9 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

restore the check for HAVE_CXX_NEW, it is actually used

parent ee3a8cb0
...@@ -833,6 +833,16 @@ CHECK_C_SOURCE_COMPILES(" ...@@ -833,6 +833,16 @@ CHECK_C_SOURCE_COMPILES("
HAVE_ATTRIBUTE_CLEANUP HAVE_ATTRIBUTE_CLEANUP
) )
CHECK_CXX_SOURCE_COMPILES("
#include <new>
int main()
{
char *c = new char;
return 0;
}"
HAVE_CXX_NEW
)
CHECK_CXX_SOURCE_COMPILES(" CHECK_CXX_SOURCE_COMPILES("
#undef inline #undef inline
#if !defined(SCO) && !defined(__osf__) && !defined(_REENTRANT) #if !defined(SCO) && !defined(__osf__) && !defined(_REENTRANT)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment