build: add PTHREAD_LIBS to LDFLAGS configure output
build: add PTHREAD_LIBS to LDFLAGS configure output

Also moves $PTHREAD_CFLAGS to the CFLAGS.

sstone/bitcoin,instagibbs/bitcoin,practicalswift/bitcoin,andreaskern/bitcoin,jambolo/bitcoin,litecoin-project/litecoin,MarcoFalke/bitcoin,sipsorcery/bitcoin,n1bor/bitcoin,namecoin/namecore,jambolo/bitcoin,namecoin/namecoin-core,namecoin/namecore,jamesob/bitcoin,yenliangl/bitcoin,lateminer/bitcoin,JeremyRubin/bitcoin,namecoin/namecoin-core,EthanHeilman/bitcoin,dscotese/bitcoin,particl/particl-core,tecnovert/particl-core,mruddy/bitcoin,kallewoof/bitcoin,EthanHeilman/bitcoin,mruddy/bitcoin,kallewoof/bitcoin,JeremyRubin/bitcoin,sipsorcery/bitcoin,bitcoin/bitcoin,pataquets/namecoin-core,bitcoinknots/bitcoin,kallewoof/bitcoin,particl/particl-core,practicalswift/bitcoin,AkioNak/bitcoin,mruddy/bitcoin,rnicoll/bitcoin,rnicoll/bitcoin,JeremyRubin/bitcoin,jamesob/bitcoin,jnewbery/bitcoin,domob1812/namecore,mm-s/bitcoin,anditto/bitcoin,cdecker/bitcoin,ajtowns/bitcoin,fanquake/bitcoin,namecoin/namecoin-core,Xekyo/bitcoin,lateminer/bitcoin,yenliangl/bitcoin,ElementsProject/elements,particl/particl-core,dscotese/bitcoin,pstratem/bitcoin,alecalve/bitcoin,apoelstra/bitcoin,jnewbery/bitcoin,GroestlCoin/GroestlCoin,pataquets/namecoin-core,litecoin-project/litecoin,dscotese/bitcoin,jonasschnelli/bitcoin,GroestlCoin/GroestlCoin,tecnovert/particl-core,dscotese/bitcoin,instagibbs/bitcoin,pataquets/namecoin-core,fujicoin/fujicoin,prusnak/bitcoin,jnewbery/bitcoin,achow101/bitcoin,ajtowns/bitcoin,apoelstra/bitcoin,MarcoFalke/bitcoin,jlopp/statoshi,yenliangl/bitcoin,sstone/bitcoin,apoelstra/bitcoin,jambolo/bitcoin,pstratem/bitcoin,AkioNak/bitcoin,jnewbery/bitcoin,qtumproject/qtum,MarcoFalke/bitcoin,dscotese/bitcoin,andreaskern/bitcoin,jlopp/statoshi,MeshCollider/bitcoin,bitcoinknots/bitcoin,pstratem/bitcoin,Xekyo/bitcoin,practicalswift/bitcoin,domob1812/bitcoin,bitcoinsSG/bitcoin,tecnovert/particl-core,domob1812/namecore,EthanHeilman/bitcoin,particl/particl-core,bitcoinknots/bitcoin,mm-s/bitcoin,fujicoin/fujicoin,achow101/bitcoin,andreaskern/bitcoin,rnicoll/bitcoin,mruddy/bitcoin,dscotese/bitcoin,sipsorcery/bitcoin,pstratem/bitcoin,alecalve/bitcoin,qtumproject/qtum,namecoin/namecore,anditto/bitcoin,tecnovert/particl-core,Xekyo/bitcoin,GroestlCoin/bitcoin,Xekyo/bitcoin,MeshCollider/bitcoin,ajtowns/bitcoin,kallewoof/bitcoin,lateminer/bitcoin,rnicoll/bitcoin,n1bor/bitcoin,fanquake/bitcoin,sstone/bitcoin,tecnovert/particl-core,fujicoin/fujicoin,practicalswift/bitcoin,cdecker/bitcoin,sipsorcery/bitcoin,rnicoll/dogecoin,kallewoof/bitcoin,rnicoll/dogecoin,rnicoll/dogecoin,alecalve/bitcoin,domob1812/namecore,GroestlCoin/bitcoin,particl/particl-core,jonasschnelli/bitcoin,MarcoFalke/bitcoin,prusnak/bitcoin,andreaskern/bitcoin,qtumproject/qtum,lateminer/bitcoin,anditto/bitcoin,instagibbs/bitcoin,Xekyo/bitcoin,qtumproject/qtum,bitcoin/bitcoin,bitcoin/bitcoin,ajtowns/bitcoin,ElementsProject/elements,bitcoinsSG/bitcoin,cdecker/bitcoin,fujicoin/fujicoin,jambolo/bitcoin,GroestlCoin/GroestlCoin,jamesob/bitcoin,Sjors/bitcoin,rnicoll/dogecoin,alecalve/bitcoin,sstone/bitcoin,Xekyo/bitcoin,yenliangl/bitcoin,domob1812/bitcoin,MarcoFalke/bitcoin,mruddy/bitcoin,cdecker/bitcoin,litecoin-project/litecoin,mm-s/bitcoin,mruddy/bitcoin,MeshCollider/bitcoin,cdecker/bitcoin,fujicoin/fujicoin,rnicoll/bitcoin,bitcoinknots/bitcoin,GroestlCoin/GroestlCoin,jambolo/bitcoin,jnewbery/bitcoin,MeshCollider/bitcoin,jlopp/statoshi,namecoin/namecoin-core,jambolo/bitcoin,rnicoll/bitcoin,apoelstra/bitcoin,EthanHeilman/bitcoin,yenliangl/bitcoin,domob1812/namecore,domob1812/bitcoin,anditto/bitcoin,mm-s/bitcoin,Sjors/bitcoin,qtumproject/qtum,ElementsProject/elements,Sjors/bitcoin,domob1812/namecore,andreaskern/bitcoin,GroestlCoin/bitcoin,JeremyRubin/bitcoin,prusnak/bitcoin,AkioNak/bitcoin,kallewoof/bitcoin,sstone/bitcoin,ajtowns/bitcoin,fanquake/bitcoin,achow101/bitcoin,cdecker/bitcoin,ajtowns/bitcoin,litecoin-project/litecoin,ElementsProject/elements,GroestlCoin/bitcoin,mm-s/bitcoin,bitcoin/bitcoin,sipsorcery/bitcoin,bitcoin/bitcoin,sipsorcery/bitcoin,pataquets/namecoin-core,bitcoinsSG/bitcoin,jonasschnelli/bitcoin,n1bor/bitcoin,litecoin-project/litecoin,JeremyRubin/bitcoin,fanquake/bitcoin,jonasschnelli/bitcoin,jlopp/statoshi,MeshCollider/bitcoin,GroestlCoin/GroestlCoin,bitcoin/bitcoin,apoelstra/bitcoin,AkioNak/bitcoin,ElementsProject/elements,domob1812/namecore,pstratem/bitcoin,GroestlCoin/bitcoin,domob1812/bitcoin,JeremyRubin/bitcoin,EthanHeilman/bitcoin,apoelstra/bitcoin,yenliangl/bitcoin,namecoin/namecoin-core,GroestlCoin/GroestlCoin,prusnak/bitcoin,n1bor/bitcoin,jamesob/bitcoin,pstratem/bitcoin,achow101/bitcoin,anditto/bitcoin,instagibbs/bitcoin,namecoin/namecore,qtumproject/qtum,jonasschnelli/bitcoin,namecoin/namecore,practicalswift/bitcoin,bitcoinsSG/bitcoin,ElementsProject/elements,EthanHeilman/bitcoin,jamesob/bitcoin,pataquets/namecoin-core,domob1812/bitcoin,fanquake/bitcoin,Sjors/bitcoin,litecoin-project/litecoin,sstone/bitcoin,jamesob/bitcoin,lateminer/bitcoin,fujicoin/fujicoin,bitcoinsSG/bitcoin,alecalve/bitcoin,practicalswift/bitcoin,qtumproject/qtum,jlopp/statoshi,AkioNak/bitcoin,instagibbs/bitcoin,rnicoll/dogecoin,instagibbs/bitcoin,andreaskern/bitcoin,GroestlCoin/bitcoin,alecalve/bitcoin,anditto/bitcoin,MarcoFalke/bitcoin,bitcoinsSG/bitcoin,namecoin/namecore,prusnak/bitcoin,achow101/bitcoin,AkioNak/bitcoin,MeshCollider/bitcoin,fanquake/bitcoin,tecnovert/particl-core,mm-s/bitcoin,bitcoinknots/bitcoin,Sjors/bitcoin,jlopp/statoshi,lateminer/bitcoin,n1bor/bitcoin,achow101/bitcoin,namecoin/namecoin-core,prusnak/bitcoin,domob1812/bitcoin,pataquets/namecoin-core,particl/particl-core,n1bor/bitcoin