Added PTHREAD_LIBS variable to be set in another discovery case in acx_pthread

This commit is contained in:
Jonatan Pålsson 2014-01-14 10:05:38 +01:00
parent a3442cb00c
commit f4b6182157

View file

@ -166,6 +166,7 @@ for flag in $acx_pthread_flags; do
-*) -*)
AC_MSG_CHECKING([whether pthreads work with $flag]) AC_MSG_CHECKING([whether pthreads work with $flag])
PTHREAD_CFLAGS="$flag" PTHREAD_CFLAGS="$flag"
PTHREAD_LIBS="-l$flag"
;; ;;
pthread-config) pthread-config)