summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/m49
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/m4 b/scripts/m4
new file mode 100755
index 000000000..8456bce21
--- /dev/null
+++ b/scripts/m4
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+if [ -z "$(which gm4 2>/dev/null)" ];then
+ /usr/bin/m4 "$@"
+else
+ gm4 "$@"
+fi