diff --git a/configure.ac b/configure.ac index 877cf54efc..a0d96ea5a2 100644 --- a/configure.ac +++ b/configure.ac @@ -177,6 +177,11 @@ if test "$ac_have_iwevgenie" = no; then AC_MSG_ERROR(wireless-tools library and development headers >= 28pre9 not installed or not functional) fi +dnl +dnl Checks for libm - needed for pow() +dnl +LT_LIB_M + PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.1 dbus-glib-1 >= 0.75) AC_SUBST(DBUS_CFLAGS) AC_SUBST(DBUS_LIBS) diff --git a/src/Makefile.am b/src/Makefile.am index fb337a6bb4..a14e1d0beb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -197,7 +197,8 @@ NetworkManager_LDADD = \ $(GLIB_LIBS) \ $(GUDEV_LIBS) \ $(LIBNL_LIBS) \ - $(GMODULE_LIBS) + $(GMODULE_LIBS) \ + $(LIBM) NetworkManager_LDFLAGS = -rdynamic