]> granicus.if.org Git - check/commitdiff
cmake: remove unnecessary check for getenv()
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Thu, 2 Jan 2014 02:42:31 +0000 (02:42 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Thu, 2 Jan 2014 02:42:31 +0000 (02:42 +0000)
autotools does not currently check for getenv(), so there
is nothing to do if it is actually missing.

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

CMakeLists.txt

index 99aec8f8b18a6aefd804648e1c5f175221ae03fc..9e2e512d830f3c3b78b9e0b0b4273724b3182b57 100644 (file)
@@ -96,7 +96,6 @@ ck_check_include_file("time.h" HAVE_TIME_H)
 ###############################################################################
 # Check functions
 check_function_exists(fork HAVE_FORK)
-check_function_exists(getenv HAVE_GETENV)
 check_function_exists(getpid HAVE_GETPID)
 check_function_exists(gettimeofday HAVE_GETTIMEOFDAY)
 check_function_exists(localtime_r HAVE_DECL_LOCALTIME_R)