Commit 550bccd8 authored by Matteo Quintiliani's avatar Matteo Quintiliani
Browse files

Some fixes to compile nowdays. Particularly, add pthread option for some compilers. Issue #4

parent fd3889a8
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
nmxptool Release History nmxptool Release History
######################### #########################
* Release 2.1.5 (2021/01/26)
- Some fixes to compile nowdays. Particularly, add pthread option for some compilers.
* Release 2.1.4 (2017/01/04) * Release 2.1.4 (2017/01/04)
- Exit if connect() fails first time. - Exit if connect() fails first time.
- Fix checking port number for option -P and -D. - Fix checking port number for option -P and -D.
......
This diff is collapsed.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
SUBDIRS = lib src SUBDIRS = lib src
dist_doc_DATA = BUGS HISTORY README earthworm seiscomp_templates makefile.unix doc/html doc/man dist_doc_DATA = BUGS HISTORY README
EWMAKEFILEUX=earthworm/makefile.ux.nognu EWMAKEFILEUX=earthworm/makefile.ux.nognu
......
...@@ -5,7 +5,7 @@ ACLOCAL=aclocal${ACVERSION} ...@@ -5,7 +5,7 @@ ACLOCAL=aclocal${ACVERSION}
AUTOMAKE=automake${ACVERSION} AUTOMAKE=automake${ACVERSION}
AUTOHEADER=autoheader AUTOHEADER=autoheader
AUTOCONF=autoconf AUTOCONF=autoconf
GLIBTOOLIZE=glibtoolize GLIBTOOLIZE=libtoolize
# LISTCMDVER="${ACLOCAL} ${AUTOMAKE} ${AUTOHEADER} ${AUTOCONF} ${GLIBTOOLIZE}" # LISTCMDVER="${ACLOCAL} ${AUTOMAKE} ${AUTOHEADER} ${AUTOCONF} ${GLIBTOOLIZE}"
# for C in ${LISTCMDVER}; do # for C in ${LISTCMDVER}; do
......
...@@ -9,7 +9,7 @@ m4_define([full_package_name], [nmxptool]) ...@@ -9,7 +9,7 @@ m4_define([full_package_name], [nmxptool])
dnl These three define the plug-in version number dnl These three define the plug-in version number
m4_define([major_version], [2]) m4_define([major_version], [2])
m4_define([minor_version], [1]) m4_define([minor_version], [1])
m4_define([micro_version], [4]) m4_define([micro_version], [5])
# Comment build_version for stable release # Comment build_version for stable release
# m4_define([build_version], [dev]) # m4_define([build_version], [dev])
...@@ -74,6 +74,8 @@ AC_CHECK_LIB(m, fabs, LIBS="$LIBS -lm", , -lm) ...@@ -74,6 +74,8 @@ AC_CHECK_LIB(m, fabs, LIBS="$LIBS -lm", , -lm)
AC_CHECK_LIB(ws2_32, puts, LIBS="$LIBS -lws2_32", , -lws2_32) AC_CHECK_LIB(ws2_32, puts, LIBS="$LIBS -lws2_32", , -lws2_32)
AC_CHECK_LIB(pthread, pthread_create, LIBS="$LIBS -lpthread", , -lpthread)
AC_ARG_ENABLE([memdebug], AC_ARG_ENABLE([memdebug],
[AS_HELP_STRING([--enable-memdebug], [compile nmxptool for debugging memory leaks])], [AS_HELP_STRING([--enable-memdebug], [compile nmxptool for debugging memory leaks])],
[], [],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment