[patch #8081] AX_PTHREAD.m4 not setting PTHREAD_LIBS to -pthread for gcc 4.7.2

Laurent Bigonville <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Message-ID <[email protected]>
Follow-up Comment #4, patch #8081 (project autoconf-archive):

Hi,

I might be wrong here, but shouldn't PTHREAD_LIBS also be containing
'-lpthread' on linux platform?

On my machine:

LIBS="$PTHREAD_LIBS $LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
CC="$PTHREAD_CC"

is expanding to

LIBS= 
CFLAGS=-g -O2 -pthread
CC=gcc

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8081>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.