check for pthread function 'pthread_setname_np' added.

This commit is contained in:
Roland Jax
2014-11-14 16:41:05 +01:00
parent 9702a3479c
commit d27afa928c
3 changed files with 11 additions and 2 deletions
+5 -1
View File
@@ -12,13 +12,17 @@ AC_CHECK_HEADERS([arpa/inet.h \
sys/ioctl.h \
termios.h])
AC_CHECK_LIB([pthread], [pthread_setname_np],
AC_DEFINE([HAVE_PTHREAD_SETNAME_NP], [1], ["Define to 1 if pthread has pthread_setname_np"]),
AC_MSG_RESULT([Could not find pthread_setname_np in pthread]))
AC_CONFIG_AUX_DIR([build])
AC_CONFIG_SRCDIR([src/ebusd/ebusd.cpp])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile
src/lib/utils/Makefile
src/lib/ebus/Makefile
src/lib/ebus/test/Makefile
src/lib/utils/Makefile
src/ebusd/Makefile
src/ebusctl/Makefile])