configure.ac: fix libm checks (Trac #3730)
authorSergei Trofimovich <slyfox@inbox.ru>
Fri, 4 Dec 2009 21:40:12 +0000 (21:40 +0000)
committerSergei Trofimovich <slyfox@inbox.ru>
Fri, 4 Dec 2009 21:40:12 +0000 (21:40 +0000)
commitf2bfd33806f1339ecd16eb76b0146544b65dc68e
tree65a9c3ea403ad7236f574de68ce0d00dad6f6e72
parentaeeeda3efad5266b0c52b92807bb0cc3b3f23b5c
configure.ac: fix libm checks (Trac #3730)

libbfd pulled libm as dependency and broke LIBM= detection.

Patch moves libm in library tests as early as possible.
Thanks to asuffield for suggesting such a simple fix.
Thanks to Roie Kerstein and Renato Gallo for finding
and tracking down the issue.
configure.ac