cmake: support older versions

This commit is contained in:
Vitor Santos Costa
2015-10-20 08:07:42 +01:00
parent 20c87f1ab6
commit 318b2e8df2
4 changed files with 28 additions and 18 deletions

View File

@@ -252,7 +252,7 @@ check_function_exists( labs HAVE_LABS )
check_function_exists( link HAVE_LINK)
check_function_exists( localtime HAVE_LOCALTIME )
check_function_exists( lstat HAVE_LSTAT )
check_function_exists(mallinfo HAVE_MALLINFO)
check_symbol_exists( mallinfo " malloc.h" HAVE_MALLINFO)
check_function_exists(mbscoll HAVE_MBSCOLL)
check_function_exists(mbscasecoll HAVE_MBSCASECOLL)
check_function_exists(mbsnrtowcs HAVE_MBSNRTOWCS)