summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-08 13:22:27 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-08 13:22:27 +0100
commit64675d95e1b87309eade277d1625ae2d4740407d (patch)
tree427a5af181cbd8f13fb81b53983d17d3b1b990af
parent920f6bedc1fd8074574b7ff69c1d6a162741efd4 (diff)
use a m4 wrapper for MacOS X
-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