Commit 771d7120 authored by Sebastian Wilhelmi's avatar Sebastian Wilhelmi Committed by Sebastian Wilhelmi

Added missing values for G_MAXU(SHORT|INT|LONG) on platforms with only


1999-03-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
	platforms with only /usr/include/values.h.

	* acconfig.h: Removed unnecessary macros.

        * glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
	from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
	branch.

	* configure.in: Also accept _Pctime_r instead of ctime_r, while
	seraching for the right `_REENTRANT' flag. This is for Digital
	UNIX 4.0d. Taken from glib 1.2 branch.
parent 181f0793
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
platforms with only /usr/include/values.h.
* acconfig.h: Removed unnecessary macros.
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
branch.
* configure.in: Also accept _Pctime_r instead of ctime_r, while
seraching for the right `_REENTRANT' flag. This is for Digital
UNIX 4.0d. Taken from glib 1.2 branch.
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
* glib.h: added GLIB_CHECK_VERSION() macro similar to
......
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
platforms with only /usr/include/values.h.
* acconfig.h: Removed unnecessary macros.
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
branch.
* configure.in: Also accept _Pctime_r instead of ctime_r, while
seraching for the right `_REENTRANT' flag. This is for Digital
UNIX 4.0d. Taken from glib 1.2 branch.
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
* glib.h: added GLIB_CHECK_VERSION() macro similar to
......
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
platforms with only /usr/include/values.h.
* acconfig.h: Removed unnecessary macros.
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
branch.
* configure.in: Also accept _Pctime_r instead of ctime_r, while
seraching for the right `_REENTRANT' flag. This is for Digital
UNIX 4.0d. Taken from glib 1.2 branch.
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
* glib.h: added GLIB_CHECK_VERSION() macro similar to
......
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
platforms with only /usr/include/values.h.
* acconfig.h: Removed unnecessary macros.
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
branch.
* configure.in: Also accept _Pctime_r instead of ctime_r, while
seraching for the right `_REENTRANT' flag. This is for Digital
UNIX 4.0d. Taken from glib 1.2 branch.
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
* glib.h: added GLIB_CHECK_VERSION() macro similar to
......
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
platforms with only /usr/include/values.h.
* acconfig.h: Removed unnecessary macros.
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
branch.
* configure.in: Also accept _Pctime_r instead of ctime_r, while
seraching for the right `_REENTRANT' flag. This is for Digital
UNIX 4.0d. Taken from glib 1.2 branch.
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
* glib.h: added GLIB_CHECK_VERSION() macro similar to
......
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
platforms with only /usr/include/values.h.
* acconfig.h: Removed unnecessary macros.
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
branch.
* configure.in: Also accept _Pctime_r instead of ctime_r, while
seraching for the right `_REENTRANT' flag. This is for Digital
UNIX 4.0d. Taken from glib 1.2 branch.
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
* glib.h: added GLIB_CHECK_VERSION() macro similar to
......
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
platforms with only /usr/include/values.h.
* acconfig.h: Removed unnecessary macros.
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
branch.
* configure.in: Also accept _Pctime_r instead of ctime_r, while
seraching for the right `_REENTRANT' flag. This is for Digital
UNIX 4.0d. Taken from glib 1.2 branch.
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
* glib.h: added GLIB_CHECK_VERSION() macro similar to
......
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
platforms with only /usr/include/values.h.
* acconfig.h: Removed unnecessary macros.
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
branch.
* configure.in: Also accept _Pctime_r instead of ctime_r, while
seraching for the right `_REENTRANT' flag. This is for Digital
UNIX 4.0d. Taken from glib 1.2 branch.
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
* glib.h: added GLIB_CHECK_VERSION() macro similar to
......
......@@ -53,9 +53,6 @@
#undef HAVE_LIMITS_H
#undef HAVE_LONG_DOUBLE
#undef HAVE_POLL
#undef HAVE_PTHREAD_COND_TIMEDWAIT_POSIX
#undef HAVE_PTHREAD_GETSPECIFIC_POSIX
#undef HAVE_PTHREAD_MUTEX_TRYLOCK_POSIX
#undef HAVE_PWD_H
#undef HAVE_SYS_PARAM_H
#undef HAVE_SYS_POLL_H
......
......@@ -61,8 +61,6 @@
#define GLIB_BINARY_AGE 0
#define G_THREAD_SOURCE "gthread-posix.c"
#define G_THREADS_IMPL_POSIX
#define HAVE_PTHREAD_GETSPECIFIC_POSIX 1
/* The number of bytes in a char. */
#define SIZEOF_CHAR 1
......
......@@ -710,7 +710,8 @@ if test x"$enable_threads" = xyes; then
# not using the proper multithread flag
old_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $G_THREAD_CFLAGS"
AC_EGREP_HEADER([[^a-zA-Z_]ctime_r[^a-zA-Z_]], time.h, ,
# Note: Digital UNIX 4.0d #defines ctime_r to _Pctime_r for gcc.
AC_EGREP_HEADER([[^a-zA-Z_](_P)?ctime_r[^a-zA-Z_]], time.h, ,
G_THREAD_CFLAGS=
AC_MSG_WARN($FLAG_DOES_NOT_WORK))
CPPFLAGS=$old_CPPFLAGS
......@@ -1065,9 +1066,9 @@ x$ac_cv_header_limits_h)
;;
x$ac_cv_header_values_h)
glib_values_h=yes
glib_ms=MINSHORT glib_Ms=MAXSHORT glib_Mus=unknown # Please insert the right
glib_mi=MININT glib_Mi=MAXINT glib_Mui=unknown # values from
glib_ml=MINLONG glib_Ml=MAXLONG glib_Mul=unknown # /usr/include/values.h
glib_ms=MINSHORT glib_Ms=MAXSHORT glib_Mus="(((gushort)G_MAXSHORT)*2+1)"
glib_mi=MININT glib_Mi=MAXINT glib_Mui="(((guint)G_MAXINT)*2+1)"
glib_ml=MINLONG glib_Ml=MAXLONG glib_Mul="(((gulong)G_MAXLONG)*2+1)"
;;
esac
......
......@@ -104,6 +104,7 @@ typedef unsigned __int64 guint64;
* }
*/
#define G_THREADS_IMPL_POSIX
typedef struct _GStaticMutex GStaticMutex;
struct _GStaticMutex
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment