Skip to content
Snippets Groups Projects
Commit efc3e2d8 authored by Martin Nolte's avatar Martin Nolte
Browse files

missing autogen.sh prohibited autogen from working

Please test changes to the build system before commit!

[[Imported from SVN: r5174]]
parent 637bca6d
No related branches found
No related tags found
No related merge requests found
......@@ -232,21 +232,19 @@ run_default_update () {
run_default_autogen () {
PARAMS="$CMD_PARAMS"
local M4_PATH=""
if test -x autogen.sh; then
for m in $FOUND_MODULES; do
path=$(eval "echo \$PATH_$m")
if test -d $path/m4; then
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
for m in $FOUND_MODULES; do
path=$(eval "echo \$PATH_$m")
if test -d $path/m4; then
M4_PATH="$path $M4_PATH"
fi
# eval ./autogen.sh "$M4_PATH" "$PARAMS" || exit 1
eval "$COMMAND_DIR/dune-autogen" "$M4_PATH" "$PARAMS" || exit 1
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
}
run_default_configure () {
......
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