diff --git a/bin/dunecontrol b/bin/dunecontrol index f94927a806615a7e0e8797f5856fa918c2bb2a54..86d4a7844147a01a69f3b84cbe725f50d8998670 100755 --- a/bin/dunecontrol +++ b/bin/dunecontrol @@ -263,7 +263,8 @@ run_default_update () { run_default_autogen () { PARAMS="$CMD_PARAMS" local M4_PATH="" - if test -d .svn || test -d .git || test -d CVS || test -f stamp-vc; then + if test -f configure.ac && \ + ( test -d .svn || test -d .git || test -d CVS || test -f stamp-vc ); then for m in $FOUND_MODULES; do path=$(eval "echo \$PATH_$m") MODULE_PATHS="$MODULE_PATHS$path " @@ -275,7 +276,7 @@ run_default_autogen () { fi eval "$COMMAND_DIR/dune-autogen" "$MODULE_PATHS" "$PARAMS" || exit 1 else - echo Skipping dune-autogen + echo Skipping dune-autogen fi }