From 71be0ee5d441711ed7070bb69f4db18f775b1030 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 28 Mar 2014 18:54:47 -0500 Subject: Extract and include any pertinent SCM metadata from the crashed application in its crash report --- ConfigureChecks.cmake | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 87b81459b..4fa14ed1e 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -311,3 +311,15 @@ if( WITH_HAL AND (BUILD_KSMSERVER OR BUILD_KICKER OR BUILD_TDEIOSLAVES) ) endif( ) endif( ) + +# check for libr +if( WITH_ELFICON ) + pkg_search_module( LIBR libr ) + if( NOT LIBR_FOUND ) + message(FATAL_ERROR "\nelficon support was requested, but libr was not found on your system" ) + endif( NOT LIBR_FOUND ) + if( NOT "${LIBR_VERSION}" STREQUAL "0.6.0" ) + message(FATAL_ERROR "\nelficon support was requested, but the libr version on your system may not be compatible with TDE" ) + endif( NOT "${LIBR_VERSION}" STREQUAL "0.6.0" ) + set( HAVE_ELFICON 1 ) +endif( ) \ No newline at end of file -- cgit v1.2.3