>From d9e97fa46b8078ee06f843c20d8260cdb5faaef2 Mon Sep 17 00:00:00 2001
From: Patrick Ohly <patrick.ohly@intel.com>
Date: Tue, 23 Jul 2013 13:38:55 +0200
Subject: [PATCH] autotools: fix ./autogen.sh after clean checkout

After a fresh checkout or "git clean -x -d -f", ./autogen.sh failed
with an error about not having "m4". Create an empty dir if it does
not exist yet.
---
 autogen.sh |    1 +
 1 file changed, 1 insertion(+)

diff --git a/autogen.sh b/autogen.sh
index cf28890..a6df81f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -3,6 +3,7 @@
 srcdir=`dirname $0`
 test -z "$srcdir" && srcdir=.
 
+mkdir -p m4
 gtkdocize || exit 1
 aclocal #-I m4 
 autoheader 
-- 
1.7.10.4

