From 7226882e10c708583777f3772308f400cdfe3180 Mon Sep 17 00:00:00 2001 From: jacob berkman Date: Thu, 24 May 2001 18:35:34 +0000 Subject: add hp-ux specific check from glib 2001-05-24 jacob berkman * gnome-pthread-check.m4 (GNOME_PTHREAD_CHECK): add hp-ux specific check from glib svn path=/trunk/; revision=9964 --- macros/ChangeLog | 5 +++++ macros/gnome-pthread-check.m4 | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'macros') diff --git a/macros/ChangeLog b/macros/ChangeLog index 0017061b3f..da01c4aea5 100644 --- a/macros/ChangeLog +++ b/macros/ChangeLog @@ -1,3 +1,8 @@ +2001-05-24 jacob berkman + + * gnome-pthread-check.m4 (GNOME_PTHREAD_CHECK): add hp-ux specific + check from glib + 2001-05-19 Jody Goldberg * gnome-gettext.m4 : Add BUILD_INCLUDED_LIBINTL so that newer versions diff --git a/macros/gnome-pthread-check.m4 b/macros/gnome-pthread-check.m4 index a4eb3b4890..5a1afee014 100644 --- a/macros/gnome-pthread-check.m4 +++ b/macros/gnome-pthread-check.m4 @@ -7,7 +7,9 @@ AC_DEFUN([GNOME_PTHREAD_CHECK],[ 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)] + )] )] )] ) -- cgit v1.2.3