TDE network applications
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ConfigureChecks.cmake 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #################################################
  2. #
  3. # (C) 2010 Serghei Amelian
  4. # serghei (DOT) amelian (AT) gmail.com
  5. #
  6. # Improvements and feedback are welcome
  7. #
  8. # This file is released under GPL >= 2
  9. #
  10. #################################################
  11. # required stuff
  12. tde_setup_architecture_flags( )
  13. include(TestBigEndian)
  14. test_big_endian(WORDS_BIGENDIAN)
  15. tde_setup_largefiles( )
  16. find_package( TQt )
  17. find_package( TDE )
  18. ##### check for gcc visibility support #########
  19. if( WITH_GCC_VISIBILITY )
  20. tde_setup_gcc_visibility( )
  21. endif( )
  22. if( BUILD_KOPETE OR BUILD_KPPP )
  23. check_include_file( string.h HAVE_STRING_H )
  24. endif( )
  25. if( BUILD_KOPETE OR BUILD_KTALKD )
  26. check_include_file( stdint.h HAVE_STDINT_H )
  27. endif( )
  28. if( WITH_SLP )
  29. check_library_exists( slp "SLPOpen" "" HAVE_SLP )
  30. if( HAVE_SLP )
  31. set(LIB_SLP slp )
  32. else( )
  33. tde_message_fatal( "openslp is required, but was not found on your system" )
  34. endif( )
  35. endif( )
  36. check_symbol_exists( strlcat "string.h" HAVE_STRLCAT_PROTO )
  37. check_symbol_exists( strlcpy "string.h" HAVE_STRLCPY_PROTO )