patch from ralph
diff --git a/autogen.sh b/autogen.sh
index b8a6c13..6b70b19 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -11,6 +11,8 @@
 cd "$srcdir"
 DIE=0
 
+ACLOCAL_FLAGS="-I m4 $ACLOCAL_FLAGS"
+
 echo "checking for autoconf... "
 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
         echo