Make GLib recognize Tru64Unix thread system. (#103020)

2003-02-12  Sebastian Wilhelmi  <seppi@seppi.de>

	* configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
This commit is contained in:
Sebastian Wilhelmi 2003-02-12 13:01:35 +00:00 committed by Sebastian Wilhelmi
parent ff78c76b46
commit f0e22eaadf
7 changed files with 31 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-02-12 Sebastian Wilhelmi <seppi@seppi.de>
* configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
2003-02-11 Tor Lillqvist <tml@iki.fi> 2003-02-11 Tor Lillqvist <tml@iki.fi>
* Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2. * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.

View File

@ -1,3 +1,7 @@
2003-02-12 Sebastian Wilhelmi <seppi@seppi.de>
* configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
2003-02-11 Tor Lillqvist <tml@iki.fi> 2003-02-11 Tor Lillqvist <tml@iki.fi>
* Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2. * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.

View File

@ -1,3 +1,7 @@
2003-02-12 Sebastian Wilhelmi <seppi@seppi.de>
* configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
2003-02-11 Tor Lillqvist <tml@iki.fi> 2003-02-11 Tor Lillqvist <tml@iki.fi>
* Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2. * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.

View File

@ -1,3 +1,7 @@
2003-02-12 Sebastian Wilhelmi <seppi@seppi.de>
* configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
2003-02-11 Tor Lillqvist <tml@iki.fi> 2003-02-11 Tor Lillqvist <tml@iki.fi>
* Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2. * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.

View File

@ -1,3 +1,7 @@
2003-02-12 Sebastian Wilhelmi <seppi@seppi.de>
* configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
2003-02-11 Tor Lillqvist <tml@iki.fi> 2003-02-11 Tor Lillqvist <tml@iki.fi>
* Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2. * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.

View File

@ -1,3 +1,7 @@
2003-02-12 Sebastian Wilhelmi <seppi@seppi.de>
* configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
2003-02-11 Tor Lillqvist <tml@iki.fi> 2003-02-11 Tor Lillqvist <tml@iki.fi>
* Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2. * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.

View File

@ -1261,6 +1261,13 @@ if test "x$want_threads" = xyes || test "x$want_threads" = xposix \
pthread_mutex_init (&m, pthread_mutexattr_default);], pthread_mutex_init (&m, pthread_mutexattr_default);],
have_threads=dce) have_threads=dce)
fi fi
# Tru64Unix requires -pthread to find pthread.h. See #103020
CPPFLAGS="$CPPFLAGS -pthread"
if test "x$have_threads" = xno; then
AC_TRY_COMPILE([#include <pthread.h>],
[pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER;],
have_threads=posix)
fi
CPPFLAGS="$glib_save_CPPFLAGS" CPPFLAGS="$glib_save_CPPFLAGS"
fi fi
if test "x$want_threads" = xyes || test "x$want_threads" = xwin32; then if test "x$want_threads" = xyes || test "x$want_threads" = xwin32; then