repo/m4/build

11 lines
288 B
Text
Executable file

curl -# 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
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
./configure --prefix=/usr --build=$(build-aux/config.guess)
make
make install DESTDIR="$1"