mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-21 14:49:16 +02:00
Get the right multithread option for GCC 3.0 and later. (#67583)
2002-01-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Get the right multithread option for GCC 3.0 and later. (#67583)
This commit is contained in:
parent
b23c1064bc
commit
a9d13e865e
@ -1,3 +1,8 @@
|
|||||||
|
2002-01-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* configure.in: Get the right multithread option for GCC 3.0 and
|
||||||
|
later. (#67583)
|
||||||
|
|
||||||
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
||||||
|
|
||||||
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
|
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-01-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* configure.in: Get the right multithread option for GCC 3.0 and
|
||||||
|
later. (#67583)
|
||||||
|
|
||||||
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
||||||
|
|
||||||
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
|
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-01-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* configure.in: Get the right multithread option for GCC 3.0 and
|
||||||
|
later. (#67583)
|
||||||
|
|
||||||
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
||||||
|
|
||||||
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
|
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-01-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* configure.in: Get the right multithread option for GCC 3.0 and
|
||||||
|
later. (#67583)
|
||||||
|
|
||||||
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
||||||
|
|
||||||
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
|
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-01-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* configure.in: Get the right multithread option for GCC 3.0 and
|
||||||
|
later. (#67583)
|
||||||
|
|
||||||
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
||||||
|
|
||||||
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
|
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-01-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* configure.in: Get the right multithread option for GCC 3.0 and
|
||||||
|
later. (#67583)
|
||||||
|
|
||||||
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
||||||
|
|
||||||
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
|
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-01-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* configure.in: Get the right multithread option for GCC 3.0 and
|
||||||
|
later. (#67583)
|
||||||
|
|
||||||
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
||||||
|
|
||||||
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
|
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-01-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* configure.in: Get the right multithread option for GCC 3.0 and
|
||||||
|
later. (#67583)
|
||||||
|
|
||||||
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
2002-01-21 Jeffrey Stedfast <fejj@ximian.com>
|
||||||
|
|
||||||
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
|
* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
|
||||||
|
@ -1125,7 +1125,13 @@ if test x"$have_threads" != xno; then
|
|||||||
*-aix*)
|
*-aix*)
|
||||||
G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_THREAD_SAFE"
|
G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_THREAD_SAFE"
|
||||||
if test x"$GCC" = xyes; then
|
if test x"$GCC" = xyes; then
|
||||||
G_THREAD_CFLAGS="$G_THREAD_CFLAGS -mthreads"
|
# GCC 3.0 and above needs -pthread
|
||||||
|
# GCC 2.x and below needs -mthreads
|
||||||
|
AC_TRY_COMPILE(,[#if __GNUC__ <= 2
|
||||||
|
bail out here
|
||||||
|
#endif],
|
||||||
|
G_THREAD_CFLAGS="$G_THREAD_CFLAGS -pthread",
|
||||||
|
G_THREAD_CFLAGS="$G_THREAD_CFLAGS -mthreads")
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*-freebsd2.2*)
|
*-freebsd2.2*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user