Add support for pthreads under FreeBSD 2.2.[7|8]

Add support for pthreads under FreeBSD 2.2.[7|8]
This commit is contained in:
Timur I. Bakeyev 1999-01-16 22:45:18 +00:00
parent b9dd5bc19c
commit 883776f035
9 changed files with 58 additions and 20 deletions

View File

@ -1,3 +1,7 @@
Sun Jan 17 01:06:38 1999 Timur Bakeyev <mc@bat.ru>
* configure.in: Add support for FreeBSD 2.2.x macro _THREAD_SAFE.
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
* glib.h: don't use inline for !__GNUC__ case with g_warning,

View File

@ -1,3 +1,7 @@
Sun Jan 17 01:06:38 1999 Timur Bakeyev <mc@bat.ru>
* configure.in: Add support for FreeBSD 2.2.x macro _THREAD_SAFE.
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
* glib.h: don't use inline for !__GNUC__ case with g_warning,

View File

@ -1,3 +1,7 @@
Sun Jan 17 01:06:38 1999 Timur Bakeyev <mc@bat.ru>
* configure.in: Add support for FreeBSD 2.2.x macro _THREAD_SAFE.
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
* glib.h: don't use inline for !__GNUC__ case with g_warning,

View File

@ -1,3 +1,7 @@
Sun Jan 17 01:06:38 1999 Timur Bakeyev <mc@bat.ru>
* configure.in: Add support for FreeBSD 2.2.x macro _THREAD_SAFE.
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
* glib.h: don't use inline for !__GNUC__ case with g_warning,

View File

@ -1,3 +1,7 @@
Sun Jan 17 01:06:38 1999 Timur Bakeyev <mc@bat.ru>
* configure.in: Add support for FreeBSD 2.2.x macro _THREAD_SAFE.
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
* glib.h: don't use inline for !__GNUC__ case with g_warning,

View File

@ -1,3 +1,7 @@
Sun Jan 17 01:06:38 1999 Timur Bakeyev <mc@bat.ru>
* configure.in: Add support for FreeBSD 2.2.x macro _THREAD_SAFE.
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
* glib.h: don't use inline for !__GNUC__ case with g_warning,

View File

@ -1,3 +1,7 @@
Sun Jan 17 01:06:38 1999 Timur Bakeyev <mc@bat.ru>
* configure.in: Add support for FreeBSD 2.2.x macro _THREAD_SAFE.
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
* glib.h: don't use inline for !__GNUC__ case with g_warning,

View File

@ -1,3 +1,7 @@
Sun Jan 17 01:06:38 1999 Timur Bakeyev <mc@bat.ru>
* configure.in: Add support for FreeBSD 2.2.x macro _THREAD_SAFE.
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
* glib.h: don't use inline for !__GNUC__ case with g_warning,

View File

@ -673,7 +673,7 @@ dnl determination of G_THREAD_CFLAGS
dnl ********************************
if test x"$have_threads" != xnone; then
G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_REENTRANT" # good default
G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_REENTRANT" # good default guess
case $host in
*-aix*)
@ -682,6 +682,12 @@ if test x"$have_threads" != xnone; then
G_THREAD_CFLAGS="$G_THREAD_CFLAGS -mthreads"
fi
;;
*-freebsd2.2*)
G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_THREAD_SAFE"
# FreeBSD 2.2.x shiped with gcc 2.7.2.x, which doesn't support
# -mthreads flag.
;;
esac
# if we are not finding the ctime_r function, then we probably are