+1999-01-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: Moved test for localtime_r and rand_r to a place
+ after the determination of the G_THREAD_LIBS and use them for
+ finding those functions, necessary on systems with a different C
+ library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
+ Timur I. Bakeyev <timur@comtat.ru>.
+
Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
* gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
+1999-01-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: Moved test for localtime_r and rand_r to a place
+ after the determination of the G_THREAD_LIBS and use them for
+ finding those functions, necessary on systems with a different C
+ library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
+ Timur I. Bakeyev <timur@comtat.ru>.
+
Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
* gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
+1999-01-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: Moved test for localtime_r and rand_r to a place
+ after the determination of the G_THREAD_LIBS and use them for
+ finding those functions, necessary on systems with a different C
+ library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
+ Timur I. Bakeyev <timur@comtat.ru>.
+
Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
* gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
+1999-01-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: Moved test for localtime_r and rand_r to a place
+ after the determination of the G_THREAD_LIBS and use them for
+ finding those functions, necessary on systems with a different C
+ library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
+ Timur I. Bakeyev <timur@comtat.ru>.
+
Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
* gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
+1999-01-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: Moved test for localtime_r and rand_r to a place
+ after the determination of the G_THREAD_LIBS and use them for
+ finding those functions, necessary on systems with a different C
+ library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
+ Timur I. Bakeyev <timur@comtat.ru>.
+
Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
* gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
+1999-01-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: Moved test for localtime_r and rand_r to a place
+ after the determination of the G_THREAD_LIBS and use them for
+ finding those functions, necessary on systems with a different C
+ library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
+ Timur I. Bakeyev <timur@comtat.ru>.
+
Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
* gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
+1999-01-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: Moved test for localtime_r and rand_r to a place
+ after the determination of the G_THREAD_LIBS and use them for
+ finding those functions, necessary on systems with a different C
+ library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
+ Timur I. Bakeyev <timur@comtat.ru>.
+
Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
* gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
+1999-01-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: Moved test for localtime_r and rand_r to a place
+ after the determination of the G_THREAD_LIBS and use them for
+ finding those functions, necessary on systems with a different C
+ library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
+ Timur I. Bakeyev <timur@comtat.ru>.
+
Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
* gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
AC_CHECK_HEADERS(values.h, AC_DEFINE(HAVE_VALUES_H))
# Check for some functions
-AC_CHECK_FUNCS(localtime_r rand_r lstat strerror strsignal memmove vsnprintf strcasecmp strncasecmp poll)
+AC_CHECK_FUNCS(lstat strerror strsignal memmove vsnprintf strcasecmp strncasecmp poll)
# Check for sys_errlist
AC_MSG_CHECKING(for sys_errlist)
AC_MSG_CHECKING(necessary linker options)
AC_MSG_RESULT($G_THREAD_LIBS)
+dnl check for mt safe function variants
+dnl ***********************************
+
+if test x"$have_threads" != xnone; then
+ glib_save_LIBS="$LIBS"
+ LIBS="$LIBS $G_THREAD_LIBS"
+ AC_CHECK_FUNCS(localtime_r rand_r)
+ LIBS="$glib_save_LIBS"
+fi
dnl determination of G_THREAD_CFLAGS
dnl ********************************