configure: check all glob flags we use
Also check GLOB_NOCHECK, even though it's standard.
Makes the autoconf check consistent with the usage within src/*.
Suggseted by Christos on 2020-07-05.
Import NetBSD ftp as at 2021-01-31
Changes since import tag NetBSD-20200608:
* Fix signal handler restoration. Avoids intermittent crash.
Bug class reported by Joyu Liao from Juniper Networks.
* Improve ftp(1) manual page formatting, "debug" command description,
and $https_proxy documentation.
* Add -? to display synopsis and usage to stdout.
* Don't use restartable signals (SA_RESTART).
Should fix intermittent failures with -q QUITTIME.
configure: soft-fail cross-compile check for va_copy()
Be consistent with other AC_RUN_IFELSE() checks and change the va_copy()
checks to soft-fail (instead of hard fail) when cross-compiling.
tnftp 20200705 release
Changes since tnftp 20151004:
* Avoid crashes by exiting if lostpeer due to a signal
(e.g., remote server disconnection).
* Issue PWD commands to the server only when we actually
need the results, not speculatively, just in case we might.
Works around broken servers, and is quicker too.
* Use "anonymous" instead of the local username for anonymous
ftp. Avoids unnecesary information leak.
* Use the first name we requested the http/https URL for,
not any name we ended up with after random redirects.
* Support using CONNECT for https:// via proxy.
* Improve SSL error reporting, and IPv6 endpoint reporting.
* Use the system glob() if required extensions are supported.
* Use the system libedit library by default, instead of
the local (embedded) libedit.
* Update to NetBSD-ftp 20200608.
* Update local (embedded) libedit to NetBSD as at 2020-07-04.
[2 lines not shown]