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

warn about obsolete autogen.sh

[[Imported from SVN: r5169]]
parent a49dfa9d
Branches
Tags
No related merge requests found
......@@ -83,6 +83,7 @@ build_modules() {
if ! (
set -e
cd "$path"
export module
eval_control $runcommand $path/$CONTROL
); then eval echo "--- Failed to build \$NAME_${module} ---"; exit 1; fi
eval echo "--- \$NAME_${module} done ---"
......@@ -238,6 +239,11 @@ run_default_autogen () {
M4_PATH="$path $M4_PATH"
fi
done
if test -f autogen.sh; then
eval echo "WARNING: \$NAME_$module contains obsolete autogen.sh," \
> /dev/stderr
echo " dune-autogen is used instead." > /dev/stderr
fi
# eval ./autogen.sh "$M4_PATH" "$PARAMS" || exit 1
eval "$COMMAND_DIR/dune-autogen" "$M4_PATH" "$PARAMS" || exit 1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment