|
|
| version 1.24, 2025/04/09 20:06:02 | version 1.25, 2025/04/09 21:10:14 |
|---|---|
| Line 24 | Line 24 |
| # along with FreeM. If not, see <https://www.gnu.org/licenses/>. | # along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
| # | # |
| # $Log$ | # $Log$ |
| # Revision 1.25 2025/04/09 21:10:14 snw | |
| # Only use -Wno-format-truncation et al when the compiler supports them | |
| # | |
| # Revision 1.24 2025/04/09 20:06:02 snw | # Revision 1.24 2025/04/09 20:06:02 snw |
| # Add macros to check for compiler flags to suppress unavoidable warnings | # Add macros to check for compiler flags to suppress unavoidable warnings |
| # | # |
| Line 94 AC_CONFIG_HEADERS([src/config.h]) | Line 97 AC_CONFIG_HEADERS([src/config.h]) |
| AC_CONFIG_MACRO_DIR([m4]) | AC_CONFIG_MACRO_DIR([m4]) |
| AX_LIB_READLINE | AX_LIB_READLINE |
| AX_CHECK_COMPILE_FLAG([-Wno-format-truncation]) | AX_CHECK_COMPILE_FLAG([-Wno-format-truncation], [AX_APPEND_FLAG([-Wno-format-truncation])]) |
| AX_CHECK_COMPILE_FLAG([-Wno-format-contains-nul]) | AX_CHECK_COMPILE_FLAG([-Wno-format-contains-nul], [AX_APPEND_FLAG([-Wno-format-contains-nul])]) |
| # check for libm | # check for libm |
| AC_CHECK_LIB([m], [powf]) | AC_CHECK_LIB([m], [powf]) |