diff options
author | Oneric <oneric@oneric.stub> | 2020-11-13 23:49:11 +0100 |
---|---|---|
committer | Oneric <oneric@oneric.stub> | 2020-11-13 23:49:11 +0100 |
commit | 5c309768cb4e55172f0609e931f0f481d7518c60 (patch) | |
tree | ff2c24350204978d2e698b205b122b66733114be /libass/Makefile.am | |
parent | ca747fa230f9db46ab7b4b61fb164dbc1a87e615 (diff) | |
download | libass-5c309768cb4e55172f0609e931f0f481d7518c60.tar.bz2 libass-5c309768cb4e55172f0609e931f0f481d7518c60.tar.xz |
configure: use AC_SEARCH_LIBS instead of AC_CHECK_LIB
This avoids unneccessary -lm flags on some platforms integrating libm
into libc and allows us to detect systems that do not provide
implementations of math functions in either libc or libm.
The caveat is, that some systems, like FreeBSD split their math
functions between libc and libm. By checking for C99 lrint instead of
C89 fabs, this check correctly includes libm in FreeBSD; let's hope this
also holds for other systems splitting up their math.h implementations.
Diffstat (limited to 'libass/Makefile.am')
0 files changed, 0 insertions, 0 deletions