mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-14 09:47:56 +08:00
--disable-shared & C perf tests: a better way
This commit is contained in:
parent
947b463193
commit
75a5a8732c
@ -18,6 +18,7 @@ AC_PROG_LIBTOOL
|
||||
|
||||
# Checks for libraries.
|
||||
AC_CHECK_LIB(pthread, pthread_create)
|
||||
AC_CHECK_LIB(stdc++, malloc)
|
||||
|
||||
# Host speciffic checks
|
||||
AC_CANONICAL_HOST
|
||||
|
@ -2,19 +2,19 @@ INCLUDES = -I$(top_builddir)/include
|
||||
|
||||
bin_PROGRAMS = local_lat remote_lat local_thr remote_thr
|
||||
|
||||
local_lat_LDADD = $(top_builddir)/src/libzmq.la -lstdc++
|
||||
local_lat_LDADD = $(top_builddir)/src/libzmq.la
|
||||
local_lat_SOURCES = local_lat.c
|
||||
local_lat_CXXFLAGS = -Wall -pedantic -Werror
|
||||
|
||||
remote_lat_LDADD = $(top_builddir)/src/libzmq.la -lstdc++
|
||||
remote_lat_LDADD = $(top_builddir)/src/libzmq.la
|
||||
remote_lat_SOURCES = remote_lat.c
|
||||
remote_lat_CXXFLAGS = -Wall -pedantic -Werror
|
||||
|
||||
local_thr_LDADD = $(top_builddir)/src/libzmq.la -lstdc++
|
||||
local_thr_LDADD = $(top_builddir)/src/libzmq.la
|
||||
local_thr_SOURCES = local_thr.c
|
||||
local_thr_CXXFLAGS = -Wall -pedantic -Werror
|
||||
|
||||
remote_thr_LDADD = $(top_builddir)/src/libzmq.la -lstdc++
|
||||
remote_thr_LDADD = $(top_builddir)/src/libzmq.la
|
||||
remote_thr_SOURCES = remote_thr.c
|
||||
remote_thr_CXXFLAGS = -Wall -pedantic -Werror
|
||||
|
||||
|
@ -36,6 +36,9 @@
|
||||
/* Define to 1 if you have the `socket' library (-lsocket). */
|
||||
#undef HAVE_LIBSOCKET
|
||||
|
||||
/* Define to 1 if you have the `stdc++' library (-lstdc++). */
|
||||
#undef HAVE_LIBSTDC__
|
||||
|
||||
/* Define to 1 if you have the `uuid' library (-luuid). */
|
||||
#undef HAVE_LIBUUID
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user