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