Re: gnucash maint: 722200 - configure script does not pick the correct am_cv_scanf version

Derek Atkins derek at ihtfp.com
Sun Jun 1 15:32:19 EDT 2014


I'm sorry..  why are we not using G_INT64_FORMAT here?

-derek

Sent on my mobile. Please forgive any typos.

----- Reply message -----
From: "John Ralls" <jralls at code.gnucash.org>
To: <gnucash-changes at gnucash.org>
Subject: gnucash maint: 722200 - configure script does not pick the correct am_cv_scanf version
Date: Sun, Jun 1, 2014 2:30 PM

Updated  via  https://github.com/Gnucash/gnucash/commit/8a45ce41 (commit)
from  https://github.com/Gnucash/gnucash/commit/7c003f23 (commit)



commit 8a45ce41bcef926a3070d2215393c96a6b97b669
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Jun 1 11:39:31 2014 -0700

722200 - configure script does not pick the correct am_cv_scanf version

Add -Wall -Werror to CFLAGS to try to force failure.

diff --git a/configure.ac b/configure.ac
index 812da91..0feb2c6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -393,11 +393,14 @@ update to latest  darwin])
LIBS="${saved_LIBS}"
AC_SUBST(HTMLHELP_LIBS)

+ saved_CFLAGS="${CFLAGS}"
+ CFLAGS="${CFLAGS} -Wall -Werror"
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.])])
+ CFLAGS="${saved_CFLAGS}"
;;
*)
AC_MSG_RESULT(no)



Summary of changes:
configure.ac | 3 +++
1 file changed, 3 insertions(+)

_______________________________________________
gnucash-changes mailing list
gnucash-changes at gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-changes


More information about the gnucash-devel mailing list