aboutsummaryrefslogtreecommitdiff
path: root/core/m4/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/m4/build')
-rwxr-xr-xcore/m4/build7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/m4/build b/core/m4/build
index bbd53ee2..ea87d965 100755
--- a/core/m4/build
+++ b/core/m4/build
@@ -3,7 +3,12 @@
export LDFLAGS="$LDFLAGS -static"
./configure \
- --prefix=/usr
+ --prefix=/usr \
+ --program-prefix=g
make
make DESTDIR="$1" install
+
+# Setup alternatives
+ln -s gm4 "$1/usr/bin/m4"
+ln -s gm4.1 "$1/usr/share/man/man1/m4.1"