#################################################
#
#  (C) 2010-2011 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

find_program( SETXKBMAP setxkbmap )
if( SETXKBMAP-NOTFOUND )
  tde_message_fatal( "setxkbmap is required, but not found on your system" )
endif()

pkg_search_module( XKBFILE xkbfile )
if( NOT XKBFILE_FOUND )
  tde_message_fatal( "xkbfile is requested, but was not found on your system" )
endif()