From 49bf0fb9dffdd8b39e68c4e423bbab653d3db396 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 8 Jul 2013 02:24:42 +0200 Subject: configure: fix previous commit This doesn't help if -pthread is omitted. (Apparently, glibc 2.17, on which I tested the previous commit, doesn't require -lpthread in order to use pthreads either.) --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 9299a0c26d..e3fc0766fb 100755 --- a/configure +++ b/configure @@ -1279,7 +1279,7 @@ if test "$_pthreads" = yes ; then # this will hopefully do nothing. echocheck "linking with -lrt" _rt=no -cc_check "-lrt" && _rt=yes +cc_check "$_ld_pthread -lrt" && _rt=yes if test "$_rt" = yes ; then _ld_pthread="$_ld_pthread -lrt" fi -- cgit v1.2.3