Created attachment 3397 [details] Patch to make sysconf always return ARG_MAX When uClibc's getconf utility is installed, and uClibc is not built for threads, GNU autoconf scripts will malfunction when determining the maximum length of command-line arguments. This is because uClibc's sysconf() returns -1, causing getconf to print "undefined". The autoconf scripts cannot tolerate a non-numeric response there. Attached is a patch that forces sysconf to return legacy_ARG_MAX as a last resort, rather than -1.
Fixed in 4b24c5ad368d0312dbb9cfd6e028a3b21bba48cd Thanks!
the libtool code is broken by not handling "undefined" as a value. i'll post a patch to them though.