Skip to content
Snippets Groups Projects
Commit 5da51ed3 authored by Christian Engwer's avatar Christian Engwer
Browse files

only try to run autogen if configure.ac is present

[[Imported from SVN: r5218]]
parent b8d2a636
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment