Wireshark-commits: [Wireshark-commits] master caf4cc6: Use AC_SEARCH_LIBS() for math functions.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 20 Dec 2014 04:45:53 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=caf4cc6399083ed5d9b461ee3f372a39337699ba
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

caf4cc6 by Guy Harris (guy@xxxxxxxxxxxx):

    Use AC_SEARCH_LIBS() for math functions.
    
    Use it to check whether we need -lm for various math functions -
    including floorl().  Let it handle adding -lm, rather than having that
    in the various _LDADD macros.
    
    Change-Id: Ic5d24ec35e060306351f4981c92e26879e597d81
    Reviewed-on: https://code.wireshark.org/review/5908
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  1a051af   Include <math.h> to declare floor().
    adds  caf4cc6   Use AC_SEARCH_LIBS() for math functions.


Summary of changes:
 Makefile.am  |   30 ++++++++++++++----------------
 configure.ac |   25 +++++++++++++++++--------
 2 files changed, 31 insertions(+), 24 deletions(-)