Unfortunately the mingw implementations of C99-style snprintf and
authorTor Lillqvist <tml@novell.com>
Thu, 7 Feb 2008 13:07:19 +0000 (13:07 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Thu, 7 Feb 2008 13:07:19 +0000 (13:07 +0000)
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".

svn path=/trunk/; revision=6482

ChangeLog
configure.in

index 2799940ae46bb316d71bd92db55cd13827bb71be..456be176410297a278d503e5b44d175d0e7b5d0d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+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".
+
 2008-02-07 12:58:54  Tim Janik  <timj@imendio.com>
 
        * Makefile.am: fixed build order to build gobject after gmodule gthread
index 706e8e376f0ee98affe707a909e1d4b98875614f..c76a04ef6eba74edbdc0c5b80b0733b919014251 100644 (file)
@@ -124,6 +124,15 @@ case "$host" in
     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