Created attachment 408702 [details, diff] propsed patch suggestion - autools-utils should always honor SYSROOT if it is set and pass it to configure.
I don't see any mention of 'sysroot' in autoconf-2.5 and -2.13 info pages. Where does it come from?
(In reply to Michał Górny from comment #1) > I don't see any mention of 'sysroot' in autoconf-2.5 and -2.13 info pages. > Where does it come from? It comes from libtool 2.4: "- Sysroot support. This allows you to build cross-compiled packages with the same prefix that will be used on the destination machine, and still find dependent libraries under the compiler's "sysroot". Without sysroot support, paths internal to the build system may leak into the product of the build."
The eclass is dead and going away!