From 3853a7378041a60bf95dbe0a7675182e21cc8b4f Mon Sep 17 00:00:00 2001
From: Christian Engwer <christi@dune-project.org>
Date: Thu, 27 Apr 2006 16:13:06 +0000
Subject: [PATCH] small error in the example autogen.sh

[[Imported from SVN: r4520]]
---
 doc/buildsystem/buildsystem.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/buildsystem/buildsystem.tex b/doc/buildsystem/buildsystem.tex
index 9de26b515..546fdab38 100644
--- a/doc/buildsystem/buildsystem.tex
+++ b/doc/buildsystem/buildsystem.tex
@@ -726,7 +726,7 @@ for OPT in "$@"; do
 			;;
 	-h|--help) usage ; exit 0 ;;
 	*)
-            if test -f "$OPT/m4"; then
+            if test -d "$OPT/m4"; then
               ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $(cd $OPT/m4; pwd)"
             fi
             if test -d "$OPT/am"; then
-- 
GitLab