]> granicus.if.org Git - check/commitdiff
cmake: remove unnecessary check for strerror()
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Thu, 2 Jan 2014 02:42:45 +0000 (02:42 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Thu, 2 Jan 2014 02:42:45 +0000 (02:42 +0000)
There is no replacement for strerror currently. If this check
failed, nothing would be done anyway.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@990 64e312b2-a51f-0410-8e61-82d0ca0eb02a

CMakeLists.txt

index d05e452551dd6bbef003cd4a29d04a6ce5fb04ef..6e7571d8bd4a6559d90ea90a4d94b25d6f61eabe 100644 (file)
@@ -106,7 +106,6 @@ check_function_exists(setenv HAVE_DECL_SETENV)
 check_function_exists(sigaction HAVE_SIGACTION)
 check_function_exists(snprintf HAVE_SNPRINTF)
 check_function_exists(strdup HAVE_DECL_STRDUP)
-check_function_exists(strerror HAVE_STRERROR)
 check_function_exists(strsignal HAVE_DECL_STRSIGNAL)
 check_function_exists(_getpid HAVE__GETPID)
 check_function_exists(_localtime64_s HAVE__LOCALTIME64_S)