[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kde-workspace] /: Restore old variable names to avoid build breakages
From:       Dario Freddi <drf () kde ! org>
Date:       2011-09-30 22:13:01
Message-ID: 20110930221301.1285AA60A6 () git ! kde ! org
[Download RAW message or body]

Git commit e9a8579de01f4031f6cad9b30e10d490d9b65299 by Dario Freddi.
Committed on 01/10/2011 at 00:12.
Pushed by dafre into branch 'master'.

Restore old variable names to avoid build breakages

CCMAIL: Maurice.Ferte@basyskom.de

M  +4    -2    ConfigureChecks.cmake

http://commits.kde.org/kde-workspace/e9a8579de01f4031f6cad9b30e10d490d9b65299

diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 34edce2..b0d917e 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -87,5 +87,7 @@ check_function_exists(setpriority  HAVE_SETPRIORITY) # kscreenlocker
 
 set(CMAKE_REQUIRED_INCLUDES ${X11_Xrandr_INCLUDE_PATH}/Xrandr.h)
 set(CMAKE_REQUIRED_LIBRARIES ${X11_Xrandr_LIB})
-check_function_exists(XRRGetScreenResourcesCurrent HAS_RANDR_1_3)
-check_function_exists(XRRGetScreenSizeRange HAS_RANDR_1_2)
+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)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic