diff options
author | David Barksdale <amatus.amongus@gmail.com> | 2013-06-09 04:46:52 +0000 |
---|---|---|
committer | David Barksdale <amatus.amongus@gmail.com> | 2013-06-09 04:46:52 +0000 |
commit | 62e9ff1328fdffd4e0e40b1c039668f79aece64f (patch) | |
tree | c57118aa2aa7197364bc995a5ed78a95e13a7dda /src | |
parent | a8935d6b9cd972429dc7b84b4d2f3b40896688de (diff) | |
download | gnunet-62e9ff1328fdffd4e0e40b1c039668f79aece64f.tar.gz gnunet-62e9ff1328fdffd4e0e40b1c039668f79aece64f.zip |
Add --with-zlib=[DIR] configure option.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/Makefile.am | 2 | ||||
-rw-r--r-- | src/datastore/Makefile.am | 2 | ||||
-rw-r--r-- | src/dht/Makefile.am | 4 | ||||
-rw-r--r-- | src/testbed/Makefile.am | 6 | ||||
-rw-r--r-- | src/util/Makefile.am | 2 |
5 files changed, 6 insertions, 10 deletions
diff --git a/src/core/Makefile.am b/src/core/Makefile.am index a3ef13f5a..7e4cd7f54 100644 --- a/src/core/Makefile.am +++ b/src/core/Makefile.am | |||
@@ -49,7 +49,7 @@ gnunet_service_core_LDADD = \ | |||
49 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 49 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
50 | $(top_builddir)/src/transport/libgnunettransport.la \ | 50 | $(top_builddir)/src/transport/libgnunettransport.la \ |
51 | $(top_builddir)/src/util/libgnunetutil.la \ | 51 | $(top_builddir)/src/util/libgnunetutil.la \ |
52 | $(GN_LIBINTL) -lz | 52 | $(GN_LIBINTL) $(Z_LIBS) |
53 | 53 | ||
54 | 54 | ||
55 | gnunet_core_SOURCES = \ | 55 | gnunet_core_SOURCES = \ |
diff --git a/src/datastore/Makefile.am b/src/datastore/Makefile.am index c2acc2ffe..ef14175b2 100644 --- a/src/datastore/Makefile.am +++ b/src/datastore/Makefile.am | |||
@@ -124,7 +124,7 @@ libgnunet_plugin_datastore_mysql_la_SOURCES = \ | |||
124 | libgnunet_plugin_datastore_mysql_la_LIBADD = \ | 124 | libgnunet_plugin_datastore_mysql_la_LIBADD = \ |
125 | $(top_builddir)/src/mysql/libgnunetmysql.la \ | 125 | $(top_builddir)/src/mysql/libgnunetmysql.la \ |
126 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 126 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
127 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lz -lmysqlclient | 127 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) $(Z_LIBS) -lmysqlclient |
128 | libgnunet_plugin_datastore_mysql_la_LDFLAGS = \ | 128 | libgnunet_plugin_datastore_mysql_la_LDFLAGS = \ |
129 | $(GN_PLUGIN_LDFLAGS) $(MYSQL_LDFLAGS) -lmysqlclient | 129 | $(GN_PLUGIN_LDFLAGS) $(MYSQL_LDFLAGS) -lmysqlclient |
130 | libgnunet_plugin_datastore_mysql_la_CPPFLAGS = \ | 130 | libgnunet_plugin_datastore_mysql_la_CPPFLAGS = \ |
diff --git a/src/dht/Makefile.am b/src/dht/Makefile.am index 6bbc19188..305931728 100644 --- a/src/dht/Makefile.am +++ b/src/dht/Makefile.am | |||
@@ -12,10 +12,6 @@ libexecdir= $(pkglibdir)/libexec/ | |||
12 | pkgcfg_DATA = \ | 12 | pkgcfg_DATA = \ |
13 | dht.conf | 13 | dht.conf |
14 | 14 | ||
15 | if HAVE_ZLIB | ||
16 | ZLIB_LNK = -lz | ||
17 | endif | ||
18 | |||
19 | if USE_COVERAGE | 15 | if USE_COVERAGE |
20 | AM_CFLAGS = --coverage -O0 | 16 | AM_CFLAGS = --coverage -O0 |
21 | XLIB = -lgcov | 17 | XLIB = -lgcov |
diff --git a/src/testbed/Makefile.am b/src/testbed/Makefile.am index 902d8391b..eb6d050ad 100644 --- a/src/testbed/Makefile.am +++ b/src/testbed/Makefile.am | |||
@@ -48,7 +48,7 @@ gnunet_service_testbed_LDADD = $(XLIB) \ | |||
48 | $(top_builddir)/src/testing/libgnunettesting.la \ | 48 | $(top_builddir)/src/testing/libgnunettesting.la \ |
49 | $(top_builddir)/src/testbed/libgnunettestbed.la \ | 49 | $(top_builddir)/src/testbed/libgnunettestbed.la \ |
50 | $(top_builddir)/src/arm/libgnunetarm.la \ | 50 | $(top_builddir)/src/arm/libgnunetarm.la \ |
51 | $(LTLIBINTL) -lz | 51 | $(LTLIBINTL) $(Z_LIBS) |
52 | gnunet_service_testbed_DEPENDENCIES = \ | 52 | gnunet_service_testbed_DEPENDENCIES = \ |
53 | libgnunettestbed.la | 53 | libgnunettestbed.la |
54 | 54 | ||
@@ -71,7 +71,7 @@ gnunet_helper_testbed_LDADD = $(XLIB) \ | |||
71 | $(top_builddir)/src/util/libgnunetutil.la \ | 71 | $(top_builddir)/src/util/libgnunetutil.la \ |
72 | $(top_builddir)/src/testing/libgnunettesting.la \ | 72 | $(top_builddir)/src/testing/libgnunettesting.la \ |
73 | libgnunettestbed.la \ | 73 | libgnunettestbed.la \ |
74 | $(LTLIBINTL) -lz | 74 | $(LTLIBINTL) $(Z_LIBS) |
75 | gnunet_helper_testbed_DEPENDENCIES = \ | 75 | gnunet_helper_testbed_DEPENDENCIES = \ |
76 | gnunet-service-testbed.$(OBJEXT) \ | 76 | gnunet-service-testbed.$(OBJEXT) \ |
77 | libgnunettestbed.la | 77 | libgnunettestbed.la |
@@ -268,7 +268,7 @@ test_gnunet_helper_testbed_SOURCES = \ | |||
268 | test_gnunet_helper_testbed_LDADD = \ | 268 | test_gnunet_helper_testbed_LDADD = \ |
269 | $(top_builddir)/src/util/libgnunetutil.la \ | 269 | $(top_builddir)/src/util/libgnunetutil.la \ |
270 | libgnunettestbed.la \ | 270 | libgnunettestbed.la \ |
271 | -lz | 271 | $(Z_LIBZ) |
272 | 272 | ||
273 | test_testbed_api_testbed_run_topologyrandom_SOURCES = \ | 273 | test_testbed_api_testbed_run_topologyrandom_SOURCES = \ |
274 | test_testbed_api_testbed_run.c | 274 | test_testbed_api_testbed_run.c |
diff --git a/src/util/Makefile.am b/src/util/Makefile.am index 491006a42..06cd283c8 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am | |||
@@ -116,7 +116,7 @@ libgnunetutil_la_LIBADD = \ | |||
116 | $(LIBGCRYPT_LIBS) \ | 116 | $(LIBGCRYPT_LIBS) \ |
117 | $(LTLIBICONV) \ | 117 | $(LTLIBICONV) \ |
118 | $(LTLIBINTL) \ | 118 | $(LTLIBINTL) \ |
119 | -lltdl -lz -lunistring $(XLIB) | 119 | -lltdl $(Z_LIBS) -lunistring $(XLIB) |
120 | 120 | ||
121 | libgnunetutil_la_LDFLAGS = \ | 121 | libgnunetutil_la_LDFLAGS = \ |
122 | $(GN_LIB_LDFLAGS) \ | 122 | $(GN_LIB_LDFLAGS) \ |