diff options
author | Jeroen Roovers | 2020-08-13 10:00:34 +0200 |
---|---|---|
committer | Jeroen Roovers | 2020-08-13 10:00:34 +0200 |
commit | 00bc6dadedcf62fe00c85f4967d24a3dbffd0bd0 (patch) | |
tree | c853f94ebefaee58217c7bfb563e377524a59ad6 /src/Structure.cpp | |
parent | 93dbf11118cc84eb37a500b59b683255462f5ba2 (diff) | |
download | libplist-00bc6dadedcf62fe00c85f4967d24a3dbffd0bd0.tar.gz libplist-00bc6dadedcf62fe00c85f4967d24a3dbffd0bd0.tar.bz2 |
Simplify configure check for fmin
AC_TRY_LINK is deprecated and users are encouraged to replace it with
AC_LINK_IFELSE. However, AC_SEARCH_LIBS uses AC_LINK_IFELSE internally
and does exactly what we need here: test whether an `fmin` symbol is
already resolved or if libm will resolve it, neatly avoiding autoconf
caching and AC_TRY_LINK/AC_LINK_IFELSE pitfalls. So just use that.
Diffstat (limited to 'src/Structure.cpp')
0 files changed, 0 insertions, 0 deletions