+Wed Dec 16 20:04:10 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * 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 <timj@gtk.org>
* glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the
+Wed Dec 16 20:04:10 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * 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 <timj@gtk.org>
* glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the
+Wed Dec 16 20:04:10 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * 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 <timj@gtk.org>
* glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the
+Wed Dec 16 20:04:10 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * 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 <timj@gtk.org>
* glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the
+Wed Dec 16 20:04:10 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * 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 <timj@gtk.org>
* glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the
+Wed Dec 16 20:04:10 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * 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 <timj@gtk.org>
* glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the
+Wed Dec 16 20:04:10 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * 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 <timj@gtk.org>
* glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the
+Wed Dec 16 20:04:10 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * 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 <timj@gtk.org>
* glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the
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
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