+1998-12-15 Jeff Garzik <jgarzik@Pobox.com>
+
+ * configure.in: correctly support --without-threads and friends
+
+ * gthread/testgthread.c: corrected 64-bitness problem
+
Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gnode.c glist.c gslist.c: Make sure all
+1998-12-15 Jeff Garzik <jgarzik@Pobox.com>
+
+ * configure.in: correctly support --without-threads and friends
+
+ * gthread/testgthread.c: corrected 64-bitness problem
+
Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gnode.c glist.c gslist.c: Make sure all
+1998-12-15 Jeff Garzik <jgarzik@Pobox.com>
+
+ * configure.in: correctly support --without-threads and friends
+
+ * gthread/testgthread.c: corrected 64-bitness problem
+
Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gnode.c glist.c gslist.c: Make sure all
+1998-12-15 Jeff Garzik <jgarzik@Pobox.com>
+
+ * configure.in: correctly support --without-threads and friends
+
+ * gthread/testgthread.c: corrected 64-bitness problem
+
Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gnode.c glist.c gslist.c: Make sure all
+1998-12-15 Jeff Garzik <jgarzik@Pobox.com>
+
+ * configure.in: correctly support --without-threads and friends
+
+ * gthread/testgthread.c: corrected 64-bitness problem
+
Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gnode.c glist.c gslist.c: Make sure all
+1998-12-15 Jeff Garzik <jgarzik@Pobox.com>
+
+ * configure.in: correctly support --without-threads and friends
+
+ * gthread/testgthread.c: corrected 64-bitness problem
+
Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gnode.c glist.c gslist.c: Make sure all
+1998-12-15 Jeff Garzik <jgarzik@Pobox.com>
+
+ * configure.in: correctly support --without-threads and friends
+
+ * gthread/testgthread.c: corrected 64-bitness problem
+
Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gnode.c glist.c gslist.c: Make sure all
+1998-12-15 Jeff Garzik <jgarzik@Pobox.com>
+
+ * configure.in: correctly support --without-threads and friends
+
+ * gthread/testgthread.c: corrected 64-bitness problem
+
Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
* gnode.c glist.c gslist.c: Make sure all
dnl determination of thread implementation
dnl ***************************************
-if test x"$with_threads" = x; then
+if test "x$with_threads" != xno; then
case $host in
*-*-solaris*)
AC_CHECK_LIB(thread,cond_init,with_threads=solaris)
;;
esac
- if test x"$with_threads" = x; then
+ if test "x$with_threads" != xsolaris; then
AC_CHECK_LIB(pthread,pthread_cond_init,with_threads=posix)
AC_CHECK_LIB(pthreads,pthread_attr_init,with_threads=posix)
AC_CHECK_LIB(nspr21,PRP_NewNakedCondVar,with_threads=nspr)
if test x"$with_threads" = x; then
with_threads=none
+ AC_MSG_RESULT(none available)
AC_MSG_WARN($THREAD_NO_IMPLEMENTATION)
+else
+ AC_MSG_RESULT($with_threads)
fi
-AC_MSG_RESULT($with_threads)
dnl determination of G_THREAD_LIBS
dnl ******************************
gpointer threads[TEST_PRIVATE_THREADS];
for (i = 0; i < TEST_PRIVATE_THREADS; i++)
{
- threads[i] = new_thread (test_private_func, (gpointer) i);
+ threads[i] = new_thread (test_private_func, GINT_TO_POINTER(i));
}
for (i = 0; i < TEST_PRIVATE_THREADS; i++)
{