restore the check for HAVE_CXX_NEW, it is actually used

This commit is contained in:
Vladislav Vaintroub 2015-12-02 19:23:02 +01:00
parent ee3a8cb023
commit 06cbf7c95c

View file

@ -833,6 +833,16 @@ CHECK_C_SOURCE_COMPILES("
HAVE_ATTRIBUTE_CLEANUP
)
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)