Browse Source

use a m4 wrapper for MacOS X

Waldemar Brodkorb 14 years ago
parent
commit
64675d95e1
1 changed files with 9 additions and 0 deletions
  1. 9 0
      scripts/m4

+ 9 - 0
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