Properly activate the pthread support on GNU/Hurd.

Originally submitted as a patch to the Debian Heimdal package:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483281

Signed-Off-By: Jelmer Vernooij <jelmer@debian.org>

Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
This commit is contained in:
Samuel Thibault
2012-03-28 23:06:20 +02:00
committed by Love Hörnquist Åstrand
parent 39460d0045
commit 0ef0446645

View File

@@ -39,6 +39,11 @@ case "$host" in
PTHREAD_CFLAGS=-pthread
PTHREAD_LIBADD=-pthread
;;
*-*-gnu*)
native_pthread_support=yes
PTHREADS_CFLAGS=-pthread
PTHREAD_LIBADD="-pthread -lpthread"
;;
*-*-linux* | *-*-linux-gnu)
case `uname -r` in
2.*|3.*)