mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Moved test for localtime_r and rand_r to a place after the determination
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>.
This commit is contained in:
parent
e6c71cedb9
commit
3907664db4
@ -1,3 +1,11 @@
|
||||
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"
|
||||
|
@ -1,3 +1,11 @@
|
||||
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"
|
||||
|
@ -1,3 +1,11 @@
|
||||
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"
|
||||
|
@ -1,3 +1,11 @@
|
||||
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"
|
||||
|
@ -1,3 +1,11 @@
|
||||
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"
|
||||
|
@ -1,3 +1,11 @@
|
||||
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"
|
||||
|
@ -1,3 +1,11 @@
|
||||
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"
|
||||
|
@ -1,3 +1,11 @@
|
||||
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"
|
||||
|
11
configure.in
11
configure.in
@ -247,7 +247,7 @@ AC_CHECK_HEADERS(unistd.h, AC_DEFINE(HAVE_UNISTD_H))
|
||||
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)
|
||||
@ -678,6 +678,15 @@ fi
|
||||
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 ********************************
|
||||
|
Loading…
Reference in New Issue
Block a user