aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/m4.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter8/m4.sh')
-rw-r--r--chapter8/m4.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter8/m4.sh b/chapter8/m4.sh
index 7a693aa..1ccef8e 100644
--- a/chapter8/m4.sh
+++ b/chapter8/m4.sh
@@ -1,3 +1,8 @@
#!/bin/bash
+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