diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2016-03-11 14:42:30 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2016-03-11 14:42:30 +0000 |
commit | ee75d9ae4a890d62b009444bed9512b4dab3ee1d (patch) | |
tree | 089d790ca21091372539ddd51f3762af232bf82d /protocols/Telegram/tgl/libevent/cmake/CheckFunctionKeywords.cmake | |
parent | bb5bb4407f2578ed8d6dc3b41f6ddb8b798e560c (diff) |
old version
git-svn-id: http://svn.miranda-ng.org/main/trunk@16458 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Telegram/tgl/libevent/cmake/CheckFunctionKeywords.cmake')
-rw-r--r-- | protocols/Telegram/tgl/libevent/cmake/CheckFunctionKeywords.cmake | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/protocols/Telegram/tgl/libevent/cmake/CheckFunctionKeywords.cmake b/protocols/Telegram/tgl/libevent/cmake/CheckFunctionKeywords.cmake deleted file mode 100644 index 3d968b8a6b..0000000000 --- a/protocols/Telegram/tgl/libevent/cmake/CheckFunctionKeywords.cmake +++ /dev/null @@ -1,14 +0,0 @@ -include(CheckCSourceCompiles) - -macro(check_function_keywords _wordlist) - set(${_result} "") - foreach(flag ${_wordlist}) - string(REGEX REPLACE "[-+/ ()]" "_" flagname "${flag}") - string(TOUPPER "${flagname}" flagname) - set(have_flag "HAVE_${flagname}") - check_c_source_compiles("${flag} void func(); void func() { } int main() { func(); return 0; }" ${have_flag}) - if(${have_flag} AND NOT ${_result}) - set(${_result} "${flag}") - endif(${have_flag} AND NOT ${_result}) - endforeach(flag) -endmacro(check_function_keywords) |