FreeRDP/winpr
Baruch Siach 414663cc36 Don't use unavailable C99 long double math functions
uClibc variants do not provide the C99 long double math functions like ceill,
powl, etc.. For future compatibility use check_symbol_exists() to check
whether these functions are available, and keep the result in
HAVE_MATH_C99_LONG_DOUBLE. Use that instead of the fragile Cygwin version
check in triodef.h.

Fixes build failures under uClibc(-ng) like:

../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `powl'
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `fmodl'
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `ceill'
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `log10l'
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `floorl'
collect2: error: ld returned 1 exit status

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
2015-05-03 21:12:30 +03:00
..
include winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
libwinpr Don't use unavailable C99 long double math functions 2015-05-03 21:12:30 +03:00
tools winpr: fixes and cleanup 2015-04-08 11:34:37 +02:00
.gitignore libwinpr-registry: start implementation 2012-06-05 18:56:31 -04:00
CMakeLists.txt winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
WinPRConfig.cmake.in cmake: export to different directory, export more build info 2013-10-29 15:16:44 -04:00