Add explicit dependency on libm and libdl
commita1d95ab18f7239da248e0d1a566e2eb2fd4b2b36
authorNicola Fontana <ntd@entidi.it>
Sat, 18 Feb 2012 14:14:03 +0000 (18 15:14 +0100)
committerThomas Leonard <talex5@gmail.com>
Sun, 19 Feb 2012 13:57:31 +0000 (19 13:57 +0000)
treecdc5e21235a0dd86786228c077c38c5cd15267e1
parentc952e19beac0fab162d1757efe3324eefe7b8c11
Add explicit dependency on libm and libdl

Math and dynamic loading functions could be defined in external
libraries not directly included by default, so explicit checking is
required at configure level.

An alternative approach to AC_CHECK_LIB would be AC_SEARCH_LIBS, a not
so conventional method with possibly some advantage:
http://www.flameeyes.eu/autotools-mythbuster/autoconf/finding.html
ROX-Filer/src/configure.in