glib r6481 - branches/glib-2-14
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6481 - branches/glib-2-14
- Date: Thu, 7 Feb 2008 12:47:47 +0000 (GMT)
Author: tml
Date: Thu Feb 7 12:47:47 2008
New Revision: 6481
URL: http://svn.gnome.org/viewvc/glib?rev=6481&view=rev
Log:
2008-02-07 Tor Lillqvist <tml novell com>
* configure.in: Unfortunately the mingw implementations of
C99-style snprintf and vsnprintf don't seem to be quite good
enough, at least not in mingw-runtime-3.14. I don't know exactly
what the problem is, but it is related to floating point
formatting and decimal point vs. comma, and the symptoms show up
in some dialogs in GIMP, presumably also elsewhere. The simple
tests in AC_FUNC_VSNPRINTF_C99 and AC_FUNC_SNPRINTF_C99 aren't
rigorous enough to notice, though. So preset
ac_cv_func_vsnprintf_c99 and ac_cv_func_snprintf_c99 to "no".
Modified:
branches/glib-2-14/ChangeLog
branches/glib-2-14/configure.in
Modified: branches/glib-2-14/configure.in
==============================================================================
--- branches/glib-2-14/configure.in (original)
+++ branches/glib-2-14/configure.in Thu Feb 7 12:47:47 2008
@@ -128,6 +128,15 @@
GTHREAD_DEF=gthread.def
TESTGMODULE_EXP=testgmodule.exp
glib_pid_type='void *'
+ # Unfortunately the mingw implementations of C99-style snprintf and vsnprintf
+ # don't seem to be quite good enough, at least not in mingw-runtime-3.14.
+ # (Sorry, I don't know exactly what is the problem, but it is related to
+ # floating point formatting and decimal point vs. comma.)
+ # The simple tests in AC_FUNC_VSNPRINTF_C99 and AC_FUNC_SNPRINTF_C99 aren't
+ # rigorous enough to notice, though.
+ # So preset the autoconf cache variables.
+ ac_cv_func_vsnprintf_c99=no
+ ac_cv_func_snprintf_c99=no
;;
*)
glib_native_win32=no
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]