The value of LINUX_LFS_SUPPORT is determined by an AC_TRY_RUN, which means it won't be configured correctly for a cross-compile. The following patch adds a AC_CACHE_CHECK for this value so that cross-compile environments can set it in config.site.
Created attachment 1259 [details] add AC_CACHE_CHECK for LINUX_LFS_SUPPORT
(Cleaning up old bugs) LINUX_LFS_SUPPORT was removed by db1f2779791d250a01e2405a2f901bab4ade4efd for Samba 4.0 when we moved to use only standard _FILE_OFFSET_BITS=64 macro for large files. Cross-compilation is now with WAF, which uses a very different mechanism.