kdm: remove unused configuration checks

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2020-09-13 14:44:44 +03:00
parent 23a268ab16
commit 0e86909d0b
2 changed files with 0 additions and 15 deletions

View file

@ -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)

View file

@ -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 <crt_externs.h> 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 <sys/time.h>
# include <crt_externs.h>
# define environ (*_NSGetEnviron())
#endif
/* Define to 1 if you have the `auth_timeok' function. */
#cmakedefine HAVE_AUTH_TIMEOK 1