diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 7de1b19c..6020bf29 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -96,7 +96,7 @@ cmake_reset_check_state() set(CMAKE_REQUIRED_LIBRARIES ${X11_Xext_LIB}) check_symbol_exists(DPMSCapable "X11/Xlib.h;X11/extensions/dpms.h" HAVE_DPMSCAPABLE_PROTO) check_symbol_exists(DPMSInfo "X11/Xlib.h;X11/extensions/dpms.h" HAVE_DPMSINFO_PROTO) -cmake_pop_check_state() +cmake_reset_check_state() cmake_reset_check_state() set(CMAKE_REQUIRED_INCLUDES ${X11_Xrandr_INCLUDE_PATH}/Xrandr.h) @@ -105,4 +105,4 @@ check_function_exists(XRRGetScreenSizeRange XRANDR_1_2_FOUND) macro_bool_to_01(XRANDR_1_2_FOUND HAS_RANDR_1_2) check_function_exists(XRRGetScreenResourcesCurrent XRANDR_1_3_FOUND) macro_bool_to_01(XRANDR_1_3_FOUND HAS_RANDR_1_3) -cmake_pop_check_state() +cmake_reset_check_state() diff --git a/kdm/ConfigureChecks.cmake b/kdm/ConfigureChecks.cmake index c253caa5..17a3764c 100644 --- a/kdm/ConfigureChecks.cmake +++ b/kdm/ConfigureChecks.cmake @@ -44,7 +44,7 @@ if (PAM_FOUND) set(CMAKE_REQUIRED_LIBRARIES ${PAM_LIBRARIES}) check_function_exists(pam_getenvlist HAVE_PAM_GETENVLIST) endif (PAM_FOUND) -cmake_pop_check_state() +cmake_reset_check_state() macro(define_library LIB FN) @@ -98,7 +98,7 @@ int main() return errno != EACCES; } " HONORS_SOCKET_PERMS) -cmake_pop_check_state() +cmake_reset_check_state() # for genkdmconf; this is TODO #if (EXISTS /etc/ttys) @@ -172,7 +172,7 @@ if (X11_Xdmcp_FOUND) cmake_reset_check_state() set(CMAKE_REQUIRED_LIBRARIES ${X11_LIBRARIES}) check_function_exists(XdmcpWrap HASXDMAUTH) - cmake_pop_check_state() + cmake_reset_check_state() endif (X11_Xdmcp_FOUND) option(KDE4_KERBEROS4 "Compile KDM with Kerberos v4 support" OFF) @@ -206,7 +206,7 @@ macro_bool_to_01(KDE4_KDM_XCONSOLE WITH_KDM_XCONSOLE) cmake_reset_check_state() set(CMAKE_REQUIRED_LIBRARIES ${NSL_LIBRARIES}) check_function_exists(getifaddrs HAVE_GETIFADDRS) -cmake_pop_check_state() +cmake_reset_check_state() check_function_exists(getloadavg HAVE_GETLOADAVG) check_function_exists(setproctitle HAVE_SETPROCTITLE) check_function_exists(strnlen HAVE_STRNLEN)