aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-09-08 21:25:09 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-09-08 21:25:09 -0300
commit7a3ba9f72e51be6d8d77f36956bb461a21411253 (patch)
treeebdb9fe14da292b2bbc0997d64c6f247530afe23 /configure.ac
parent9a97d1c2349c5d23d8696f38e4b5f9ba799ca794 (diff)
downloadblogc-7a3ba9f72e51be6d8d77f36956bb461a21411253.tar.gz
blogc-7a3ba9f72e51be6d8d77f36956bb461a21411253.tar.bz2
blogc-7a3ba9f72e51be6d8d77f36956bb461a21411253.zip
build: find -lm properly
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
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