Switch to getopt_long from OpenSSH, from Koichi Murase in GitHub issue 4492.

This commit is contained in:
Nicholas Marriott
2025-04-28 09:02:15 +01:00
parent f2283b0cb5
commit f367e3a6c8
4 changed files with 596 additions and 117 deletions

View File

@@ -219,7 +219,7 @@ AC_SEARCH_LIBS(clock_gettime, rt)
# musl does not set optarg to NULL for flags without arguments (although it is
# not required to, but it is helpful) 3) there are probably other weird
# implementations.
AC_LIBOBJ(getopt)
AC_LIBOBJ(getopt_long)
# Look for libevent. Try libevent_core or libevent with pkg-config first then
# look for the library.