+Sat Jan 23 20:40:06 PST 1999 Manish Singh <yosh@gimp.org>
+
+ * gutils.c: removed the #warning about MT without getpwuid_r
+
+ * configure.in: and moved it here
+
Sat Jan 23 22:45:59 1999 Jeff Garzik <jgarzik@pobox.com>
* ghash.c (g_hash_table_lookup_node, g_hash_table_lookup,
+Sat Jan 23 20:40:06 PST 1999 Manish Singh <yosh@gimp.org>
+
+ * gutils.c: removed the #warning about MT without getpwuid_r
+
+ * configure.in: and moved it here
+
Sat Jan 23 22:45:59 1999 Jeff Garzik <jgarzik@pobox.com>
* ghash.c (g_hash_table_lookup_node, g_hash_table_lookup,
+Sat Jan 23 20:40:06 PST 1999 Manish Singh <yosh@gimp.org>
+
+ * gutils.c: removed the #warning about MT without getpwuid_r
+
+ * configure.in: and moved it here
+
Sat Jan 23 22:45:59 1999 Jeff Garzik <jgarzik@pobox.com>
* ghash.c (g_hash_table_lookup_node, g_hash_table_lookup,
+Sat Jan 23 20:40:06 PST 1999 Manish Singh <yosh@gimp.org>
+
+ * gutils.c: removed the #warning about MT without getpwuid_r
+
+ * configure.in: and moved it here
+
Sat Jan 23 22:45:59 1999 Jeff Garzik <jgarzik@pobox.com>
* ghash.c (g_hash_table_lookup_node, g_hash_table_lookup,
+Sat Jan 23 20:40:06 PST 1999 Manish Singh <yosh@gimp.org>
+
+ * gutils.c: removed the #warning about MT without getpwuid_r
+
+ * configure.in: and moved it here
+
Sat Jan 23 22:45:59 1999 Jeff Garzik <jgarzik@pobox.com>
* ghash.c (g_hash_table_lookup_node, g_hash_table_lookup,
+Sat Jan 23 20:40:06 PST 1999 Manish Singh <yosh@gimp.org>
+
+ * gutils.c: removed the #warning about MT without getpwuid_r
+
+ * configure.in: and moved it here
+
Sat Jan 23 22:45:59 1999 Jeff Garzik <jgarzik@pobox.com>
* ghash.c (g_hash_table_lookup_node, g_hash_table_lookup,
+Sat Jan 23 20:40:06 PST 1999 Manish Singh <yosh@gimp.org>
+
+ * gutils.c: removed the #warning about MT without getpwuid_r
+
+ * configure.in: and moved it here
+
Sat Jan 23 22:45:59 1999 Jeff Garzik <jgarzik@pobox.com>
* ghash.c (g_hash_table_lookup_node, g_hash_table_lookup,
+Sat Jan 23 20:40:06 PST 1999 Manish Singh <yosh@gimp.org>
+
+ * gutils.c: removed the #warning about MT without getpwuid_r
+
+ * configure.in: and moved it here
+
Sat Jan 23 22:45:59 1999 Jeff Garzik <jgarzik@pobox.com>
* ghash.c (g_hash_table_lookup_node, g_hash_table_lookup,
LIBS_NOT_FOUND_2=". Please choose another thread implementation or
provide informationon your thread implementation."
+FUNC_NO_GETPWUID_R="the 'g_get_(user_name|real_name|home_dir|tmp_dir)'
+ functions will not be MT-safe during their first call because
+ there is no 'getpwuid_r' on your system."
+
dnl determination of thread implementation
dnl ***************************************
LIBS="$glib_save_LIBS"
fi
+if test "x$enable_threads" = "xyes"; then
+ if test "$ac_cv_func_getpwuid_r" != "yes"; then
+ AC_MSG_WARN($FUNC_NO_GETPWUID_R)
+ fi
+fi
+
dnl determination of G_THREAD_CFLAGS
dnl ********************************
# else /* !HAVE_GETPWUID_R */
-# ifdef G_THREADS_ENABLED
-# warning "the `g_get_(user_name|real_name|home_dir|tmp_dir)'"
-# warning "functions will not be MT-safe during their first call"
-# warning "because there is no `getpwuid_r' on your system."
-# endif /* G_THREADS_ENABLED */
-
setpwent ();
pw = getpwuid (getuid ());
endpwent ();
# else /* !HAVE_GETPWUID_R */
-# ifdef G_THREADS_ENABLED
-# warning "the `g_get_(user_name|real_name|home_dir|tmp_dir)'"
-# warning "functions will not be MT-safe during their first call"
-# warning "because there is no `getpwuid_r' on your system."
-# endif /* G_THREADS_ENABLED */
-
setpwent ();
pw = getpwuid (getuid ());
endpwent ();