Refactor a bit so that it is safe to include math.h, and mostly not needed.

This commit is contained in:
Nick Mathewson
2009-12-15 14:32:55 -05:00
parent d086c9a7f7
commit e56747f9cf
7 changed files with 68 additions and 65 deletions
+3 -3
View File
@@ -3,16 +3,16 @@ noinst_PROGRAMS = tor-checkkey
tor_resolve_SOURCES = tor-resolve.c
tor_resolve_LDFLAGS = @TOR_LDFLAGS_libevent@
tor_resolve_LDADD = ../common/libor.a @TOR_LIB_WS32@
tor_resolve_LDADD = -lm ../common/libor.a @TOR_LIB_WS32@
tor_gencert_SOURCES = tor-gencert.c
tor_gencert_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ \
@TOR_LDFLAGS_libevent@
tor_gencert_LDADD = ../common/libor.a ../common/libor-crypto.a \
-lz -lcrypto @TOR_LIB_WS32@ @TOR_LIB_GDI@
-lm -lz -lcrypto @TOR_LIB_WS32@ @TOR_LIB_GDI@
tor_checkkey_SOURCES = tor-checkkey.c
tor_checkkey_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ \
@TOR_LDFLAGS_libevent@
tor_checkkey_LDADD = ../common/libor.a ../common/libor-crypto.a \
-lz -lcrypto @TOR_LIB_WS32@ @TOR_LIB_GDI@
-lm -lz -lcrypto @TOR_LIB_WS32@ @TOR_LIB_GDI@