diff --git a/kdm/ConfigureChecks.cmake b/kdm/ConfigureChecks.cmake index 60c03b78..b34a4b8e 100644 --- a/kdm/ConfigureChecks.cmake +++ b/kdm/ConfigureChecks.cmake @@ -32,10 +32,6 @@ int main() # for config-kdm.h check_function_exists(seteuid HAVE_SETEUID) -# for environ in config-kdm.h -check_include_files(crt_externs.h HAVE_CRT_EXTERNS_H) -check_function_exists(_NSGetEnviron HAVE_NSGETENVIRON) - find_library(UTIL_LIBRARIES util) mark_as_advanced(UTIL_LIBRARIES) diff --git a/kdm/config-kdm.h.cmake b/kdm/config-kdm.h.cmake index 3e8912d7..2265681b 100644 --- a/kdm/config-kdm.h.cmake +++ b/kdm/config-kdm.h.cmake @@ -1,14 +1,3 @@ -/* Define if your system needs _NSGetEnviron to set up the environment */ -#cmakedefine HAVE_NSGETENVIRON 1 -/* Define to 1 if you have the header file - needed for "environ". */ -#cmakedefine HAVE_CRT_EXTERNS_H 1 -/* environ - needed by kdm */ -#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H) -# include -# include -# define environ (*_NSGetEnviron()) -#endif - /* Define to 1 if you have the `auth_timeok' function. */ #cmakedefine HAVE_AUTH_TIMEOK 1