From: Ruben Kerkhof Date: Fri, 3 Jun 2016 16:05:11 +0000 (+0200) Subject: configure.ac: remove unused HAVE_LIBPTHREAD define X-Git-Tag: collectd-5.6.0~251^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=994d7c1d4e1f0edf127a268a29672f3cdbe4adcb;p=collectd.git configure.ac: remove unused HAVE_LIBPTHREAD define --- diff --git a/configure.ac b/configure.ac index e2149ba4..e4d61335 100644 --- a/configure.ac +++ b/configure.ac @@ -1632,14 +1632,6 @@ if test "x$with_libpthread" = "xyes" then AC_CHECK_HEADERS(pthread.h,, [with_libpthread="no (pthread.h not found)"]) fi -if test "x$with_libpthread" = "xyes" -then - collect_pthread=1 -else - collect_pthread=0 -fi -AC_DEFINE_UNQUOTED(HAVE_LIBPTHREAD, [$collect_pthread], - [Wether or not to use pthread (POSIX threads) library]) AM_CONDITIONAL(BUILD_WITH_LIBPTHREAD, test "x$with_libpthread" = "xyes") # }}}