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.)
This commit is contained in:
wm4 2013-07-08 02:24:42 +02:00
parent bfe0207a7a
commit 49bf0fb9df
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -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