summaryrefslogtreecommitdiff
path: root/scripts/m4
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-08 13:24:26 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-08 13:24:26 +0100
commitf2b154b7d74e21b7e655c6cd121155592c1bee03 (patch)
treed1d8f06abeb89834cebb70d33229aff129b9d485 /scripts/m4
parentc93c25a63b3b5a29a258460519ed36341da2e79e (diff)
parent63e65ec30b763d6687d462c52cb46bd5e738928a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts/m4')
-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