gnucash maint: 722200 - configure script does not pick the correct am_cv_scanf version
John Ralls
jralls at code.gnucash.org
Sat May 31 12:18:41 EDT 2014
Updated via https://github.com/Gnucash/gnucash/commit/f9548652 (commit)
from https://github.com/Gnucash/gnucash/commit/1f303f7b (commit)
commit f9548652de6b0684d818bc5bd147942453dd8886
Author: John Ralls <jralls at ceridwen.us>
Date: Sat May 31 09:08:54 2014 -0700
722200 - configure script does not pick the correct am_cv_scanf version
On 64-bit Windows system.
Test for need of and if needed define __USE_MINGW_ANSI_STDIO
diff --git a/configure.ac b/configure.ac
index be11ca1..812da91 100644
--- a/configure.ac
+++ b/configure.ac
@@ -392,6 +392,12 @@ update to latest darwin])
], [AC_MSG_RESULT(no)])
LIBS="${saved_LIBS}"
AC_SUBST(HTMLHELP_LIBS)
+
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
+#include <stdio.h>
+ ], [
+ printf("%lld\n", 3);
+ ])],[],[AC_DEFINE([__USE_MINGW_ANSI_STDIO], 1, [MinGW needs ANSI_STDIO hack.])])
;;
*)
AC_MSG_RESULT(no)
Summary of changes:
configure.ac | 6 ++++++
1 file changed, 6 insertions(+)
More information about the gnucash-changes
mailing list