--- freem/configure.ac 2025/04/07 23:40:30 1.23 +++ freem/configure.ac 2025/04/09 20:06:02 1.24 @@ -1,5 +1,5 @@ # -# $Id: configure.ac,v 1.23 2025/04/07 23:40:30 snw Exp $ +# $Id: configure.ac,v 1.24 2025/04/09 20:06:02 snw Exp $ # autoconf rules for FreeM # # @@ -24,6 +24,9 @@ # along with FreeM. If not, see . # # $Log: configure.ac,v $ +# Revision 1.24 2025/04/09 20:06:02 snw +# Add macros to check for compiler flags to suppress unavoidable warnings +# # Revision 1.23 2025/04/07 23:40:30 snw # Move to 0.64.0-rc0 and prepare to optimize global file lookup # @@ -91,6 +94,8 @@ AC_CONFIG_HEADERS([src/config.h]) AC_CONFIG_MACRO_DIR([m4]) AX_LIB_READLINE +AX_CHECK_COMPILE_FLAG([-Wno-format-truncation]) +AX_CHECK_COMPILE_FLAG([-Wno-format-contains-nul]) # check for libm AC_CHECK_LIB([m], [powf])