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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

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
# Checks for libraries.
# For MinGW.
AC_CHECK_LIB([ws2_32], [WSAStartup])
AC_CHECK_LIB([termcap], [tputs])
AC_CHECK_LIB([ncurses], [tputs])
AC_CHECK_LIB([readline], [readline])