mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
Get the right multithread option for GCC 3.0 and later on AIX. (#67583)
2002-01-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Get the right multithread option for GCC 3.0 and later on AIX. (#67583)
This commit is contained in:
committed by
Sebastian Wilhelmi
parent
26592710a2
commit
19a27ad809
@@ -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 on AIX. (#67583)
|
||||
|
||||
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib.h: Use G_GNUC_EXTENSION instead of __extension__. Patch
|
||||
|
@@ -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 on AIX. (#67583)
|
||||
|
||||
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib.h: Use G_GNUC_EXTENSION instead of __extension__. Patch
|
||||
|
@@ -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 on AIX. (#67583)
|
||||
|
||||
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib.h: Use G_GNUC_EXTENSION instead of __extension__. Patch
|
||||
|
@@ -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 on AIX. (#67583)
|
||||
|
||||
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib.h: Use G_GNUC_EXTENSION instead of __extension__. Patch
|
||||
|
@@ -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 on AIX. (#67583)
|
||||
|
||||
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib.h: Use G_GNUC_EXTENSION instead of __extension__. Patch
|
||||
|
@@ -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 on AIX. (#67583)
|
||||
|
||||
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib.h: Use G_GNUC_EXTENSION instead of __extension__. Patch
|
||||
|
@@ -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 on AIX. (#67583)
|
||||
|
||||
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib.h: Use G_GNUC_EXTENSION instead of __extension__. Patch
|
||||
|
@@ -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 on AIX. (#67583)
|
||||
|
||||
2001-07-27 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib.h: Use G_GNUC_EXTENSION instead of __extension__. Patch
|
||||
|
@@ -791,7 +791,13 @@ G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_REENTRANT" # good default guess
|
||||
*-aix*)
|
||||
G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_THREAD_SAFE"
|
||||
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
|
||||
;;
|
||||
*-freebsd2.2*)
|
||||
|
Reference in New Issue
Block a user