build: Use 'LT_LIB_M' to determine whether -lm is needed.
authorLudovic Courtès <ludo@gnu.org>
Fri, 4 Jul 2014 13:37:38 +0000 (15:37 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 4 Jul 2014 13:37:38 +0000 (15:37 +0200)
commit8c75d3ae01ed98ccb623bdff1c25cc17c046145c
tree908cd2f546eae35c06effc3d9ccf8409038df480
parentdf8c52e93dfa3965e4714275f4b8cea2c8e0170b
build: Use 'LT_LIB_M' to determine whether -lm is needed.

* configure.ac: Use 'LT_LIB_M' instead of 'AC_CHECK_LIB(m, cos)'.
  Suggested by Sylvain Beucler <beuc@beuc.net>.
configure.ac