mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
clean up: fix couple compiler warnings
src/sort.c:255:5: warning: no previous prototype for 'merge' src/sort.c:290:2: warning: ISO C90 forbids mixed declarations and code src/mustach-dhcpd-pools.c:67:5: warning: no previous prototype for 'must_put_err' src/output.c:109:26: warning: comparing floating point with == or != is unsafe (x5) Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
88a3f1eb53
commit
8fba5c5e6b
5 changed files with 27 additions and 24 deletions
|
|
@ -74,6 +74,12 @@ AC_CHECK_FUNCS([\
|
|||
])
|
||||
AC_CHECK_DECL([strndupa])
|
||||
|
||||
AC_CHECK_FUNCS([fpclassify], [],
|
||||
[AC_CHECK_LIB([m], [fpclassify], [MATH_LIBS="-lm"])]
|
||||
[AC_CHECK_LIB([m], [__fpclassify], [MATH_LIBS="-lm"])]
|
||||
)
|
||||
AC_SUBST([MATH_LIBS])
|
||||
|
||||
AS_IF([test "x$ac_cv_func_open_memstream" = "xyes" && test "x$ac_cv_have_decl_strndupa" == "xyes"], [
|
||||
build_mustach=yes
|
||||
AC_DEFINE([BUILD_MUSTACH], [1], [build mustach support])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue