diff --git a/ChangeLog b/ChangeLog index c8b580e59..4af8d852d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 16 20:04:10 PST 1998 Manish Singh + + * configure.in: check for pthread_attr_init in all cases, du4 + needs this since most of the other functions are just #defines + Thu Dec 17 04:10:49 1998 Tim Janik * glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index c8b580e59..4af8d852d 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Wed Dec 16 20:04:10 PST 1998 Manish Singh + + * configure.in: check for pthread_attr_init in all cases, du4 + needs this since most of the other functions are just #defines + Thu Dec 17 04:10:49 1998 Tim Janik * glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index c8b580e59..4af8d852d 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Wed Dec 16 20:04:10 PST 1998 Manish Singh + + * configure.in: check for pthread_attr_init in all cases, du4 + needs this since most of the other functions are just #defines + Thu Dec 17 04:10:49 1998 Tim Janik * glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index c8b580e59..4af8d852d 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +Wed Dec 16 20:04:10 PST 1998 Manish Singh + + * configure.in: check for pthread_attr_init in all cases, du4 + needs this since most of the other functions are just #defines + Thu Dec 17 04:10:49 1998 Tim Janik * glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index c8b580e59..4af8d852d 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Wed Dec 16 20:04:10 PST 1998 Manish Singh + + * configure.in: check for pthread_attr_init in all cases, du4 + needs this since most of the other functions are just #defines + Thu Dec 17 04:10:49 1998 Tim Janik * glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index c8b580e59..4af8d852d 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Wed Dec 16 20:04:10 PST 1998 Manish Singh + + * configure.in: check for pthread_attr_init in all cases, du4 + needs this since most of the other functions are just #defines + Thu Dec 17 04:10:49 1998 Tim Janik * glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index c8b580e59..4af8d852d 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Wed Dec 16 20:04:10 PST 1998 Manish Singh + + * configure.in: check for pthread_attr_init in all cases, du4 + needs this since most of the other functions are just #defines + Thu Dec 17 04:10:49 1998 Tim Janik * glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index c8b580e59..4af8d852d 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Wed Dec 16 20:04:10 PST 1998 Manish Singh + + * configure.in: check for pthread_attr_init in all cases, du4 + needs this since most of the other functions are just #defines + Thu Dec 17 04:10:49 1998 Tim Janik * glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the diff --git a/configure.in b/configure.in index d060709f0..8fd4d8bcf 100644 --- a/configure.in +++ b/configure.in @@ -566,10 +566,10 @@ if test "x$want_threads" = xyes || test "x$want_threads" = xsolaris; then fi if test "x$want_threads" = xyes || test "x$want_threads" = xposix; then if test "x$have_threads" = xnone; then - AC_CHECK_LIB(pthread, pthread_cond_init, have_threads=posix) + AC_CHECK_LIB(pthread, pthread_attr_init, have_threads=posix) fi if test "x$have_threads" = xnone; then - AC_CHECK_LIB(pthreads, pthread_cond_init, have_threads=posix) + AC_CHECK_LIB(pthreads, pthread_attr_init, have_threads=posix) fi if test "x$have_threads" = xnone; then # dont let us be fooled by a defined pthread_cond_init @@ -602,10 +602,10 @@ G_THREAD_LIBS= case $have_threads in posix) G_THREAD_LIBS=error - AC_CHECK_LIB(pthread, pthread_cond_init, + AC_CHECK_LIB(pthread, pthread_attr_init, G_THREAD_LIBS="-lpthread") if test "x$G_THREAD_LIBS" = xerror; then - AC_CHECK_LIB(pthreads, pthread_cond_init, + AC_CHECK_LIB(pthreads, pthread_attr_init, G_THREAD_LIBS="-lpthreads") fi if test "x$G_THREAD_LIBS" = xerror; then