aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/m4.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter8/m4.sh')
-rw-r--r--chapter8/m4.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter8/m4.sh b/chapter8/m4.sh
new file mode 100644
index 0000000..1ccef8e
--- /dev/null
+++ b/chapter8/m4.sh
@@ -0,0 +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