From 73e0d70db9ac856db8ab7c3904755bae9f8bb106 Mon Sep 17 00:00:00 2001
From: Bent Bisballe Nyeng <deva@aasimon.org>
Date: Wed, 5 Oct 2011 17:59:33 +0200
Subject: Touch Makefile.am.test files.

---
 autogen.sh | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/autogen.sh b/autogen.sh
index 45ef969..167ae01 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -51,6 +51,16 @@ if [ "$DIE" -eq 1 ]; then
         exit 1
 fi
 
+# Create testfiles
+TESTDIRS=src
+for d in $TESTDIRS
+do
+		if [ ! -f $d/Makefile.am.test ]
+		then
+				touch $d/Makefile.am.test
+		fi
+done
+
 aclocalinclude="$ACLOCAL_FLAGS"; \
 (echo $_echo_n " + Running aclocal: $_echo_c"; \
     aclocal $aclocalinclude; \
@@ -69,3 +79,11 @@ aclocalinclude="$ACLOCAL_FLAGS"; \
  echo "done.")
 
 rm -f config.cache
+
+for d in $TESTDIRS
+do
+		if [ -f $d/Makefile.am.test ]
+		then
+				rm $d/Makefile.am.test
+		fi
+done
\ No newline at end of file
-- 
cgit v1.2.3