diff --git a/bin/dunecontrol b/bin/dunecontrol
index 811053277f9fc9fe1d6af47493c573795fd6a262..6a76d55aad707c0241f9d4d95d47b5de3b6a7773 100755
--- a/bin/dunecontrol
+++ b/bin/dunecontrol
@@ -292,7 +292,11 @@ run_default_configure () {
   PARAMS="$CMD_FLAGS"
   if test -x configure; then
 	ACLOCAL_FLAGS="-I ."
-	for m in $FOUND_MODULES; do
+    MY_MODULES=
+    # get dependencies & suggestions
+    sort_modules $module
+	for m in $MODULES; do
+      if test x$module = x$m; then continue; fi # skip myself
       path=$(eval "echo \$PATH_$m")
       name=$(eval "echo \$NAME_$m")
       if test -d "$path/m4"; then