summaryrefslogtreecommitdiff
path: root/app-defaults
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-20 21:47:56 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-20 21:48:09 -0800
commit67ab447959b62454f4e0273177baa19711babb96 (patch)
treef0a0a7c4bdad446a6311d65d18d19a2e534db81a /app-defaults
parent1c2b70d13c42f5461a2d7c3cae7adf8d9b2e3cea (diff)
Use lrint() from math library if available
Moves -lm from being hardcoded in Makefile.am to being added via AC_SEARCH_LIBS in configure.ac setting it in $(MATH_LIBS) Using lrint() [returns long int] instead of rint() [returns double] clears a bunch of gcc warnings of the form: "cast from function call of type ‘double’ to non-matching type ‘short int’" Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'app-defaults')
0 files changed, 0 insertions, 0 deletions