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

@@ -1,5 +1,7 @@
[Changes 1.2.2] [Changes 1.2.2]
* Apply patch from cpet to make autogen.sh prompt to run configure. (caf)
* Improve some messages in /window size (reported by cpet). (caf) * Improve some messages in /window size (reported by cpet). (caf)
* Improve messages around DCC auto-get / auto-rename / auto-resume. (caf) * Improve messages around DCC auto-get / auto-rename / auto-resume. (caf)

View File

@@ -152,9 +152,18 @@ do
done done
if test x"$NOCONFIGURE" = x; then 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 rm -f $srcdir/config.cache
echo Running $srcdir/configure $conf_flags "$@" ... echo Running $srcdir/configure $conf_flags "$@" ...
$srcdir/configure $conf_flags "$@" $srcdir/configure $conf_flags "$@"
else ;;
*)
echo Skipping configure process. echo Skipping configure process.
fi ;;
esac