summaryrefslogtreecommitdiff
path: root/Build/source/libs/howto/ncurses-fix
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/howto/ncurses-fix')
-rwxr-xr-xBuild/source/libs/howto/ncurses-fix7
1 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/libs/howto/ncurses-fix b/Build/source/libs/howto/ncurses-fix
new file mode 100755
index 00000000000..432797e93b7
--- /dev/null
+++ b/Build/source/libs/howto/ncurses-fix
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+mv aclocal.m4 aclocal.m4-$$
+sed \
+ -e "s/: .{BUILD_\(.*\):='\(.*\)'}/: \${BUILD_\1=\`echo '\2'\`}/" \
+ -e "s/\`echo ''\`//" < aclocal.m4-$$ > aclocal.m4
+rm -f aclocal.m4-$$