mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
722200 - configure script does not pick the correct am_cv_scanf version
Wrap SCANF_FOO_CHECK calls with CFLAGs including -Wall -Werror so that the tests fail to compile and %lld fails as it does during the build.
This commit is contained in:
parent
c5de3a9c46
commit
8ac8c70cf1
@ -170,6 +170,8 @@ AC_CHECK_FUNCS(setenv,,[
|
||||
])
|
||||
|
||||
STRUCT_TM_GMTOFF_CHECK
|
||||
cflags_save=${CFLAGS}
|
||||
CFLAGS="${CFLAGS} -Wall -Werror"
|
||||
SCANF_LLD_CHECK
|
||||
if test x$am_cv_scanf_lld = "xno"; then
|
||||
SCANF_QD_CHECK
|
||||
@ -181,6 +183,7 @@ if test x$am_cv_scanf_lld = "xno"; then
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
CFLAGS="${cflags_save}"
|
||||
|
||||
# test whether we are building directly from svn/svk/git/bzr
|
||||
AC_MSG_CHECKING(if building from an scm managed directory)
|
||||
|
Loading…
Reference in New Issue
Block a user