mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 10:16:17 +01:00
Fixed --with-threads, small 64-bit prob
This commit is contained in:
parent
dcd0c664b7
commit
5c31783df2
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -539,13 +539,13 @@ LIBS_NOT_FOUND_2=". Please choose another thread implementation or
|
||||
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)
|
||||
@ -556,10 +556,12 @@ AC_MSG_CHECKING(for thread implementation)
|
||||
|
||||
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 ******************************
|
||||
|
@ -173,7 +173,7 @@ test_private ()
|
||||
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++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user