Make autogen.sh prompt to run configure

Patch from cpet, thanks!
This commit is contained in:
Kevin Easton
2016-02-19 23:09:30 +11:00
parent f2ae2327e3
commit 1359f013e8
2 changed files with 13 additions and 2 deletions

View File

@@ -152,9 +152,18 @@ do
done
if test x"$NOCONFIGURE" = x; then
read -p "Would you like to run configure? (y/n): " var
else
var=n
fi
case $var in
y|Y|yes|YES)
rm -f $srcdir/config.cache
echo Running $srcdir/configure $conf_flags "$@" ...
$srcdir/configure $conf_flags "$@"
else
;;
*)
echo Skipping configure process.
fi
;;
esac