diff --git a/ChangeLog b/ChangeLog index cef45fe0b..9816e9f24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-03-12 Sebastian Wilhelmi + + * configure.in: Also accept _Pctime_r instead of ctime_r, while + seraching for the right `_REENTRANT' flag. This is for Digital + UNIX 4.0d. Thanks to Sascha Brawer . + Tue Mar 9 23:25:50 1999 Tim Janik * configure.in: check for working realloc (NULL,). diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index cef45fe0b..9816e9f24 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +1999-03-12 Sebastian Wilhelmi + + * configure.in: Also accept _Pctime_r instead of ctime_r, while + seraching for the right `_REENTRANT' flag. This is for Digital + UNIX 4.0d. Thanks to Sascha Brawer . + Tue Mar 9 23:25:50 1999 Tim Janik * configure.in: check for working realloc (NULL,). diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index cef45fe0b..9816e9f24 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +1999-03-12 Sebastian Wilhelmi + + * configure.in: Also accept _Pctime_r instead of ctime_r, while + seraching for the right `_REENTRANT' flag. This is for Digital + UNIX 4.0d. Thanks to Sascha Brawer . + Tue Mar 9 23:25:50 1999 Tim Janik * configure.in: check for working realloc (NULL,). diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index cef45fe0b..9816e9f24 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +1999-03-12 Sebastian Wilhelmi + + * configure.in: Also accept _Pctime_r instead of ctime_r, while + seraching for the right `_REENTRANT' flag. This is for Digital + UNIX 4.0d. Thanks to Sascha Brawer . + Tue Mar 9 23:25:50 1999 Tim Janik * configure.in: check for working realloc (NULL,). diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index cef45fe0b..9816e9f24 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +1999-03-12 Sebastian Wilhelmi + + * configure.in: Also accept _Pctime_r instead of ctime_r, while + seraching for the right `_REENTRANT' flag. This is for Digital + UNIX 4.0d. Thanks to Sascha Brawer . + Tue Mar 9 23:25:50 1999 Tim Janik * configure.in: check for working realloc (NULL,). diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index cef45fe0b..9816e9f24 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +1999-03-12 Sebastian Wilhelmi + + * configure.in: Also accept _Pctime_r instead of ctime_r, while + seraching for the right `_REENTRANT' flag. This is for Digital + UNIX 4.0d. Thanks to Sascha Brawer . + Tue Mar 9 23:25:50 1999 Tim Janik * configure.in: check for working realloc (NULL,). diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index cef45fe0b..9816e9f24 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +1999-03-12 Sebastian Wilhelmi + + * configure.in: Also accept _Pctime_r instead of ctime_r, while + seraching for the right `_REENTRANT' flag. This is for Digital + UNIX 4.0d. Thanks to Sascha Brawer . + Tue Mar 9 23:25:50 1999 Tim Janik * configure.in: check for working realloc (NULL,). diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index cef45fe0b..9816e9f24 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +1999-03-12 Sebastian Wilhelmi + + * configure.in: Also accept _Pctime_r instead of ctime_r, while + seraching for the right `_REENTRANT' flag. This is for Digital + UNIX 4.0d. Thanks to Sascha Brawer . + Tue Mar 9 23:25:50 1999 Tim Janik * configure.in: check for working realloc (NULL,). diff --git a/configure.in b/configure.in index 745ef8308..c54200aed 100644 --- a/configure.in +++ b/configure.in @@ -742,9 +742,10 @@ G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_REENTRANT" # good default guess # if we are not finding the ctime_r function, then we probably are # not using the proper multithread flag + # Note: Digital UNIX 4.0d #defines ctime_r to _Pctime_r for gcc. old_CPPFLAGS=$CPPFLAGS CPPFLAGS="$CPPFLAGS $G_THREAD_CFLAGS" - AC_EGREP_HEADER([[^a-zA-Z_]ctime_r[^a-zA-Z_]], time.h, , + 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