Make GLib recognize Tru64Unix thread system. (#103020)
authorSebastian Wilhelmi <seppi@seppi.de>
Wed, 12 Feb 2003 13:01:35 +0000 (13:01 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Wed, 12 Feb 2003 13:01:35 +0000 (13:01 +0000)
2003-02-12  Sebastian Wilhelmi  <seppi@seppi.de>

* configure.in: Make GLib recognize Tru64Unix thread system. (#103020)

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

index 34df67029220749944fc83c4b43777b0214e8e18..a946c1cf35e447c80cb0c7d4371a40ab34b118bd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-02-12  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
+
 2003-02-11  Tor Lillqvist  <tml@iki.fi>
 
        * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.
index 34df67029220749944fc83c4b43777b0214e8e18..a946c1cf35e447c80cb0c7d4371a40ab34b118bd 100644 (file)
@@ -1,3 +1,7 @@
+2003-02-12  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
+
 2003-02-11  Tor Lillqvist  <tml@iki.fi>
 
        * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.
index 34df67029220749944fc83c4b43777b0214e8e18..a946c1cf35e447c80cb0c7d4371a40ab34b118bd 100644 (file)
@@ -1,3 +1,7 @@
+2003-02-12  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
+
 2003-02-11  Tor Lillqvist  <tml@iki.fi>
 
        * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.
index 34df67029220749944fc83c4b43777b0214e8e18..a946c1cf35e447c80cb0c7d4371a40ab34b118bd 100644 (file)
@@ -1,3 +1,7 @@
+2003-02-12  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
+
 2003-02-11  Tor Lillqvist  <tml@iki.fi>
 
        * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.
index 34df67029220749944fc83c4b43777b0214e8e18..a946c1cf35e447c80cb0c7d4371a40ab34b118bd 100644 (file)
@@ -1,3 +1,7 @@
+2003-02-12  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
+
 2003-02-11  Tor Lillqvist  <tml@iki.fi>
 
        * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.
index 34df67029220749944fc83c4b43777b0214e8e18..a946c1cf35e447c80cb0c7d4371a40ab34b118bd 100644 (file)
@@ -1,3 +1,7 @@
+2003-02-12  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
+
 2003-02-11  Tor Lillqvist  <tml@iki.fi>
 
        * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.
index 4bf334f4da7b3886445e12995c78c1574a92e291..2718bdd0d6a50ab50d02badf3180b150643c3b80 100644 (file)
@@ -1261,6 +1261,13 @@ if test "x$want_threads" = xyes || test "x$want_threads" = xposix \
                          pthread_mutex_init (&m, pthread_mutexattr_default);],
                        have_threads=dce)
         fi
+       # Tru64Unix requires -pthread to find pthread.h. See #103020
+       CPPFLAGS="$CPPFLAGS -pthread"
+       if test "x$have_threads" = xno; then
+       AC_TRY_COMPILE([#include <pthread.h>],
+                      [pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER;],
+                      have_threads=posix)
+        fi
        CPPFLAGS="$glib_save_CPPFLAGS"
 fi
 if test "x$want_threads" = xyes || test "x$want_threads" = xwin32; then