--- freem/configure.ac 2025/04/09 21:10:14 1.25 +++ freem/configure.ac 2025/04/10 01:24:38 1.26 @@ -1,5 +1,5 @@ # -# $Id: configure.ac,v 1.25 2025/04/09 21:10:14 snw Exp $ +# $Id: configure.ac,v 1.26 2025/04/10 01:24:38 snw Exp $ # autoconf rules for FreeM # # @@ -24,6 +24,9 @@ # along with FreeM. If not, see . # # $Log: configure.ac,v $ +# Revision 1.26 2025/04/10 01:24:38 snw +# Remove C++ style comments +# # Revision 1.25 2025/04/09 21:10:14 snw # Only use -Wno-format-truncation et al when the compiler supports them # @@ -99,6 +102,7 @@ AC_CONFIG_MACRO_DIR([m4]) AX_LIB_READLINE AX_CHECK_COMPILE_FLAG([-Wno-format-truncation], [AX_APPEND_FLAG([-Wno-format-truncation])]) AX_CHECK_COMPILE_FLAG([-Wno-format-contains-nul], [AX_APPEND_FLAG([-Wno-format-contains-nul])]) +AX_CHECK_COMPILE_FLAG([-Wno-stringop-truncation], [AX_APPEND_FLAG([-Wno-stringop-truncation])]) # check for libm AC_CHECK_LIB([m], [powf])