@@ -, +, @@ --- --- a/gtk-nodoka-engine/configure.ac +++ a/gtk-nodoka-engine/configure.ac @@ -17,6 +17,9 @@ AC_LIBTOOL_WIN32_DLL AC_PROG_LIBTOOL AC_CONFIG_MACRO_DIR([m4]) +AC_CHECK_LIBM +AC_SUBST([LIBM]) + AC_ARG_ENABLE(animation, [ --enable-animation compile nodoka with animation support], [animation=$enableval], [animation="no"], ) AC_ARG_ENABLE(animationtoleft, [ --enable-animationtoleft compile nodoka with progressbar animation from right to left], [animationtoleft=$enableval], [animationtoleft="no"], ) --- a/gtk-nodoka-engine/src/GTKEngine/Makefile.am +++ a/gtk-nodoka-engine/src/GTKEngine/Makefile.am @@ -29,6 +29,6 @@ libnodoka_la_SOURCES = \ EXTRA_DIST = $(libnodoka_la_SOURCES) libnodoka_la_LDFLAGS = -module -avoid-version -no-undefined -libnodoka_la_LIBADD = $(GTK_LIBS) +libnodoka_la_LIBADD = $(GTK_LIBS) $(LIBM) MAINTAINERCLEANFILES = Makefile.in