gnucash maint: 722200 - configure script does not pick the correct am_cv_scanf version
John Ralls
jralls at code.gnucash.org
Sun Jun 1 14:30:43 EDT 2014
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(+)
More information about the gnucash-changes
mailing list