> Cc: bug-gnulib@gnu.org > From: Paul Eggert <egg...@cs.ucla.edu> > Date: Wed, 25 Dec 2019 12:13:54 -0800 > > On 12/24/19 7:34 PM, Eli Zaretskii wrote: > > I will have to hack Gnulib > > by hand in each project I'll need to compile. > > './configure --disable-largefile' should suffice, so you shouldn't need to > change the source. I just tried that on Ubuntu 18.04.3 when configuring a > 32-bit > Emacs, and it built an Emacs with 32-bit off_t that worked fine (except it > failed on large files of course).
Thanks, I will try that next time. > Or you can do what Bruno suggested, and use gnulib-tool with > '--avoid=largefile'. This will omit m4/largefile.m4 so that even plain > './configure' should work the way you want. I'm building a tarball, where Gnulib has been already imported.