Update configure.ac for MinGW build

Fix avrdudes#957.
Even though we are only supporting CMake build now, the fix is simple enough and not affecting CMake.
This commit is contained in:
mcuee
2023-01-12 21:06:36 +08:00
committed by GitHub
parent 6b95f9d181
commit a22d379c03

View File

@@ -78,6 +78,9 @@ dnl Makefile.am:77: compiling `config_gram.c' with per-target flags requires `AM
AM_PROG_CC_C_O AM_PROG_CC_C_O
# Checks for libraries. # Checks for libraries.
# For MinGW.
AC_CHECK_LIB([ws2_32], [WSAStartup])
AC_CHECK_LIB([termcap], [tputs]) AC_CHECK_LIB([termcap], [tputs])
AC_CHECK_LIB([ncurses], [tputs]) AC_CHECK_LIB([ncurses], [tputs])
AC_CHECK_LIB([readline], [readline]) AC_CHECK_LIB([readline], [readline])