+1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: added new AC_SUBST(GTHREAD_COMPILE_IMPL_DEFINES)
+ to hold various defines to get the right thread implementation on
+ different platforms. Also look in -ldce for pthread_create. Should
+ make it work on HP-UX 10.x.
+
1999-03-17 Jeff Garzik <jgarzik@pobox.com>
* gstack.c, gqueue.c:
+1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: added new AC_SUBST(GTHREAD_COMPILE_IMPL_DEFINES)
+ to hold various defines to get the right thread implementation on
+ different platforms. Also look in -ldce for pthread_create. Should
+ make it work on HP-UX 10.x.
+
1999-03-17 Jeff Garzik <jgarzik@pobox.com>
* gstack.c, gqueue.c:
+1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: added new AC_SUBST(GTHREAD_COMPILE_IMPL_DEFINES)
+ to hold various defines to get the right thread implementation on
+ different platforms. Also look in -ldce for pthread_create. Should
+ make it work on HP-UX 10.x.
+
1999-03-17 Jeff Garzik <jgarzik@pobox.com>
* gstack.c, gqueue.c:
+1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: added new AC_SUBST(GTHREAD_COMPILE_IMPL_DEFINES)
+ to hold various defines to get the right thread implementation on
+ different platforms. Also look in -ldce for pthread_create. Should
+ make it work on HP-UX 10.x.
+
1999-03-17 Jeff Garzik <jgarzik@pobox.com>
* gstack.c, gqueue.c:
+1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: added new AC_SUBST(GTHREAD_COMPILE_IMPL_DEFINES)
+ to hold various defines to get the right thread implementation on
+ different platforms. Also look in -ldce for pthread_create. Should
+ make it work on HP-UX 10.x.
+
1999-03-17 Jeff Garzik <jgarzik@pobox.com>
* gstack.c, gqueue.c:
+1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: added new AC_SUBST(GTHREAD_COMPILE_IMPL_DEFINES)
+ to hold various defines to get the right thread implementation on
+ different platforms. Also look in -ldce for pthread_create. Should
+ make it work on HP-UX 10.x.
+
1999-03-17 Jeff Garzik <jgarzik@pobox.com>
* gstack.c, gqueue.c:
+1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: added new AC_SUBST(GTHREAD_COMPILE_IMPL_DEFINES)
+ to hold various defines to get the right thread implementation on
+ different platforms. Also look in -ldce for pthread_create. Should
+ make it work on HP-UX 10.x.
+
1999-03-17 Jeff Garzik <jgarzik@pobox.com>
* gstack.c, gqueue.c:
+1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: added new AC_SUBST(GTHREAD_COMPILE_IMPL_DEFINES)
+ to hold various defines to get the right thread implementation on
+ different platforms. Also look in -ldce for pthread_create. Should
+ make it work on HP-UX 10.x.
+
1999-03-17 Jeff Garzik <jgarzik@pobox.com>
* gstack.c, gqueue.c:
fi
if test "x$want_threads" = xyes || test "x$want_threads" = xposix \
|| test "x$want_threads" = xdce; then
+ # -D_POSIX4A_DRAFT10_SOURCE is for DG/UX
+ # -U_OSF_SOURCE if for Digital UNIX 4.0d
+ GTHREAD_COMPILE_IMPL_DEFINES="-D_POSIX4A_DRAFT10_SOURCE -U_OSF_SOURCE"
+ glib_save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS $GTHREAD_COMPILE_IMPL_DEFINES"
if test "x$have_threads" = xnone; then
AC_EGREP_HEADER([[^a-zA-Z_]pthread_attr_init[^a-zA-Z_]],
pthread.h,
pthread.h,
have_threads=dce)
fi
+ CPPFLAGS="$glib_save_CPPFLAGS"
fi
if test "x$want_threads" = xyes || test "x$want_threads" = xnspr; then
if test "x$have_threads" = xnone; then
posix|dce)
G_THREAD_LIBS=error
glib_save_LIBS="$LIBS"
- for thread_lib in "" pthread pthreads c_r thread; do
+ for thread_lib in "" pthread pthreads c_r thread dce; do
# This is not AC_CHECK_LIB to also work with function
# name mangling in header files.
if test x"$thread_lib" = x; then
[AC_MSG_RESULT(no)])
done
LIBS="$glib_save_LIBS"
- dnl ********** DG/UX ************
- AC_CHECK_LIB(thread, __d10_pthread_create,
- G_THREAD_CFLAGS="-D_POSIX4A_DRAFT10_SOURCE")
mutex_has_default=yes
mutex_default_type='pthread_mutex_t'
mutex_default_init='PTHREAD_MUTEX_INITIALIZER'
g_threads_impl="DCE"
have_threads="posix"
fi
+ AC_SUBST(GTHREAD_COMPILE_IMPL_DEFINES)
;;
solaris)
G_THREAD_LIBS=error
+1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * Makefile.am (INCLUDES): Added @GTHREAD_COMPILE_IMPL_DEFINES@.
+
1999-03-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gthread-posix.c (g_private_get_posix_impl): Fixed typo for DCE
## Process this file with automake to produce Makefile.in
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gthread -DG_LOG_DOMAIN=\"GThread\"
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gthread \
+ -DG_LOG_DOMAIN=\"GThread\" @GTHREAD_COMPILE_IMPL_DEFINES@
EXTRA_DIST = \
gthread-posix.c \