13 lines
513 B
Plaintext
13 lines
513 B
Plaintext
$OpenBSD: patch-configure_ac,v 1.2 2012/05/11 10:53:54 dcoppa Exp $
|
|
--- configure.ac.orig Sat Mar 31 19:45:52 2012
|
|
+++ configure.ac Fri May 11 12:30:38 2012
|
|
@@ -241,7 +241,7 @@ dnl ===============
|
|
PTHREAD_LIBS=
|
|
PTHREAD_CFLAGS=
|
|
|
|
-AC_CHECK_LIB(pthread, pthread_create, PTHREAD_LIBS="-lpthread",
|
|
+AC_CHECK_LIB(pthread, pthread_create, PTHREAD_LIBS="-pthread",
|
|
[AC_CHECK_LIB(pthreads, pthread_create, PTHREAD_LIBS="-lpthreads",
|
|
[AC_CHECK_LIB(pthreadGC2, pthread_create, PTHREAD_LIBS="-lpthreadGC2")]
|
|
)]
|