summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>1999-01-25 09:53:17 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>1999-01-25 09:53:17 +0000
commitdef1947e4f40d92f904afab9d82cb8ac83d913c3 (patch)
treee5ffea4e8ca62dc4c6f5dfbff4ca83790ebb943c /configure.in
parentc5fd4a3dc46d186f815e4ac71578938d62544f01 (diff)
Do not use the thread libs, when searching for some functions, as this
1999-01-25 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Do not use the thread libs, when searching for some functions, as this might require glib to always be linked with the thread libs on some platforms. * gutils.c (g_get_any_init): Don't set errno to zero and use it only as the error code, if the function returned a value less 0. It might happen, that the call succeeds, even though the errno is set during the call (i.e. it first looks for a passwd file, which is not found). Submitted by Michael Natterer <mitschel@cs.tu-berlin.de>. BTW: Sorry for all the mess with that `getpwuid_r' change, but it had to be done once.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index a1e217825..905d6199b 100644
--- a/configure.in
+++ b/configure.in
@@ -690,7 +690,9 @@ dnl ***********************************
if test x"$have_threads" != xnone; then
glib_save_LIBS="$LIBS"
- LIBS="$LIBS $G_THREAD_LIBS"
+ # we are not doing the following for now, as this might require glib
+ # to always be linked with the thread libs on some platforms.
+ # LIBS="$LIBS $G_THREAD_LIBS"
AC_CHECK_FUNCS(localtime_r rand_r)
if test "$ac_cv_header_pwd_h" = "yes"; then
AC_CHECK_FUNCS(getpwuid_r)