@OPENSSL_LIBS@ \
@INTLLIBS@ \
@ZLIB_LIBS@ \
- @PTHREAD_LIBS@
+ @PTHREAD_LIBS@ \
+ ${LIBM}
AC_CONFIG_SRCDIR(libtransmission/transmission.h)
AM_INIT_AUTOMAKE([1.9 tar-pax no-dist-gzip dist-xz])
LT_INIT
+LT_LIB_M
if test m4_substr(peer_id_prefix,6,1) = "0"; then
supported_build=yes
@INTLLIBS@ \
@SYSTEMD_DAEMON_LIBS@ \
@ZLIB_LIBS@ \
- @PTHREAD_LIBS@
+ @PTHREAD_LIBS@ \
+ ${LIBM}
noinst_HEADERS = \
watch.h
@LIBCURL_LIBS@ \
@OPENSSL_LIBS@ \
@ZLIB_LIBS@ \
- @PTHREAD_LIBS@
+ @PTHREAD_LIBS@ \
+ ${LIBM}
DESKTOP_IN_FILES=transmission-gtk.desktop.in
DESKTOP_FILES=$(DESKTOP_IN_FILES:.desktop.in=.desktop)
@LIBEVENT_LIBS@ \
@OPENSSL_LIBS@ \
@PTHREAD_LIBS@ \
- @ZLIB_LIBS@
+ @ZLIB_LIBS@ \
+ ${LIBM}
TEST_SOURCES = libtransmission-test.c
@LIBCURL_CFLAGS@ \
@OPENSSL_CFLAGS@ \
@ZLIB_CFLAGS@ \
- @PTHREAD_CFLAGS@
+ @PTHREAD_CFLAGS@ \
+ ${LIBM}
bin_PROGRAMS = \
transmission-create \
@LIBCURL_LIBS@ \
@OPENSSL_LIBS@ \
@ZLIB_LIBS@ \
- @PTHREAD_LIBS@
+ @PTHREAD_LIBS@ \
+ ${LIBM}
transmission_edit_LDADD = $(transmission_create_LDADD)
transmission_show_LDADD = $(transmission_create_LDADD)