aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/m4.sh
blob: 1c24928cac901e45a49ce705935035f49633fe8c (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
set -e

sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h

./configure --prefix=/usr
make
make -j1 install