From 55a52d271a7072575b27026f625857654477d9a8 Mon Sep 17 00:00:00 2001 From: shankar Date: Wed, 24 Feb 2010 03:42:17 +0000 Subject: removing unwanted -lpthread git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@915653 13f79535-47bb-0310-9956-ffa450edef68 --- axiom/test/om/Makefile.am | 2 +- axiom/test/soap/Makefile.am | 2 +- configure.ac | 2 -- samples/client/amqp/echo/Makefile.am | 1 - samples/client/amqp/mtom/Makefile.am | 1 - samples/client/amqp/notify/Makefile.am | 1 - samples/client/echo/Makefile.am | 1 - samples/client/math/Makefile.am | 1 - samples/client/mtom/Makefile.am | 1 - samples/client/mtom_callback/Makefile.am | 1 - samples/client/notify/Makefile.am | 1 - samples/client/version/Makefile.am | 1 - samples/codegen/client/calc_xml_inout/Makefile.am | 1 - samples/codegen/client/calculator/Makefile.am | 1 - samples/codegen/client/interop_doc1/Makefile.am | 2 -- samples/codegen/client/interop_doc2/Makefile.am | 6 +++--- samples/user_guide/clients/Makefile.am | 1 - src/core/transport/amqp/server/axis2_amqp_server/Makefile.am | 5 ++--- src/core/transport/http/server/CGI/Makefile.am | 5 ++--- src/core/transport/http/server/apache2/Makefile.am | 3 +-- src/core/transport/http/server/simple_axis2_server/Makefile.am | 5 ++--- src/core/transport/tcp/server/simple_tcp_server/Makefile.am | 5 ++--- test/core/addr/Makefile.am | 2 +- test/core/clientapi/Makefile.am | 5 +---- test/core/context/Makefile.am | 2 +- test/core/deployment/Makefile.am | 2 +- test/core/description/Makefile.am | 3 +-- test/core/engine/Makefile.am | 2 +- test/core/transport/http/Makefile.am | 2 +- tools/md5/configure.ac | 1 - tools/tcpmon/configure.ac | 2 -- util/test/util/Makefile.am | 8 ++------ 32 files changed, 23 insertions(+), 55 deletions(-) diff --git a/axiom/test/om/Makefile.am b/axiom/test/om/Makefile.am index 7736221..8d9403b 100644 --- a/axiom/test/om/Makefile.am +++ b/axiom/test/om/Makefile.am @@ -2,7 +2,7 @@ TESTS = noinst_PROGRAMS = test_om check_PROGRAMS = test_om SUBDIRS = -AM_CFLAGS = -g -O2 -pthread +AM_CFLAGS = -g -O2 test_om_SOURCES = test_om.c test_om_LDADD = ../../../util/src/libaxutil.la \ diff --git a/axiom/test/soap/Makefile.am b/axiom/test/soap/Makefile.am index fdf79a0..ce1bd70 100644 --- a/axiom/test/soap/Makefile.am +++ b/axiom/test/soap/Makefile.am @@ -2,7 +2,7 @@ TESTS = test_soap noinst_PROGRAMS = test_soap check_PROGRAMS = test_soap SUBDIRS = -AM_CFLAGS = -g -O2 -pthread +AM_CFLAGS = -g -O2 test_soap_SOURCES = test_soap.c test_soap_LDADD = ../../../util/src/libaxutil.la \ diff --git a/configure.ac b/configure.ac index bfcbaed..80061b6 100644 --- a/configure.ac +++ b/configure.ac @@ -59,12 +59,10 @@ if test -d $srcdir/neethi; then AC_CONFIG_SUBDIRS(neethi) fi -#CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE -Wno-implicit-function-declaration" CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE" CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE" if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -ansi -Wall -Werror -Wno-implicit-function-declaration -g -D_GNU_SOURCE" -# CFLAGS="$CFLAGS -ansi -Wall -Wno-implicit-function-declaration" fi dnl Checks for header files. diff --git a/samples/client/amqp/echo/Makefile.am b/samples/client/amqp/echo/Makefile.am index b348c63..e9541b7 100644 --- a/samples/client/amqp/echo/Makefile.am +++ b/samples/client/amqp/echo/Makefile.am @@ -21,7 +21,6 @@ LINK_FLAGS = $(LDFLAGS) \ -laxis2_axiom \ -laxis2_engine \ -laxis2_parser \ - -lpthread \ $(GUTHTHILA_LIBS) echo_blocking_LDADD = $(LINK_FLAGS) diff --git a/samples/client/amqp/mtom/Makefile.am b/samples/client/amqp/mtom/Makefile.am index fa2f51a..5bf81bc 100644 --- a/samples/client/amqp/mtom/Makefile.am +++ b/samples/client/amqp/mtom/Makefile.am @@ -12,7 +12,6 @@ mtom_LDADD = $(LDFLAGS) \ -laxis2_axiom \ -laxis2_engine \ -laxis2_parser \ - -lpthread \ $(GUTHTHILA_LIBS) INCLUDES = @AXIS2INC@ diff --git a/samples/client/amqp/notify/Makefile.am b/samples/client/amqp/notify/Makefile.am index 85cc43e..fbb5cf8 100644 --- a/samples/client/amqp/notify/Makefile.am +++ b/samples/client/amqp/notify/Makefile.am @@ -9,7 +9,6 @@ notify_LDADD = -L$(AXIS2C_HOME)/lib \ -laxis2_axiom \ -laxis2_engine \ -laxis2_parser \ - -lpthread \ $(GUTHTHILA_LIBS) INCLUDES = @AXIS2INC@ diff --git a/samples/client/echo/Makefile.am b/samples/client/echo/Makefile.am index 340e826..dc298ae 100644 --- a/samples/client/echo/Makefile.am +++ b/samples/client/echo/Makefile.am @@ -8,7 +8,6 @@ echo_LDADD = $(LDFLAGS) \ -laxis2_axiom \ -laxis2_engine \ -laxis2_parser \ - -lpthread \ -laxis2_http_sender \ -laxis2_http_receiver \ $(GUTHTHILA_LIBS) diff --git a/samples/client/math/Makefile.am b/samples/client/math/Makefile.am index 8cca62e..bbdce07 100644 --- a/samples/client/math/Makefile.am +++ b/samples/client/math/Makefile.am @@ -10,7 +10,6 @@ math_LDADD = \ -laxis2_axiom \ -laxis2_engine \ -laxis2_parser \ - -lpthread \ -laxis2_http_sender \ -laxis2_http_receiver \ $(GUTHTHILA_LIBS) diff --git a/samples/client/mtom/Makefile.am b/samples/client/mtom/Makefile.am index df1a866..d53b63f 100644 --- a/samples/client/mtom/Makefile.am +++ b/samples/client/mtom/Makefile.am @@ -10,7 +10,6 @@ mtom_LDADD = $(LDFLAGS) \ -laxis2_axiom \ -laxis2_engine \ -laxis2_parser \ - -lpthread \ -laxis2_http_sender \ -laxis2_http_receiver \ $(GUTHTHILA_LIBS) diff --git a/samples/client/mtom_callback/Makefile.am b/samples/client/mtom_callback/Makefile.am index 10b1001..d89466d 100644 --- a/samples/client/mtom_callback/Makefile.am +++ b/samples/client/mtom_callback/Makefile.am @@ -9,7 +9,6 @@ mtom_callback_LDADD = $(LDFLAGS) \ -laxis2_axiom \ -laxis2_engine \ -laxis2_parser \ - -lpthread \ -laxis2_http_sender \ -laxis2_http_receiver \ $(GUTHTHILA_LIBS) diff --git a/samples/client/notify/Makefile.am b/samples/client/notify/Makefile.am index c89bd4c..3dd63e0 100644 --- a/samples/client/notify/Makefile.am +++ b/samples/client/notify/Makefile.am @@ -8,7 +8,6 @@ notify_LDADD = \ -laxis2_axiom \ -laxis2_engine \ -laxis2_parser \ - -lpthread \ -laxis2_http_sender \ -laxis2_http_receiver \ $(GUTHTHILA_LIBS) diff --git a/samples/client/version/Makefile.am b/samples/client/version/Makefile.am index 9e66c83..ac8983a 100644 --- a/samples/client/version/Makefile.am +++ b/samples/client/version/Makefile.am @@ -10,7 +10,6 @@ version_LDADD = \ -laxis2_axiom \ -laxis2_engine \ -laxis2_parser \ - -lpthread \ -laxis2_http_sender \ -laxis2_http_receiver \ $(GUTHTHILA_LIBS) diff --git a/samples/codegen/client/calc_xml_inout/Makefile.am b/samples/codegen/client/calc_xml_inout/Makefile.am index aa3981c..d14e820 100644 --- a/samples/codegen/client/calc_xml_inout/Makefile.am +++ b/samples/codegen/client/calc_xml_inout/Makefile.am @@ -14,7 +14,6 @@ Calculator_LDADD = $(LDFLAGS) \ -laxis2_wsdl \ -laxis2_engine \ -laxis2_parser \ - -lpthread \ -laxis2_http_sender \ -laxis2_http_receiver \ $(GUTHTHILA_LIBS) diff --git a/samples/codegen/client/calculator/Makefile.am b/samples/codegen/client/calculator/Makefile.am index 9e75ed0..96a88ac 100644 --- a/samples/codegen/client/calculator/Makefile.am +++ b/samples/codegen/client/calculator/Makefile.am @@ -16,7 +16,6 @@ Calculator_LDADD = $(LDFLAGS) \ -laxis2_wsdl \ -laxis2_engine \ -laxis2_parser \ - -lpthread \ -laxis2_http_sender \ -laxis2_http_receiver \ $(GUTHTHILA_LIBS) diff --git a/samples/codegen/client/interop_doc1/Makefile.am b/samples/codegen/client/interop_doc1/Makefile.am index ff7ecb8..b391822 100644 --- a/samples/codegen/client/interop_doc1/Makefile.am +++ b/samples/codegen/client/interop_doc1/Makefile.am @@ -21,7 +21,6 @@ test_echo_date_LDADD = \ -laxis2_wsdl \ -laxis2_engine \ -laxis2_parser \ - -lpthread \ -laxis2_http_sender \ -laxis2_http_receiver \ $(GUTHTHILA_LIBS) @@ -46,7 +45,6 @@ test_echo_struct_array_LDADD = \ -laxis2_wsdl \ -laxis2_engine \ -laxis2_parser \ - -lpthread \ -laxis2_http_sender \ -laxis2_http_receiver \ $(GUTHTHILA_LIBS) diff --git a/samples/codegen/client/interop_doc2/Makefile.am b/samples/codegen/client/interop_doc2/Makefile.am index 1208385..7f39d3b 100644 --- a/samples/codegen/client/interop_doc2/Makefile.am +++ b/samples/codegen/client/interop_doc2/Makefile.am @@ -9,7 +9,7 @@ test_echo_string_SOURCES = \ test_echo_string.c test_echo_string_LDADD = \ $(LDFLAGS) -L$(AXIS2C_HOME)/lib -laxutil -laxis2_axiom \ - -laxis2_wsdl -laxis2_engine -laxis2_parser -lpthread -laxis2_http_sender \ + -laxis2_wsdl -laxis2_engine -laxis2_parser -laxis2_http_sender \ -laxis2_http_receiver \ $(GUTHTHILA_LIBS) @@ -21,7 +21,7 @@ test_echo_struct_SOURCES = \ axis2_WSDLInteropTestDocLitService_stub.c test_echo_struct.c test_echo_struct_LDADD = \ $(LDFLAGS) -L$(AXIS2C_HOME)/lib -laxutil -laxis2_axiom \ - -laxis2_wsdl -laxis2_engine -laxis2_parser -lpthread -laxis2_http_sender \ + -laxis2_wsdl -laxis2_engine -laxis2_parser -laxis2_http_sender \ -laxis2_http_receiver \ $(GUTHTHILA_LIBS) @@ -33,7 +33,7 @@ test_echo_string_array_SOURCES = \ axis2_WSDLInteropTestDocLitService_stub.c test_echo_string_array.c test_echo_string_array_LDADD = \ $(LDFLAGS) -L$(AXIS2C_HOME)/lib -laxutil -laxis2_axiom \ - -laxis2_wsdl -laxis2_engine -laxis2_parser -lpthread -laxis2_http_sender \ + -laxis2_wsdl -laxis2_engine -laxis2_parser -laxis2_http_sender \ -laxis2_http_receiver \ $(GUTHTHILA_LIBS) diff --git a/samples/user_guide/clients/Makefile.am b/samples/user_guide/clients/Makefile.am index 91da51d..1031dfa 100644 --- a/samples/user_guide/clients/Makefile.am +++ b/samples/user_guide/clients/Makefile.am @@ -17,7 +17,6 @@ LINK_FLAGS = $(LDFLAGS) \ -laxis2_axiom \ -laxis2_engine \ -laxis2_parser \ - -lpthread \ -laxis2_http_sender \ -laxis2_http_receiver \ $(GUTHTHILA_LIBS) diff --git a/src/core/transport/amqp/server/axis2_amqp_server/Makefile.am b/src/core/transport/amqp/server/axis2_amqp_server/Makefile.am index 643827f..0d6d4ab 100644 --- a/src/core/transport/amqp/server/axis2_amqp_server/Makefile.am +++ b/src/core/transport/amqp/server/axis2_amqp_server/Makefile.am @@ -2,7 +2,7 @@ prgbindir = $(bindir) prgbin_PROGRAMS = axis2_amqp_server -AM_CFLAGS = -g -pthread +AM_CFLAGS = -g axis2_amqp_server_SOURCES = axis2_amqp_server.c @@ -17,8 +17,7 @@ axis2_amqp_server_LDADD = $(LDFLAGS) \ $(top_builddir)/src/core/engine/libaxis2_engine.la \ $(top_builddir)/neethi/src/libneethi.la \ $(top_builddir)/src/core/transport/amqp/receiver/libaxis2_amqp_receiver.la \ - $(top_builddir)/src/core/transport/amqp/util/libaxis2_amqp_util.la \ - -lpthread + $(top_builddir)/src/core/transport/amqp/util/libaxis2_amqp_util.la INCLUDES = -I$(top_builddir)/include \ -I$(top_builddir)/src/core/description \ diff --git a/src/core/transport/http/server/CGI/Makefile.am b/src/core/transport/http/server/CGI/Makefile.am index fafb8bf..df679b9 100644 --- a/src/core/transport/http/server/CGI/Makefile.am +++ b/src/core/transport/http/server/CGI/Makefile.am @@ -1,7 +1,7 @@ prgbindir=$(bindir) prgbin_PROGRAMS = axis2.cgi SUBDIRS = -AM_CFLAGS = -g -pthread +AM_CFLAGS = -g axis2_cgi_SOURCES = axis2_cgi_main.c \ axis2_cgi_out_transport_info.c \ axis2_cgi_stream.c @@ -18,8 +18,7 @@ axis2_cgi_LDADD = $(LDFLAGS) \ $(top_builddir)/src/core/clientapi/libaxis2_clientapi.la \ $(top_builddir)/src/core/engine/libaxis2_engine.la \ $(top_builddir)/src/core/transport/http/sender/libaxis2_http_sender.la \ - $(top_builddir)/src/core/transport/http/receiver/libaxis2_http_receiver.la \ - -lpthread + $(top_builddir)/src/core/transport/http/receiver/libaxis2_http_receiver.la INCLUDES = -I$(top_builddir)/include \ -I$(top_builddir)/src/core/description\ diff --git a/src/core/transport/http/server/apache2/Makefile.am b/src/core/transport/http/server/apache2/Makefile.am index d5f6bd8..8ea7b7d 100644 --- a/src/core/transport/http/server/apache2/Makefile.am +++ b/src/core/transport/http/server/apache2/Makefile.am @@ -12,8 +12,7 @@ libmod_axis2_la_LIBADD = $(LDFLAGS) \ $(top_builddir)/util/src/libaxutil.la \ $(top_builddir)/src/core/transport/http/util/libaxis2_http_util.la\ $(top_builddir)/src/core/transport/http/common/libaxis2_http_common.la\ - $(top_builddir)/axiom/src/parser/$(WRAPPER_DIR)/libaxis2_parser.la\ - -lpthread + $(top_builddir)/axiom/src/parser/$(WRAPPER_DIR)/libaxis2_parser.la libmod_axis2_la_LDFLAGS = -version-info $(VERSION_NO) diff --git a/src/core/transport/http/server/simple_axis2_server/Makefile.am b/src/core/transport/http/server/simple_axis2_server/Makefile.am index 604851d..92d3718 100644 --- a/src/core/transport/http/server/simple_axis2_server/Makefile.am +++ b/src/core/transport/http/server/simple_axis2_server/Makefile.am @@ -1,7 +1,7 @@ prgbindir=$(bindir) prgbin_PROGRAMS = axis2_http_server SUBDIRS = -AM_CFLAGS = -g -pthread +AM_CFLAGS = -g axis2_http_server_SOURCES = http_server_main.c axis2_http_server_LDADD = $(LDFLAGS) \ @@ -17,8 +17,7 @@ axis2_http_server_LDADD = $(LDFLAGS) \ $(top_builddir)/src/core/engine/libaxis2_engine.la \ $(top_builddir)/src/core/transport/http/sender/libaxis2_http_sender.la \ $(top_builddir)/src/core/transport/http/receiver/libaxis2_http_receiver.la \ - $(top_builddir)/neethi/src/libneethi.la \ - -lpthread + $(top_builddir)/neethi/src/libneethi.la INCLUDES = -I$(top_builddir)/include \ -I$(top_builddir)/src/core/description\ diff --git a/src/core/transport/tcp/server/simple_tcp_server/Makefile.am b/src/core/transport/tcp/server/simple_tcp_server/Makefile.am index 1dafbad..f2506ef 100644 --- a/src/core/transport/tcp/server/simple_tcp_server/Makefile.am +++ b/src/core/transport/tcp/server/simple_tcp_server/Makefile.am @@ -1,7 +1,7 @@ prgbindir=$(bindir) prgbin_PROGRAMS = axis2_tcp_server SUBDIRS = -AM_CFLAGS = -g -pthread +AM_CFLAGS = -g axis2_tcp_server_SOURCES = tcp_server_main.c axis2_tcp_server_LDADD = $(LDFLAGS) \ @@ -16,8 +16,7 @@ axis2_tcp_server_LDADD = $(LDFLAGS) \ $(top_builddir)/src/core/engine/libaxis2_engine.la \ $(top_builddir)/src/core/transport/tcp/sender/libaxis2_tcp_sender.la \ $(top_builddir)/src/core/transport/tcp/receiver/libaxis2_tcp_receiver.la \ - $(top_builddir)/neethi/src/libneethi.la \ - -lpthread + $(top_builddir)/neethi/src/libneethi.la INCLUDES = -I$(top_builddir)/include \ -I$(top_builddir)/src/core/description\ diff --git a/test/core/addr/Makefile.am b/test/core/addr/Makefile.am index 9d42172..02352b8 100644 --- a/test/core/addr/Makefile.am +++ b/test/core/addr/Makefile.am @@ -2,7 +2,7 @@ TESTS = test_addr check_PROGRAMS = test_addr noinst_PROGRAMS = test_addr SUBDIRS = -AM_CFLAGS = -g -pthread +AM_CFLAGS = -g test_addr_SOURCES = test_addr.c test_addr_LDADD = \ diff --git a/test/core/clientapi/Makefile.am b/test/core/clientapi/Makefile.am index e88c350..b47041d 100644 --- a/test/core/clientapi/Makefile.am +++ b/test/core/clientapi/Makefile.am @@ -2,7 +2,7 @@ TESTS = test_client test_clientapi test_svc_client_handler_count noinst_PROGRAMS = test_client test_clientapi test_svc_client_handler_count check_PROGRAMS = test_client test_clientapi test_svc_client_handler_count SUBDIRS = -AM_CFLAGS = -g -pthread +AM_CFLAGS = -g test_client_SOURCES = test_client.c test_clientapi_SOURCES = test_clientapi.c test_svc_client_handler_count_SOURCES = test_svc_client_handler_count.c @@ -12,7 +12,6 @@ test_clientapi_LDADD = \ ../../../axiom/src/om/libaxis2_axiom.la \ ../../../axiom/src/parser/$(WRAPPER_DIR)/libaxis2_parser.la \ $(top_builddir)/neethi/src/libneethi.la \ - -lpthread \ $(top_builddir)/src/core/engine/libaxis2_engine.la \ $(top_builddir)/src/core/transport/http/sender/libaxis2_http_sender.la @@ -21,7 +20,6 @@ test_client_LDADD = \ ../../../axiom/src/om/libaxis2_axiom.la \ ../../../axiom/src/parser/$(WRAPPER_DIR)/libaxis2_parser.la \ $(top_builddir)/neethi/src/libneethi.la \ - -lpthread \ $(top_builddir)/src/core/engine/libaxis2_engine.la \ $(top_builddir)/src/core/transport/http/sender/libaxis2_http_sender.la @@ -30,7 +28,6 @@ test_svc_client_handler_count_LDADD = \ ../../../axiom/src/om/libaxis2_axiom.la \ ../../../axiom/src/parser/$(WRAPPER_DIR)/libaxis2_parser.la \ $(top_builddir)/neethi/src/libneethi.la \ - -lpthread \ $(top_builddir)/src/core/engine/libaxis2_engine.la \ $(top_builddir)/src/core/transport/http/sender/libaxis2_http_sender.la diff --git a/test/core/context/Makefile.am b/test/core/context/Makefile.am index 01642e2..52bf04a 100644 --- a/test/core/context/Makefile.am +++ b/test/core/context/Makefile.am @@ -2,7 +2,7 @@ TESTS = test_context check_PROGRAMS = test_context noinst_PROGRAMS = test_context SUBDIRS = -AM_CFLAGS = -g -pthread +AM_CFLAGS = -g test_context_SOURCES = test_context.c diff --git a/test/core/deployment/Makefile.am b/test/core/deployment/Makefile.am index 298457d..ff0cfb8 100644 --- a/test/core/deployment/Makefile.am +++ b/test/core/deployment/Makefile.am @@ -1,7 +1,7 @@ TESTS = test_deployment noinst_PROGRAMS = test_deployment SUBDIRS = -AM_CFLAGS = $(CFLAGS) -g -pthread +AM_CFLAGS = $(CFLAGS) -g test_deployment_SOURCES = test_deployment.c test_deployment_LDADD = \ diff --git a/test/core/description/Makefile.am b/test/core/description/Makefile.am index 0241eeb..4208ddf 100644 --- a/test/core/description/Makefile.am +++ b/test/core/description/Makefile.am @@ -1,14 +1,13 @@ TESTS = test_description noinst_PROGRAMS = test_description SUBDIRS = -AM_CFLAGS = -g -O2 -pthread +AM_CFLAGS = -g -O2 test_description_SOURCES = test_description.c test_description_LDADD = \ ../../../util/src/libaxutil.la \ ../../../axiom/src/om/libaxis2_axiom.la \ ../../../axiom/src/parser/$(WRAPPER_DIR)/libaxis2_parser.la \ - -lpthread \ $(top_builddir)/neethi/src/libneethi.la \ $(top_builddir)/src/core/engine/libaxis2_engine.la \ $(top_builddir)/src/core/transport/http/common/libaxis2_http_common.la diff --git a/test/core/engine/Makefile.am b/test/core/engine/Makefile.am index e6d41de..c7d3b7d 100644 --- a/test/core/engine/Makefile.am +++ b/test/core/engine/Makefile.am @@ -2,7 +2,7 @@ TESTS = test_engine check_PROGRAMS = test_engine noinst_PROGRAMS = test_engine SUBDIRS = -AM_CFLAGS = -g -pthread +AM_CFLAGS = -g test_engine_SOURCES = test_engine.c diff --git a/test/core/transport/http/Makefile.am b/test/core/transport/http/Makefile.am index 34eeefe..f709259 100644 --- a/test/core/transport/http/Makefile.am +++ b/test/core/transport/http/Makefile.am @@ -2,7 +2,7 @@ TESTS = test_http_transport check_PROGRAMS = test_http_transport noinst_PROGRAMS = test_http_transport SUBDIRS = -AM_CFLAGS = -g -pthread +AM_CFLAGS = -g test_http_transport_SOURCES = test_http_transport.c test_http_transport_LDADD = \ diff --git a/tools/md5/configure.ac b/tools/md5/configure.ac index 8702bdb..2b9aeca 100644 --- a/tools/md5/configure.ac +++ b/tools/md5/configure.ac @@ -23,7 +23,6 @@ if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -ansi -Wall -Wno-implicit-function-declaration" fi -LDFLAGS="$LDFLAGS -lpthread" dnl Checks for header files. AC_HEADER_STDC diff --git a/tools/tcpmon/configure.ac b/tools/tcpmon/configure.ac index 51e24d3..f0851dd 100644 --- a/tools/tcpmon/configure.ac +++ b/tools/tcpmon/configure.ac @@ -23,8 +23,6 @@ if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -ansi -Wall -Wno-implicit-function-declaration" fi -LDFLAGS="$LDFLAGS -lpthread" - dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([stdio.h stdlib.h string.h]) diff --git a/util/test/util/Makefile.am b/util/test/util/Makefile.am index 4d3a701..201ab25 100644 --- a/util/test/util/Makefile.am +++ b/util/test/util/Makefile.am @@ -9,12 +9,8 @@ SUBDIRS = test_util_SOURCES = test_util.c test_log.c test_string.c test_md5.c test_thread_SOURCES = test_thread.c -test_util_LDADD = \ - $(top_builddir)/src/libaxutil.la \ - -lpthread +test_util_LDADD = $(top_builddir)/src/libaxutil.la -test_thread_LDADD = \ - $(top_builddir)/src/libaxutil.la \ - -lpthread +test_thread_LDADD = $(top_builddir)/src/libaxutil.la INCLUDES = -I$(top_builddir)/include -- cgit v1.1-32-gdbae