check for pthread_attr_init in all cases, du4 needs this since most of the
authorManish Singh <yosh@src.gnome.org>
Thu, 17 Dec 1998 04:08:33 +0000 (04:08 +0000)
committerManish Singh <yosh@src.gnome.org>
Thu, 17 Dec 1998 04:08:33 +0000 (04:08 +0000)
other functions are just #defines

-Yosh

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
configure.in

index c8b580e..4af8d85 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index c8b580e..4af8d85 100644 (file)
@@ -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
index c8b580e..4af8d85 100644 (file)
@@ -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
index c8b580e..4af8d85 100644 (file)
@@ -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
index c8b580e..4af8d85 100644 (file)
@@ -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
index c8b580e..4af8d85 100644 (file)
@@ -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
index c8b580e..4af8d85 100644 (file)
@@ -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
index c8b580e..4af8d85 100644 (file)
@@ -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
index d060709..8fd4d8b 100644 (file)
@@ -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