From 7a3ba9f72e51be6d8d77f36956bb461a21411253 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Tue, 8 Sep 2015 21:25:09 -0300 Subject: build: find -lm properly --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b7bd7ea..7ba9e03 100644 --- a/configure.ac +++ b/configure.ac @@ -95,7 +95,8 @@ AM_CONDITIONAL([USE_CMOCKA], [test "x$have_cmocka" = "xyes"]) AC_CHECK_HEADERS([sys/types.h sys/stat.h time.h]) -AC_SEARCH_LIBS([ceilf], [m]) +AC_CHECK_LIBM +AC_SUBST(LIBM) AC_CONFIG_FILES([ Makefile -- cgit v1.2.3-18-g5258