mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-12 13:49:22 +01:00
Improve checks for dce/posix threads to also do the right thing, if the
2002-07-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Improve checks for dce/posix threads to also do the right thing, if the thread functions are not declared in the pthread.h. Idea from Miroslaw Dobrzanski-Neumann <mne@mosaic-ag.com> in #77981.
This commit is contained in:
parent
b826ae8db4
commit
47791a0ed8
@ -2,6 +2,11 @@
|
||||
|
||||
* configure.in: Set binary age to 0 to make it compile.
|
||||
|
||||
* configure.in: Improve checks for dce/posix threads to also do
|
||||
the right thing, if the thread functions are not declared in the
|
||||
pthread.h. Idea from Miroslaw Dobrzanski-Neumann
|
||||
<mne@mosaic-ag.com> in #77981.
|
||||
|
||||
2002-07-01 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* configure.in: Up version to 2.1.0.
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
* configure.in: Set binary age to 0 to make it compile.
|
||||
|
||||
* configure.in: Improve checks for dce/posix threads to also do
|
||||
the right thing, if the thread functions are not declared in the
|
||||
pthread.h. Idea from Miroslaw Dobrzanski-Neumann
|
||||
<mne@mosaic-ag.com> in #77981.
|
||||
|
||||
2002-07-01 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* configure.in: Up version to 2.1.0.
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
* configure.in: Set binary age to 0 to make it compile.
|
||||
|
||||
* configure.in: Improve checks for dce/posix threads to also do
|
||||
the right thing, if the thread functions are not declared in the
|
||||
pthread.h. Idea from Miroslaw Dobrzanski-Neumann
|
||||
<mne@mosaic-ag.com> in #77981.
|
||||
|
||||
2002-07-01 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* configure.in: Up version to 2.1.0.
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
* configure.in: Set binary age to 0 to make it compile.
|
||||
|
||||
* configure.in: Improve checks for dce/posix threads to also do
|
||||
the right thing, if the thread functions are not declared in the
|
||||
pthread.h. Idea from Miroslaw Dobrzanski-Neumann
|
||||
<mne@mosaic-ag.com> in #77981.
|
||||
|
||||
2002-07-01 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* configure.in: Up version to 2.1.0.
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
* configure.in: Set binary age to 0 to make it compile.
|
||||
|
||||
* configure.in: Improve checks for dce/posix threads to also do
|
||||
the right thing, if the thread functions are not declared in the
|
||||
pthread.h. Idea from Miroslaw Dobrzanski-Neumann
|
||||
<mne@mosaic-ag.com> in #77981.
|
||||
|
||||
2002-07-01 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* configure.in: Up version to 2.1.0.
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
* configure.in: Set binary age to 0 to make it compile.
|
||||
|
||||
* configure.in: Improve checks for dce/posix threads to also do
|
||||
the right thing, if the thread functions are not declared in the
|
||||
pthread.h. Idea from Miroslaw Dobrzanski-Neumann
|
||||
<mne@mosaic-ag.com> in #77981.
|
||||
|
||||
2002-07-01 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* configure.in: Up version to 2.1.0.
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
* configure.in: Set binary age to 0 to make it compile.
|
||||
|
||||
* configure.in: Improve checks for dce/posix threads to also do
|
||||
the right thing, if the thread functions are not declared in the
|
||||
pthread.h. Idea from Miroslaw Dobrzanski-Neumann
|
||||
<mne@mosaic-ag.com> in #77981.
|
||||
|
||||
2002-07-01 Anders Carlsson <andersca@gnu.org>
|
||||
|
||||
* configure.in: Up version to 2.1.0.
|
||||
|
@ -1187,12 +1187,13 @@ if test "x$want_threads" = xyes || test "x$want_threads" = xposix \
|
||||
CPPFLAGS="$CPPFLAGS $GTHREAD_COMPILE_IMPL_DEFINES"
|
||||
if test "x$have_threads" = xno; then
|
||||
AC_TRY_COMPILE([#include <pthread.h>],
|
||||
[pthread_attr_t attr; pthread_attr_init(&attr);],
|
||||
[pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER;],
|
||||
have_threads=posix)
|
||||
fi
|
||||
if test "x$have_threads" = xno; then
|
||||
AC_TRY_COMPILE([#include <pthread.h>],
|
||||
[pthread_attr_t attr; pthread_attr_create(&attr);],
|
||||
[pthread_mutex_t m;
|
||||
pthread_mutex_init (&m, pthread_mutexattr_default);],
|
||||
have_threads=dce)
|
||||
fi
|
||||
CPPFLAGS="$glib_save_CPPFLAGS"
|
||||
|
Loading…
x
Reference in New Issue
Block a user