repo/m4/build

12 lines
285 B
Text
Raw Normal View History

2021-07-13 22:38:00 +03:00
wget https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.xz
tar -xf m4-1.4.19.tar.xz
cd m4-1.4.19
2021-07-13 22:38:00 +03:00
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
2021-07-13 22:38:00 +03:00
./configure --prefix=/usr --build=$(build-aux/config.guess)
make
make install DESTDIR="$1"