722200 - configure script does not pick the correct am_cv_scanf version

Add -Wall -Werror to CFLAGS to try to force failure.
This commit is contained in:
John Ralls 2014-06-01 11:39:31 -07:00 committed by Mike Evans
parent 72911a7caa
commit f3e76fb9df

View File

@ -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)