From kde-commits Fri Sep 30 22:13:51 2011 From: Dario Freddi Date: Fri, 30 Sep 2011 22:13:51 +0000 To: kde-commits Subject: [kde-workspace/KDE/4.7] /: Restore old variable names to avoid Message-Id: <20110930221351.993C6A60B9 () git ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=131742085504250 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)