diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/accelerometer/Makefile.am | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index dbca833f6..4f0e54979 100644 --- a/configure.ac +++ b/configure.ac @@ -99,7 +99,7 @@ AC_CHECK_FUNCS( [AC_MSG_ERROR([*** POSIX function not found])] ) AC_SEARCH_LIBS([clock_gettime], [rt], [], [AC_MSG_ERROR([*** POSIX librt not found])]) -AC_SEARCH_LIBS([sqrt], [m], [], [AC_MSG_ERROR([*** POSIX libm not found])]) +LT_LIB_M # ------------------------------------------------------------------------------ diff --git a/src/accelerometer/Makefile.am b/src/accelerometer/Makefile.am index 983cf003d..3d6484263 100644 --- a/src/accelerometer/Makefile.am +++ b/src/accelerometer/Makefile.am @@ -13,4 +13,4 @@ accelerometer_SOURCES = \ accelerometer_LDADD = \ $(top_builddir)/src/libudev/libudev-private.la \ $(top_builddir)/src/udev/libudev-core.la \ - -lm + $(LIBM) |