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

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

Git commit 0941135cc57539ad66f96396f21aceca12215d1e by Dario Freddi.
Committed on 01/10/2011 at 00:12.
Pushed by dafre into branch 'KDE/4.7'.

Restore old variable names to avoid build breakages

CCMAIL: Maurice.Ferte@basyskom.de
(cherry picked from commit e9a8579de01f4031f6cad9b30e10d490d9b65299)

M  +4    -2    ConfigureChecks.cmake

http://commits.kde.org/kde-workspace/0941135cc57539ad66f96396f21aceca12215d1e

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