From 64675d95e1b87309eade277d1625ae2d4740407d Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Tue, 8 Mar 2011 13:22:27 +0100
Subject: use a m4 wrapper for MacOS X

---
 scripts/m4 | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100755 scripts/m4

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
-- 
cgit v1.2.3