mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
check for pthread_attr_init in all cases, du4 needs this since most of the
other functions are just #defines -Yosh
This commit is contained in:
parent
a62ebb0e75
commit
6166dd889d
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user