+1999-01-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gdate.c (g_date_set_time): Removed the #warning about MT
+ unsafety without localtime_r.
+
+ * configure.in: Moved it here.
+
Mon Jan 25 10:07:53 1999 Raph Levien <raph@gimp.org>
* configure.in: (#define G_THREADS_IMPL...) Changed the #define,
+1999-01-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gdate.c (g_date_set_time): Removed the #warning about MT
+ unsafety without localtime_r.
+
+ * configure.in: Moved it here.
+
Mon Jan 25 10:07:53 1999 Raph Levien <raph@gimp.org>
* configure.in: (#define G_THREADS_IMPL...) Changed the #define,
+1999-01-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gdate.c (g_date_set_time): Removed the #warning about MT
+ unsafety without localtime_r.
+
+ * configure.in: Moved it here.
+
Mon Jan 25 10:07:53 1999 Raph Levien <raph@gimp.org>
* configure.in: (#define G_THREADS_IMPL...) Changed the #define,
+1999-01-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gdate.c (g_date_set_time): Removed the #warning about MT
+ unsafety without localtime_r.
+
+ * configure.in: Moved it here.
+
Mon Jan 25 10:07:53 1999 Raph Levien <raph@gimp.org>
* configure.in: (#define G_THREADS_IMPL...) Changed the #define,
+1999-01-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gdate.c (g_date_set_time): Removed the #warning about MT
+ unsafety without localtime_r.
+
+ * configure.in: Moved it here.
+
Mon Jan 25 10:07:53 1999 Raph Levien <raph@gimp.org>
* configure.in: (#define G_THREADS_IMPL...) Changed the #define,
+1999-01-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gdate.c (g_date_set_time): Removed the #warning about MT
+ unsafety without localtime_r.
+
+ * configure.in: Moved it here.
+
Mon Jan 25 10:07:53 1999 Raph Levien <raph@gimp.org>
* configure.in: (#define G_THREADS_IMPL...) Changed the #define,
+1999-01-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gdate.c (g_date_set_time): Removed the #warning about MT
+ unsafety without localtime_r.
+
+ * configure.in: Moved it here.
+
Mon Jan 25 10:07:53 1999 Raph Levien <raph@gimp.org>
* configure.in: (#define G_THREADS_IMPL...) Changed the #define,
+1999-01-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gdate.c (g_date_set_time): Removed the #warning about MT
+ unsafety without localtime_r.
+
+ * configure.in: Moved it here.
+
Mon Jan 25 10:07:53 1999 Raph Levien <raph@gimp.org>
* configure.in: (#define G_THREADS_IMPL...) Changed the #define,
functions will not be MT-safe during their first call because
there is no 'getpwuid_r' on your system."
+FUNC_NO_LOCALTIME_R="the `g_date_set_time' function will not be MT-safe
+ because there is no `localtime_r' on your system."
+
dnl determination of thread implementation
dnl ***************************************
if test "$ac_cv_func_getpwuid_r" != "yes"; then
AC_MSG_WARN($FUNC_NO_GETPWUID_R)
fi
+ if test "$ac_cv_func_localtime_r" != "yes"; then
+ AC_MSG_WARN($FUNC_NO_LOCALTIME_R)
+ fi
fi
dnl determination of G_THREAD_CFLAGS
#ifdef HAVE_LOCALTIME_R
localtime_r (&t, &tm);
#else
-# if defined(G_THREADS_ENABLED) && defined(__GNUC__)
-# warning "the `g_date_set_time' function will not be MT-safe"
-# warning "because there is no `localtime_r' on your system."
-# endif
{
struct tm *ptm = localtime (&t);
g_assert (ptm);
#ifdef HAVE_LOCALTIME_R
localtime_r (&t, &tm);
#else
-# if defined(G_THREADS_ENABLED) && defined(__GNUC__)
-# warning "the `g_date_set_time' function will not be MT-safe"
-# warning "because there is no `localtime_r' on your system."
-# endif
{
struct tm *ptm = localtime (&t);
g_assert (ptm);