Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,9 @@ Cannot find a definition for ntohs and/or ntohl!
=========================================])
fi
AC_LANG([C])
AC_SEARCH_LIBS([ntohs], [-lnet -lwinsock32])

AC_SEARCH_LIBS([ntohs], [ws2_32 net winsock32], [], [
AC_MSG_ERROR([Cannot find a library providing ntohs])
])

dnl
dnl is va_list addressable?
Expand Down