* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
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"