Always call GLIB_SIZEOF(..., system_thread). Fixes #65624.
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Wed, 28 Nov 2001 16:47:26 +0000 (16:47 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Wed, 28 Nov 2001 16:47:26 +0000 (16:47 +0000)
2001-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
#65624.

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 429623e..3c19d17 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
+       #65624.
+
 2001-11-28  Tor Lillqvist  <tml@iki.fi>
 
        * glibconfig.h.win32.in: Add GLIB_SIZEOF_SIZE_T here, too.
index 429623e..3c19d17 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
+       #65624.
+
 2001-11-28  Tor Lillqvist  <tml@iki.fi>
 
        * glibconfig.h.win32.in: Add GLIB_SIZEOF_SIZE_T here, too.
index 429623e..3c19d17 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
+       #65624.
+
 2001-11-28  Tor Lillqvist  <tml@iki.fi>
 
        * glibconfig.h.win32.in: Add GLIB_SIZEOF_SIZE_T here, too.
index 429623e..3c19d17 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
+       #65624.
+
 2001-11-28  Tor Lillqvist  <tml@iki.fi>
 
        * glibconfig.h.win32.in: Add GLIB_SIZEOF_SIZE_T here, too.
index 429623e..3c19d17 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
+       #65624.
+
 2001-11-28  Tor Lillqvist  <tml@iki.fi>
 
        * glibconfig.h.win32.in: Add GLIB_SIZEOF_SIZE_T here, too.
index 429623e..3c19d17 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
+       #65624.
+
 2001-11-28  Tor Lillqvist  <tml@iki.fi>
 
        * glibconfig.h.win32.in: Add GLIB_SIZEOF_SIZE_T here, too.
index 429623e..3c19d17 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
+       #65624.
+
 2001-11-28  Tor Lillqvist  <tml@iki.fi>
 
        * glibconfig.h.win32.in: Add GLIB_SIZEOF_SIZE_T here, too.
index 429623e..3c19d17 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
+       #65624.
+
 2001-11-28  Tor Lillqvist  <tml@iki.fi>
 
        * glibconfig.h.win32.in: Add GLIB_SIZEOF_SIZE_T here, too.
index cb99f26..473852a 100644 (file)
@@ -1424,6 +1424,11 @@ if test x"$have_threads" != xno; then
        fi
 fi     
 
+if test x"$glib_cv_sizeof_system_thread" = x; then
+   # use a pointer as a fallback.
+   GLIB_SIZEOF(,void *, system_thread)
+fi
+
 AC_DEFINE_UNQUOTED(G_THREAD_SOURCE,"gthread-$have_threads.c",
                   [Source file containing theread implementation])
 AC_SUBST(G_THREAD_CFLAGS)
@@ -2090,11 +2095,7 @@ g_threads_impl_def=$g_threads_impl
 
 g_mutex_has_default="$mutex_has_default"
 g_mutex_sizeof="$glib_cv_sizeof_gmutex"
-if test x"$glib_cv_sizeof_system_thread" != x; then
-  g_system_thread_sizeof="$glib_cv_sizeof_system_thread"
-else
-  g_system_thread_sizeof="$ac_cv_sizeof_void_p"
-fi
+g_system_thread_sizeof="$glib_cv_sizeof_system_thread"
 g_mutex_contents="$glib_cv_byte_contents_gmutex"
 
 g_module_suffix="$glib_gmodule_suffix"