gnome-pthread-check.m4 && hpux



this patch is needed for gnome-pthread-check on hp-ux.

this was based on what's in glib's configure.in.

i'll commit it friday barring complaints.

jacob
--
In the afterlife, a cute .signature will only get you so far.

Index: gnome-pthread-check.m4
===================================================================
RCS file: /cvs/gnome/gnome-common/macros/gnome-pthread-check.m4,v
retrieving revision 1.6
diff -u -r1.6 gnome-pthread-check.m4
--- gnome-pthread-check.m4	2000/08/02 22:26:45	1.6
+++ gnome-pthread-check.m4	2001/05/17 00:02:48
@@ -7,7 +7,9 @@
 	AC_CHECK_LIB(pthread, pthread_create, PTHREAD_LIB="-lpthread",
 		[AC_CHECK_LIB(pthreads, pthread_create, PTHREAD_LIB="-lpthreads",
 		    [AC_CHECK_LIB(c_r, pthread_create, PTHREAD_LIB="-lc_r",
-			[AC_CHECK_FUNC(pthread_create)]
+			[AC_CHECK_LIB(pthread, __pthread_attr_init_system, PTHREAD_LIB="-lpthread",
+				[AC_CHECK_FUNC(pthread_create)]
+			)]
 		    )]
 		)]
 	)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]